@font-face { font-family: "Instrument Sans"; font-weight: 400 700; font-display: swap; src: url("instrument-sans-latin-ext-wght-normal.woff2") format("woff2"); unicode-range: U+0100-02BA, U+1E00-1E9F, U+2020, U+20A0-20C0, U+2113; }
@font-face { font-family: "Instrument Sans"; font-weight: 400 700; font-display: swap; src: url("instrument-sans-latin-wght-normal.woff2") format("woff2"); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }

:root {
  --bg: #f3f6fc;
  --surface: #ffffff;
  --ink: #141b2d;
  --muted: #5d6880;
  --line: #e2e8f3;
  --line-strong: #cdd6e8;
  --brand: #1a73e8;
  --brand-dark: #0b57d0;
  --brand-tint: #e9f1ff;
  --navy: #0b1a3a;
  --navy-2: #142a5e;
  --g-blue: #4285f4;
  --g-red: #ea4335;
  --g-yellow: #fbbc04;
  --g-green: #34a853;
  --grad: linear-gradient(135deg, #0b57d0 0%, #1a73e8 45%, #4f9dff 100%);
  --grad-go: linear-gradient(135deg, #188038 0%, #34a853 100%);
  --grad-navy: linear-gradient(160deg, #0b1a3a 0%, #13285c 60%, #1a3a8a 100%);
  --good: #137333;
  --good-bg: #e6f4ea;
  --warn: #8a5300;
  --warn-bg: #fff4d6;
  --bad: #c5221f;
  --bad-bg: #fce8e6;
  --radius: 18px;
  --shadow-sm: 0 1px 2px rgba(16, 24, 40, 0.05), 0 1px 3px rgba(16, 24, 40, 0.07);
  --shadow-md: 0 14px 34px -14px rgba(16, 32, 72, 0.28);
  --shadow-brand: 0 10px 22px -10px rgba(26, 115, 232, 0.75);
  --ease: cubic-bezier(0.2, 0.7, 0.2, 1);
  --font: "Instrument Sans", system-ui, -apple-system, "Segoe UI", sans-serif;
  --side: 252px;
}

* { box-sizing: border-box; }
html, body { margin: 0; min-height: 100%; }
body { background: var(--bg); color: var(--ink); font: 15px/1.5 var(--font); -webkit-font-smoothing: antialiased; }
h1, h2, h3, p { margin: 0; }
h1 { font-size: 30px; line-height: 1.15; font-weight: 700; letter-spacing: -0.03em; display: flex; flex-wrap: wrap; align-items: center; gap: 10px; }
h2 { display: flex; align-items: center; gap: 9px; font-size: 16px; font-weight: 650; letter-spacing: -0.01em; margin-bottom: 16px; }
h2 > .ic { color: var(--brand); }
a { color: var(--brand); }
code { font-family: ui-monospace, Consolas, monospace; font-size: 13px; }
.muted { color: var(--muted); }
.small { font-size: 13px; margin-top: 12px; }
.block { display: block; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
:focus-visible { outline: 3px solid color-mix(in srgb, var(--brand) 45%, transparent); outline-offset: 2px; }

.ic { width: 18px; height: 18px; flex: none; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }

/* entrada suave dos blocos */
@keyframes rise { from { opacity: 0; transform: translateY(14px); } }
.rise { animation: rise 0.55s var(--ease) both; animation-delay: calc(var(--i, 0) * 45ms); }
@keyframes float { 50% { transform: translateY(-10px); } }
@keyframes drift { 33% { transform: translate(40px, -30px) scale(1.1); } 66% { transform: translate(-30px, 25px) scale(0.95); } }
@keyframes grow { from { transform: scaleY(0); } }

/* marca */
.logo { display: inline-flex; align-items: center; gap: 10px; color: var(--ink); font-weight: 700; font-size: 21px; letter-spacing: -0.03em; }
.logo.light { color: #fff; }
.logo-dots { display: grid; grid-template-columns: repeat(2, 10px); gap: 3px; }
.logo-dots i { display: block; width: 10px; height: 10px; border-radius: 50%; }
.logo.light .logo-dots { padding: 5px; border-radius: 9px; background: #fff; box-shadow: 0 6px 16px -6px rgba(0, 0, 0, 0.5); }
.grad-text { color: #fbbc04; }

/* fundo animado (login e página da placa) */
.blobs { position: fixed; inset: 0; overflow: hidden; z-index: 0; pointer-events: none; }
.blobs i { position: absolute; width: 46vmax; height: 46vmax; border-radius: 50%; filter: blur(70px); opacity: 0.55; animation: drift 18s ease-in-out infinite; }
.blobs i:nth-child(1) { background: #1a73e8; top: -18vmax; left: -12vmax; }
.blobs i:nth-child(2) { background: #ea4335; bottom: -24vmax; right: -16vmax; opacity: 0.35; animation-delay: -6s; }
.blobs i:nth-child(3) { background: #fbbc04; top: 30%; right: 18%; width: 22vmax; height: 22vmax; opacity: 0.28; animation-delay: -12s; }
.blobs i:nth-child(4) { background: #34a853; bottom: -10vmax; left: 20%; width: 26vmax; height: 26vmax; opacity: 0.3; animation-delay: -3s; }

/* login */
.auth-page { background: var(--navy); }
.auth { position: relative; z-index: 1; min-height: 100dvh; display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr); }
.auth-side { display: flex; flex-direction: column; justify-content: center; align-items: flex-start; gap: 22px; padding: 64px; color: #fff; }
.auth-side h2 { display: block; font-size: clamp(34px, 4vw, 56px); line-height: 1.05; font-weight: 700; letter-spacing: -0.035em; max-width: 11em; margin: 0; }
.auth-side p { max-width: 26em; font-size: 17px; color: rgba(255, 255, 255, 0.78); }
.auth-side .logo { font-size: 26px; }
.auth-stars { color: var(--g-yellow); font-size: 26px; letter-spacing: 6px; text-shadow: 0 0 24px rgba(251, 188, 4, 0.6); }
.auth-form { display: grid; place-items: center; padding: 32px 16px; }
.auth-card {
  width: min(100%, 410px); padding: 34px 30px; border-radius: 26px; background: rgba(255, 255, 255, 0.97);
  box-shadow: 0 30px 80px -30px rgba(0, 0, 0, 0.6), 0 0 0 1px rgba(255, 255, 255, 0.4);
}
.auth-card h1 { font-size: 28px; }
.auth-card > p { color: var(--muted); margin: 6px 0 24px; }
.auth-back { display: block; margin-top: 18px; text-align: center; font-size: 14px; text-decoration: none; }

/* estrutura */
.bg-glow { position: fixed; inset: 0; z-index: 0; pointer-events: none;
  background: radial-gradient(600px 400px at 100% 0%, rgba(26, 115, 232, 0.12), transparent 70%), radial-gradient(500px 360px at 30% 100%, rgba(251, 188, 4, 0.08), transparent 70%); }
.shell { position: relative; z-index: 1; display: grid; grid-template-columns: var(--side) minmax(0, 1fr); min-height: 100dvh; }
.sidebar {
  position: sticky; top: 0; height: 100dvh; display: flex; flex-direction: column; gap: 30px; padding: 24px 16px;
  background: var(--grad-navy); color: #fff; box-shadow: 8px 0 30px -18px rgba(11, 26, 58, 0.6);
}
.brand { text-decoration: none; margin-left: 8px; }
.sidebar nav { display: flex; flex-direction: column; gap: 4px; }
.sidebar nav a {
  display: flex; align-items: center; gap: 12px; padding: 11px 12px; border-radius: 14px; color: rgba(255, 255, 255, 0.72);
  font-weight: 600; text-decoration: none; transition: background 0.2s, color 0.2s, transform 0.2s var(--ease);
}
.sidebar nav a:hover { background: rgba(255, 255, 255, 0.08); color: #fff; transform: translateX(3px); }
.sidebar nav a.active { background: var(--grad); color: #fff; box-shadow: 0 10px 24px -10px rgba(79, 157, 255, 0.9); }
.nav-ic { position: relative; display: inline-flex; }
.nav-icon { width: 21px; height: 21px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.nav-short { display: none; }
.nav-count {
  position: absolute; top: -7px; right: -9px; min-width: 18px; padding: 0 5px; border-radius: 999px; background: var(--g-red); color: #fff;
  font-size: 11px; font-weight: 700; line-height: 18px; text-align: center; box-shadow: 0 0 0 2px var(--navy);
  animation: pulse 2.4s ease-in-out infinite;
}
@keyframes pulse { 50% { box-shadow: 0 0 0 2px var(--navy), 0 0 0 7px rgba(234, 67, 53, 0.25); } }
.sidebar-user {
  margin-top: auto; display: flex; align-items: center; gap: 10px; padding: 10px; border-radius: 16px;
  background: rgba(255, 255, 255, 0.07); border: 1px solid rgba(255, 255, 255, 0.08);
}
.su-text { display: flex; flex-direction: column; min-width: 0; flex: 1; line-height: 1.25; }
.su-text b { font-size: 14px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.su-text small { font-size: 12px; color: rgba(255, 255, 255, 0.6); }
.avatar {
  flex: none; display: grid; place-items: center; width: 38px; height: 38px; border-radius: 50%; background: var(--grad);
  color: #fff; font-weight: 700; font-size: 16px; box-shadow: inset 0 0 0 2px rgba(255, 255, 255, 0.25);
}
.avatar.big { width: 56px; height: 56px; font-size: 22px; }
.logout { display: grid; place-items: center; width: 36px; height: 36px; border: 0; border-radius: 10px; background: transparent; color: rgba(255, 255, 255, 0.7); cursor: pointer; }
.logout:hover { background: rgba(255, 255, 255, 0.12); color: #fff; }
.content { padding: 34px 40px 120px; max-width: 1280px; width: 100%; margin: 0 auto; }
.page-head { display: flex; justify-content: space-between; align-items: flex-end; flex-wrap: wrap; gap: 14px; margin-bottom: 24px; }
.page-head .muted { font-size: 14px; margin-top: 4px; }
.eyebrow { display: flex; align-items: center; gap: 6px; margin-bottom: 6px; color: var(--brand); font-size: 12px; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase; }
.eyebrow .ic { width: 15px; height: 15px; }
.back { display: inline-flex; align-items: center; gap: 4px; margin-bottom: 14px; font-size: 14px; font-weight: 600; text-decoration: none; color: var(--muted); }
.back::before { content: "‹"; font-size: 20px; line-height: 1; }
.back:hover { color: var(--brand); }

/* componentes */
.card { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 22px; min-width: 0; box-shadow: var(--shadow-sm); }
.card-focus { border-color: color-mix(in srgb, var(--brand) 25%, var(--line)); box-shadow: 0 0 0 4px rgba(26, 115, 232, 0.06), var(--shadow-md); }
.card-accent { background: linear-gradient(180deg, var(--brand-tint), #fff 70%); border-color: #d3e2fd; }
.h-ic { display: grid; place-items: center; width: 34px; height: 34px; border-radius: 11px; background: var(--grad); color: #fff; box-shadow: var(--shadow-brand); }
.narrow { max-width: 580px; }
.empty { text-align: center; padding: 52px 20px; }
.empty h2 { justify-content: center; margin-bottom: 4px; }
.empty-icon { display: inline-grid; place-items: center; width: 64px; height: 64px; margin-bottom: 14px; border-radius: 20px; background: var(--brand-tint); color: var(--brand); }
.empty-icon .ic { width: 30px; height: 30px; }
.stack { display: flex; flex-direction: column; gap: 18px; min-width: 0; }
.section { margin-bottom: 22px; }
.section-head { display: flex; justify-content: space-between; align-items: center; gap: 12px; margin-bottom: 14px; }
.section-head h2 { margin: 0; }
.see-all { display: inline-flex; align-items: center; gap: 4px; font-size: 14px; font-weight: 600; text-decoration: none; }
.see-all .ic { width: 16px; height: 16px; transition: transform 0.2s var(--ease); }
.see-all:hover .ic { transform: translateX(3px); }
.grid-2 { display: grid; grid-template-columns: minmax(0, 1.7fr) minmax(0, 1fr); gap: 18px; align-items: start; }
.plate-layout { display: grid; grid-template-columns: minmax(0, 1.35fr) minmax(300px, 1fr); gap: 18px; align-items: start; }
.plate-layout.solo { grid-template-columns: minmax(0, 760px); }

/* botões */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 42px; padding: 0 18px; border-radius: 12px;
  border: 1px solid var(--line-strong); background: var(--surface); color: var(--ink); font: 600 14px var(--font);
  text-decoration: none; cursor: pointer; white-space: nowrap; box-shadow: var(--shadow-sm);
  transition: transform 0.18s var(--ease), box-shadow 0.18s, background 0.18s, border-color 0.18s, filter 0.18s;
}
.btn:hover { transform: translateY(-1px); border-color: #b9c5dd; box-shadow: 0 6px 16px -8px rgba(16, 32, 72, 0.35); }
.btn:active { transform: translateY(0) scale(0.98); }
.btn.primary { background: var(--grad); border-color: transparent; color: #fff; box-shadow: var(--shadow-brand); }
.btn.go { background: var(--grad-go); border-color: transparent; color: #fff; box-shadow: 0 10px 22px -10px rgba(52, 168, 83, 0.85); }
.btn.primary:hover, .btn.go:hover { filter: brightness(1.07) saturate(1.1); }
.btn.light { background: #fff; border-color: transparent; color: var(--navy); }
.btn.glass { background: rgba(255, 255, 255, 0.14); border-color: rgba(255, 255, 255, 0.28); color: #fff; box-shadow: none; backdrop-filter: blur(8px); }
.btn.glass:hover { background: rgba(255, 255, 255, 0.22); border-color: rgba(255, 255, 255, 0.4); }
.btn.ghost { background: transparent; border-color: transparent; box-shadow: none; color: inherit; }
.btn.small { min-height: 34px; padding: 0 12px; font-size: 13px; border-radius: 10px; }
.btn.big { min-height: 52px; padding: 0 26px; font-size: 16px; border-radius: 14px; }
.btn.icon-only { width: 42px; padding: 0; }
.btn:disabled { opacity: 0.6; cursor: default; transform: none; }
.link { border: 0; background: none; padding: 0; color: var(--brand); font: inherit; cursor: pointer; }

/* formulários */
.form { display: flex; flex-direction: column; gap: 16px; align-items: stretch; }
.form > .btn { align-self: flex-start; }
.auth-card .form .btn { align-self: stretch; min-height: 50px; font-size: 16px; }
.form label { display: flex; flex-direction: column; gap: 6px; font-size: 13px; font-weight: 650; }
.form small { font-weight: 400; color: var(--muted); }
input, textarea, select {
  width: 100%; padding: 10px 13px; border: 1.5px solid var(--line-strong); border-radius: 12px; background: #fff; color: var(--ink);
  font: 400 15px var(--font); transition: border-color 0.18s, box-shadow 0.18s;
}
input:hover, textarea:hover, select:hover { border-color: #b3c0d9; }
textarea { resize: vertical; }
input:focus, textarea:focus, select:focus { outline: none; border-color: var(--brand); box-shadow: 0 0 0 4px rgba(26, 115, 232, 0.15); }
.input-ic { position: relative; display: block; }
.input-ic > .ic { position: absolute; left: 13px; top: 50%; transform: translateY(-50%); color: var(--muted); pointer-events: none; }
.input-ic input { padding-left: 40px; }
.qty { display: flex; gap: 8px; max-width: 240px; }
.qty input { text-align: center; font-weight: 700; font-size: 18px; }
.qty-btn { flex: none; width: 46px; border: 1.5px solid var(--line-strong); border-radius: 12px; background: #fff; color: var(--brand); font-size: 22px; font-weight: 600; cursor: pointer; }
.qty-btn:hover { background: var(--brand-tint); border-color: var(--brand); }

.msg { display: flex; align-items: flex-start; gap: 10px; padding: 12px 14px; border-radius: 14px; font-size: 14px; border: 1px solid transparent; }
.msg .ic { margin-top: 1px; }
.msg.error { background: var(--bad-bg); color: var(--bad); border-color: #f6c9c5; }
.msg.success { background: var(--good-bg); color: var(--good); border-color: #bfe3c9; }
.msg.warning { background: var(--warn-bg); color: var(--warn); border-color: #f6dea0; margin-top: 12px; }
.msg.activate { background: var(--brand-tint); color: var(--brand-dark); border-color: #cfe0fd; margin-bottom: 18px; }
.content > .msg { margin-bottom: 18px; animation: rise 0.5s var(--ease) both; }

.badge { display: inline-flex; align-items: center; gap: 6px; padding: 3px 10px; border-radius: 999px; font-size: 12px; font-weight: 700; letter-spacing: 0; white-space: nowrap; }
.badge .dot { width: 7px; height: 7px; border-radius: 50%; background: currentColor; }
.badge.active { background: var(--good-bg); color: var(--good); }
.badge.active .dot { box-shadow: 0 0 0 3px rgba(52, 168, 83, 0.25); }
.badge.unset { background: var(--warn-bg); color: var(--warn); }
.badge.paused, .badge.neutral { background: #eef1f6; color: #4a5568; }
.badge.order-new { background: var(--brand-tint); color: var(--brand-dark); }
.badge.order-printing { background: var(--warn-bg); color: var(--warn); }
.badge.order-done { background: var(--good-bg); color: var(--good); }

/* visão geral */
.hero {
  position: relative; overflow: hidden; display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: 22px;
  margin-bottom: 18px; padding: 34px 36px; border-radius: 26px; background: var(--grad-navy); color: #fff; box-shadow: var(--shadow-md);
}
.hero::before { content: ""; position: absolute; inset: 0; background: radial-gradient(420px 260px at 85% 10%, rgba(79, 157, 255, 0.45), transparent 70%), radial-gradient(300px 200px at 10% 120%, rgba(251, 188, 4, 0.22), transparent 70%); }
.hero > * { position: relative; }
.hero-text { max-width: min(560px, calc(100% - 90px)); }
.hero-hi { font-size: 15px; font-weight: 600; color: #8ab4f8; margin-bottom: 8px; }
.hero h1 { font-size: clamp(24px, 3vw, 34px); }
.hero-sub { margin-top: 10px; color: rgba(255, 255, 255, 0.75); }
.hero-actions { display: flex; flex-wrap: wrap; gap: 10px; z-index: 1; }
.hero-art { position: absolute; top: 26px; right: 36px; display: grid; grid-template-columns: repeat(2, 26px); gap: 8px; opacity: 0.9; }
.hero-art span { width: 26px; height: 26px; border-radius: 50%; animation: float 4s ease-in-out infinite; }
.hero-art span:nth-child(1) { background: var(--g-blue); }
.hero-art span:nth-child(2) { background: var(--g-red); animation-delay: -1s; }
.hero-art span:nth-child(3) { background: var(--g-yellow); animation-delay: -2s; }
.hero-art span:nth-child(4) { background: var(--g-green); animation-delay: -3s; }

.tiles { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 14px; margin-bottom: 22px; }
.tile {
  position: relative; display: flex; flex-direction: column; gap: 2px; padding: 18px; border-radius: var(--radius); background: var(--surface);
  border: 1px solid var(--line); box-shadow: var(--shadow-sm); color: var(--ink); text-decoration: none; transition: transform 0.2s var(--ease), box-shadow 0.2s;
}
.tile:hover { transform: translateY(-3px); box-shadow: var(--shadow-md); }
.tile-ic { display: grid; place-items: center; width: 40px; height: 40px; margin-bottom: 10px; border-radius: 12px; }
.tile-label { font-size: 13px; color: var(--muted); font-weight: 600; }
.tile b { font-size: 32px; line-height: 1.1; font-weight: 700; letter-spacing: -0.03em; font-variant-numeric: tabular-nums; }
.t-green .tile-ic { background: #e6f4ea; color: #188038; }
.t-yellow .tile-ic { background: #fff4d6; color: #b06000; }
.t-blue .tile-ic { background: var(--brand-tint); color: var(--brand); }
.t-red .tile-ic { background: #fce8e6; color: #d93025; }
a.tile::after { content: "Ver"; position: absolute; top: 20px; right: 18px; font-size: 12px; font-weight: 700; color: var(--brand); opacity: 0; transition: opacity 0.2s; }
a.tile:hover::after { opacity: 1; }

.steps { margin-bottom: 22px; padding: 22px; border-radius: var(--radius); background: linear-gradient(135deg, #e9f1ff, #f6f9ff); border: 1px solid #d3e2fd; }
.steps h2 { color: var(--brand-dark); }
.steps ol { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; }
.steps li { position: relative; display: flex; flex-direction: column; gap: 10px; padding: 16px; border-radius: 14px; background: #fff; box-shadow: var(--shadow-sm); }
.step-n { position: absolute; top: 12px; right: 14px; font-size: 28px; font-weight: 700; color: #dbe6fb; line-height: 1; }
.step-ic { display: grid; place-items: center; width: 38px; height: 38px; border-radius: 12px; background: var(--grad); color: #fff; }
.steps p { font-size: 14px; font-weight: 550; }

/* placas */
.toolbar { display: flex; flex-wrap: wrap; align-items: center; gap: 10px 14px; margin-bottom: 16px; }
.search { display: flex; gap: 8px; flex: 1 1 320px; max-width: 460px; }
.search-box { position: relative; flex: 1; }
.search-box > .ic { position: absolute; left: 13px; top: 50%; transform: translateY(-50%); color: var(--muted); }
.search-box input { padding-left: 40px; }
.chips { display: flex; gap: 6px; flex-wrap: wrap; }
.chip {
  padding: 8px 14px; border-radius: 999px; background: var(--surface); border: 1px solid var(--line); color: var(--muted);
  font-size: 13px; font-weight: 650; text-decoration: none; transition: all 0.18s;
}
.chip:hover { color: var(--ink); border-color: var(--line-strong); }
.chip.on { background: var(--navy); border-color: var(--navy); color: #fff; box-shadow: 0 6px 14px -8px rgba(11, 26, 58, 0.8); }
.owner-filter label { position: relative; display: block; }
.owner-filter .ic { position: absolute; left: 12px; top: 50%; transform: translateY(-50%); color: var(--brand); pointer-events: none; }
.owner-filter select { padding-left: 38px; min-width: 200px; font-weight: 600; }

.select-hint {
  display: flex; flex-wrap: wrap; align-items: center; gap: 12px 16px; margin-bottom: 16px; padding: 14px 16px; border-radius: 16px;
  background: linear-gradient(135deg, #e9f1ff, #f3f8ff); border: 1px dashed #a9c6f7;
}
.select-hint p { flex: 1 1 260px; font-size: 14px; color: #31456b; }
.select-hint b { color: var(--brand-dark); }
.sh-icon { display: grid; place-items: center; width: 40px; height: 40px; border-radius: 12px; background: var(--grad); color: #fff; box-shadow: var(--shadow-brand); }
.sh-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; }
.range { display: flex; gap: 6px; }
.range input { width: 86px; padding: 6px 10px; min-height: 34px; font-size: 14px; border-radius: 10px; }

.plate-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(236px, 1fr)); gap: 14px; }
.plate-card {
  position: relative; display: flex; flex-direction: column; gap: 10px; padding: 18px; overflow: hidden; border-radius: var(--radius);
  background: var(--surface); border: 1px solid var(--line); box-shadow: var(--shadow-sm);
  transition: transform 0.22s var(--ease), box-shadow 0.22s, border-color 0.22s, background 0.22s;
}
.plate-card::before { content: ""; position: absolute; inset: 0 0 auto; height: 4px; background: var(--line-strong); }
.plate-card.s-active::before { background: linear-gradient(90deg, #188038, #34a853); }
.plate-card.s-unset::before { background: linear-gradient(90deg, #f29900, #fbbc04); }
.plate-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); border-color: #c9d8f3; }
.plate-card.picked { border-color: var(--brand); background: #f5f9ff; box-shadow: 0 0 0 3px rgba(26, 115, 232, 0.18), var(--shadow-md); }
.pc-head { display: flex; justify-content: space-between; align-items: center; gap: 8px; }
.pick + .pc-head { padding-left: 38px; }
.pc-number { font-size: 22px; font-weight: 700; letter-spacing: -0.02em; font-variant-numeric: tabular-nums; color: var(--brand); }
.pc-name { font-size: 16px; font-weight: 650; line-height: 1.3; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; overflow-wrap: anywhere; }
.pc-meta { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 4px; font-size: 13px; color: var(--muted); }
.pc-meta li { display: flex; align-items: center; gap: 6px; min-width: 0; }
.pc-meta .ic { width: 15px; height: 15px; }
.pc-meta b { color: var(--ink); }
.pc-action { margin-top: auto; width: 100%; min-height: 46px; justify-content: flex-start; }
.pc-action .end { margin-left: auto; transition: transform 0.2s var(--ease); }
.pc-action:hover .end, .plate-card:hover .pc-action .end { transform: translateX(4px); }
.pick { position: absolute; top: 16px; left: 16px; z-index: 2; cursor: pointer; }
.pick input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.pick span {
  display: grid; place-items: center; width: 28px; height: 28px; border-radius: 9px; border: 2px solid var(--line-strong); background: #fff;
  color: transparent; transition: all 0.18s var(--ease);
}
.pick span .ic { width: 16px; height: 16px; stroke-width: 3; }
.pick:hover span { border-color: var(--brand); }
.pick input:checked + span { background: var(--grad); border-color: transparent; color: #fff; transform: scale(1.08); box-shadow: var(--shadow-brand); }
.pick input:focus-visible + span { outline: 3px solid color-mix(in srgb, var(--brand) 45%, transparent); outline-offset: 2px; }

.transfer-bar {
  position: fixed; z-index: 40; bottom: 22px; left: calc(var(--side) + 24px); right: 24px; max-width: 760px; margin-inline: auto;
  display: flex; align-items: center; gap: 10px; padding: 10px 10px 10px 16px; border-radius: 20px; color: #fff;
  background: rgba(11, 26, 58, 0.94); backdrop-filter: blur(14px); box-shadow: 0 24px 60px -18px rgba(11, 26, 58, 0.75);
  transition: transform 0.35s var(--ease), opacity 0.35s;
}
.js .transfer-bar:not(.show) { transform: translateY(160%); opacity: 0; pointer-events: none; }
.tb-count { display: flex; align-items: center; gap: 8px; font-size: 14px; font-weight: 600; white-space: nowrap; }
.tb-num { display: grid; place-items: center; min-width: 34px; height: 34px; padding: 0 8px; border-radius: 11px; background: var(--grad); font-size: 16px; font-weight: 700; }
.tb-to { flex: 1; min-width: 0; }
.tb-to select { background: rgba(255, 255, 255, 0.1); border-color: rgba(255, 255, 255, 0.2); color: #fff; font-weight: 600; }
.tb-to select option { color: var(--ink); }
.transfer-bar .ghost { color: rgba(255, 255, 255, 0.7); font-size: 16px; }
.transfer-bar .ghost:hover { color: #fff; background: rgba(255, 255, 255, 0.1); }
.pager { display: flex; gap: 8px; justify-content: flex-end; margin-top: 18px; }

/* placa */
.plate-hero {
  position: relative; overflow: hidden; display: flex; flex-wrap: wrap; align-items: center; gap: 18px 24px; margin-bottom: 18px; padding: 26px 28px;
  border-radius: 24px; background: var(--grad-navy); color: #fff; box-shadow: var(--shadow-md);
}
.plate-hero::before { content: ""; position: absolute; inset: 0; background: radial-gradient(360px 220px at 95% 0%, var(--glow, rgba(79, 157, 255, 0.45)), transparent 70%); }
.plate-hero.s-active { --glow: rgba(52, 168, 83, 0.45); }
.plate-hero.s-unset { --glow: rgba(251, 188, 4, 0.42); }
.plate-hero > * { position: relative; }
.ph-number { display: flex; flex-direction: column; align-items: center; justify-content: center; min-width: 118px; padding: 12px 16px; border-radius: 18px; background: rgba(255, 255, 255, 0.1); border: 1px solid rgba(255, 255, 255, 0.18); }
.ph-number span { font-size: 11px; font-weight: 700; letter-spacing: 0.14em; text-transform: uppercase; color: rgba(255, 255, 255, 0.65); }
.ph-number b { font-size: 26px; letter-spacing: -0.02em; font-variant-numeric: tabular-nums; white-space: nowrap; }
.ph-info { flex: 1 1 260px; min-width: 0; }
.ph-info h1 { font-size: clamp(22px, 2.6vw, 30px); overflow-wrap: anywhere; }
.ph-meta { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 16px; margin-top: 10px; font-size: 14px; color: rgba(255, 255, 255, 0.75); }
.ph-meta > span:not(.badge) { display: inline-flex; align-items: center; gap: 6px; }
.ph-meta .ic { width: 16px; height: 16px; }

.plate-preview { display: block; width: 100%; height: auto; border-radius: 14px; border: 1px solid var(--line); background: #fff; }
.downloads { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 14px; }
.downloads .primary { flex: 1; }
.copy-row { display: flex; align-items: center; gap: 8px; }
.copy-row code { flex: 1; min-width: 0; padding: 10px 12px; background: var(--bg); border: 1px solid var(--line); border-radius: 12px; overflow-wrap: anywhere; }
.history { list-style: none; margin: 0; padding: 0 0 0 18px; display: flex; flex-direction: column; gap: 14px; border-left: 2px solid var(--line); }
.history li { position: relative; display: flex; flex-direction: column; font-size: 14px; }
.history li::before { content: ""; position: absolute; left: -25px; top: 5px; width: 10px; height: 10px; border-radius: 50%; background: var(--brand); box-shadow: 0 0 0 3px var(--brand-tint); }
.history li + li::before { background: var(--line-strong); box-shadow: 0 0 0 3px #fff; }
.history .url { overflow-wrap: anywhere; }
.history small { color: var(--muted); }

/* pedidos */
.order-list { display: flex; flex-direction: column; gap: 10px; }
.order-row {
  display: flex; align-items: center; gap: 16px; padding: 14px 18px 14px 14px; border-radius: var(--radius); background: var(--surface);
  border: 1px solid var(--line); box-shadow: var(--shadow-sm); color: var(--ink); text-decoration: none;
  transition: transform 0.2s var(--ease), box-shadow 0.2s, border-color 0.2s;
}
.order-row:hover { transform: translateY(-2px); box-shadow: var(--shadow-md); border-color: #c9d8f3; }
.or-qty { display: flex; flex-direction: column; align-items: center; justify-content: center; flex: none; width: 58px; height: 58px; border-radius: 16px; background: var(--grad); color: #fff; line-height: 1.05; }
.s-printing .or-qty { background: linear-gradient(135deg, #e37400, #fbbc04); }
.s-done .or-qty { background: var(--grad-go); }
.or-qty b { font-size: 20px; }
.or-qty small { font-size: 10px; font-weight: 600; opacity: 0.85; }
.or-main { flex: 1; min-width: 0; display: flex; flex-direction: column; }
.or-main b { font-size: 16px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.or-main small { color: var(--muted); font-size: 13px; }
.or-go { color: var(--muted); transition: transform 0.2s var(--ease), color 0.2s; }
.order-row:hover .or-go { color: var(--brand); transform: translateX(4px); }
.progress { display: flex; gap: 6px; margin-bottom: 4px; }
.progress-step { flex: 1; padding: 8px 6px; border-radius: 10px; background: #eef1f6; color: var(--muted); font-size: 12px; font-weight: 700; text-align: center; }
.progress-step.done { background: var(--brand-tint); color: var(--brand-dark); }
.progress-step.now { background: var(--grad); color: #fff; box-shadow: var(--shadow-brand); }

/* equipe e conta */
.member-list { display: flex; flex-direction: column; gap: 10px; }
.member { display: flex; align-items: flex-start; gap: 14px; padding: 16px; border-radius: var(--radius); background: var(--surface); border: 1px solid var(--line); box-shadow: var(--shadow-sm); }
.member.off { opacity: 0.65; }
.member-main { flex: 1; min-width: 0; display: flex; flex-direction: column; }
.member-main small { overflow-wrap: anywhere; }
.member-tags { display: flex; flex-wrap: wrap; align-items: center; gap: 6px; margin-top: 8px; }
.member-plates { display: inline-flex; align-items: center; gap: 5px; padding: 3px 10px; border-radius: 999px; background: var(--bg); border: 1px solid var(--line); font-size: 12px; font-weight: 700; text-decoration: none; }
.member-plates .ic { width: 14px; height: 14px; }
.member-plates:hover { border-color: var(--brand); }
.member-side { flex: none; }
.reset { margin-top: 8px; font-size: 13px; }
.reset summary { color: var(--brand); cursor: pointer; font-weight: 600; }
.reset .form { margin-top: 10px; max-width: 300px; }
.profile { display: flex; align-items: center; gap: 14px; padding-bottom: 18px; margin-bottom: 18px; border-bottom: 1px solid var(--line); }

.ranking { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 6px; }
.ranking li { display: flex; align-items: center; gap: 12px; padding: 8px 10px; border-radius: 12px; transition: background 0.18s; }
.ranking li:hover { background: var(--bg); }
.rank-pos { display: grid; place-items: center; flex: none; width: 28px; height: 28px; border-radius: 50%; background: #eef1f6; color: var(--muted); font-size: 13px; font-weight: 700; }
.ranking li:first-child .rank-pos { background: linear-gradient(135deg, #fbbc04, #f29900); color: #fff; }
.ranking a { flex: 1; color: var(--ink); text-decoration: none; font-weight: 600; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.ranking b { font-variant-numeric: tabular-nums; }

/* página da placa escaneada */
.scan-page { background: var(--navy); }
.scan { position: relative; z-index: 1; min-height: 100dvh; display: grid; place-items: center; padding: 24px 16px; }
.scan-card {
  width: min(100%, 420px); display: flex; flex-direction: column; align-items: center; gap: 8px; padding: 36px 26px; text-align: center;
  border-radius: 28px; background: rgba(255, 255, 255, 0.97); box-shadow: 0 30px 80px -30px rgba(0, 0, 0, 0.6);
}
.scan-card .logo { margin-bottom: 22px; }
.scan-label { color: var(--muted); font-size: 14px; text-transform: uppercase; letter-spacing: 0.16em; font-weight: 700; }
.scan-number { font-size: clamp(56px, 18vw, 92px); font-weight: 700; line-height: 1; letter-spacing: -0.04em; color: var(--brand-dark); }
.scan-text { color: var(--muted); margin: 10px 0 22px; }
.scan-card .btn { width: 100%; }

/* gráfico */
.chart { margin: 0; display: grid; grid-template-columns: auto minmax(0, 1fr); gap: 6px 8px; }
.chart-scale { display: flex; flex-direction: column; justify-content: space-between; font-size: 12px; color: var(--muted); text-align: right; font-variant-numeric: tabular-nums; }
.chart-plot { position: relative; height: 190px; display: flex; align-items: flex-end; border-bottom: 1px solid var(--line); background: repeating-linear-gradient(to top, transparent 0 47px, #eef2f8 47px 48px); }
.chart-col { position: relative; flex: 1; height: 100%; display: flex; align-items: flex-end; justify-content: center; padding: 0 1.5px; }
.chart-bar { width: 100%; max-width: 16px; background: linear-gradient(180deg, #6aa8ff, #1a73e8); border-radius: 6px 6px 2px 2px; transform-origin: bottom; animation: grow 0.8s var(--ease) both; animation-delay: calc(var(--d, 0) * 18ms); }
.chart-col:hover .chart-bar, .chart-col:focus-visible .chart-bar { background: linear-gradient(180deg, #fbbc04, #f29900); }
.chart-tip {
  display: none; position: absolute; z-index: 2; bottom: calc(100% - 28px); left: 50%; transform: translateX(-50%); padding: 6px 10px; border-radius: 10px;
  background: var(--navy); color: #fff; font-size: 12px; white-space: nowrap; pointer-events: none; box-shadow: var(--shadow-md);
}
.chart-col:first-child .chart-tip, .chart-col:nth-child(2) .chart-tip, .chart-col:nth-child(3) .chart-tip { left: 0; transform: none; }
.chart-col:nth-last-child(-n + 3) .chart-tip { left: auto; right: 0; transform: none; }
.chart-col:hover .chart-tip, .chart-col:focus-visible .chart-tip { display: block; }
.chart-empty { position: absolute; inset: 0; display: grid; place-items: center; color: var(--muted); font-size: 14px; pointer-events: none; }
.chart-axis { grid-column: 2; display: flex; justify-content: space-between; font-size: 12px; color: var(--muted); }

@media (max-width: 1100px) {
  .grid-2, .plate-layout { grid-template-columns: minmax(0, 1fr); }
  .files-first > aside { order: -1; }
  .tiles { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .content { padding: 28px 24px 120px; }
}

@media (max-width: 760px) {
  body { font-size: 16px; }
  input, textarea, select { font-size: 16px; min-height: 48px; padding: 11px 13px; }
  textarea { min-height: 96px; }
  h1 { font-size: 25px; }

  .auth { grid-template-columns: minmax(0, 1fr); grid-template-rows: auto 1fr; }
  .auth-side { padding: 26px 18px 6px; gap: 12px; }
  .auth-side h2 { font-size: 28px; }
  .auth-side p, .auth-stars { display: none; }
  .auth-side .logo { font-size: 22px; }
  .auth-form { place-items: start center; padding: 16px 14px 28px; }
  .auth-card { padding: 26px 20px; border-radius: 22px; }

  .shell { display: block; }
  .sidebar {
    position: sticky; top: 0; z-index: 20; height: auto; flex-direction: row; align-items: center; justify-content: space-between;
    gap: 12px; padding: 10px 14px; box-shadow: 0 8px 24px -14px rgba(11, 26, 58, 0.7);
  }
  .brand { margin-left: 0; }
  .brand .logo { font-size: 19px; }
  .sidebar-user { margin: 0; padding: 4px 4px 4px 4px; gap: 6px; background: transparent; border: 0; min-width: 0; }
  .sidebar-user .avatar { width: 32px; height: 32px; font-size: 14px; }
  .su-text { display: none; }
  .sidebar nav {
    position: fixed; left: 10px; right: 10px; bottom: calc(10px + env(safe-area-inset-bottom)); z-index: 30; flex-direction: row; gap: 2px;
    padding: 6px; border-radius: 22px; background: rgba(11, 26, 58, 0.95); backdrop-filter: blur(14px); box-shadow: 0 18px 40px -14px rgba(11, 26, 58, 0.8);
  }
  .sidebar nav a { flex: 1; min-width: 0; flex-direction: column; gap: 3px; padding: 8px 2px; border-radius: 16px; font-size: 11px; font-weight: 650; }
  .sidebar nav a:hover { transform: none; }
  .nav-short { display: block; }
  .nav-full { display: none; }

  .content { padding: 18px 14px calc(110px + env(safe-area-inset-bottom)); }
  .page-head { align-items: stretch; flex-direction: column; margin-bottom: 18px; }
  .page-head > .btn { width: 100%; }
  .btn { min-height: 48px; font-size: 15px; }
  .btn.small { min-height: 40px; }
  .form > .btn { align-self: stretch; }

  .hero { padding: 24px 20px; border-radius: 22px; }
  .hero-art { top: 20px; right: 20px; grid-template-columns: repeat(2, 14px); gap: 5px; }
  .hero-art span { width: 14px; height: 14px; }
  .hero-actions { width: 100%; }
  .hero-actions .btn { flex: 1 1 140px; }
  .card { padding: 18px; }
  .tiles { gap: 10px; }
  .tile { padding: 14px; }
  .tile-ic { width: 34px; height: 34px; margin-bottom: 6px; }
  .tile b { font-size: 26px; }
  .steps ol { grid-template-columns: minmax(0, 1fr); }
  .steps li { flex-direction: row; align-items: center; }
  .chart-plot { height: 150px; }
  .chart-col { padding: 0 0.5px; }

  .toolbar { flex-direction: column; align-items: stretch; }
  .search { max-width: none; flex: none; }
  .search .btn { flex: none; }
  .chips { flex-wrap: nowrap; overflow-x: auto; margin: 0 -14px; padding: 0 14px 2px; scrollbar-width: none; }
  .chip { flex: none; padding: 9px 15px; }
  .owner-filter select { width: 100%; }
  .plate-grid { grid-template-columns: minmax(0, 1fr); gap: 12px; }
  .sh-actions { width: 100%; display: grid; grid-template-columns: minmax(0, 1fr); }
  .range { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr) auto; }
  .range input { width: 100%; min-width: 0; min-height: 40px; }

  .transfer-bar {
    left: 10px; right: 10px; bottom: calc(86px + env(safe-area-inset-bottom)); flex-wrap: wrap; padding: 12px; gap: 8px;
  }
  .tb-count { flex: 1; }
  .transfer-bar .icon-only { order: 1; min-height: 40px; }
  .tb-to { order: 2; flex: 1 1 100%; }
  .transfer-bar .primary { order: 3; flex: 1 1 100%; }

  .plate-hero { padding: 20px; gap: 14px; }
  .ph-number { min-width: 0; flex-direction: row; gap: 8px; padding: 8px 14px; }
  .ph-number b { font-size: 20px; }
  .ph-actions, .ph-actions .btn { width: 100%; }
  .copy-row { flex-direction: column; align-items: stretch; }
  .downloads .btn, .downloads form, .downloads form .btn { flex: 1 1 100%; width: 100%; }
  .order-row { gap: 12px; padding: 12px; }
  .order-row .badge { display: none; }
  .or-qty { width: 50px; height: 50px; }
  .member { flex-wrap: wrap; }
  .member-side { width: 100%; }
  .member-side .btn { width: 100%; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
}

/* busca de empresas no Google */
.gfind { position: relative; }
.gfind-label { display: flex; flex-direction: column; gap: 6px; font-size: 13px; font-weight: 650; }
.gfind-box { position: relative; display: block; }
.gfind-box input { padding-left: 46px; padding-right: 40px; font-weight: 500; border-color: #a9c6f7; background: linear-gradient(180deg, #fff, #f7faff); }
.g-logo { position: absolute; left: 14px; top: 50%; transform: translateY(-50%); display: grid; grid-template-columns: repeat(2, 7px); gap: 2px; pointer-events: none; }
.g-logo i { width: 7px; height: 7px; border-radius: 50%; }
.gfind-spin { position: absolute; right: 14px; top: 50%; width: 18px; height: 18px; margin-top: -9px; border-radius: 50%; border: 2.5px solid var(--brand-tint); border-top-color: var(--brand); opacity: 0; animation: spin 0.8s linear infinite; }
.gfind.busy .gfind-spin { opacity: 1; }
@keyframes spin { to { transform: rotate(360deg); } }
.gfind-list {
  position: absolute; z-index: 30; left: 0; right: 0; top: calc(100% - 22px); margin: 0; padding: 6px; list-style: none; max-height: 330px; overflow-y: auto;
  background: #fff; border: 1px solid var(--line); border-radius: 16px; box-shadow: 0 24px 50px -18px rgba(16, 32, 72, 0.45); animation: rise 0.2s var(--ease) both;
}
.gfind-list button {
  display: flex; align-items: flex-start; gap: 10px; width: 100%; padding: 10px 12px; border: 0; border-radius: 12px; background: none;
  color: var(--ink); font: inherit; text-align: left; cursor: pointer;
}
.gfind-list button:hover, .gfind-list button.on { background: var(--brand-tint); }
.gfind-list .ic { margin-top: 2px; color: var(--g-red); }
.gfind-list b { display: block; font-size: 15px; font-weight: 650; }
.gfind-list small { display: block; color: var(--muted); font-size: 13px; }
.gfind-status { min-height: 0; margin-top: 6px; font-size: 13px; color: var(--muted); }
.gfind-status:empty { display: none; }
.gfind-status.ok { display: flex; align-items: center; gap: 6px; padding: 8px 12px; border-radius: 12px; background: var(--good-bg); color: var(--good); font-weight: 600; }
.gfind-status.bad { color: var(--bad); }
.flash { animation: flash 1.2s var(--ease); }
@keyframes flash { 0% { box-shadow: 0 0 0 4px rgba(52, 168, 83, 0.45); border-color: var(--g-green); } 100% { box-shadow: none; } }

.status-line { margin-bottom: 10px; }
.how-key ol { margin: 0; padding-left: 20px; display: flex; flex-direction: column; gap: 6px; font-size: 14px; }
.settings-link { display: flex; align-items: center; gap: 14px; margin-top: 16px; color: var(--ink); text-decoration: none; transition: transform 0.2s var(--ease), box-shadow 0.2s; }
.settings-link:hover { transform: translateY(-2px); box-shadow: var(--shadow-md); }
.settings-link .end { margin-left: auto; color: var(--brand); }

/* ferramenta pública: link de avaliação do Google */
.tool-page { background: var(--navy); color: #fff; }
.tool-top { position: relative; z-index: 2; display: flex; justify-content: space-between; align-items: center; gap: 12px; max-width: 1120px; margin: 0 auto; padding: 20px; }
.tool-top a:first-child { text-decoration: none; }
.tool { position: relative; z-index: 1; max-width: 1120px; margin: 0 auto; padding: 24px 20px 64px; }
.tool-hero { max-width: 780px; margin: 10px auto 44px; text-align: center; }
.tool-tag { display: inline-flex; align-items: center; gap: 6px; margin-bottom: 16px; padding: 6px 14px; border-radius: 999px; background: rgba(251, 188, 4, 0.14); color: var(--g-yellow); font-size: 13px; font-weight: 700; }
.tool-tag .ic { width: 15px; height: 15px; fill: currentColor; }
.tool-hero h1 { display: block; font-size: clamp(32px, 5.4vw, 60px); line-height: 1.04; letter-spacing: -0.04em; }
.tool-hero p { margin-top: 18px; font-size: 18px; color: rgba(255, 255, 255, 0.75); }
.tool-grid { display: grid; grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr); gap: 28px; align-items: start; }
.tool-steps h2 { font-size: 20px; color: #fff; }
.tool-steps ol { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 14px; }
.tool-steps li { display: flex; align-items: center; gap: 14px; padding: 16px; border-radius: 18px; background: rgba(255, 255, 255, 0.06); border: 1px solid rgba(255, 255, 255, 0.1); }
.tool-steps .step-n { position: static; flex: none; display: grid; place-items: center; width: 40px; height: 40px; border-radius: 50%; background: var(--grad); color: #fff; font-size: 17px; }
.tool-steps p { color: rgba(255, 255, 255, 0.88); }
.tool-card { padding: 26px; border-radius: 26px; background: #fff; color: var(--ink); box-shadow: 0 30px 80px -30px rgba(0, 0, 0, 0.7); }
.tool-card h2 { font-size: 19px; }
.tool-card .gfind-list { top: calc(100% - 4px); }
.tool-result { margin-top: 18px; padding-top: 18px; border-top: 1px dashed var(--line-strong); animation: rise 0.4s var(--ease) both; }
.tr-name { font-weight: 700; margin-bottom: 10px; }
.tr-qr { display: flex; flex-wrap: wrap; align-items: center; gap: 16px; margin-top: 16px; }
.tr-qr img { width: 160px; height: 160px; padding: 8px; border-radius: 16px; border: 1px solid var(--line); background: #fff; }
.tr-actions { display: flex; flex-direction: column; gap: 8px; flex: 1; min-width: 180px; }
.tool-cta { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 18px; margin-top: 44px; padding: 28px; border-radius: 26px; background: linear-gradient(135deg, rgba(26, 115, 232, 0.35), rgba(52, 168, 83, 0.25)); border: 1px solid rgba(255, 255, 255, 0.14); }
.tool-cta h2 { display: block; font-size: 24px; color: #fff; margin-bottom: 6px; }
.tool-cta p { max-width: 560px; color: rgba(255, 255, 255, 0.8); }

@media (max-width: 860px) {
  .tool-grid { grid-template-columns: minmax(0, 1fr); }
  .tool-card { order: -1; }
  .tool-hero { margin-bottom: 28px; }
  .tool-hero p { font-size: 16px; }
}
@media (max-width: 760px) {
  .sidebar nav a.desk-only { display: none; }
  .tool-card { padding: 20px; }
  .tool-cta .btn { width: 100%; }
}

/* ativação rápida na tela inicial */
.quick { margin-bottom: 22px; border: 2px solid #bfe3c9; background: linear-gradient(180deg, #f3fbf5, #fff 60%); box-shadow: 0 0 0 5px rgba(52, 168, 83, 0.07), var(--shadow-md); }
.quick-head { display: flex; align-items: flex-start; gap: 14px; margin-bottom: 18px; }
.quick-head h2 { margin-bottom: 4px; font-size: 19px; }
.h-ic.big { width: 46px; height: 46px; border-radius: 14px; flex: none; background: var(--grad-go); box-shadow: 0 10px 22px -10px rgba(52, 168, 83, 0.85); }
.quick-form { max-width: 640px; }
.q-auto { opacity: 0.85; }
.quick .btn.go { align-self: stretch; }

/* link pelo gerador gratuito (sem chave do Google) */
.lhelp { padding: 14px; border-radius: 16px; background: linear-gradient(135deg, #e9f1ff, #f6f9ff); border: 1px dashed #a9c6f7; }
.lhelp-title { font-size: 13px; font-weight: 650; margin-bottom: 10px; }
.lhelp-actions { display: flex; flex-wrap: wrap; gap: 8px; }
.lhelp-actions .primary { flex: 1 1 200px; }
.lhelp-status { margin-top: 10px; font-size: 13px; color: var(--muted); }
.lhelp-status:empty { display: none; }
.lhelp-status.wait { display: flex; align-items: center; gap: 8px; color: var(--brand-dark); font-weight: 600; }
.lhelp-status.wait::before { content: ""; width: 14px; height: 14px; border-radius: 50%; border: 2.5px solid var(--brand-tint); border-top-color: var(--brand); animation: spin 0.8s linear infinite; }
.lhelp-status.ok { padding: 8px 12px; border-radius: 12px; background: var(--good-bg); color: var(--good); font-weight: 600; }
.lhelp-status.bad { color: var(--bad); }
.lhelp.attention [data-lhelp-paste] { border-color: var(--brand); color: var(--brand-dark); box-shadow: 0 0 0 4px rgba(26, 115, 232, 0.15); animation: pulse-btn 1.6s ease-in-out infinite; }
@keyframes pulse-btn { 50% { box-shadow: 0 0 0 8px rgba(26, 115, 232, 0.08); } }
.lhelp-modal { width: min(460px, calc(100% - 28px)); padding: 26px 24px; border: 0; border-radius: 24px; color: var(--ink); box-shadow: 0 40px 90px -30px rgba(11, 26, 58, 0.7); }
.lhelp-modal::backdrop { background: rgba(11, 26, 58, 0.55); backdrop-filter: blur(3px); }
.lhelp-modal h3 { display: flex; align-items: center; gap: 8px; margin: 0 0 8px; font-size: 20px; }
.lhelp-modal h3 .ic { color: var(--brand); }
.lhelp-modal ol { margin: 14px 0; padding-left: 22px; display: flex; flex-direction: column; gap: 8px; font-size: 15px; }
.lhelp-modal-actions { display: flex; flex-direction: column; gap: 8px; margin-top: 16px; }

[hidden] { display: none !important; }

/* pedidos para administrar placas */
.requests { margin-bottom: 18px; border: 2px solid #cfe0fd; background: linear-gradient(180deg, #f2f7ff, #fff 70%); }
.request-list { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 10px; }
.request-list li { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 10px 16px; padding: 12px 14px; border-radius: 14px; background: #fff; border: 1px solid var(--line); }
.rq-text { flex: 1 1 260px; font-size: 15px; }
.rq-actions { display: flex; gap: 8px; }
.scan-owner { margin: -10px 0 18px; color: var(--muted); }
.scan-form { width: 100%; }
.scan-form .btn { width: 100%; white-space: normal; }
.scan-msg { margin: 0 0 14px; text-align: left; }
@media (max-width: 760px) { .rq-actions, .rq-actions form, .rq-actions .btn { flex: 1; width: 100%; } }
