:root {
  --bg: #07090a;
  --bg-soft: #0d1011;
  --panel: #111516;
  --panel-2: #151a1b;
  --line: #252c2d;
  --line-soft: rgba(255,255,255,.08);
  --text: #f4f7f5;
  --muted: #9aa5a1;
  --green: #67ff00;
  --green-2: #4dd900;
  --green-dark: #17250f;
  --danger: #ff5d68;
  --warning: #ffbd52;
  --purple: #bd8cff;
  --info: #68c7ff;
  --radius: 20px;
  --radius-sm: 12px;
  --shadow: 0 24px 80px rgba(0,0,0,.32);
  --container: 1180px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  min-height: 100vh;
  color: var(--text);
  background: var(--bg);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button, input, select, textarea { font: inherit; }
button { cursor: pointer; }
.container { width: min(calc(100% - 40px), var(--container)); margin-inline: auto; }

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 46px;
  padding: 0 20px;
  border: 1px solid transparent;
  border-radius: 11px;
  font-weight: 800;
  letter-spacing: -.01em;
  transition: .2s ease;
  white-space: nowrap;
}
.btn:hover { transform: translateY(-1px); }
.btn:disabled { opacity: .55; cursor: not-allowed; transform: none; }
.btn-primary { color: #071000; background: var(--green); box-shadow: 0 12px 30px rgba(103,255,0,.15); }
.btn-primary:hover { background: #79ff1f; box-shadow: 0 16px 34px rgba(103,255,0,.22); }
.btn-secondary { color: var(--text); background: #1a1f20; border-color: #2b3233; }
.btn-secondary:hover { border-color: #45504f; background: #202627; }
.btn-outline { border-color: rgba(255,255,255,.19); color: var(--text); background: rgba(255,255,255,.03); }
.btn-outline:hover { border-color: var(--green); color: var(--green); }
.btn-dark { color: var(--green); background: #081006; border-color: rgba(0,0,0,.35); }
.btn-whatsapp { color: white; background: #1fbc57; }
.btn-danger { color: #fff; background: #b92d36; border-color: #d4434d; }
.btn-danger:hover { background: #cf3540; border-color: #e5535d; }
.btn-lg { min-height: 56px; padding-inline: 27px; border-radius: 14px; }
.btn-sm { min-height: 36px; padding-inline: 13px; border-radius: 9px; font-size: .86rem; }
.btn-block { width: 100%; }
.text-button, .link-button {
  border: 0;
  background: none;
  color: var(--muted);
  padding: 10px;
  font-weight: 700;
}
.text-button:hover, .link-button:hover { color: var(--green); }
.danger-text { color: var(--danger); }
.text-link { color: var(--green); font-weight: 700; font-size: .9rem; }

/* Forms */
label { display: grid; gap: 8px; font-weight: 700; color: #dce2df; font-size: .9rem; }
input, select, textarea {
  width: 100%;
  color: var(--text);
  background: #0b0f10;
  border: 1px solid #2b3233;
  border-radius: 11px;
  outline: none;
  padding: 13px 14px;
  transition: .2s ease;
}
input, select { min-height: 48px; }
textarea { resize: vertical; min-height: 96px; }
input::placeholder, textarea::placeholder { color: #697371; }
input:focus, select:focus, textarea:focus { border-color: var(--green); box-shadow: 0 0 0 3px rgba(103,255,0,.10); }
select { appearance: none; background-image: linear-gradient(45deg, transparent 50%, #89928f 50%), linear-gradient(135deg, #89928f 50%, transparent 50%); background-position: calc(100% - 18px) 20px, calc(100% - 12px) 20px; background-size: 6px 6px, 6px 6px; background-repeat: no-repeat; }
small, .optional { color: var(--muted); font-weight: 500; }
.optional { font-size: .78rem; }
.form-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px; }
.span-2 { grid-column: span 2; }
.field-grid { display: grid; grid-template-columns: repeat(2, minmax(0,1fr)); gap: 16px; }
.two-fields { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.stack-form { display: grid; gap: 16px; }
.input-suffix { position: relative; }
.input-suffix input { padding-right: 48px; }
.input-suffix span { position: absolute; right: 14px; top: 50%; transform: translateY(-50%); color: var(--muted); font-weight: 700; }
.field-hint { color: var(--muted); font-size: .78rem; margin: 13px 0 18px; }
.form-message { min-height: 0; margin-top: 12px; font-size: .88rem; font-weight: 700; }
.form-message.error { color: var(--danger); }
.form-message.success { color: var(--green); }
.form-section-title { grid-column: span 2; display: flex; align-items: center; gap: 10px; margin-top: 14px; color: white; font-weight: 900; }
.form-section-title span { display: grid; place-items: center; width: 28px; height: 28px; border-radius: 8px; background: var(--green); color: #071000; }
.form-section { padding: 25px 0; border-bottom: 1px solid var(--line-soft); }
.form-section:first-of-type { padding-top: 0; }
.form-section h3 { margin: 0 0 18px; }
.form-actions { display: flex; justify-content: flex-end; padding-top: 24px; }
.switch-row { display: flex; align-items: center; gap: 10px; cursor: pointer; }
.switch-row input { display: none; }
.switch-row > span { position: relative; width: 45px; height: 25px; flex: 0 0 auto; border-radius: 99px; background: #2d3435; transition: .2s; }
.switch-row > span:after { content: ""; position: absolute; top: 4px; left: 4px; width: 17px; height: 17px; border-radius: 50%; background: white; transition: .2s; }
.switch-row input:checked + span { background: var(--green); }
.switch-row input:checked + span:after { transform: translateX(20px); background: #071000; }

/* Public header */
.site-header { position: sticky; top: 0; z-index: 100; background: rgba(7,9,10,.82); border-bottom: 1px solid rgba(255,255,255,.06); backdrop-filter: blur(18px); }
.header-inner { height: 78px; display: flex; align-items: center; justify-content: space-between; }
.site-brand { display: flex; align-items: center; gap: 12px; }
.site-brand img { width: 56px; height: 56px; object-fit: contain; }
.site-brand span { display: grid; line-height: 1; }
.site-brand strong { font-size: 1.28rem; letter-spacing: .06em; }
.site-brand small { color: var(--green); letter-spacing: .24em; font-size: .7rem; margin-top: 5px; }
.site-nav { display: flex; align-items: center; gap: 30px; }
.site-nav > a { color: #c3cbc8; font-weight: 700; font-size: .9rem; }
.site-nav > a:hover { color: var(--green); }
.site-nav .nav-cta { padding: 11px 16px; border: 1px solid var(--green); color: var(--green); border-radius: 10px; }
.mobile-menu-button { display: none; border: 0; background: none; color: white; font-size: 1.5rem; }

/* Hero */
.hero { position: relative; overflow: hidden; padding: 75px 0 80px; min-height: 690px; display: grid; align-items: center; }
.hero:before { content: ""; position: absolute; inset: 0; background: radial-gradient(circle at 75% 35%, rgba(103,255,0,.09), transparent 30%), linear-gradient(120deg, #07090a 42%, #0a0d0d 100%); }
.hero-grid-pattern { position: absolute; inset: 0; opacity: .18; background-image: linear-gradient(30deg, #1e2824 12%, transparent 12.5%, transparent 87%, #1e2824 87.5%, #1e2824), linear-gradient(150deg, #1e2824 12%, transparent 12.5%, transparent 87%, #1e2824 87.5%, #1e2824), linear-gradient(30deg, #1e2824 12%, transparent 12.5%, transparent 87%, #1e2824 87.5%, #1e2824), linear-gradient(150deg, #1e2824 12%, transparent 12.5%, transparent 87%, #1e2824 87.5%, #1e2824), linear-gradient(60deg, #17201c 25%, transparent 25.5%, transparent 75%, #17201c 75%, #17201c), linear-gradient(60deg, #17201c 25%, transparent 25.5%, transparent 75%, #17201c 75%, #17201c); background-size: 58px 102px; background-position: 0 0,0 0,29px 51px,29px 51px,0 0,29px 51px; mask-image: linear-gradient(90deg, transparent, black 70%); }
.hero-grid { position: relative; display: grid; grid-template-columns: 1.15fr .85fr; gap: 60px; align-items: center; }
.eyebrow, .section-kicker { display: inline-flex; align-items: center; gap: 9px; color: var(--green); font-weight: 900; letter-spacing: .15em; font-size: .76rem; }
.eyebrow span { width: 8px; height: 8px; border-radius: 50%; background: var(--green); box-shadow: 0 0 14px var(--green); }
.hero h1 { max-width: 760px; margin: 18px 0 20px; font-size: clamp(3.2rem, 6.4vw, 6.2rem); line-height: .96; letter-spacing: -.065em; }
.hero h1 em { display: block; color: var(--green); font-style: normal; }
.hero-copy > p { max-width: 665px; color: #b3bcb9; font-size: 1.12rem; line-height: 1.75; }
.hero-actions { display: flex; gap: 13px; margin-top: 32px; flex-wrap: wrap; }
.trust-row { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; margin-top: 48px; padding-top: 28px; border-top: 1px solid var(--line-soft); }
.trust-row > div { display: grid; grid-template-columns: auto 1fr; column-gap: 10px; }
.trust-row span { grid-row: span 2; display: grid; place-items: center; width: 24px; height: 24px; border-radius: 50%; color: #071000; background: var(--green); font-size: .7rem; font-weight: 900; }
.trust-row strong { font-size: .86rem; }
.trust-row small { font-size: .72rem; margin-top: 2px; }
.hero-visual { position: relative; min-height: 490px; display: grid; place-items: center; }
.hero-visual > img { width: min(100%, 480px); position: relative; z-index: 2; filter: drop-shadow(0 35px 60px rgba(0,0,0,.45)); }
.hero-glow { position: absolute; width: 350px; height: 350px; border-radius: 50%; background: rgba(103,255,0,.13); filter: blur(90px); }
.hero-status-card { position: absolute; z-index: 3; left: 0; bottom: 45px; display: flex; align-items: center; gap: 12px; padding: 15px 18px; border: 1px solid rgba(103,255,0,.2); border-radius: 13px; background: rgba(9,14,11,.88); backdrop-filter: blur(15px); box-shadow: var(--shadow); }
.hero-status-card i { width: 11px; height: 11px; border-radius: 50%; background: var(--green); box-shadow: 0 0 12px var(--green); }
.hero-status-card div { display: grid; }
.hero-status-card small { font-size: .64rem; letter-spacing: .12em; }
.hero-status-card strong { font-size: .92rem; }

.quick-strip { background: var(--green); color: #071000; }
.quick-strip-grid { display: grid; grid-template-columns: repeat(3, 1fr); }
.quick-strip-grid > div { min-height: 94px; display: flex; align-items: center; gap: 18px; padding: 20px 30px; border-right: 1px solid rgba(0,0,0,.14); }
.quick-strip-grid > div:last-child { border-right: 0; }
.quick-strip-grid b { font-size: 1.7rem; opacity: .42; }
.quick-strip-grid span { font-weight: 900; }

/* Sections */
.section { padding: 110px 0; }
.section-heading { display: flex; justify-content: space-between; gap: 40px; align-items: end; margin-bottom: 48px; }
.section-heading h2, .calculator-copy h2, .faq-grid h2 { margin: 10px 0 0; font-size: clamp(2.2rem, 4vw, 4rem); line-height: 1.04; letter-spacing: -.045em; }
.section-heading > p { max-width: 390px; color: var(--muted); margin: 0; }
.section-heading.centered { justify-content: center; text-align: center; }
.service-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 17px; }
.service-card { position: relative; overflow: hidden; min-height: 320px; padding: 28px; border: 1px solid var(--line); border-radius: var(--radius); background: linear-gradient(145deg, #101415, #0b0e0f); transition: .25s ease; }
.service-card:hover { transform: translateY(-6px); border-color: #394442; }
.service-card.featured { border-color: rgba(103,255,0,.32); background: linear-gradient(145deg, #14210e, #0b0e0f 68%); }
.service-card.featured:after { content: ""; position: absolute; width: 180px; height: 180px; right: -70px; top: -80px; background: rgba(103,255,0,.14); border-radius: 50%; filter: blur(30px); }
.service-number { position: absolute; right: 22px; top: 16px; color: rgba(255,255,255,.08); font-size: 3.6rem; font-weight: 900; }
.service-icon { display: grid; place-items: center; width: 54px; height: 54px; border-radius: 15px; color: var(--green); background: rgba(103,255,0,.1); border: 1px solid rgba(103,255,0,.15); font-size: 1.4rem; margin: 55px 0 24px; }
.service-card h3 { margin: 0 0 10px; font-size: 1.18rem; }
.service-card p { color: var(--muted); font-size: .91rem; line-height: 1.7; }

.calculator-section { background: #0c0f10; border-block: 1px solid var(--line-soft); }
.calculator-grid { display: grid; grid-template-columns: .85fr 1.15fr; gap: 80px; align-items: center; }
.calculator-copy > p { color: var(--muted); font-size: 1.04rem; line-height: 1.75; }
.formula-card { display: grid; gap: 7px; margin: 30px 0; padding: 22px; border-left: 3px solid var(--green); background: #111617; }
.formula-card small { color: var(--green); letter-spacing: .12em; }
.formula-card strong { font-size: 1.05rem; }
.formula-card span { color: var(--muted); font-size: .83rem; }
.check-list { display: grid; gap: 11px; padding: 0; margin: 0; list-style: none; }
.check-list li { color: #ccd3d0; }
.check-list li:before { content: "✓"; color: #071000; display: inline-grid; place-items: center; width: 20px; height: 20px; margin-right: 10px; border-radius: 50%; background: var(--green); font-weight: 900; font-size: .67rem; }
.calculator-card { position: relative; padding: 34px; border: 1px solid #283031; border-radius: 24px; background: linear-gradient(145deg, #15191a, #0d1112); box-shadow: 0 35px 90px rgba(0,0,0,.34); }
.calculator-card:before { content: ""; position: absolute; left: 34px; right: 34px; top: 0; height: 2px; background: linear-gradient(90deg, transparent, var(--green), transparent); }
.calculator-card-head { display: flex; justify-content: space-between; gap: 20px; align-items: start; margin-bottom: 26px; }
.calculator-card-head.compact { margin-top: -3px; }
.calculator-card-head small { color: var(--green); font-size: .68rem; letter-spacing: .14em; font-weight: 900; }
.calculator-card-head h3 { margin: 5px 0 0; font-size: 1.6rem; letter-spacing: -.03em; }
.step-pill { flex: 0 0 auto; padding: 7px 10px; color: var(--muted); border: 1px solid var(--line); border-radius: 99px; font-size: .7rem; font-weight: 800; }
.quote-result-head { display: flex; align-items: center; justify-content: space-between; padding: 22px; border-radius: 15px; background: linear-gradient(130deg, var(--green), #48c600); color: #071000; margin-bottom: 20px; }
.quote-result-head div { display: grid; }
.quote-result-head small { color: rgba(0,0,0,.55); font-weight: 900; letter-spacing: .1em; }
.quote-result-head strong { font-size: 2.5rem; letter-spacing: -.05em; }
.quote-result-head > span { padding: 6px 9px; border-radius: 99px; background: rgba(0,0,0,.12); font-size: .7rem; font-weight: 900; }
.quote-breakdown { display: grid; gap: 0; margin-bottom: 20px; border: 1px solid var(--line); border-radius: 13px; overflow: hidden; }
.quote-breakdown > div { display: flex; justify-content: space-between; gap: 20px; padding: 13px 15px; background: #0c1011; border-bottom: 1px solid var(--line-soft); font-size: .84rem; }
.quote-breakdown > div:last-child { border-bottom: 0; }
.quote-breakdown span { color: var(--muted); }
.quote-result .text-button, .request-form .text-button { width: 100%; margin-top: 8px; }
.request-success { text-align: center; padding: 24px 0 5px; }
.success-icon { display: inline-grid; place-items: center; width: 72px; height: 72px; border-radius: 50%; background: var(--green); color: #071000; font-size: 2rem; font-weight: 900; box-shadow: 0 0 0 12px rgba(103,255,0,.08); }
.request-success small { display: block; margin-top: 24px; color: var(--green); letter-spacing: .13em; font-weight: 900; }
.request-success h3 { font-size: 2rem; margin: 5px 0; }
.request-success p { color: var(--muted); margin: 0 0 25px; }

.process-section { background: radial-gradient(circle at center, rgba(103,255,0,.05), transparent 45%); }
.timeline-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1px; background: var(--line); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; }
.timeline-grid article { min-height: 230px; padding: 30px; background: #0e1213; }
.timeline-grid span { color: var(--green); font-weight: 900; font-size: .78rem; letter-spacing: .1em; }
.timeline-grid h3 { margin: 50px 0 7px; font-size: 1.25rem; }
.timeline-grid p { color: var(--muted); font-size: .88rem; }
.faq-section { background: #0c0f10; }
.faq-grid { display: grid; grid-template-columns: .8fr 1.2fr; gap: 80px; }
.faq-grid > div:first-child > p { color: var(--muted); line-height: 1.7; }
.accordion { display: grid; gap: 10px; }
details { border: 1px solid var(--line); border-radius: 13px; background: #101415; }
summary { padding: 20px; cursor: pointer; font-weight: 800; list-style: none; }
summary::-webkit-details-marker { display: none; }
summary:after { content: "+"; float: right; color: var(--green); font-size: 1.2rem; }
details[open] summary:after { content: "−"; }
details p { margin: 0; padding: 0 20px 20px; color: var(--muted); line-height: 1.7; font-size: .9rem; }
.cta-section { padding: 0 0 110px; background: #0c0f10; }
.cta-card { display: flex; justify-content: space-between; align-items: center; gap: 30px; padding: 50px; border-radius: 25px; color: #071000; background: linear-gradient(120deg, var(--green), #45c500); }
.cta-card .section-kicker { color: rgba(0,0,0,.56); }
.cta-card h2 { margin: 6px 0; font-size: clamp(2rem, 4vw, 3.5rem); letter-spacing: -.05em; }
.cta-card p { margin: 0; color: rgba(0,0,0,.65); font-weight: 600; }

.site-footer { border-top: 1px solid var(--line); padding: 55px 0 20px; background: #07090a; }
.footer-grid { display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: 40px; }
.footer-grid > div { display: grid; align-content: start; gap: 8px; }
.footer-grid strong { font-size: .9rem; }
.footer-grid p, .footer-grid a { margin: 0; color: var(--muted); font-size: .85rem; }
.footer-grid a:hover { color: var(--green); }
.footer-brand { display: flex!important; flex-direction: row; gap: 15px!important; }
.footer-brand img { width: 72px; height: 72px; object-fit: contain; }
.footer-brand > div { display: grid; align-content: center; gap: 4px; }
.footer-bottom { display: flex; justify-content: space-between; gap: 20px; padding-top: 28px; margin-top: 35px; border-top: 1px solid var(--line-soft); color: #68726f; font-size: .75rem; }
.whatsapp-float { position: fixed; z-index: 90; right: 22px; bottom: 22px; display: flex; align-items: center; gap: 9px; min-height: 52px; padding: 0 17px; border-radius: 99px; background: #20bd59; color: white; box-shadow: 0 18px 45px rgba(0,0,0,.35); font-weight: 800; }
.whatsapp-float span { font-size: 1.35rem; }
.whatsapp-float small { color: white; }

/* Alerts */
.alert { padding: 13px 15px; margin-bottom: 18px; border-radius: 10px; border: 1px solid transparent; font-size: .9rem; font-weight: 700; }
.alert-success { color: #baff9b; background: rgba(103,255,0,.09); border-color: rgba(103,255,0,.25); }
.alert-danger { color: #ffadb3; background: rgba(255,93,104,.09); border-color: rgba(255,93,104,.23); }
.alert-warning { color: #ffd694; background: rgba(255,189,82,.09); border-color: rgba(255,189,82,.25); }

/* Install */
.install-body { display: grid; place-items: center; min-height: 100vh; padding: 40px 0; background: radial-gradient(circle at 50% 0, rgba(103,255,0,.1), transparent 35%), #07090a; }
.install-wrap { width: min(calc(100% - 32px), 820px); }
.install-card { padding: 36px; border: 1px solid var(--line); border-radius: 24px; background: rgba(15,19,20,.95); box-shadow: var(--shadow); }
.install-brand { display: flex; align-items: center; gap: 16px; padding-bottom: 24px; margin-bottom: 22px; border-bottom: 1px solid var(--line-soft); }
.install-brand img { width: 82px; }
.install-brand span { color: var(--green); font-size: .68rem; letter-spacing: .14em; font-weight: 900; }
.install-brand h1 { margin: 3px 0 0; }
.install-intro, .install-note { color: var(--muted); }
.install-note { margin-top: 25px; font-size: .82rem; }
.success-screen { text-align: center; padding: 20px; }
.success-screen h2 { font-size: 2rem; margin-bottom: 7px; }
.success-screen p { color: var(--muted); }
.button-row { display: flex; justify-content: center; gap: 12px; margin-top: 25px; }

/* Login */
.login-body { min-height: 100vh; background: #07090a; }
.login-shell { min-height: 100vh; display: grid; grid-template-columns: 1.08fr .92fr; }
.login-visual { display: grid; place-items: center; min-height: 100vh; padding: 70px; overflow: hidden; background: radial-gradient(circle at 50% 40%, rgba(103,255,0,.13), transparent 35%), repeating-linear-gradient(60deg, transparent, transparent 30px, rgba(255,255,255,.015) 30px, rgba(255,255,255,.015) 31px), #090c0d; }
.login-visual > div { max-width: 580px; }
.login-visual img { width: 230px; margin-bottom: 35px; }
.login-visual span { color: var(--green); letter-spacing: .15em; font-size: .73rem; font-weight: 900; }
.login-visual h1 { font-size: clamp(3rem, 5vw, 5rem); line-height: .98; letter-spacing: -.06em; margin: 13px 0 20px; }
.login-visual p { color: var(--muted); font-size: 1.03rem; max-width: 520px; }
.login-panel { display: grid; place-items: center; padding: 50px; border-left: 1px solid var(--line); background: #0c0f10; }
.login-form { width: min(100%, 440px); display: grid; gap: 17px; }
.back-link { color: var(--muted); font-weight: 700; font-size: .86rem; margin-bottom: 35px; }
.back-link:hover { color: var(--green); }
.login-heading { margin-bottom: 15px; }
.login-heading small { color: var(--green); letter-spacing: .14em; font-weight: 900; }
.login-heading h2 { font-size: 2.2rem; letter-spacing: -.04em; margin: 5px 0; }
.login-heading p, .login-help { color: var(--muted); margin: 0; }
.login-help { text-align: center; font-size: .78rem; margin-top: 5px; }

/* Admin */
.admin-body { background: #090c0d; }
.admin-shell { min-height: 100vh; display: grid; grid-template-columns: 260px minmax(0, 1fr); }
.admin-sidebar { position: sticky; top: 0; height: 100vh; display: flex; flex-direction: column; padding: 22px 17px; border-right: 1px solid var(--line); background: #0a0d0e; z-index: 150; }
.admin-brand { display: flex; align-items: center; gap: 11px; padding: 0 10px 22px; border-bottom: 1px solid var(--line-soft); }
.admin-brand img { width: 52px; height: 52px; object-fit: contain; }
.admin-brand > span { display: grid; }
.admin-brand strong { font-size: 1.08rem; }
.admin-brand small { font-size: .68rem; }
.admin-nav { display: grid; gap: 5px; margin-top: 22px; }
.admin-nav a { display: flex; align-items: center; gap: 12px; min-height: 46px; padding: 0 13px; border-radius: 10px; color: #aab3b0; font-size: .88rem; font-weight: 750; }
.admin-nav a:hover { color: white; background: #121617; }
.admin-nav a.active { color: #071000; background: var(--green); }
.nav-icon { display: grid; place-items: center; width: 25px; height: 25px; font-size: 1rem; }
.admin-sidebar-footer { display: grid; gap: 4px; margin-top: auto; padding: 18px 10px 0; border-top: 1px solid var(--line-soft); }
.admin-sidebar-footer a, .admin-sidebar-footer .link-button { text-align: left; font-size: .82rem; padding: 8px 0; }
.admin-main { min-width: 0; }
.admin-topbar { min-height: 88px; display: flex; align-items: center; gap: 16px; padding: 0 34px; border-bottom: 1px solid var(--line); background: rgba(12,15,16,.92); backdrop-filter: blur(14px); }
.admin-topbar h1 { margin: 0; font-size: 1.48rem; letter-spacing: -.03em; }
.admin-topbar p { margin: 2px 0 0; color: var(--muted); font-size: .78rem; }
.online-pill { margin-left: auto; display: flex; align-items: center; gap: 8px; padding: 8px 11px; border: 1px solid rgba(103,255,0,.15); border-radius: 99px; color: #bfeead; font-size: .73rem; font-weight: 800; background: rgba(103,255,0,.05); }
.online-pill i { width: 7px; height: 7px; border-radius: 50%; background: var(--green); box-shadow: 0 0 9px var(--green); }
.sidebar-toggle { display: none!important; }
.admin-content { padding: 30px 34px 50px; }
.panel { min-width: 0; padding: 24px; border: 1px solid var(--line); border-radius: 17px; background: #101415; box-shadow: 0 12px 30px rgba(0,0,0,.08); }
.panel-head { display: flex; justify-content: space-between; gap: 20px; align-items: center; padding-bottom: 20px; }
.panel-head small { color: var(--green); font-size: .64rem; font-weight: 900; letter-spacing: .13em; }
.panel-head h2 { margin: 3px 0 0; font-size: 1.3rem; letter-spacing: -.03em; }
.panel-note { color: var(--muted); font-size: .8rem; }
.metric-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; margin-bottom: 18px; }
.metric-card { display: flex; gap: 16px; min-height: 145px; padding: 21px; border: 1px solid var(--line); border-radius: 16px; background: linear-gradient(145deg, #111617, #0d1112); }
.metric-card.accent { border-color: rgba(103,255,0,.27); background: linear-gradient(145deg, #16220f, #0d1112); }
.metric-icon { display: grid; place-items: center; width: 42px; height: 42px; flex: 0 0 auto; border-radius: 11px; color: var(--green); background: rgba(103,255,0,.09); font-weight: 900; }
.metric-card > div { display: grid; align-content: start; }
.metric-card small { font-size: .64rem; letter-spacing: .11em; font-weight: 900; }
.metric-card strong { font-size: 2rem; letter-spacing: -.05em; margin-top: 5px; }
.metric-card p { margin: 1px 0 0; color: var(--muted); font-size: .72rem; }
.dashboard-grid { display: grid; grid-template-columns: minmax(0, 1.8fr) minmax(260px, .7fr); gap: 18px; }
.table-wrap { overflow-x: auto; margin-inline: -8px; }
table { width: 100%; border-collapse: collapse; }
th { color: #75807c; font-size: .65rem; letter-spacing: .1em; text-align: left; padding: 12px; border-bottom: 1px solid var(--line); }
td { padding: 15px 12px; border-bottom: 1px solid var(--line-soft); color: #d4dbd8; font-size: .84rem; vertical-align: middle; }
td strong, td small { display: block; }
td small { font-size: .69rem; margin-top: 2px; }
.table-action { color: var(--green); font-weight: 800; font-size: .78rem; }
.badge { display: inline-flex; align-items: center; min-height: 25px; padding: 4px 8px; border: 1px solid; border-radius: 99px; font-size: .66rem; font-weight: 900; white-space: nowrap; }
.badge-success { color: #adff8d; border-color: rgba(103,255,0,.23); background: rgba(103,255,0,.07); }
.badge-warning { color: #ffd28a; border-color: rgba(255,189,82,.25); background: rgba(255,189,82,.07); }
.badge-danger { color: #ffafb5; border-color: rgba(255,93,104,.25); background: rgba(255,93,104,.07); }
.badge-info { color: #a7e2ff; border-color: rgba(104,199,255,.25); background: rgba(104,199,255,.07); }
.badge-purple { color: #dabfff; border-color: rgba(189,140,255,.25); background: rgba(189,140,255,.07); }
.badge-primary { color: var(--green); border-color: rgba(103,255,0,.25); background: rgba(103,255,0,.07); }
.badge-muted { color: #98a09e; border-color: #333a3a; background: #181c1d; }
.empty-state { display: grid; place-items: center; text-align: center; min-height: 290px; color: var(--muted); }
.empty-state.tall { min-height: 540px; }
.empty-state span { display: grid; place-items: center; width: 55px; height: 55px; border-radius: 50%; background: #171c1d; color: var(--green); font-size: 1.4rem; }
.empty-state h3 { color: white; margin: 13px 0 3px; }
.empty-state p { margin: 0; font-size: .85rem; }
.status-list { display: grid; gap: 0; margin-bottom: 20px; }
.status-list > div { display: flex; justify-content: space-between; align-items: center; padding: 11px 0; border-bottom: 1px solid var(--line-soft); font-size: .82rem; }
.status-list span { display: flex; align-items: center; gap: 9px; color: #bec7c3; }
.status-dot { width: 8px; height: 8px; border-radius: 50%; background: #555; }
.status-dot.success { background: var(--green); }.status-dot.warning { background: var(--warning); }.status-dot.danger { background: var(--danger); }.status-dot.info { background: var(--info); }.status-dot.purple { background: var(--purple); }.status-dot.primary { background: #48d7ff; }.status-dot.muted { background: #6f7775; }
.quick-admin-link { display: grid; grid-template-columns: auto 1fr auto; align-items: center; gap: 11px; padding: 13px 0; border-top: 1px solid var(--line-soft); }
.quick-admin-link > span { display: grid; place-items: center; width: 35px; height: 35px; border-radius: 9px; color: var(--green); background: rgba(103,255,0,.08); }
.quick-admin-link div { display: grid; }
.quick-admin-link strong { font-size: .78rem; }
.quick-admin-link small { font-size: .66rem; }

.split-layout { display: grid; grid-template-columns: minmax(0, 1.5fr) minmax(320px, .7fr); gap: 18px; align-items: start; }
.form-panel { position: sticky; top: 20px; }
.category-list, .user-list { display: grid; gap: 11px; }
.category-row, .user-row { display: flex; gap: 15px; align-items: center; padding: 17px; border: 1px solid var(--line); border-radius: 13px; background: #0d1112; }
.category-icon, .avatar { display: grid; place-items: center; width: 45px; height: 45px; flex: 0 0 auto; border-radius: 12px; color: var(--green); background: rgba(103,255,0,.08); font-weight: 900; }
.avatar { border-radius: 50%; }
.category-main, .user-row > div:nth-child(2) { flex: 1; min-width: 0; }
.category-main > div { display: flex; align-items: center; gap: 10px; }
.category-main h3, .user-row h3 { margin: 0; font-size: .98rem; }
.category-main p, .user-row p { margin: 3px 0 10px; color: var(--muted); font-size: .75rem; }
.category-values { display: flex; flex-wrap: wrap; gap: 16px; }
.category-values > span { display: grid; }
.category-values small { font-size: .62rem; text-transform: uppercase; letter-spacing: .06em; }
.category-values strong { font-size: .78rem; }
.row-actions { display: flex; align-items: center; gap: 7px; }
.icon-button { display: inline-grid; place-items: center; width: 38px; height: 38px; border: 1px solid var(--line); border-radius: 9px; color: white; background: #161b1c; }
.icon-button:hover { border-color: #4b5554; }
.icon-button.danger { color: var(--danger); font-size: 1.25rem; }
.settings-layout { display: grid; grid-template-columns: minmax(0, 1.5fr) minmax(260px,.5fr); gap: 18px; align-items: start; }
.settings-form { display: block; }
.preview-card { position: sticky; top: 20px; text-align: center; }
.preview-card > small { color: var(--green); letter-spacing: .12em; font-weight: 900; }
.preview-card img { width: 190px; margin: 20px auto; }
.preview-card h3 { margin: 0; }
.preview-card > p { color: var(--muted); }
.preview-card > div { display: flex; justify-content: space-between; padding-top: 18px; margin-top: 20px; border-top: 1px solid var(--line-soft); font-size: .8rem; }
.color-chip { color: var(--green); }
.filter-tabs { display: flex; gap: 7px; overflow-x: auto; padding-bottom: 15px; scrollbar-width: none; }
.filter-tabs a { flex: 0 0 auto; padding: 8px 12px; border: 1px solid var(--line); border-radius: 99px; color: var(--muted); font-size: .74rem; font-weight: 800; background: #111516; }
.filter-tabs a.active { color: #071000; border-color: var(--green); background: var(--green); }
.requests-layout { display: grid; grid-template-columns: minmax(310px,.65fr) minmax(0,1.35fr); gap: 18px; align-items: start; }
.requests-list-panel { padding-inline: 14px; }
.requests-list-panel .panel-head { padding-inline: 10px; }
.request-cards { display: grid; gap: 8px; max-height: calc(100vh - 220px); overflow-y: auto; padding-right: 3px; }
.request-card { display: grid; gap: 4px; padding: 15px; border: 1px solid var(--line); border-radius: 12px; background: #0d1112; }
.request-card:hover, .request-card.active { border-color: rgba(103,255,0,.35); background: #121816; }
.request-card-top, .request-card > div:last-child { display: flex; justify-content: space-between; gap: 10px; align-items: center; }
.request-card-top > strong { color: var(--green); font-size: .72rem; letter-spacing: .05em; }
.request-card h3 { margin: 5px 0 0; font-size: .96rem; }
.request-card p { margin: 0; color: var(--muted); font-size: .74rem; }
.request-card > div:last-child { padding-top: 8px; margin-top: 5px; border-top: 1px solid var(--line-soft); }
.request-card > div:last-child strong { font-size: .88rem; }
.request-card > div:last-child small { font-size: .65rem; }
.request-detail { position: sticky; top: 20px; }
.request-detail-head { display: flex; justify-content: space-between; gap: 20px; padding-bottom: 20px; border-bottom: 1px solid var(--line-soft); }
.request-detail-head small { color: var(--green); font-weight: 900; letter-spacing: .08em; }
.request-detail-head h2 { margin: 3px 0; }
.request-detail-head p { margin: 0; color: var(--muted); font-size: .78rem; }
.detail-route { display: grid; gap: 0; padding: 24px 0; border-bottom: 1px solid var(--line-soft); }
.detail-route > div { display: flex; align-items: center; gap: 13px; }
.detail-route > div > span { display: grid; place-items: center; width: 31px; height: 31px; border-radius: 50%; color: #071000; background: var(--green); font-weight: 900; font-size: .75rem; }
.detail-route > div:last-child > span { color: var(--green); background: #14200f; border: 1px solid rgba(103,255,0,.35); }
.detail-route > div > div { display: grid; }
.detail-route small { font-size: .6rem; letter-spacing: .1em; }
.detail-route strong { font-size: .82rem; }
.detail-route > i { width: 1px; height: 25px; margin-left: 15px; background: #3d4744; }
.detail-grid { display: grid; grid-template-columns: repeat(4,1fr); gap: 10px; padding: 20px 0; }
.detail-grid > div { display: grid; gap: 2px; padding: 12px; border-radius: 10px; background: #0c1011; }
.detail-grid small { font-size: .62rem; text-transform: uppercase; }
.detail-grid strong { font-size: .78rem; }
.detail-note { padding: 15px; border-left: 2px solid var(--green); background: #0d1210; }
.detail-note small { color: var(--green); letter-spacing: .1em; font-weight: 900; font-size: .62rem; }
.detail-note p { margin: 5px 0 0; color: #bdc6c2; font-size: .82rem; }
.price-breakdown-admin { display: grid; margin: 20px 0; border: 1px solid var(--line); border-radius: 11px; overflow: hidden; }
.price-breakdown-admin > div { display: flex; justify-content: space-between; gap: 20px; padding: 11px 13px; border-bottom: 1px solid var(--line-soft); font-size: .78rem; }
.price-breakdown-admin > div:last-child { border-bottom: 0; }
.price-breakdown-admin span { color: var(--muted); }
.price-breakdown-admin .total { color: var(--green); background: rgba(103,255,0,.04); font-size: .88rem; }
.detail-form { padding-top: 20px; border-top: 1px solid var(--line-soft); }
.detail-actions { display: grid; gap: 5px; margin-top: 14px; }
.detail-actions form { text-align: center; }

/* Responsive */
@media (max-width: 1100px) {
  .hero-grid { grid-template-columns: 1fr .7fr; gap: 25px; }
  .hero h1 { font-size: clamp(3.2rem, 7vw, 5.2rem); }
  .service-grid { grid-template-columns: repeat(2,1fr); }
  .calculator-grid { gap: 40px; }
  .metric-grid { grid-template-columns: repeat(2,1fr); }
  .dashboard-grid { grid-template-columns: 1fr; }
  .admin-shell { grid-template-columns: 230px minmax(0,1fr); }
  .category-values { gap: 10px; }
}

@media (max-width: 860px) {
  .container { width: min(calc(100% - 28px), var(--container)); }
  .site-nav { position: absolute; top: 78px; left: 14px; right: 14px; display: none; padding: 14px; border: 1px solid var(--line); border-radius: 14px; background: #0c1011; box-shadow: var(--shadow); }
  .site-nav.open { display: grid; }
  .site-nav a { padding: 10px; }
  .mobile-menu-button { display: block; }
  .hero { padding-top: 55px; }
  .hero-grid { grid-template-columns: 1fr; }
  .hero-visual { min-height: 390px; }
  .hero-visual img { width: 360px; }
  .trust-row { grid-template-columns: 1fr; }
  .quick-strip-grid { grid-template-columns: 1fr; }
  .quick-strip-grid > div { min-height: 70px; border-right: 0; border-bottom: 1px solid rgba(0,0,0,.13); }
  .section { padding: 80px 0; }
  .section-heading { display: grid; }
  .calculator-grid, .faq-grid { grid-template-columns: 1fr; }
  .timeline-grid { grid-template-columns: repeat(2,1fr); }
  .cta-card { display: grid; padding: 38px 28px; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .login-shell { grid-template-columns: 1fr; }
  .login-visual { min-height: auto; padding: 50px 30px; }
  .login-visual img { width: 150px; }
  .login-visual h1 { font-size: 3.3rem; }
  .login-panel { padding: 45px 25px; }
  .admin-shell { display: block; }
  .admin-sidebar { position: fixed; left: 0; top: 0; transform: translateX(-105%); width: 260px; transition: .25s ease; box-shadow: 25px 0 70px rgba(0,0,0,.45); }
  .admin-sidebar.open { transform: translateX(0); }
  .sidebar-toggle { display: inline-grid!important; }
  .admin-topbar { padding-inline: 18px; }
  .online-pill { display: none; }
  .admin-content { padding: 22px 18px 40px; }
  .split-layout, .settings-layout { grid-template-columns: 1fr; }
  .form-panel, .preview-card, .request-detail { position: static; }
  .requests-layout { grid-template-columns: 1fr; }
  .request-cards { max-height: none; }
  .request-detail { order: -1; }
  .empty-state.tall { min-height: 250px; }
}

@media (max-width: 620px) {
  .header-inner { height: 68px; }
  .site-brand img { width: 48px; height: 48px; }
  .site-nav { top: 68px; }
  .hero { min-height: auto; padding: 45px 0 60px; }
  .hero h1 { font-size: 3.2rem; }
  .hero-copy > p { font-size: .98rem; }
  .hero-actions { display: grid; }
  .hero-actions .btn { width: 100%; }
  .hero-visual { min-height: 315px; }
  .hero-visual img { width: 290px; }
  .hero-status-card { left: 5px; bottom: 10px; }
  .service-grid { grid-template-columns: 1fr; }
  .service-card { min-height: 270px; }
  .section-heading h2, .calculator-copy h2, .faq-grid h2 { font-size: 2.45rem; }
  .calculator-card { padding: 24px 18px; border-radius: 18px; }
  .field-grid, .form-grid, .two-fields { grid-template-columns: 1fr; }
  .span-2, .form-section-title { grid-column: span 1; }
  .quote-result-head strong { font-size: 2rem; }
  .timeline-grid { grid-template-columns: 1fr; }
  .timeline-grid article { min-height: 185px; }
  .timeline-grid h3 { margin-top: 32px; }
  .cta-card { padding: 30px 22px; }
  .footer-grid { grid-template-columns: 1fr; }
  .footer-bottom { display: grid; }
  .whatsapp-float small { display: none; }
  .whatsapp-float { width: 54px; padding: 0; justify-content: center; }
  .install-card { padding: 24px 18px; }
  .button-row { display: grid; }
  .metric-grid { grid-template-columns: 1fr; }
  .metric-card { min-height: 120px; }
  .admin-topbar h1 { font-size: 1.2rem; }
  .panel { padding: 18px; }
  .category-row, .user-row { align-items: flex-start; flex-wrap: wrap; }
  .category-main { min-width: calc(100% - 70px); }
  .row-actions { width: 100%; justify-content: flex-end; padding-top: 10px; border-top: 1px solid var(--line-soft); }
  .detail-grid { grid-template-columns: 1fr 1fr; }
  .request-detail-head { display: grid; }
  .login-visual h1 { font-size: 2.7rem; }
  .login-visual { padding: 40px 22px; }
  .login-panel { padding: 40px 20px; }
}

/* Pacote 2 — mapa, rota automática e adicionais */
.geocode-control { position: relative; }
.address-input-row { display: grid; grid-template-columns: minmax(0,1fr) 48px; gap: 8px; }
.location-button { display: grid; place-items: center; border: 1px solid rgba(103,255,0,.35); border-radius: 10px; color: var(--green); background: rgba(103,255,0,.08); font-size: 1.25rem; cursor: pointer; }
.location-button:hover { background: rgba(103,255,0,.14); }
.location-button:disabled { opacity: .55; cursor: wait; }
.address-suggestions { position: absolute; z-index: 1200; top: calc(100% + 6px); left: 0; right: 0; overflow: hidden; max-height: 280px; overflow-y: auto; border: 1px solid #35403d; border-radius: 12px; background: #0a0e0f; box-shadow: 0 24px 60px rgba(0,0,0,.55); }
.address-suggestions[hidden] { display: none; }
.address-suggestion { display: grid; grid-template-columns: 28px minmax(0,1fr); gap: 9px; width: 100%; padding: 13px 14px; border: 0; border-bottom: 1px solid var(--line-soft); color: white; text-align: left; background: transparent; cursor: pointer; }
.address-suggestion:last-child { border-bottom: 0; }
.address-suggestion:hover { background: rgba(103,255,0,.08); }
.address-suggestion span { color: var(--green); }
.address-suggestion strong { font-size: .78rem; line-height: 1.45; font-weight: 700; }
.suggestion-loading, .suggestion-empty { padding: 14px; color: var(--muted); font-size: .78rem; line-height: 1.5; }
.addons-fieldset { margin: 22px 0 0; padding: 0; border: 0; }
.addons-fieldset legend { margin-bottom: 11px; color: #dce3e0; font-weight: 800; font-size: .83rem; }
.addon-options { display: grid; grid-template-columns: 1fr 1fr; gap: 9px; }
.addon-option { display: flex; align-items: flex-start; gap: 10px; min-height: 64px; padding: 12px; border: 1px solid var(--line); border-radius: 11px; background: #0b0f10; cursor: pointer; }
.addon-option:has(input:checked) { border-color: rgba(103,255,0,.45); background: rgba(103,255,0,.06); }
.addon-option input { width: auto; margin-top: 3px; accent-color: var(--green); }
.addon-option span { display: grid; gap: 3px; }
.addon-option strong { font-size: .78rem; }
.addon-option small { font-size: .67rem; line-height: 1.35; }
.route-preview { overflow: hidden; margin: 20px 0; border: 1px solid var(--line); border-radius: 15px; background: #0a0e0f; }
.route-map { width: 100%; height: 290px; background: #141819; }
.route-stats, .result-route-summary { display: grid; grid-template-columns: repeat(3,1fr); gap: 1px; background: var(--line); }
.route-stats > span, .result-route-summary > span { display: grid; gap: 4px; padding: 13px; background: #0d1112; }
.route-stats small, .result-route-summary small { color: var(--muted); font-size: .58rem; letter-spacing: .08em; text-transform: uppercase; }
.route-stats strong, .result-route-summary strong { font-size: .74rem; line-height: 1.35; }
.result-route-summary { margin-bottom: 15px; border: 1px solid var(--line); border-radius: 11px; overflow: hidden; }
.breakdown-total { color: var(--green); background: rgba(103,255,0,.05)!important; font-size: .92rem!important; }
.legal-note { margin: 16px 0; color: var(--muted); font-size: .72rem; line-height: 1.55; }
.leaflet-container { font-family: inherit; }
.leaflet-control-attribution { font-size: 9px!important; }
.leaflet-popup-content-wrapper, .leaflet-popup-tip { color: white; background: #111617; }
.operation-grid { display: grid; grid-template-columns: minmax(0,1.4fr) minmax(280px,.6fr); gap: 18px; align-items: start; }
.operation-help { position: sticky; top: 20px; }
.operation-help > small { color: var(--green); font-weight: 900; letter-spacing: .12em; }
.operation-help h2 { margin: 7px 0 22px; }
.operation-flow { display: grid; grid-template-columns: 34px minmax(0,1fr); gap: 11px; align-items: start; padding: 14px 0; border-top: 1px solid var(--line-soft); }
.operation-flow span { display: grid; place-items: center; width: 30px; height: 30px; border-radius: 50%; color: #071000; background: var(--green); font-size: .7rem; font-weight: 900; }
.operation-flow p { margin: 0; color: #c0c9c5; font-size: .8rem; line-height: 1.55; }
.warning-box { margin-top: 18px; padding: 15px; border: 1px solid rgba(255,190,66,.23); border-radius: 11px; background: rgba(255,190,66,.06); }
.warning-box strong { color: var(--warning); }
.warning-box p { margin: 6px 0 0; color: var(--muted); font-size: .75rem; line-height: 1.55; }
.route-mode-cards { display: grid; gap: 9px; }
.route-mode-cards label { display: flex; gap: 12px; align-items: flex-start; padding: 14px; border: 1px solid var(--line); border-radius: 11px; background: #0c1011; cursor: pointer; }
.route-mode-cards label:has(input:checked) { border-color: rgba(103,255,0,.42); background: rgba(103,255,0,.06); }
.route-mode-cards input { width: auto; margin-top: 3px; accent-color: var(--green); }
.route-mode-cards span { display: grid; gap: 4px; }
.route-mode-cards strong { font-size: .83rem; }
.route-mode-cards small { font-size: .7rem; line-height: 1.4; }
.admin-map { width: 100%; height: 330px; margin-top: 16px; border: 1px solid var(--line); border-radius: 13px; overflow: hidden; background: #141819; }
.operation-addons { margin-top: 18px; }
.wide-value { flex-basis: 100%; }
.route-open-link { display: inline-flex; margin: 14px 0 0; color: var(--green); font-size: .76rem; font-weight: 800; }
.route-detail-grid { grid-template-columns: repeat(4,1fr); }

@media (max-width: 860px) {
  .operation-grid { grid-template-columns: 1fr; }
  .operation-help { position: static; }
}

@media (max-width: 620px) {
  .addon-options { grid-template-columns: 1fr; }
  .route-map { height: 245px; }
  .route-stats, .result-route-summary { grid-template-columns: 1fr; }
  .route-detail-grid { grid-template-columns: 1fr 1fr; }
  .admin-map { height: 270px; }
}

/* Pacote 3 — clientes, veículos, Kanban e histórico */
.vehicle-data-hint { margin: -2px 0 2px; padding: 12px 14px; border: 1px solid rgba(103,255,0,.16); border-radius: 10px; color: #b6c0bc; background: rgba(103,255,0,.045); font-size: .74rem; line-height: 1.5; }
.panel-head-actions { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; }
.mini-metric-grid { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: 14px; margin-bottom: 18px; }
.mini-metric-grid article { min-height: 96px; display: grid; align-content: center; gap: 5px; padding: 18px 20px; border: 1px solid var(--line); border-radius: 15px; background: linear-gradient(145deg,#121718,#0e1213); }
.mini-metric-grid small { font-size: .66rem; letter-spacing: .1em; }
.mini-metric-grid strong { color: white; font-size: 1.65rem; line-height: 1.05; }
.metric-date { font-size: 1.2rem!important; }

.customers-layout { display: grid; grid-template-columns: minmax(0,1.55fr) minmax(300px,.55fr); gap: 18px; align-items: start; }
.customers-list-panel { min-width: 0; }
.customers-head { margin-bottom: 15px; }
.customer-filters { display: grid; grid-template-columns: minmax(0,1fr) 180px auto; gap: 10px; align-items: end; margin-bottom: 18px; padding: 14px; border: 1px solid var(--line-soft); border-radius: 13px; background: rgba(255,255,255,.018); }
.customer-filters label { gap: 5px; }
.customer-filters label > span { color: var(--muted); font-size: .67rem; letter-spacing: .08em; text-transform: uppercase; }
.customer-filters input,.customer-filters select { min-height: 43px; }
.customer-cards { display: grid; gap: 9px; }
.customer-card { display: grid; grid-template-columns: 48px minmax(180px,1fr) auto 22px; gap: 13px; align-items: center; padding: 14px; border: 1px solid var(--line); border-radius: 13px; background: #0d1112; transition: .2s ease; }
.customer-card:hover { transform: translateY(-1px); border-color: rgba(103,255,0,.34); background: #101516; }
.customer-card.is-inactive { opacity: .58; }
.customer-avatar { display: grid; place-items: center; width: 42px; height: 42px; border-radius: 13px; color: #071000; background: linear-gradient(145deg,var(--green),#93ff4d); font-weight: 950; box-shadow: 0 8px 22px rgba(103,255,0,.12); }
.customer-avatar.large { width: 64px; height: 64px; border-radius: 18px; font-size: 1.45rem; }
.customer-main { min-width: 0; }
.customer-main > div { display: flex; align-items: center; gap: 8px; min-width: 0; }
.customer-main strong { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.customer-main > div span { flex: 0 0 auto; padding: 3px 7px; border: 1px solid var(--line); border-radius: 99px; color: var(--muted); font-size: .58rem; text-transform: uppercase; letter-spacing: .05em; }
.customer-main p { overflow: hidden; margin: 4px 0 0; color: var(--muted); font-size: .72rem; text-overflow: ellipsis; white-space: nowrap; }
.customer-numbers { display: grid; grid-template-columns: repeat(3,auto); gap: 18px; }
.customer-numbers span { display: grid; gap: 2px; text-align: right; }
.customer-numbers b { font-size: .8rem; }
.customer-numbers small { font-size: .58rem; }
.customer-arrow { color: var(--green); font-weight: 900; }
.new-customer-panel,.new-vehicle-panel { position: sticky; top: 20px; }
.new-customer-panel > small,.new-vehicle-panel > small { color: var(--green); font-weight: 900; letter-spacing: .12em; }
.new-customer-panel h2,.new-vehicle-panel h2 { margin: 5px 0 6px; }
.new-customer-panel > p,.new-vehicle-panel > p { margin: 0 0 20px; color: var(--muted); font-size: .78rem; line-height: 1.55; }

.customer-profile-head { display: flex; align-items: center; justify-content: space-between; gap: 18px; margin-bottom: 14px; }
.customer-profile-main { display: flex; align-items: center; gap: 15px; min-width: 0; }
.customer-profile-main h2 { margin: 2px 0; font-size: 1.55rem; }
.customer-profile-main small { color: var(--green); letter-spacing: .11em; font-size: .62rem; font-weight: 900; }
.customer-profile-main p { margin: 0; color: var(--muted); font-size: .8rem; }
.customer-profile-actions { display: flex; gap: 9px; flex-wrap: wrap; }
.customer-metrics { grid-template-columns: repeat(4,minmax(0,1fr)); }
.customer-profile-grid { display: grid; grid-template-columns: minmax(0,1.45fr) minmax(285px,.55fr); gap: 18px; align-items: start; }
.danger-zone { display: flex; align-items: center; justify-content: space-between; gap: 15px; margin-top: 24px; padding-top: 18px; border-top: 1px solid rgba(255,93,104,.16); }
.danger-zone p { margin: 3px 0 0; color: var(--muted); font-size: .72rem; }
.danger-zone > div:last-child { display: flex; align-items: center; gap: 7px; }
.customer-vehicles-panel,.customer-history-panel { margin-top: 18px; }
.vehicle-profile-grid { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 11px; }
.vehicle-profile-card { overflow: hidden; border: 1px solid var(--line); border-radius: 14px; background: #0d1112; }
.vehicle-profile-card[open] { border-color: rgba(103,255,0,.25); }
.vehicle-profile-card summary { display: grid; grid-template-columns: 42px minmax(0,1fr) auto 18px; gap: 11px; align-items: center; padding: 15px; list-style: none; cursor: pointer; }
.vehicle-profile-card summary::-webkit-details-marker { display: none; }
.vehicle-profile-card summary > div { min-width: 0; }
.vehicle-profile-card summary strong { display: block; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.vehicle-profile-card summary p { margin: 3px 0 0; color: var(--muted); font-size: .7rem; }
.vehicle-profile-card summary > i { color: var(--green); font-style: normal; transition: .2s; }
.vehicle-profile-card[open] summary > i { transform: rotate(180deg); }
.vehicle-icon { display: grid; place-items: center; width: 40px; height: 40px; border-radius: 11px; color: var(--green); background: rgba(103,255,0,.07); border: 1px solid rgba(103,255,0,.13); }
.vehicle-edit-form { padding: 16px; border-top: 1px solid var(--line-soft); background: #0a0e0f; }
.vehicle-form-actions { display: flex; align-items: end; justify-content: flex-end; }
.vehicle-delete-form { padding: 0 8px 8px; text-align: right; background: #0a0e0f; }
.table-route { display: block; max-width: 310px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }

.kanban-toolbar { display: flex; align-items: center; justify-content: space-between; gap: 20px; margin-bottom: 15px; }
.kanban-toolbar small { color: var(--green); letter-spacing: .12em; font-weight: 900; }
.kanban-toolbar h2 { margin: 4px 0 2px; }
.kanban-toolbar p { margin: 0; color: var(--muted); font-size: .76rem; }
.kanban-toolbar-actions { display: flex; align-items: end; gap: 9px; flex-wrap: wrap; }
.kanban-search { position: relative; min-width: 300px; }
.kanban-search span { position: absolute; left: 13px; bottom: 11px; z-index: 1; color: var(--muted); font-size: 1.1rem; }
.kanban-search input { min-height: 44px; padding-left: 38px; }
.kanban-notice { position: fixed; z-index: 1500; right: 22px; bottom: 22px; max-width: 380px; padding: 13px 17px; border: 1px solid rgba(103,255,0,.3); border-radius: 11px; color: white; background: #10200c; box-shadow: var(--shadow); font-size: .8rem; font-weight: 800; }
.kanban-notice.error { border-color: rgba(255,93,104,.35); background: #2a1013; }
.kanban-board { display: grid; grid-auto-flow: column; grid-auto-columns: minmax(280px,310px); gap: 12px; overflow-x: auto; align-items: start; padding: 1px 2px 18px; scroll-snap-type: x proximity; scrollbar-color: #39413f #101415; }
.kanban-column { scroll-snap-align: start; overflow: hidden; border: 1px solid var(--line); border-radius: 15px; background: #0b0f10; min-height: 510px; }
.kanban-column.is-over { border-color: var(--green); box-shadow: inset 0 0 0 2px rgba(103,255,0,.08); }
.kanban-column-head { display: flex; align-items: center; justify-content: space-between; gap: 10px; min-height: 74px; padding: 14px; border-bottom: 1px solid var(--line); background: #111516; }
.kanban-column-head > div { display: flex; align-items: center; gap: 9px; min-width: 0; }
.kanban-column-head > div > div { display: grid; min-width: 0; }
.kanban-column-head strong { font-size: .8rem; }
.kanban-column-head small { overflow: hidden; max-width: 190px; font-size: .6rem; text-overflow: ellipsis; white-space: nowrap; }
.kanban-column-head b { display: grid; place-items: center; min-width: 28px; height: 28px; border-radius: 9px; color: white; background: #202627; font-size: .72rem; }
.kanban-stage-dot { width: 9px; height: 9px; flex: 0 0 auto; border-radius: 50%; background: var(--info); box-shadow: 0 0 10px currentColor; }
.status-warning .kanban-stage-dot { background: var(--warning); }
.status-purple .kanban-stage-dot { background: var(--purple); }
.status-success .kanban-stage-dot { background: var(--green); }
.status-primary .kanban-stage-dot { background: #5f90ff; }
.status-danger .kanban-stage-dot { background: var(--danger); }
.kanban-column-body { display: grid; align-content: start; gap: 9px; min-height: 435px; padding: 10px; }
.kanban-card { display: grid; gap: 8px; padding: 12px; border: 1px solid #252d2e; border-radius: 12px; background: #121718; box-shadow: 0 8px 20px rgba(0,0,0,.14); cursor: grab; transition: .18s ease; }
.kanban-card:hover { border-color: #3a4543; transform: translateY(-1px); }
.kanban-card.is-dragging { opacity: .45; transform: rotate(1deg); }
.kanban-card.is-saving { opacity: .55; pointer-events: none; }
.kanban-card[hidden] { display: none; }
.kanban-card-top { display: flex; align-items: center; justify-content: space-between; gap: 8px; }
.kanban-card-top strong { color: var(--green); font-size: .67rem; letter-spacing: .05em; }
.kanban-card-top span { color: var(--muted); font-size: .59rem; }
.kanban-card h3 { margin: 0; overflow: hidden; font-size: .92rem; text-overflow: ellipsis; white-space: nowrap; }
.kanban-vehicle { margin: -4px 0 0; color: #b2bcb8; font-size: .68rem; }
.kanban-route { display: grid; grid-template-columns: 20px minmax(0,1fr); column-gap: 7px; align-items: center; padding: 8px; border-radius: 9px; background: #0b0f10; }
.kanban-route span { display: grid; place-items: center; width: 18px; height: 18px; border-radius: 50%; color: #071000; background: var(--green); font-size: .55rem; font-weight: 900; }
.kanban-route p { overflow: hidden; margin: 0; color: #b3bcb9; font-size: .61rem; text-overflow: ellipsis; white-space: nowrap; }
.kanban-route i { width: 1px; height: 7px; margin-left: 8px; background: #4b5653; }
.kanban-card-meta { display: flex; align-items: center; justify-content: space-between; gap: 8px; }
.kanban-card-meta span { color: var(--muted); font-size: .65rem; }
.kanban-card-meta strong { font-size: .83rem; }
.kanban-card-footer { display: grid; grid-template-columns: minmax(0,1fr) auto; gap: 8px; align-items: center; padding-top: 8px; border-top: 1px solid var(--line-soft); }
.kanban-card-footer select { min-height: 34px; padding: 5px 27px 5px 8px; border-radius: 8px; background-position: calc(100% - 12px) 14px,calc(100% - 8px) 14px; background-size: 4px 4px,4px 4px; font-size: .61rem; }
.kanban-card-footer a { color: var(--green); font-size: .65rem; font-weight: 800; }
.kanban-empty { display: grid; place-items: center; min-height: 90px; padding: 14px; border: 1px dashed #303839; border-radius: 11px; color: var(--muted); text-align: center; }
.kanban-empty span { color: #56615e; font-size: 1.25rem; }
.kanban-empty p { margin: 3px 0 0; font-size: .62rem; }
.kanban-empty[hidden] { display: none; }

.calls-page-head { display: flex; align-items: flex-start; justify-content: space-between; gap: 12px; margin-bottom: 14px; }
.calls-page-head .filter-tabs { margin-bottom: 0; }
.linked-customer-card { display: grid; grid-template-columns: 43px minmax(0,1fr) auto; gap: 11px; align-items: center; margin: 15px 0; padding: 12px; border: 1px solid rgba(103,255,0,.17); border-radius: 12px; background: rgba(103,255,0,.045); }
.linked-customer-card:hover { border-color: rgba(103,255,0,.42); }
.linked-customer-card div { display: grid; min-width: 0; }
.linked-customer-card small { color: var(--green); letter-spacing: .1em; font-size: .57rem; }
.linked-customer-card strong { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.linked-customer-card p { margin: 2px 0 0; color: var(--muted); font-size: .66rem; }
.linked-customer-card b { color: var(--green); }
.status-history-block { margin-top: 22px; padding-top: 20px; border-top: 1px solid var(--line); }
.subsection-head { display: flex; align-items: center; justify-content: space-between; gap: 10px; margin-bottom: 13px; }
.subsection-head small { color: var(--green); letter-spacing: .11em; font-weight: 900; }
.subsection-head h3 { margin: 3px 0 0; font-size: 1rem; }
.subsection-head > span { color: var(--muted); font-size: .65rem; }
.status-timeline { display: grid; }
.status-timeline article { position: relative; display: grid; grid-template-columns: 17px minmax(0,1fr); gap: 10px; min-height: 73px; }
.status-timeline article:not(:last-child):before { content: ""; position: absolute; left: 7px; top: 17px; bottom: -2px; width: 1px; background: #303839; }
.status-timeline i { position: relative; z-index: 1; width: 15px; height: 15px; margin-top: 2px; border: 4px solid #121718; border-radius: 50%; background: var(--info); box-shadow: 0 0 0 1px #35403d; }
.status-timeline i.warning { background: var(--warning); }
.status-timeline i.purple { background: var(--purple); }
.status-timeline i.success { background: var(--green); }
.status-timeline i.primary { background: #5f90ff; }
.status-timeline i.danger { background: var(--danger); }
.status-timeline strong { font-size: .76rem; }
.status-timeline p { margin: 2px 0; color: #b6bfbc; font-size: .69rem; }
.status-timeline small { font-size: .59rem; }
.muted-copy { color: var(--muted); font-size: .75rem; }

@media (max-width: 1120px) {
  .customer-numbers { gap: 10px; }
  .customer-numbers span:last-child { display: none; }
  .customers-layout,.customer-profile-grid { grid-template-columns: minmax(0,1.2fr) minmax(275px,.6fr); }
}

@media (max-width: 860px) {
  .customers-layout,.customer-profile-grid { grid-template-columns: 1fr; }
  .new-customer-panel,.new-vehicle-panel { position: static; }
  .customer-metrics { grid-template-columns: repeat(2,minmax(0,1fr)); }
  .customer-profile-head,.kanban-toolbar,.calls-page-head { align-items: stretch; flex-direction: column; }
  .kanban-toolbar-actions { align-items: stretch; }
  .kanban-search { min-width: 0; flex: 1; }
  .vehicle-profile-grid { grid-template-columns: 1fr; }
  .kanban-board { margin-inline: -18px; padding-inline: 18px; }
}

@media (max-width: 620px) {
  .mini-metric-grid { grid-template-columns: 1fr; }
  .customer-metrics { grid-template-columns: 1fr 1fr; }
  .customer-filters { grid-template-columns: 1fr; }
  .customer-card { grid-template-columns: 42px minmax(0,1fr) 18px; }
  .customer-numbers { grid-column: 2 / -1; grid-row: 2; display: flex; justify-content: flex-start; }
  .customer-numbers span { text-align: left; }
  .customer-numbers span:last-child { display: grid; }
  .customer-arrow { grid-column: 3; grid-row: 1; }
  .customer-profile-head { display: grid; }
  .customer-profile-main { align-items: flex-start; }
  .customer-profile-actions { display: grid; grid-template-columns: 1fr 1fr; }
  .danger-zone { display: grid; }
  .danger-zone > div:last-child { justify-content: space-between; }
  .vehicle-profile-card summary { grid-template-columns: 38px minmax(0,1fr) 18px; }
  .vehicle-profile-card summary .badge { grid-column: 2; width: max-content; }
  .vehicle-profile-card summary > i { grid-column: 3; grid-row: 1; }
  .kanban-toolbar-actions { display: grid; }
  .kanban-board { grid-auto-columns: minmax(270px,86vw); }
  .kanban-notice { left: 14px; right: 14px; bottom: 14px; max-width: none; }
  .calls-page-head .filter-tabs { max-width: 100%; overflow-x: auto; flex-wrap: nowrap; }
}
.package-update-alert a { color: var(--green); text-decoration: underline; text-underline-offset: 3px; }

/* Pacote 4 — uploads protegidos e conferência de arquivos */
.form-section-title small { margin-left: auto; font-size: .72rem; text-transform: uppercase; letter-spacing: .08em; }
.secure-upload-grid { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 13px; }
.secure-upload-card { position: relative; display: grid; grid-template-columns: 42px minmax(0,1fr) auto; gap: 12px; align-items: center; min-height: 112px; padding: 15px; overflow: hidden; border: 1px dashed #3a4543; border-radius: 14px; background: linear-gradient(145deg,#0c1111,#111717); cursor: pointer; transition: .2s ease; }
.secure-upload-card:hover { border-color: var(--green); background: rgba(103,255,0,.035); }
.secure-upload-card:focus-within { border-color: var(--green); box-shadow: 0 0 0 3px rgba(103,255,0,.08); }
.secure-upload-card > input[type="file"] { position: absolute; width: 1px; height: 1px; opacity: 0; pointer-events: none; }
.upload-card-icon { display: grid; place-items: center; width: 42px; height: 42px; border-radius: 12px; color: var(--green); background: rgba(103,255,0,.09); font-size: 1.25rem; }
.secure-upload-card > span:nth-of-type(2) { display: grid; min-width: 0; }
.secure-upload-card strong { font-size: .82rem; }
.secure-upload-card small { margin-top: 2px; font-size: .66rem; line-height: 1.4; }
.secure-upload-card > b { padding: 7px 9px; border: 1px solid #343d3c; border-radius: 8px; color: var(--green); font-size: .66rem; white-space: nowrap; }
.selected-file-list { grid-column: 1 / -1; display: grid; gap: 6px; }
.selected-file-list:empty { display: none; }
.selected-file-list span { display: grid; grid-template-columns: 32px minmax(0,1fr) auto; gap: 8px; align-items: center; padding: 7px 9px; border: 1px solid var(--line-soft); border-radius: 9px; background: #090d0e; }
.selected-file-list i { display: grid; place-items: center; height: 24px; border-radius: 6px; color: #071000; background: var(--green); font-style: normal; font-size: .52rem; font-weight: 900; }
.selected-file-list b { overflow: hidden; font-size: .65rem; text-overflow: ellipsis; white-space: nowrap; }
.selected-file-list small { font-size: .58rem; }
.secure-upload-note { display: flex; align-items: flex-start; gap: 8px; margin: -2px 0 5px; padding: 10px 12px; border: 1px solid rgba(103,255,0,.12); border-radius: 10px; color: #aeb9b5; background: rgba(103,255,0,.035); font-size: .7rem; line-height: 1.55; }
.secure-upload-note span { flex: 0 0 auto; }

.package4-alert { display: flex; align-items: center; justify-content: space-between; gap: 14px; }
.package4-alert a { color: var(--green); font-weight: 900; text-decoration: underline; text-underline-offset: 3px; }
.attachments-block { margin-top: 22px; padding-top: 20px; border-top: 1px solid var(--line); }
.attachments-block .subsection-head { margin-bottom: 14px; }
.attachment-grid { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 11px; }
.attachment-card { overflow: hidden; border: 1px solid var(--line); border-radius: 13px; background: #0b0f10; }
.attachment-preview { position: relative; display: grid; place-items: center; aspect-ratio: 16 / 10; overflow: hidden; color: var(--green); background: radial-gradient(circle at center,rgba(103,255,0,.08),transparent 60%),#080c0d; }
.attachment-preview img { width: 100%; height: 100%; object-fit: cover; transition: .25s ease; }
.attachment-preview:hover img { transform: scale(1.025); }
.attachment-preview.document { font-size: 2rem; font-weight: 900; letter-spacing: -.06em; }
.attachment-preview.document:after { content: "ARQUIVO PROTEGIDO"; position: absolute; bottom: 10px; font-size: .52rem; letter-spacing: .12em; color: var(--muted); }
.attachment-info { display: grid; gap: 3px; padding: 11px; }
.attachment-info small:first-child { color: var(--green); letter-spacing: .08em; font-size: .55rem; font-weight: 900; }
.attachment-info strong { overflow: hidden; font-size: .72rem; text-overflow: ellipsis; white-space: nowrap; }
.attachment-info p { margin: 0; color: var(--muted); font-size: .59rem; }
.attachment-actions { display: flex; align-items: center; gap: 6px; padding: 0 11px 11px; }
.attachment-actions .btn { flex: 1; min-height: 33px; padding-inline: 8px; font-size: .62rem; }
.attachment-actions form { display: flex; }
.attachment-actions .icon-button { width: 33px; height: 33px; }
.attachment-empty { padding: 18px; border: 1px dashed #30393a; border-radius: 12px; color: var(--muted); background: #0a0e0f; text-align: center; }
.attachment-empty strong { display: block; margin-bottom: 4px; color: white; font-size: .78rem; }
.attachment-empty p { margin: 0; font-size: .67rem; }
.admin-upload-box { display: grid; gap: 12px; margin-top: 13px; padding: 14px; border: 1px solid rgba(103,255,0,.15); border-radius: 13px; background: rgba(103,255,0,.025); }
.admin-upload-box > div:first-child { display: flex; align-items: flex-start; justify-content: space-between; gap: 10px; }
.admin-upload-box h4 { margin: 0; font-size: .82rem; }
.admin-upload-box p { margin: 3px 0 0; color: var(--muted); font-size: .64rem; }
.admin-upload-fields { display: grid; grid-template-columns: minmax(0,1fr) 155px; gap: 9px; }
.admin-upload-fields input[type="file"] { min-height: 44px; padding: 8px; font-size: .68rem; }
.admin-upload-fields input[type="file"]::file-selector-button { margin-right: 10px; padding: 7px 10px; border: 0; border-radius: 7px; color: #071000; background: var(--green); font-weight: 900; cursor: pointer; }
.file-count-chip { display: inline-flex; align-items: center; gap: 4px; color: var(--green); font-size: .62rem; font-weight: 800; }
.file-count-chip:before { content: "▧"; }

@media (max-width: 860px) {
  .attachment-grid { grid-template-columns: 1fr; }
}

@media (max-width: 620px) {
  .secure-upload-grid { grid-template-columns: 1fr; }
  .secure-upload-card { grid-template-columns: 38px minmax(0,1fr); }
  .secure-upload-card > b { grid-column: 2; width: max-content; }
  .admin-upload-fields { grid-template-columns: 1fr; }
  .package4-alert { align-items: flex-start; flex-direction: column; }
}

/* Pacote 5 — recibos digitais, pagamentos e comunicação */
.receipt-admin-metrics { display:grid; grid-template-columns:repeat(3,minmax(0,1fr)); gap:14px; margin-bottom:16px; }
.receipt-admin-metrics article { display:grid; gap:5px; padding:18px; border:1px solid var(--line); border-radius:16px; background:linear-gradient(145deg,#0c1112,#111817); box-shadow:var(--shadow); }
.receipt-admin-metrics small { color:var(--green); font-size:.6rem; font-weight:900; letter-spacing:.12em; }
.receipt-admin-metrics strong { font-size:1.45rem; letter-spacing:-.04em; }
.receipt-admin-metrics span { color:var(--muted); font-size:.65rem; }
.receipt-admin-filters { display:grid; grid-template-columns:minmax(240px,1.7fr) minmax(150px,.7fr) minmax(150px,.7fr) auto; gap:10px; align-items:end; margin-bottom:16px; padding:14px; }
.receipt-admin-filters label { display:grid; gap:6px; color:var(--muted); font-size:.64rem; font-weight:800; }
.receipts-admin-layout { display:grid; grid-template-columns:minmax(330px,.82fr) minmax(0,1.35fr); gap:16px; align-items:start; }
.receipts-list-panel,.receipt-admin-detail { min-height:640px; }
.receipt-admin-list { display:grid; gap:8px; max-height:calc(100vh - 320px); overflow:auto; padding-right:3px; }
.receipt-admin-item { display:grid; gap:6px; padding:13px; border:1px solid var(--line-soft); border-radius:13px; color:inherit; background:#0a0f10; text-decoration:none; transition:.18s ease; }
.receipt-admin-item:hover,.receipt-admin-item.active { border-color:rgba(103,255,0,.48); background:rgba(103,255,0,.035); transform:translateY(-1px); }
.receipt-admin-item.canceled { opacity:.66; }
.receipt-admin-item > div,.receipt-admin-item footer { display:flex; align-items:center; justify-content:space-between; gap:10px; }
.receipt-admin-item > div > small { color:var(--green); font-size:.58rem; font-weight:900; letter-spacing:.08em; }
.receipt-admin-item > strong { font-size:.79rem; }
.receipt-admin-item p { margin:0; overflow:hidden; color:var(--muted); font-size:.62rem; text-overflow:ellipsis; white-space:nowrap; }
.receipt-admin-item footer { padding-top:8px; border-top:1px solid var(--line-soft); }
.receipt-admin-item footer b { font-size:.77rem; }
.receipt-admin-item footer span { color:var(--muted); font-size:.58rem; }
.receipt-admin-detail { position:sticky; top:16px; }
.receipt-admin-detail-head { display:flex; align-items:flex-start; justify-content:space-between; gap:14px; padding-bottom:16px; border-bottom:1px solid var(--line); }
.receipt-admin-detail-head small { color:var(--green); font-size:.58rem; font-weight:900; letter-spacing:.12em; }
.receipt-admin-detail-head h2 { margin:4px 0 3px; font-size:1.25rem; }
.receipt-admin-detail-head p { margin:0; color:var(--muted); font-size:.66rem; }
.receipt-admin-value { display:grid; grid-template-columns:repeat(3,minmax(0,1fr)); gap:9px; margin:15px 0; }
.receipt-admin-value div { padding:13px; border:1px solid var(--line-soft); border-radius:12px; background:#090d0e; }
.receipt-admin-value small { display:block; margin-bottom:5px; color:var(--muted); font-size:.54rem; font-weight:800; letter-spacing:.08em; }
.receipt-admin-value strong { font-size:.88rem; }
.receipt-admin-links,.receipt-share-grid { display:grid; grid-template-columns:repeat(3,minmax(0,1fr)); gap:8px; margin-bottom:12px; }
.receipt-share-grid { grid-template-columns:1fr 1fr; }
.receipt-share-grid form { display:grid; }
.receipt-communication-status { display:grid; grid-template-columns:repeat(3,minmax(0,1fr)); gap:8px; margin:13px 0 18px; }
.receipt-communication-status div { padding:10px; border-left:2px solid var(--green); background:rgba(103,255,0,.025); }
.receipt-communication-status small { display:block; color:var(--muted); font-size:.54rem; }
.receipt-communication-status strong { display:block; margin-top:3px; font-size:.63rem; line-height:1.4; }
.receipt-payment-form { margin-top:15px; padding-top:18px; border-top:1px solid var(--line); }
.receipt-event-history { margin-top:20px; padding-top:18px; border-top:1px solid var(--line); }
.receipt-event-list { display:grid; gap:0; }
.receipt-event-list article { position:relative; display:grid; grid-template-columns:20px minmax(0,1fr); gap:10px; padding:0 0 16px; }
.receipt-event-list article:before { content:""; position:absolute; left:5px; top:12px; bottom:-3px; width:1px; background:var(--line); }
.receipt-event-list article:last-child:before { display:none; }
.receipt-event-list i { position:relative; z-index:1; width:11px; height:11px; margin-top:3px; border:3px solid #0e1414; border-radius:50%; background:var(--green); box-shadow:0 0 0 1px var(--green); }
.receipt-event-list article.failed i { background:#ff5f5f; box-shadow:0 0 0 1px #ff5f5f; }
.receipt-event-list strong { font-size:.69rem; }
.receipt-event-list p { margin:3px 0; color:var(--muted); font-size:.61rem; line-height:1.45; }
.receipt-event-list small { color:#6f7a77; font-size:.55rem; }
.receipt-cancel-form { display:grid; gap:10px; margin-top:18px; padding:14px; border:1px solid rgba(255,80,80,.22); border-radius:13px; background:rgba(255,70,70,.035); }
.receipt-cancel-form label { display:grid; gap:6px; color:#ff8d8d; font-size:.62rem; font-weight:800; }
.receipt-cancel-box { margin:14px 0; padding:13px; border:1px solid rgba(255,80,80,.25); border-radius:12px; background:rgba(255,70,70,.05); }
.receipt-cancel-box strong { color:#ff7777; font-size:.75rem; }
.receipt-cancel-box p { margin:5px 0; font-size:.67rem; }
.receipt-cancel-box small { color:var(--muted); font-size:.57rem; }

.call-receipt-block { margin-top:22px; padding-top:20px; border-top:1px solid var(--line); }
.call-receipt-issued { display:flex; align-items:center; justify-content:space-between; gap:12px; padding:14px; border:1px solid rgba(103,255,0,.18); border-radius:13px; background:linear-gradient(145deg,rgba(103,255,0,.045),rgba(103,255,0,.015)); }
.call-receipt-issued > div { display:flex; align-items:center; gap:10px; }
.call-receipt-issued > div:first-child > span { display:grid; place-items:center; width:34px; height:34px; border-radius:50%; color:#071000; background:var(--green); font-weight:900; }
.call-receipt-issued small { display:block; color:var(--green); font-size:.55rem; font-weight:900; letter-spacing:.08em; }
.call-receipt-issued strong { display:block; margin-top:2px; font-size:.85rem; }
.call-receipt-issued p { margin:2px 0 0; color:var(--muted); font-size:.58rem; }
.issue-receipt-form { display:grid; gap:13px; padding:14px; border:1px solid rgba(103,255,0,.16); border-radius:14px; background:rgba(103,255,0,.025); }
.issue-receipt-intro { display:grid; grid-template-columns:38px minmax(0,1fr) auto; gap:11px; align-items:center; }
.issue-receipt-intro > span { display:grid; place-items:center; width:38px; height:38px; border-radius:10px; color:var(--green); background:rgba(103,255,0,.09); font-size:1.1rem; }
.issue-receipt-intro strong { font-size:.75rem; }
.issue-receipt-intro p { margin:2px 0 0; color:var(--muted); font-size:.61rem; line-height:1.45; }
.issue-receipt-intro > b { color:var(--green); font-size:.86rem; white-space:nowrap; }

.public-receipt-body { min-height:100vh; margin:0; color:#17201e; background:radial-gradient(circle at 50% 0,rgba(103,255,0,.13),transparent 32%),#080c0d; font-family:Inter,system-ui,-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif; }
.public-receipt-shell { width:min(980px,calc(100% - 28px)); margin:0 auto; padding:28px 0 54px; }
.public-receipt-actions { display:flex; justify-content:flex-end; gap:9px; margin-bottom:12px; }
.public-receipt-card { position:relative; overflow:hidden; border-radius:22px; background:#fff; box-shadow:0 28px 90px rgba(0,0,0,.35); }
.receipt-public-head { display:flex; align-items:center; justify-content:space-between; gap:20px; padding:24px 30px; color:#fff; background:#080d0e; border-top:6px solid var(--green); }
.receipt-brand-public { display:flex; align-items:center; gap:15px; }
.receipt-brand-public img { width:76px; height:76px; object-fit:contain; }
.receipt-brand-public span,.receipt-number-public small { color:var(--green); font-size:.62rem; font-weight:900; letter-spacing:.14em; }
.receipt-brand-public h1 { margin:4px 0 2px; font-size:1.45rem; }
.receipt-brand-public p,.receipt-number-public span { margin:0; color:#aeb9b5; font-size:.68rem; }
.receipt-number-public { display:grid; gap:4px; text-align:right; }
.receipt-number-public strong { font-size:1.05rem; }
.receipt-public-summary { display:grid; grid-template-columns:1.25fr 1fr 1fr 1fr; border-bottom:1px solid #e2e7e5; background:#f5f7f6; }
.receipt-public-summary > div { min-height:86px; padding:18px 22px; border-right:1px solid #e2e7e5; }
.receipt-public-summary > div:last-child { border-right:0; }
.receipt-public-summary small { display:block; margin-bottom:7px; color:#68736f; font-size:.58rem; font-weight:900; letter-spacing:.08em; }
.receipt-public-summary strong { font-size:.86rem; }
.receipt-public-summary > div:first-child strong { font-size:1.4rem; letter-spacing:-.04em; }
.receipt-public-section { padding:25px 30px; border-bottom:1px solid #e7ebe9; }
.receipt-section-title { display:flex; align-items:center; gap:11px; margin-bottom:18px; }
.receipt-section-title > span { display:grid; place-items:center; width:31px; height:31px; border-radius:9px; color:#071000; background:var(--green); font-size:.66rem; font-weight:900; }
.receipt-section-title small { color:#6e7975; font-size:.55rem; font-weight:900; letter-spacing:.1em; }
.receipt-section-title h2 { margin:2px 0 0; font-size:.95rem; }
.receipt-party-grid { display:grid; grid-template-columns:1fr 1fr; gap:14px; }
.receipt-party-grid > div { padding:16px; border:1px solid #e1e7e4; border-radius:13px; background:#fafbfb; }
.receipt-party-grid small,.receipt-data-grid small,.receipt-notes-section small { display:block; color:#65a933; font-size:.56rem; font-weight:900; letter-spacing:.09em; }
.receipt-party-grid strong { display:block; margin:5px 0; font-size:.82rem; }
.receipt-party-grid p { margin:3px 0; color:#65706c; font-size:.66rem; line-height:1.45; }
.receipt-data-grid { display:grid; grid-template-columns:1.4fr .75fr 1fr .75fr; gap:10px; margin-bottom:14px; }
.receipt-data-grid > div { padding:12px; border:1px solid #e4e9e7; border-radius:11px; }
.receipt-data-grid strong { display:block; margin-top:5px; font-size:.72rem; }
.receipt-route-public { display:grid; gap:0; padding:16px; border:1px solid #e1e7e4; border-radius:13px; background:#fafbfb; }
.receipt-route-public > div { display:grid; grid-template-columns:30px minmax(0,1fr); gap:10px; align-items:start; }
.receipt-route-public > div > span { display:grid; place-items:center; width:27px; height:27px; border-radius:50%; color:#071000; background:var(--green); font-size:.64rem; font-weight:900; }
.receipt-route-public small { color:#697470; font-size:.54rem; font-weight:900; }
.receipt-route-public strong { display:block; margin-top:3px; font-size:.69rem; line-height:1.45; }
.receipt-route-public i { width:1px; height:18px; margin-left:13px; background:#cfd7d3; }
.receipt-price-list { overflow:hidden; border:1px solid #dfe5e2; border-radius:13px; }
.receipt-price-list > div { display:flex; align-items:center; justify-content:space-between; gap:14px; padding:11px 14px; border-bottom:1px solid #e8ecea; font-size:.7rem; }
.receipt-price-list > div:last-child { border-bottom:0; }
.receipt-price-list span { color:#626d69; }
.receipt-price-total { color:#fff; background:#09100e; }
.receipt-price-total span { color:var(--green) !important; font-weight:900; }
.receipt-price-total strong { font-size:1rem; }
.receipt-notes-section { display:grid; grid-template-columns:1fr 2fr; gap:14px; background:#fafbfb; }
.receipt-notes-section > div { padding:13px; border:1px solid #e1e7e4; border-radius:11px; background:#fff; }
.receipt-notes-section strong,.receipt-notes-section p { display:block; margin:5px 0 0; font-size:.7rem; line-height:1.5; }
.receipt-public-footer { display:grid; grid-template-columns:1.4fr 1fr; gap:20px; padding:22px 30px 27px; background:#f3f6f4; }
.receipt-public-footer small { color:#68736f; font-size:.55rem; font-weight:900; letter-spacing:.1em; }
.receipt-public-footer strong { display:block; margin:4px 0; font-size:.74rem; }
.receipt-public-footer p { margin:0; color:#6c7773; font-size:.6rem; line-height:1.5; }
.receipt-public-footer > div:last-child { text-align:right; }
.receipt-canceled-watermark { position:absolute; z-index:2; top:44%; left:50%; padding:8px 18px; border:5px solid rgba(200,30,30,.18); color:rgba(200,30,30,.2); font-size:3rem; font-weight:1000; letter-spacing:.18em; transform:translate(-50%,-50%) rotate(-15deg); pointer-events:none; }
.receipt-canceled-notice { display:flex; justify-content:space-between; gap:16px; padding:12px 30px; color:#9b1717; background:#fff0f0; border-bottom:1px solid #f0c7c7; font-size:.68rem; }
.public-receipt-card.is-canceled > *:not(.receipt-canceled-watermark):not(.receipt-canceled-notice) { opacity:.78; }
.receipt-not-found { display:grid; justify-items:center; max-width:560px; margin:8vh auto 0; padding:32px; border:1px solid rgba(255,255,255,.1); border-radius:22px; color:#fff; background:#0d1313; text-align:center; }
.receipt-not-found img { width:150px; }
.receipt-not-found > span { margin-top:14px; color:var(--green); font-size:.62rem; font-weight:900; letter-spacing:.14em; }
.receipt-not-found h1 { margin:7px 0; }
.receipt-not-found p { max-width:420px; color:var(--muted); line-height:1.6; }

@media (max-width: 980px) {
  .receipts-admin-layout { grid-template-columns:1fr; }
  .receipt-admin-detail { position:static; }
  .receipt-admin-list { max-height:none; }
  .receipt-admin-filters { grid-template-columns:1fr 1fr; }
  .receipt-admin-filters label:first-child { grid-column:1 / -1; }
  .receipt-admin-filters .btn { align-self:stretch; }
}

@media (max-width: 720px) {
  .receipt-admin-metrics { grid-template-columns:1fr; }
  .receipt-admin-value,.receipt-communication-status { grid-template-columns:1fr; }
  .receipt-admin-links { grid-template-columns:1fr; }
  .call-receipt-issued { align-items:stretch; flex-direction:column; }
  .call-receipt-issued > div:last-child { display:grid; grid-template-columns:1fr 1fr; }
  .receipt-public-head { align-items:flex-start; padding:20px; }
  .receipt-brand-public img { width:58px; height:58px; }
  .receipt-brand-public h1 { font-size:1.1rem; }
  .receipt-number-public strong { font-size:.78rem; }
  .receipt-public-summary { grid-template-columns:1fr 1fr; }
  .receipt-public-summary > div:nth-child(2) { border-right:0; }
  .receipt-public-summary > div:nth-child(-n+2) { border-bottom:1px solid #e2e7e5; }
  .receipt-public-section { padding:21px 20px; }
  .receipt-party-grid,.receipt-notes-section { grid-template-columns:1fr; }
  .receipt-data-grid { grid-template-columns:1fr 1fr; }
  .receipt-public-footer { grid-template-columns:1fr; padding:20px; }
  .receipt-public-footer > div:last-child { text-align:left; }
}

@media (max-width: 520px) {
  .receipt-admin-filters { grid-template-columns:1fr; }
  .receipt-admin-filters label:first-child { grid-column:auto; }
  .receipt-share-grid { grid-template-columns:1fr; }
  .issue-receipt-intro { grid-template-columns:34px minmax(0,1fr); }
  .issue-receipt-intro > b { grid-column:2; }
  .public-receipt-shell { width:min(100% - 14px,980px); padding-top:10px; }
  .public-receipt-actions { padding-inline:4px; }
  .receipt-public-head { display:grid; }
  .receipt-number-public { text-align:left; }
  .receipt-public-summary { grid-template-columns:1fr; }
  .receipt-public-summary > div { min-height:auto; border-right:0; border-bottom:1px solid #e2e7e5; }
  .receipt-data-grid { grid-template-columns:1fr; }
  .receipt-canceled-notice { flex-direction:column; padding:12px 20px; }
}

@media print {
  @page { size:A4; margin:10mm; }
  .no-print { display:none !important; }
  .public-receipt-body { background:#fff !important; }
  .public-receipt-shell { width:100%; padding:0; }
  .public-receipt-card { border-radius:0; box-shadow:none; }
  .receipt-public-head { -webkit-print-color-adjust:exact; print-color-adjust:exact; }
  .receipt-public-section { break-inside:avoid; }
}
