@import url("https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700;800&display=swap");

:root{
  --bg:#f3f6fb;
  --panel:#ffffff;
  --ink:#102033;
  --muted:#667085;
  --line:#d9e2ef;
  --brand:#123f70;
  --brand-2:#0f6abf;
  --ok:#0f8a5f;
  --warn:#b7791f;
  --shadow:0 20px 50px rgba(16,32,51,.12);
}
*{box-sizing:border-box}
body{margin:0;font-family:Inter,system-ui,-apple-system,Segoe UI,Roboto,Arial,sans-serif;background:var(--bg);color:var(--ink)}
a{text-decoration:none;color:inherit}.app-shell{display:flex;min-height:100vh}.sidebar{width:280px;background:#0e243d;color:#fff;padding:28px;display:flex;flex-direction:column;gap:28px}.brand{display:flex;gap:14px;align-items:center}.brand-mark{width:48px;height:48px;border-radius:16px;background:linear-gradient(135deg,#3ba1ff,#0f6abf);display:grid;place-items:center;font-weight:800}.brand span{display:block;color:#9fb5cc;font-size:13px;margin-top:3px}.sidebar nav{display:grid;gap:8px}.sidebar nav a{padding:13px 14px;border-radius:12px;color:#c9d7e6}.sidebar nav a.active,.sidebar nav a:hover{background:rgba(255,255,255,.1);color:#fff}.sidebar-footer{margin-top:auto;border-top:1px solid rgba(255,255,255,.12);padding-top:18px;display:flex;justify-content:space-between;color:#b9c7d6}.content{flex:1;padding:34px}.topbar,.page-header{display:flex;align-items:center;justify-content:space-between;gap:20px;margin-bottom:26px}.eyebrow{text-transform:uppercase;letter-spacing:.12em;color:var(--brand-2);font-weight:700;font-size:12px;margin:0 0 6px}.topbar h1,.page-header h1{margin:0;font-size:32px}.btn{border:1px solid var(--line);background:#fff;border-radius:12px;padding:12px 16px;font-weight:700;cursor:pointer}.btn.primary{background:var(--brand-2);color:#fff;border-color:var(--brand-2)}.btn.secondary{background:#eef6ff;color:var(--brand)}.hero-card{background:linear-gradient(135deg,#fff,#eaf5ff);border:1px solid var(--line);border-radius:28px;padding:30px;box-shadow:var(--shadow);display:flex;align-items:flex-start;justify-content:space-between;gap:20px}.hero-card h2{font-size:34px;margin:0 0 12px;max-width:850px}.hero-card p{font-size:17px;color:var(--muted);max-width:850px}.status-pill{background:#e4fff4;color:var(--ok);border:1px solid #b6f0d8;border-radius:999px;padding:8px 14px;font-weight:800}.cards-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:18px;margin:24px 0}.metric-card,.panel,.os-card,.tech-card,.checklist{background:var(--panel);border:1px solid var(--line);border-radius:22px;padding:22px;box-shadow:0 10px 30px rgba(16,32,51,.06)}.metric-card span{color:var(--muted);font-weight:700}.metric-card strong{display:block;font-size:38px;margin:8px 0}.metric-card small{color:var(--muted)}.panel-grid{display:grid;grid-template-columns:1.1fr .9fr;gap:20px}.panel h3{margin-top:0}.timeline{display:grid;gap:12px}.timeline div{display:grid;grid-template-columns:36px 1fr;gap:4px 12px;align-items:center;border-bottom:1px solid var(--line);padding-bottom:12px}.timeline b{grid-row:span 2;background:#eaf5ff;color:var(--brand-2);width:36px;height:36px;border-radius:12px;display:grid;place-items:center}.timeline small,.clean-list{color:var(--muted)}.clean-list{padding-left:20px;line-height:1.8}.mobile-page{padding:26px;max-width:1300px;margin:auto}.toolbar{display:flex;gap:10px;flex-wrap:wrap;margin-bottom:22px}.kanban{display:grid;grid-template-columns:repeat(3,1fr);gap:18px}.kanban h2{font-size:18px}.tag{display:inline-flex;border-radius:999px;background:#e9eef5;color:#415064;padding:6px 10px;font-size:12px;font-weight:800;margin-bottom:10px}.tag.success{background:#e4fff4;color:var(--ok)}.tag.warning{background:#fff3d8;color:var(--warn)}.os-card.muted{opacity:.9}.tech-body{background:#dfe8f5}.phone-shell{max-width:430px;margin:0 auto;min-height:100vh;background:#f7f9fc;padding:18px 16px 90px;position:relative}.tech-header{display:flex;justify-content:space-between;align-items:center;margin-bottom:18px}.tech-header p{margin:0;color:var(--muted);font-weight:700}.tech-header h1{margin:4px 0 0;font-size:25px}.avatar{width:46px;height:46px;border-radius:50%;background:var(--brand-2);color:#fff;display:grid;place-items:center;font-weight:900}.tech-card h2{font-size:26px;margin:2px 0}.client{font-weight:800}.address{color:var(--muted)}.info-row{display:flex;gap:10px;flex-wrap:wrap}.info-row span{background:#eef3f8;border-radius:12px;padding:8px 10px;font-size:13px;font-weight:700}.action-flow{display:grid;gap:12px;margin:18px 0}.big-action{border:0;border-radius:18px;padding:18px 16px;background:var(--brand-2);color:#fff;font-size:17px;font-weight:900;box-shadow:0 12px 25px rgba(15,106,191,.25)}.big-action.ghost{background:#fff;color:var(--ink);border:1px solid var(--line);box-shadow:none}.checklist h3{margin-top:0}.checklist label{display:block;padding:10px 0;color:var(--muted);font-weight:700}.bottom-nav{position:fixed;left:50%;transform:translateX(-50%);bottom:14px;width:min(400px,calc(100% - 28px));background:#fff;border:1px solid var(--line);border-radius:22px;padding:10px;display:flex;justify-content:space-around;box-shadow:var(--shadow)}.bottom-nav a{font-weight:800;color:var(--muted);padding:10px}.bottom-nav a.active{color:var(--brand-2)}
@media(max-width:900px){.app-shell{display:block}.sidebar{width:auto;border-radius:0 0 26px 26px}.content{padding:20px}.cards-grid,.panel-grid,.kanban{grid-template-columns:1fr}.topbar,.page-header,.hero-card{display:block}.hero-card h2{font-size:27px}.sidebar nav{grid-template-columns:repeat(2,1fr)}}

/* === Eagle Service - Protótipo UX Assistente de Campo v0.1.0 === */
:root {
  --bg: #eef3f8;
  --surface: #ffffff;
  --dark: #0f172a;
  --muted: #64748b;
  --line: #dbe5ef;
  --blue: #1d4ed8;
  --blue2: #2563eb;
  --green: #16a34a;
  --yellow: #f59e0b;
  --red: #dc2626;
}

.field-app {
  margin: 0;
  background: linear-gradient(180deg, #0f172a 0%, #1e293b 210px, var(--bg) 210px);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  color: var(--dark);
  min-height: 100vh;
}

.phone-shell {
  max-width: 520px;
  margin: 0 auto;
  min-height: 100vh;
  padding: 18px 14px 34px;
  box-sizing: border-box;
}

.field-screen { display: none; }
.field-screen.active { display: block; animation: fadeIn .18s ease-out; }
@keyframes fadeIn { from { opacity: .4; transform: translateY(8px); } to { opacity: 1; transform: none; } }

.hero-card, .service-card, .map-card, .next-action-card, .progress-block, .timeline-card, .quick-info, .work-panel, .checklist, .signature-preview, .done-screen {
  background: rgba(255,255,255,.96);
  border: 1px solid rgba(219,229,239,.9);
  border-radius: 24px;
  box-shadow: 0 18px 45px rgba(15, 23, 42, .10);
  padding: 18px;
  margin-bottom: 14px;
}

.hero-card h1, .os-header h1, .done-screen h1 { margin: 4px 0 6px; letter-spacing: -.04em; }
.hero-card h1 { color: #fff; }
.hero-card { background: linear-gradient(135deg, #1d4ed8, #0f172a); color: #fff; border: 0; }
.hero-card.center { text-align: center; background: var(--surface); color: var(--dark); }
.hero-card.center h1 { color: var(--dark); }
.small-kicker { text-transform: uppercase; font-weight: 800; letter-spacing: .12em; font-size: 11px; color: #93c5fd; }
.hero-card.center .small-kicker { color: var(--blue); }
.muted { color: #cbd5e1; margin: 0; }
.hero-card.center .muted { color: var(--muted); }

.summary-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; margin: 14px 0; }
.summary-box { border-radius: 18px; padding: 14px 10px; color: #fff; text-align: center; box-shadow: 0 12px 25px rgba(15, 23, 42, .12); }
.summary-box strong { display: block; font-size: 28px; line-height: 1; }
.summary-box span { font-size: 12px; font-weight: 800; opacity: .9; }
.summary-box.green { background: var(--green); }
.summary-box.yellow { background: var(--yellow); }
.summary-box.gray { background: #64748b; }

.section-title { font-weight: 900; color: #fff; margin: 18px 0 10px; letter-spacing: -.02em; }
.service-card.highlight { border: 2px solid rgba(37,99,235,.20); }
.client-name { font-size: 25px; font-weight: 950; letter-spacing: -.05em; }
.client-name.small { font-size: 18px; }
.location-name { color: var(--muted); font-weight: 700; margin-top: 2px; }
.meta-row { display: flex; justify-content: space-between; gap: 10px; flex-wrap: wrap; color: var(--muted); font-size: 13px; margin: 14px 0; font-weight: 700; }
.tag-row { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 16px; }
.tag-row span, .status-pill { background: #e0ecff; color: #1d4ed8; border-radius: 999px; padding: 7px 10px; font-size: 12px; font-weight: 900; }
.status-pill.moving { background: #fff7ed; color: #c2410c; }
.status-pill.ok { background: #dcfce7; color: #15803d; }

.primary-action, .mega-action, .ghost-btn, .back-btn, .floating-photo {
  border: 0;
  border-radius: 18px;
  font-weight: 950;
  letter-spacing: -.02em;
  cursor: pointer;
  font-family: inherit;
}
.primary-action { width: 100%; background: var(--blue); color: #fff; padding: 17px 18px; font-size: 16px; }
.mega-action { width: 100%; background: linear-gradient(135deg, #2563eb, #1d4ed8); color: #fff; padding: 24px 18px; font-size: 21px; text-transform: uppercase; box-shadow: 0 18px 35px rgba(37,99,235,.30); }
.mega-action.final { background: linear-gradient(135deg, #16a34a, #15803d); box-shadow: 0 18px 35px rgba(22,163,74,.28); }
.ghost-btn { background: #eef4ff; color: var(--blue); padding: 12px 14px; }
.ghost-btn.full { width: 100%; margin-top: 8px; }
.back-btn { background: rgba(255,255,255,.18); color: #fff; padding: 10px 14px; margin-bottom: 12px; }

.os-header { color: #fff; display: flex; justify-content: space-between; align-items: flex-start; gap: 12px; margin-bottom: 14px; }
.os-header h1 { font-size: 26px; }
.os-header p { margin: 0; color: #cbd5e1; font-weight: 700; }
.map-card { display: flex; gap: 14px; align-items: flex-start; }
.map-icon { font-size: 28px; }
.map-card p { margin: 3px 0 12px; color: var(--muted); font-weight: 700; }
.next-action-card span { color: var(--muted); font-weight: 900; font-size: 13px; text-transform: uppercase; letter-spacing: .10em; }
.next-action-card p { color: var(--muted); font-size: 13px; line-height: 1.35; margin-bottom: 0; }
.next-action-card.warm .mega-action { background: linear-gradient(135deg, #f97316, #c2410c); box-shadow: 0 18px 35px rgba(249,115,22,.28); }

.progress-label { color: var(--muted); font-size: 12px; text-transform: uppercase; letter-spacing: .10em; font-weight: 900; margin-bottom: 10px; }
.steps { display: grid; grid-template-columns: repeat(5, 1fr); gap: 5px; }
.steps span { display: block; text-align: center; font-size: 10px; font-weight: 900; color: #94a3b8; padding-top: 24px; position: relative; }
.steps span::before { content: ''; width: 14px; height: 14px; border-radius: 50%; background: #cbd5e1; position: absolute; top: 0; left: calc(50% - 7px); }
.steps span.done { color: var(--green); }
.steps span.done::before { background: var(--green); box-shadow: 0 0 0 5px #dcfce7; }

.timeline-item { border-left: 3px solid #cbd5e1; padding-left: 12px; padding-bottom: 14px; }
.timeline-item b { display: block; }
.timeline-item small { color: var(--muted); font-weight: 700; }
.timeline-item.done { border-color: var(--green); }
.timeline-item.current { border-color: var(--blue); }

.hidden { display: none !important; }
.success-banner { background: #dcfce7; color: #15803d; padding: 12px 14px; border-radius: 16px; font-weight: 900; margin-bottom: 12px; }
.action-grid { display: grid; gap: 10px; margin-bottom: 14px; }
.task-card { text-align: left; background: #f8fafc; border: 1px solid var(--line); border-radius: 18px; padding: 14px; font-family: inherit; }
.task-card strong { display: block; font-size: 16px; }
.task-card span { color: var(--muted); font-weight: 700; }
.task-card.done { border-color: #bbf7d0; background: #f0fdf4; }
.floating-photo { position: sticky; bottom: 14px; width: 100%; background: #0f172a; color: #fff; padding: 16px; font-size: 16px; box-shadow: 0 18px 35px rgba(15,23,42,.25); }

.checklist { display: grid; gap: 10px; }
.check { padding: 15px; border-radius: 18px; font-weight: 900; }
.check.ok { background: #dcfce7; color: #15803d; }
.signature-preview span { color: var(--muted); font-size: 12px; text-transform: uppercase; letter-spacing: .10em; font-weight: 900; }
.scribble { margin-top: 14px; border: 2px dashed #cbd5e1; border-radius: 18px; height: 72px; display: flex; align-items: center; justify-content: center; font-family: cursive; font-size: 24px; color: #334155; transform: rotate(-2deg); }
.done-screen { text-align: center; padding-top: 34px; }
.done-icon { width: 84px; height: 84px; margin: 0 auto 14px; border-radius: 50%; background: var(--green); color: #fff; display: flex; align-items: center; justify-content: center; font-size: 48px; font-weight: 950; }
.done-screen p { color: var(--muted); font-weight: 700; }
.done-list { display: grid; gap: 9px; text-align: left; margin: 18px 0; }
.done-list span { background: #f8fafc; border: 1px solid var(--line); padding: 12px; border-radius: 14px; font-weight: 800; }

@media (min-width: 700px) {
  .phone-shell { padding-top: 28px; }
}

/* =========================================================
   Assistente de Campo — UX v0.1.0
   ========================================================= */
.mobile-app {
  margin: 0;
  background: #eef3f8;
  color: #172033;
  font-family: Inter, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}
.tech-shell {
  max-width: 520px;
  margin: 0 auto;
  min-height: 100vh;
  background: #f7f9fc;
}
.phone-page {
  min-height: 100vh;
  padding: 18px 16px 96px;
  box-sizing: border-box;
}
.with-nav { padding-bottom: 104px; }
.hero-card,
.current-job-card,
.job-detail-card,
.map-card,
.action-card,
.progress-card,
.next-job-card,
.inactive-card {
  background: #fff;
  border-radius: 24px;
  box-shadow: 0 14px 36px rgba(23, 32, 51, 0.08);
  border: 1px solid rgba(23, 32, 51, 0.06);
}
.hero-card {
  padding: 24px;
  background: linear-gradient(135deg, #10233f, #1f6feb);
  color: white;
}
.hero-card h1,
.job-detail-card h1,
.current-job-card h2 { margin: 6px 0 8px; }
.eyebrow {
  font-size: 12px;
  letter-spacing: .08em;
  text-transform: uppercase;
  opacity: .78;
  font-weight: 800;
}
.summary-row {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  margin-top: 14px;
}
.summary-row span {
  background: rgba(255,255,255,.14);
  padding: 8px 10px;
  border-radius: 999px;
  font-size: 13px;
}
.section-title {
  margin: 22px 4px 10px;
  font-weight: 900;
  color: #334155;
  font-size: 14px;
  text-transform: uppercase;
  letter-spacing: .04em;
}
.no-margin { margin: 0 0 12px; }
.current-job-card { padding: 22px; }
.current-job-card h2 {
  font-size: 26px;
  line-height: 1.05;
}
.current-job-card p { color: #64748b; margin: 0 0 16px; }
.job-time {
  color: #1f6feb;
  font-weight: 900;
  margin-bottom: 10px;
}
.chips { display: flex; gap: 8px; flex-wrap: wrap; margin-bottom: 18px; }
.chips span {
  background: #eef5ff;
  color: #1f4f9a;
  padding: 8px 10px;
  border-radius: 999px;
  font-size: 13px;
  font-weight: 800;
}
.primary-btn,
.mega-btn,
.danger-btn,
.danger-outline,
.plain-btn {
  width: 100%;
  border: 0;
  border-radius: 18px;
  padding: 16px 18px;
  font-size: 16px;
  font-weight: 900;
  cursor: pointer;
}
.primary-btn,
.mega-btn {
  background: #1f6feb;
  color: #fff;
  box-shadow: 0 10px 24px rgba(31,111,235,.25);
}
.mega-btn {
  min-height: 76px;
  font-size: 18px;
  text-transform: uppercase;
  letter-spacing: .03em;
}
.danger-btn { background: #dc2626; color: white; margin-top: 14px; }
.danger-outline {
  background: #fff1f2;
  color: #b91c1c;
  margin-top: 12px;
  border: 1px solid #fecdd3;
}
.plain-btn { background: transparent; color: #64748b; margin-top: 8px; }
.next-list { display: grid; gap: 10px; }
.next-job-card {
  padding: 14px;
  display: grid;
  grid-template-columns: 64px 1fr;
  align-items: center;
  gap: 12px;
}
.next-time {
  background: #eef5ff;
  color: #1f6feb;
  border-radius: 14px;
  padding: 10px 4px;
  text-align: center;
  font-weight: 900;
}
.next-job-card strong { display: block; }
.next-job-card span { display: block; color: #64748b; font-size: 13px; margin-top: 2px; }
.inactive-card {
  padding: 16px;
  background: #f1f5f9;
  color: #64748b;
}
.inactive-card strong,
.inactive-card span { display: block; }
.success-alert {
  background: #ecfdf5;
  color: #047857;
  border: 1px solid #bbf7d0;
  padding: 14px 16px;
  border-radius: 18px;
  font-weight: 800;
  margin: 14px 0;
}
.job-detail-card { padding: 22px; }
.job-detail-card h1 { font-size: 28px; line-height: 1.05; }
.muted { color: #64748b; }
.os-line { color: #1f6feb; font-weight: 900; margin-top: 12px; }
.map-card {
  margin-top: 14px;
  padding: 16px;
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 12px;
  align-items: center;
}
.map-card span,
.map-card strong { display: block; }
.map-card button {
  border: 0;
  background: #10233f;
  color: white;
  border-radius: 14px;
  padding: 12px 14px;
  font-weight: 900;
}
.action-card,
.progress-card { padding: 18px; margin-top: 14px; }
.action-card > span { display: block; color: #64748b; margin-bottom: 10px; font-weight: 800; }
.timeline-mobile {
  display: flex;
  justify-content: space-between;
  gap: 5px;
}
.timeline-item {
  flex: 1;
  text-align: center;
  color: #94a3b8;
  font-size: 11px;
}
.timeline-item span {
  display: block;
  font-size: 20px;
  margin-bottom: 4px;
}
.timeline-item.done { color: #1f6feb; font-weight: 900; }
.tool-grid {
  margin-top: 14px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
}
.tool-grid button {
  border: 0;
  background: white;
  border-radius: 20px;
  padding: 18px 10px;
  font-weight: 900;
  color: #172033;
  box-shadow: 0 10px 24px rgba(23, 32, 51, 0.06);
}
.bottom-nav {
  position: fixed;
  left: 50%;
  bottom: 12px;
  transform: translateX(-50%);
  width: min(480px, calc(100% - 24px));
  background: rgba(255,255,255,.94);
  backdrop-filter: blur(12px);
  border: 1px solid rgba(23,32,51,.08);
  border-radius: 24px;
  box-shadow: 0 14px 36px rgba(23,32,51,.16);
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  padding: 8px;
  z-index: 20;
}
.bottom-nav button {
  border: 0;
  background: transparent;
  border-radius: 18px;
  padding: 10px 6px;
  font-weight: 900;
  color: #64748b;
}
.bottom-nav button span { display: block; font-size: 11px; margin-top: 2px; }
.bottom-nav button.active { background: #eef5ff; color: #1f6feb; }
.floating-home {
  position: fixed;
  top: 12px;
  right: 14px;
  width: 46px;
  height: 46px;
  border: 0;
  border-radius: 50%;
  background: #10233f;
  color: white;
  font-size: 22px;
  z-index: 15;
  box-shadow: 0 10px 22px rgba(16,35,63,.24);
}
.modal-backdrop {
  position: fixed;
  inset: 0;
  background: rgba(15, 23, 42, .58);
  display: flex;
  align-items: flex-end;
  justify-content: center;
  padding: 16px;
  z-index: 50;
}
.modal-backdrop.hidden { display: none; }
.modal-card {
  width: min(480px, 100%);
  background: white;
  border-radius: 28px;
  padding: 24px;
  box-shadow: 0 20px 60px rgba(0,0,0,.28);
}
.modal-card h2 { margin-top: 0; }
.field-label {
  display: block;
  margin: 14px 0 6px;
  font-weight: 900;
  color: #334155;
}
.field-input {
  width: 100%;
  box-sizing: border-box;
  border: 1px solid #cbd5e1;
  border-radius: 16px;
  padding: 13px 14px;
  font: inherit;
  background: #f8fafc;
}
.big-icon { font-size: 44px; text-align: center; margin-bottom: 10px; }
.check-list { padding-left: 20px; line-height: 1.9; font-weight: 800; color: #047857; }
@media (max-width: 360px) {
  .current-job-card h2,
  .job-detail-card h1 { font-size: 23px; }
  .map-card { grid-template-columns: 1fr; }
}

/* === Eagle Service - Protótipo UX Assistente de Campo v0.1.0 === */
:root {
  --bg: #eef3f8;
  --surface: #ffffff;
  --dark: #0f172a;
  --muted: #64748b;
  --line: #dbe5ef;
  --blue: #1d4ed8;
  --blue2: #2563eb;
  --green: #16a34a;
  --yellow: #f59e0b;
  --red: #dc2626;
}

.field-app {
  margin: 0;
  background: linear-gradient(180deg, #0f172a 0%, #1e293b 210px, var(--bg) 210px);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  color: var(--dark);
  min-height: 100vh;
}

.phone-shell {
  max-width: 520px;
  margin: 0 auto;
  min-height: 100vh;
  padding: 18px 14px 34px;
  box-sizing: border-box;
}

.field-screen { display: none; }
.field-screen.active { display: block; animation: fadeIn .18s ease-out; }
@keyframes fadeIn { from { opacity: .4; transform: translateY(8px); } to { opacity: 1; transform: none; } }

.hero-card, .service-card, .map-card, .next-action-card, .progress-block, .timeline-card, .quick-info, .work-panel, .checklist, .signature-preview, .done-screen {
  background: rgba(255,255,255,.96);
  border: 1px solid rgba(219,229,239,.9);
  border-radius: 24px;
  box-shadow: 0 18px 45px rgba(15, 23, 42, .10);
  padding: 18px;
  margin-bottom: 14px;
}

.hero-card h1, .os-header h1, .done-screen h1 { margin: 4px 0 6px; letter-spacing: -.04em; }
.hero-card h1 { color: #fff; }
.hero-card { background: linear-gradient(135deg, #1d4ed8, #0f172a); color: #fff; border: 0; }
.hero-card.center { text-align: center; background: var(--surface); color: var(--dark); }
.hero-card.center h1 { color: var(--dark); }
.small-kicker { text-transform: uppercase; font-weight: 800; letter-spacing: .12em; font-size: 11px; color: #93c5fd; }
.hero-card.center .small-kicker { color: var(--blue); }
.muted { color: #cbd5e1; margin: 0; }
.hero-card.center .muted { color: var(--muted); }

.summary-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; margin: 14px 0; }
.summary-box { border-radius: 18px; padding: 14px 10px; color: #fff; text-align: center; box-shadow: 0 12px 25px rgba(15, 23, 42, .12); }
.summary-box strong { display: block; font-size: 28px; line-height: 1; }
.summary-box span { font-size: 12px; font-weight: 800; opacity: .9; }
.summary-box.green { background: var(--green); }
.summary-box.yellow { background: var(--yellow); }
.summary-box.gray { background: #64748b; }

.section-title { font-weight: 900; color: #fff; margin: 18px 0 10px; letter-spacing: -.02em; }
.service-card.highlight { border: 2px solid rgba(37,99,235,.20); }
.client-name { font-size: 25px; font-weight: 950; letter-spacing: -.05em; }
.client-name.small { font-size: 18px; }
.location-name { color: var(--muted); font-weight: 700; margin-top: 2px; }
.meta-row { display: flex; justify-content: space-between; gap: 10px; flex-wrap: wrap; color: var(--muted); font-size: 13px; margin: 14px 0; font-weight: 700; }
.tag-row { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 16px; }
.tag-row span, .status-pill { background: #e0ecff; color: #1d4ed8; border-radius: 999px; padding: 7px 10px; font-size: 12px; font-weight: 900; }
.status-pill.moving { background: #fff7ed; color: #c2410c; }
.status-pill.ok { background: #dcfce7; color: #15803d; }

.primary-action, .mega-action, .ghost-btn, .back-btn, .floating-photo {
  border: 0;
  border-radius: 18px;
  font-weight: 950;
  letter-spacing: -.02em;
  cursor: pointer;
  font-family: inherit;
}
.primary-action { width: 100%; background: var(--blue); color: #fff; padding: 17px 18px; font-size: 16px; }
.mega-action { width: 100%; background: linear-gradient(135deg, #2563eb, #1d4ed8); color: #fff; padding: 24px 18px; font-size: 21px; text-transform: uppercase; box-shadow: 0 18px 35px rgba(37,99,235,.30); }
.mega-action.final { background: linear-gradient(135deg, #16a34a, #15803d); box-shadow: 0 18px 35px rgba(22,163,74,.28); }
.ghost-btn { background: #eef4ff; color: var(--blue); padding: 12px 14px; }
.ghost-btn.full { width: 100%; margin-top: 8px; }
.back-btn { background: rgba(255,255,255,.18); color: #fff; padding: 10px 14px; margin-bottom: 12px; }

.os-header { color: #fff; display: flex; justify-content: space-between; align-items: flex-start; gap: 12px; margin-bottom: 14px; }
.os-header h1 { font-size: 26px; }
.os-header p { margin: 0; color: #cbd5e1; font-weight: 700; }
.map-card { display: flex; gap: 14px; align-items: flex-start; }
.map-icon { font-size: 28px; }
.map-card p { margin: 3px 0 12px; color: var(--muted); font-weight: 700; }
.next-action-card span { color: var(--muted); font-weight: 900; font-size: 13px; text-transform: uppercase; letter-spacing: .10em; }
.next-action-card p { color: var(--muted); font-size: 13px; line-height: 1.35; margin-bottom: 0; }
.next-action-card.warm .mega-action { background: linear-gradient(135deg, #f97316, #c2410c); box-shadow: 0 18px 35px rgba(249,115,22,.28); }

.progress-label { color: var(--muted); font-size: 12px; text-transform: uppercase; letter-spacing: .10em; font-weight: 900; margin-bottom: 10px; }
.steps { display: grid; grid-template-columns: repeat(5, 1fr); gap: 5px; }
.steps span { display: block; text-align: center; font-size: 10px; font-weight: 900; color: #94a3b8; padding-top: 24px; position: relative; }
.steps span::before { content: ''; width: 14px; height: 14px; border-radius: 50%; background: #cbd5e1; position: absolute; top: 0; left: calc(50% - 7px); }
.steps span.done { color: var(--green); }
.steps span.done::before { background: var(--green); box-shadow: 0 0 0 5px #dcfce7; }

.timeline-item { border-left: 3px solid #cbd5e1; padding-left: 12px; padding-bottom: 14px; }
.timeline-item b { display: block; }
.timeline-item small { color: var(--muted); font-weight: 700; }
.timeline-item.done { border-color: var(--green); }
.timeline-item.current { border-color: var(--blue); }

.hidden { display: none !important; }
.success-banner { background: #dcfce7; color: #15803d; padding: 12px 14px; border-radius: 16px; font-weight: 900; margin-bottom: 12px; }
.action-grid { display: grid; gap: 10px; margin-bottom: 14px; }
.task-card { text-align: left; background: #f8fafc; border: 1px solid var(--line); border-radius: 18px; padding: 14px; font-family: inherit; }
.task-card strong { display: block; font-size: 16px; }
.task-card span { color: var(--muted); font-weight: 700; }
.task-card.done { border-color: #bbf7d0; background: #f0fdf4; }
.floating-photo { position: sticky; bottom: 14px; width: 100%; background: #0f172a; color: #fff; padding: 16px; font-size: 16px; box-shadow: 0 18px 35px rgba(15,23,42,.25); }

.checklist { display: grid; gap: 10px; }
.check { padding: 15px; border-radius: 18px; font-weight: 900; }
.check.ok { background: #dcfce7; color: #15803d; }
.signature-preview span { color: var(--muted); font-size: 12px; text-transform: uppercase; letter-spacing: .10em; font-weight: 900; }
.scribble { margin-top: 14px; border: 2px dashed #cbd5e1; border-radius: 18px; height: 72px; display: flex; align-items: center; justify-content: center; font-family: cursive; font-size: 24px; color: #334155; transform: rotate(-2deg); }
.done-screen { text-align: center; padding-top: 34px; }
.done-icon { width: 84px; height: 84px; margin: 0 auto 14px; border-radius: 50%; background: var(--green); color: #fff; display: flex; align-items: center; justify-content: center; font-size: 48px; font-weight: 950; }
.done-screen p { color: var(--muted); font-weight: 700; }
.done-list { display: grid; gap: 9px; text-align: left; margin: 18px 0; }
.done-list span { background: #f8fafc; border: 1px solid var(--line); padding: 12px; border-radius: 14px; font-weight: 800; }

@media (min-width: 700px) {
  .phone-shell { padding-top: 28px; }
}

/* =========================================================
   UX-001 aprovado — Card Assistente de Campo v004
   Alteração restrita ao card superior do Assistente de Campo.
   ========================================================= */
.hero-card {
  border: 1.5px solid rgba(0, 0, 0, 0.46) !important;
  box-shadow: 0 18px 42px rgba(15, 23, 42, 0.18) !important;
}
.hero-card .eyebrow {
  font-weight: 950 !important;
  opacity: 1 !important;
}

/* UX V005 - ajuste cirúrgico do card principal da OS */
.current-job-card {
  border: 2px solid rgba(0, 0, 0, 0.62) !important;
}

.current-job-card .job-meta-line {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  width: 100%;
}

.current-job-card .job-os-number {
  font-weight: 800;
  color: var(--text, #0f1b2f);
  white-space: nowrap;
  text-align: right;
}

/* UX 018 - Próximas OS em duas linhas */
.next-job-card {
  padding: 18px 22px !important;
  min-height: auto !important;
  height: auto !important;
  display: block !important;
}

.next-card-client {
  display: block;
  font-size: 1.45rem;
  line-height: 1.15;
  color: #07182f;
  font-weight: 900;
  letter-spacing: -0.02em;
}

.next-card-row {
  margin-top: 16px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  width: 100%;
  color: #68758b;
  font-size: 1.12rem;
  font-weight: 800;
}

.next-card-row strong {
  margin-left: auto;
  text-align: right;
  white-space: nowrap;
  color: #68758b;
  font-weight: 900;
}

@media (max-width: 520px) {
  .next-job-card {
    padding: 16px 18px !important;
  }

  .next-card-client {
    font-size: 1.28rem;
  }

  .next-card-row {
    margin-top: 12px;
    font-size: 1rem;
  }
}

/* UX 019 - Borda preta suave nas próximas OS */
.next-job-card {
  border: 1px solid rgba(0, 0, 0, 0.22) !important;
}

/* UX 020 - Card Última OS */
.last-os-card {
  border: 1px solid rgba(0, 0, 0, 0.22) !important;
}

.last-os-status {
  margin-top: 10px;
  font-size: 0.98rem;
  font-weight: 900;
  color: #16784b;
}

/* UX 023 - Selo AGORA no card principal */
.job-meta-line {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.job-status-badge {
  margin-left: auto;
  margin-right: auto;
  padding: 3px 10px;
  border-radius: 999px;
  background: rgba(37, 99, 235, 0.10);
  color: #1d4ed8;
  font-size: 0.95em;
  font-weight: 900;
  white-space: nowrap;
  letter-spacing: 0.02em;
}

.job-os-number {
  white-space: nowrap;
}

/* UX 024 - Checklist operacional atendimento */
.checklist-card {
  background: #fff;
  border: 1px solid rgba(0, 0, 0, 0.22);
  border-radius: 28px;
  padding: 24px;
  box-shadow: 0 16px 40px rgba(15, 23, 42, 0.08);
}

.checklist-hint {
  margin: 8px 0 18px;
  color: #68758b;
  font-size: 0.98rem;
  line-height: 1.35;
}

.check-item {
  width: 100%;
  border: 1px solid rgba(148, 163, 184, 0.35);
  background: #f8fbff;
  border-radius: 20px;
  padding: 16px 18px;
  margin-top: 12px;
  display: flex;
  align-items: center;
  gap: 14px;
  text-align: left;
  color: #07182f;
  cursor: pointer;
}

.check-item strong {
  display: block;
  font-size: 1.05rem;
  font-weight: 900;
}

.check-item small {
  display: block;
  margin-top: 4px;
  color: #68758b;
  font-size: 0.9rem;
  font-weight: 700;
}

.check-icon {
  width: 34px;
  height: 34px;
  border-radius: 999px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex: 0 0 auto;
  font-weight: 900;
}

.check-item.done .check-icon {
  background: #dcfce7;
  color: #15803d;
}

.check-item.pending .check-icon {
  background: #fff7ed;
  color: #c2410c;
}

.check-item.pending {
  background: #fffaf5;
}

/* UX 025 - Checklist bloqueado antes da finalização */
.check-item.locked {
  background: #f1f5f9 !important;
  color: #94a3b8 !important;
  opacity: 0.72;
}

.check-item.locked .check-icon {
  background: #e2e8f0 !important;
  color: #94a3b8 !important;
}

.check-item.locked strong,
.check-item.locked small {
  color: #94a3b8 !important;
}

/* UX 026 - Legendas em destaque */
.strong-label {
  font-weight: 900 !important;
}


/* UX 027 - Legendas pretas */
.eyebrow,
.section-title,
.strong-label{
    color:#000000 !important;
}

/* UX 028 - Cabeçalho Agenda com contador */
.job-detail-card {
  border: 1px solid rgba(0, 0, 0, 0.22) !important;
}

.agenda-header-line {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  color: #000000 !important;
  font-weight: 900 !important;
}

.agenda-header-line strong {
  color: #000000;
  font-weight: 900;
  white-space: nowrap;
}

/* UX 029 - Status inteligente do contador */
#countdownOs.status-normal {
  color: #000000 !important;
}

#countdownOs.status-agora {
  color: #1d4ed8 !important;
}

#countdownOs.status-atrasada {
  color: #dc2626 !important;
}

/* UX 031 - Borda preta padrão no card de localização */
.map-card {
  border: 1px solid rgba(0, 0, 0, 0.22) !important;
}

/* UX 032 - Card ação e botões iguais */
.action-card {
  border: 1px solid rgba(0, 0, 0, 0.22) !important;
}

.action-card .mega-btn,
.action-card .danger-outline {
  width: 100% !important;
  min-height: 58px !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  box-sizing: border-box !important;
}

/* UX 033 - Horários na barra de progresso */
.timeline-time {
  display: block;
  margin-top: 4px;
  font-style: normal;
  font-size: 0.78rem;
  font-weight: 800;
  color: #64748b;
}

/* UX 034 - Borda preta padrão no card de progresso */
.progress-card {
  border: 1px solid rgba(0, 0, 0, 0.22) !important;
}

/* UX 035 - Checklist borda e espaçamento */
.checklist-card {
  border: 1px solid rgba(0, 0, 0, 0.22) !important;
  margin-top: 24px !important;
}

/* UX 036 - Tela Perfil do Técnico */
.profile-card,
.profile-info-card,
.profile-actions-card {
  background: #ffffff;
  border: 1px solid rgba(0, 0, 0, 0.22);
  border-radius: 28px;
  padding: 24px;
  box-shadow: 0 16px 40px rgba(15, 23, 42, 0.08);
}

.profile-card {
  text-align: center;
}

.avatar-wrap {
  margin: 20px auto 18px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 14px;
}

.avatar-circle {
  width: 112px;
  height: 112px;
  border-radius: 999px;
  background: linear-gradient(135deg, #1d4ed8, #0f172a);
  color: #ffffff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2rem;
  font-weight: 900;
  border: 4px solid #ffffff;
  box-shadow: 0 16px 38px rgba(15, 23, 42, 0.22);
}

.avatar-btn {
  border: 1px solid rgba(37, 99, 235, 0.25);
  background: rgba(37, 99, 235, 0.08);
  color: #1d4ed8;
  border-radius: 999px;
  padding: 10px 16px;
  font-weight: 900;
  cursor: pointer;
}

.profile-status {
  margin-top: 18px;
  padding: 14px 16px;
  border-radius: 18px;
  background: #f0fdf4;
  color: #15803d;
  display: flex;
  flex-direction: column;
  gap: 4px;
  font-weight: 900;
}

.profile-status small {
  color: #166534;
  font-weight: 700;
}

.profile-info-card,
.profile-actions-card {
  margin-top: 24px;
}

.profile-info-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 16px 0;
  border-bottom: 1px solid rgba(148, 163, 184, 0.25);
}

.profile-info-row:last-child {
  border-bottom: 0;
}

.profile-info-row span {
  color: #64748b;
  font-weight: 800;
}

.profile-info-row strong {
  color: #07182f;
  font-weight: 900;
  text-align: right;
}

.profile-actions-card {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.secondary-action {
  margin-top: 10px;
}

/* UX 038 - Alinhamento linha card principal e nomes abas */
.job-meta-line {
  display: flex !important;
  align-items: center !important;
}

.job-meta-line .job-time,
.job-meta-line .job-status-badge,
.job-meta-line .job-os-number {
  display: inline-flex !important;
  align-items: center !important;
  line-height: 1 !important;
}


/* UX 039 - Alinhamento fino card principal */
.job-meta-line{
    display:flex !important;
    align-items:center !important;
    justify-content:space-between !important;
    gap:14px;
}

.job-meta-line > *{
    display:flex !important;
    align-items:center !important;
    align-self:center !important;
    margin:0 !important;
    padding-top:0 !important;
    padding-bottom:0 !important;
    line-height:1 !important;
    vertical-align:middle !important;
}

.job-time{
    flex:1;
}

.job-status-badge{
    flex:0 0 auto;
}

.job-os-number{
    flex:0 0 auto;
}

/* DEV-002.005 - Eagle Icons barra inferior */
.bottom-nav button svg {
  width: 20px;
  height: 20px;
  display: block;
  margin: 0 auto 4px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.bottom-nav button.active svg {
  stroke: currentColor;
}

/* DEV-002.006 - Eagle Buttons */
.primary-btn,
.mega-btn,
.danger-btn,
.danger-outline,
.plain-btn,
.map-card button {
  font-family: "Inter", Arial, Helvetica, sans-serif;
  border-radius: 16px;
  min-height: 44px;
  font-weight: 800;
  letter-spacing: -0.01em;
  transition: transform .12s ease, box-shadow .12s ease, background .12s ease;
}

.primary-btn,
.mega-btn {
  background: #2563eb;
  color: #ffffff;
  border: 1px solid #2563eb;
  box-shadow: 0 10px 22px rgba(37, 99, 235, .22);
}

.primary-btn:active,
.mega-btn:active,
.map-card button:active {
  transform: scale(.985);
}

.map-card button {
  background: #0f172a;
  color: #ffffff;
  border: 1px solid #0f172a;
}

.danger-outline {
  background: #fff5f5;
  color: #b91c1c;
  border: 1px solid #fecaca;
  box-shadow: none;
}

.danger-btn {
  background: #dc2626;
  color: #ffffff;
  border: 1px solid #dc2626;
}

.plain-btn {
  background: transparent;
  color: #334155;
  border: 1px solid #cbd5e1;
}

/* DEV-002.009 - Eagle Buttons V2 perceptível */
.primary-btn,
.mega-btn {
  background: linear-gradient(180deg, #123f70 0%, #0b2f55 100%) !important;
  border: 1px solid #0b2f55 !important;
  color: #ffffff !important;
  border-radius: 18px !important;
  box-shadow: 0 12px 26px rgba(15, 23, 42, .22) !important;
}

.map-card button {
  background: #111827 !important;
  border: 1px solid #1f2937 !important;
  color: #ffffff !important;
  border-radius: 14px !important;
  box-shadow: none !important;
}

.danger-outline {
  background: #ffffff !important;
  color: #991b1b !important;
  border: 1px solid #fecaca !important;
  box-shadow: none !important;
}

.primary-btn:active,
.mega-btn:active,
.map-card button:active {
  transform: scale(.985);
}


/* DEV-002.011 - Eagle Header */
.hero-card{
  background:
    radial-gradient(circle at 18% 18%, rgba(37,99,235,.35), transparent 32%),
    linear-gradient(135deg, #123f70 0%, #0b2f55 48%, #10182f 100%) !important;
  border: 1px solid rgba(15,23,42,.35) !important;
  border-radius: 26px !important;
  box-shadow:
    0 18px 42px rgba(15,23,42,.22),
    inset 0 1px 0 rgba(255,255,255,.08) !important;
}

.hero-card h1{
  letter-spacing: -0.04em !important;
}

.hero-card .eyebrow{
  color: rgba(255,255,255,.88) !important;
}

.hero-card p{
  color: rgba(226,232,240,.64) !important;
}

.hero-card p strong{
  color: rgba(255,255,255,.74) !important;
}

/* DEV-002.012 - Chips Eagle Header */
.hero-card .summary-row{
  display: grid !important;
  grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
  gap: 10px !important;
  width: 100% !important;
}

.hero-card .summary-row span{
  justify-content: center !important;
  text-align: center !important;
  white-space: nowrap !important;
  padding-left: 10px !important;
  padding-right: 10px !important;
}

/* DEV-002.013 - Eagle Badges */
.job-status-badge{
  min-height: 24px !important;
  padding: 4px 12px !important;
  border-radius: 999px !important;
  background: #eef4ff !important;
  color: #123f70 !important;
  border: 1px solid #dbe7ff !important;
  font-size: 12px !important;
  font-weight: 800 !important;
  letter-spacing: .04em !important;
  line-height: 1 !important;
}

.last-os-status{
  display: inline-flex !important;
  align-items: center !important;
  gap: 6px !important;
  color: #0f8a5f !important;
  font-weight: 800 !important;
  font-size: 15px !important;
}

.status-pill,
.chips span{
  border-radius: 999px !important;
  font-weight: 800 !important;
}

/* DEV-002.014 - Eagle Chips */

.chips{
    gap:10px !important;
}

.chips span{

    display:inline-flex !important;
    align-items:center !important;
    justify-content:center !important;

    min-height:34px !important;

    padding:0 16px !important;

    border-radius:999px !important;

    background:#f3f7fd !important;

    border:1px solid #dbe6f4 !important;

    color:#18457b !important;

    font-size:13px !important;

    font-weight:700 !important;

    letter-spacing:-0.01em !important;

    box-shadow:0 2px 8px rgba(15,23,42,.04);

}


/* DEV-002.017 - Eagle Hierarchy V1 - Versão B */

.current-job-card{
  padding:24px !important;
}

.current-job-card .job-meta-line{
  display:flex !important;
  align-items:center !important;
  gap:12px !important;
  padding-bottom:16px !important;
  margin-bottom:20px !important;
  border-bottom:1px solid #d9e4ef !important;
}

.current-job-card .job-time{
  font-size:14px !important;
  font-weight:800 !important;
  color:#2563eb !important;
  line-height:1.15 !important;
}

.current-job-card .job-os-number{
  margin-left:auto !important;
  font-size:12px !important;
  font-weight:800 !important;
  color:#64748b !important;
}

.current-job-card h2{
  font-size:26px !important;
  line-height:1.05 !important;
  margin:0 0 8px !important;
}

.current-job-card p{
  margin:0 0 18px !important;
}

/* DEV-003.020 - Última OS igual aos Futuros */
.last-os-card .next-card-row{
  display:grid !important;
  grid-template-columns:minmax(0, 1fr) auto auto !important;
  align-items:center !important;
  column-gap:14px !important;
}

.last-os-card .next-card-row > span:first-child{
  min-width:0 !important;
  overflow:hidden !important;
  text-overflow:ellipsis !important;
  white-space:nowrap !important;
}

.last-os-card .last-os-status{
  display:inline-flex !important;
  align-items:center !important;
  justify-content:center !important;
  margin:0 !important;
  padding:0 !important;
  border:0 !important;
  background:transparent !important;
  font-size:12px !important;
  line-height:1 !important;
  font-weight:800 !important;
  font-style:normal !important;
  white-space:nowrap !important;
  color:#059669 !important;
}

.last-os-card .next-card-row strong{
  justify-self:end !important;
  white-space:nowrap !important;
}
/* FIM DEV-003.020 */

/* DEV-003.023 - Refino visual PG-001 leve */
:root{
  --pg001-bg-top:#f8fbff;
  --pg001-bg-mid:#f3f7fb;
  --pg001-bg-bottom:#edf3f8;
  --pg001-card-border:rgba(18, 63, 112, .10);
  --pg001-card-border-soft:rgba(15, 23, 42, .075);
  --pg001-card-shadow:0 10px 24px rgba(15, 23, 42, .060);
  --pg001-card-shadow-soft:0 8px 18px rgba(15, 23, 42, .048);
  --pg001-card-shadow-strong:0 16px 36px rgba(15, 23, 42, .085);
}

/* Fundo premium muito suave atrás dos cards */
html,
body{
  background:
    radial-gradient(circle at 50% -120px, rgba(18, 63, 112, .075), transparent 280px),
    linear-gradient(180deg, var(--pg001-bg-top) 0%, var(--pg001-bg-mid) 46%, var(--pg001-bg-bottom) 100%) !important;
}

/* Mantém a área do app leve, sem competir com os cards */
.phone-shell,
.app-shell,
#app{
  background:
    linear-gradient(180deg, rgba(255,255,255,.46) 0%, rgba(255,255,255,.10) 100%) !important;
}

/* Cards principais: só profundidade, sem alterar tamanho */
.current-job-card{
  background:#ffffff !important;
  border:1px solid var(--pg001-card-border) !important;
  box-shadow:var(--pg001-card-shadow-strong) !important;
}

/* Cards secundários do Resumo: Última OS e Futuros */
.next-job-card{
  background:#ffffff !important;
  border:1px solid var(--pg001-card-border-soft) !important;
  box-shadow:var(--pg001-card-shadow-soft) !important;
}

/* Última OS continua com o mesmo tamanho dos Futuros */
.last-os-card{
  background:#ffffff !important;
  border:1px solid var(--pg001-card-border-soft) !important;
  box-shadow:var(--pg001-card-shadow-soft) !important;
}

/* Cards de apoio em outras abas preservam a linguagem PG-001 */
.task-card,
.action-card,
.job-detail-card,
.progress-card,
.checklist-card,
.profile-actions-card,
.map-card{
  background:#ffffff !important;
  border:1px solid var(--pg001-card-border-soft) !important;
  box-shadow:var(--pg001-card-shadow-soft) !important;
}

/* Header e barra mantêm presença, sem mudar estrutura */
.hero-card{
  box-shadow:0 18px 42px rgba(11, 47, 85, .18) !important;
}

.bottom-nav{
  background:rgba(255, 255, 255, .96) !important;
  border-top:1px solid rgba(15, 23, 42, .075) !important;
  box-shadow:0 -10px 30px rgba(15, 23, 42, .070) !important;
}

/* Botões Eagle: só reforço discreto de profundidade já homologada */
.primary-btn,
.mega-btn{
  box-shadow:0 12px 26px rgba(15, 23, 42, .20) !important;
}
/* FIM DEV-003.023 */

/* DEV-003.024 - Bordas PG-001 mais visíveis */
.current-job-card{
  border:2px solid rgba(15, 23, 42, .58) !important;
}

.next-job-card,
.last-os-card{
  border:1.5px solid rgba(18, 63, 112, .20) !important;
}

.task-card,
.action-card,
.job-detail-card,
.progress-card,
.checklist-card,
.profile-actions-card,
.map-card{
  border:1.5px solid rgba(18, 63, 112, .16) !important;
}
/* FIM DEV-003.024 */

/* DEV-004.005 - Atendimento compacto consolidado */

/*
  Bloco oficial consolidado da aba Atendimento.
  Substitui os blocos DEV-004.002, DEV-004.003 e DEV-004.004.
  Mantém o padrão PG-001, mas com ergonomia mobile-first.
*/

/* Cards da aba Atendimento */
.job-detail-card,
.map-card,
.action-card,
.progress-card,
.checklist-card{
  background:#ffffff !important;
  border:1.5px solid rgba(18, 63, 112, .16) !important;
  border-radius:23px !important;
  box-shadow:0 9px 22px rgba(15, 23, 42, .055) !important;
}

/* Atendimento atual - compacto sem perder hierarquia */
.job-detail-card{
  padding:18px 20px 19px !important;
}

.agenda-header-line{
  display:flex !important;
  align-items:flex-start !important;
  justify-content:space-between !important;
  gap:10px !important;
  margin-bottom:6px !important;
}

.agenda-header-line span,
.agenda-header-line strong{
  font-size:12px !important;
  line-height:1.12 !important;
  font-weight:900 !important;
  letter-spacing:.065em !important;
}

.agenda-header-line strong{
  white-space:nowrap !important;
}

.job-detail-card h1{
  color:#07182f !important;
  font-size:26.5px !important;
  line-height:1.01 !important;
  letter-spacing:-.045em !important;
  margin:0 0 6px !important;
}

.job-detail-card .muted{
  color:#8795a7 !important;
  font-size:15.5px !important;
  line-height:1.12 !important;
  font-weight:750 !important;
  margin:0 0 10px !important;
}

.job-detail-card .os-line{
  color:#2563eb !important;
  font-size:16px !important;
  line-height:1.15 !important;
  font-weight:900 !important;
  letter-spacing:-.018em !important;
}

/* Local - endereço com largura total e botão secundário discreto */
.map-card{
  display:grid !important;
  grid-template-columns:minmax(0, 1fr) 78px !important;
  grid-template-rows:auto auto !important;
  column-gap:10px !important;
  row-gap:7px !important;
  align-items:center !important;
  padding:14px 17px 15px !important;
  min-height:auto !important;
}

.map-card > div{
  display:contents !important;
}

.map-card span{
  grid-column:1 !important;
  grid-row:1 !important;
  min-width:0 !important;
  margin:0 !important;
  color:#0f172a !important;
  font-size:15.5px !important;
  line-height:1.05 !important;
  font-weight:650 !important;
}

.map-card button{
  grid-column:2 !important;
  grid-row:1 !important;
  justify-self:end !important;
  align-self:center !important;
  width:78px !important;
  min-width:0 !important;
  min-height:37px !important;
  padding:0 7px !important;
  border-radius:13px !important;
  background:linear-gradient(180deg, #f8fbff 0%, #edf5ff 100%) !important;
  color:#123f70 !important;
  border:1.5px solid rgba(18, 63, 112, .20) !important;
  box-shadow:0 5px 12px rgba(15, 23, 42, .055) !important;
  font-size:11.4px !important;
  line-height:1.04 !important;
  font-weight:900 !important;
  letter-spacing:-.025em !important;
}

.map-card strong{
  grid-column:1 / -1 !important;
  grid-row:2 !important;
  min-width:0 !important;
  max-width:100% !important;
  color:#07182f !important;
  font-size:15px !important;
  line-height:1.15 !important;
  font-weight:900 !important;
  letter-spacing:-.032em !important;
  overflow-wrap:anywhere !important;
  word-break:normal !important;
  hyphens:auto !important;
}

/* Próxima ação - 5% menor */
.action-card{
  padding:16px 18px 18px !important;
}

.action-card > span{
  display:block !important;
  color:#64748b !important;
  font-size:16px !important;
  line-height:1.18 !important;
  font-weight:900 !important;
  letter-spacing:-.02em !important;
  margin:0 0 11px !important;
}

.action-card .mega-btn{
  min-height:52px !important;
  border-radius:16px !important;
  background:linear-gradient(180deg, #123f70 0%, #0b2f55 100%) !important;
  border:1px solid #0b2f55 !important;
  color:#ffffff !important;
  box-shadow:0 11px 24px rgba(15, 23, 42, .18) !important;
  font-size:15.5px !important;
  line-height:1 !important;
  font-weight:900 !important;
  letter-spacing:-.030em !important;
}

.action-card .danger-outline{
  min-height:48px !important;
  border-radius:16px !important;
  margin-top:13px !important;
  background:#ffffff !important;
  border:1.5px solid rgba(220, 38, 38, .24) !important;
  color:#991b1b !important;
  box-shadow:none !important;
  font-size:15.5px !important;
  line-height:1 !important;
  font-weight:900 !important;
}

/* Progresso - sem cortar Deslocamento */
.progress-card{
  padding:18px 17px 20px !important;
}

.progress-card .section-title{
  color:#020617 !important;
  font-size:15.5px !important;
  line-height:1.1 !important;
  font-weight:900 !important;
  letter-spacing:-.02em !important;
  margin-bottom:13px !important;
}

.timeline-mobile{
  display:grid !important;
  grid-template-columns:repeat(4, minmax(0, 1fr)) !important;
  gap:0 !important;
  align-items:stretch !important;
}

.timeline-item{
  position:relative !important;
  display:grid !important;
  justify-items:center !important;
  align-content:start !important;
  gap:6px !important;
  min-width:0 !important;
  min-height:72px !important;
  padding:7px 3px 0 !important;
  border-left:0 !important;
  overflow:visible !important;
  color:#64748b !important;
}

.timeline-item::before{
  content:"" !important;
  position:absolute !important;
  left:0 !important;
  top:6px !important;
  bottom:4px !important;
  width:3px !important;
  border-radius:999px !important;
  background:#d5dfeb !important;
}

.timeline-item:first-child::before{
  background:#16a34a !important;
}

.timeline-item span{
  display:grid !important;
  place-items:center !important;
  width:15px !important;
  height:15px !important;
  border-radius:999px !important;
  color:#2563eb !important;
  font-size:16px !important;
  line-height:1 !important;
  font-weight:900 !important;
}

.timeline-item small{
  display:block !important;
  width:100% !important;
  max-width:none !important;
  margin:0 auto !important;
  padding:0 1px !important;
  color:#64748b !important;
  font-size:9.45px !important;
  line-height:1.06 !important;
  font-weight:850 !important;
  letter-spacing:-.075em !important;
  text-align:center !important;
  white-space:nowrap !important;
  overflow:visible !important;
  text-overflow:clip !important;
  transform:scaleX(.94) !important;
  transform-origin:center !important;
}

.timeline-time{
  display:block !important;
  width:100% !important;
  max-width:none !important;
  margin:0 auto !important;
  padding:0 1px !important;
  color:#64748b !important;
  font-size:12.8px !important;
  line-height:1 !important;
  font-weight:900 !important;
  font-style:normal !important;
  text-align:center !important;
  white-space:nowrap !important;
  overflow:visible !important;
  text-overflow:clip !important;
}

.timeline-item.done{
  color:#2563eb !important;
}

.timeline-item.done span{
  color:#2563eb !important;
}

.timeline-item.done .timeline-time{
  color:#64748b !important;
}

/* Checklist - mais compacto e legível */
.checklist-card{
  padding:20px 18px 22px !important;
}

.checklist-card .section-title{
  color:#020617 !important;
  font-size:15.5px !important;
  line-height:1.1 !important;
  font-weight:900 !important;
  letter-spacing:-.02em !important;
  margin-bottom:9px !important;
}

.checklist-hint{
  color:#64748b !important;
  font-size:15px !important;
  line-height:1.27 !important;
  font-weight:500 !important;
  margin:0 0 16px !important;
}

.check-item{
  width:100% !important;
  display:grid !important;
  grid-template-columns:auto minmax(0, 1fr) !important;
  align-items:center !important;
  gap:13px !important;
  padding:14px 16px !important;
  margin:0 0 11px !important;
  border-radius:19px !important;
  border:1.5px solid rgba(18, 63, 112, .12) !important;
  background:#f6f9fd !important;
  color:#64748b !important;
  text-align:left !important;
  box-shadow:0 7px 16px rgba(15, 23, 42, .038) !important;
}

.check-icon{
  display:grid !important;
  place-items:center !important;
  width:36px !important;
  height:36px !important;
  border-radius:999px !important;
  background:#eaf0f7 !important;
  color:#94a3b8 !important;
  font-size:14px !important;
  font-weight:900 !important;
}

.check-item strong{
  display:block !important;
  color:#9aa8ba !important;
  font-size:16px !important;
  line-height:1.08 !important;
  font-weight:900 !important;
  letter-spacing:-.02em !important;
}

.check-item small{
  display:block !important;
  color:#a8b5c6 !important;
  font-size:13.2px !important;
  line-height:1.18 !important;
  font-weight:800 !important;
  margin-top:4px !important;
}

.check-item.done{
  background:#f4fbf7 !important;
  border-color:rgba(5, 150, 105, .22) !important;
}

.check-item.done .check-icon{
  background:#dcfce7 !important;
  color:#059669 !important;
}

.check-item.done strong{
  color:#334155 !important;
}

.check-item.done small{
  color:#64748b !important;
}

.check-item.pending{
  background:#fffdf5 !important;
  border-color:rgba(245, 158, 11, .26) !important;
}

.check-item.pending .check-icon{
  background:#fef3c7 !important;
  color:#d97706 !important;
}

/* Ajuste fino para telas estreitas */
@media (max-width:390px){
  .job-detail-card{
    padding:17px 18px 18px !important;
  }

  .job-detail-card h1{
    font-size:25px !important;
  }

  .map-card{
    grid-template-columns:minmax(0, 1fr) 74px !important;
    padding:13px 15px 14px !important;
    column-gap:8px !important;
  }

  .map-card button{
    width:74px !important;
    min-height:36px !important;
    font-size:10.8px !important;
    padding:0 6px !important;
  }

  .map-card span{
    font-size:14.5px !important;
  }

  .map-card strong{
    font-size:14.3px !important;
    line-height:1.14 !important;
  }

  .action-card{
    padding:15px 16px 17px !important;
  }

  .action-card .mega-btn{
    min-height:50px !important;
    font-size:15px !important;
  }

  .action-card .danger-outline{
    min-height:46px !important;
    font-size:15px !important;
  }

  .progress-card{
    padding:17px 15px 19px !important;
  }

  .timeline-item{
    padding-left:2px !important;
    padding-right:2px !important;
  }

  .timeline-item small{
    font-size:8.95px !important;
    letter-spacing:-.085em !important;
    transform:scaleX(.92) !important;
  }

  .timeline-time{
    font-size:12.3px !important;
  }

  .checklist-card{
    padding:19px 16px 21px !important;
  }
}
/* FIM DEV-004.005 */


/* DEV-004.006 - Tipografia botões Atendimento */
.action-card .mega-btn,
.action-card .danger-outline,
.map-card button{
  text-transform:none !important;
}
/* FIM DEV-004.006 */

/* DEV-005.002 - Visual PG-001 aba Mais */

/* Cards da aba Mais no padrão PG-001 */
.profile-card,
.profile-info-card,
.profile-actions-card{
  background:#ffffff !important;
  border:1.5px solid rgba(18, 63, 112, .16) !important;
  border-radius:24px !important;
  box-shadow:0 9px 22px rgba(15, 23, 42, .055) !important;
}

/* Card principal Mais */
.profile-card{
  padding:22px 22px 24px !important;
  text-align:center !important;
}

.profile-card .eyebrow{
  color:#123f70 !important;
  font-size:12px !important;
  line-height:1.1 !important;
  font-weight:900 !important;
  letter-spacing:.12em !important;
  margin:0 0 14px !important;
}

.avatar-wrap{
  display:flex !important;
  justify-content:center !important;
  margin:0 0 14px !important;
}

.avatar-circle{
  width:74px !important;
  height:74px !important;
  border-radius:24px !important;
  display:grid !important;
  place-items:center !important;
  background:
    radial-gradient(circle at 30% 20%, rgba(37, 99, 235, .36), transparent 34%),
    linear-gradient(135deg, #123f70 0%, #0b2f55 55%, #10182f 100%) !important;
  color:#ffffff !important;
  border:1px solid rgba(255,255,255,.18) !important;
  box-shadow:0 14px 28px rgba(15, 23, 42, .18) !important;
}

.avatar-circle span{
  font-size:24px !important;
  line-height:1 !important;
  font-weight:900 !important;
  letter-spacing:-.04em !important;
}

.profile-card h1{
  color:#07182f !important;
  font-size:27px !important;
  line-height:1.02 !important;
  letter-spacing:-.045em !important;
  margin:0 0 6px !important;
}

.profile-card .muted{
  color:#64748b !important;
  font-size:15px !important;
  line-height:1.15 !important;
  font-weight:750 !important;
  margin:0 0 14px !important;
}

/* Status ativo */
.profile-status{
  display:inline-flex !important;
  align-items:center !important;
  justify-content:center !important;
  gap:8px !important;
  max-width:100% !important;
  padding:9px 13px !important;
  border-radius:999px !important;
  background:#f4fbf7 !important;
  border:1.5px solid rgba(5, 150, 105, .18) !important;
  color:#059669 !important;
  box-shadow:0 6px 14px rgba(15, 23, 42, .035) !important;
}

.profile-status span{
  color:#059669 !important;
  font-size:13px !important;
  line-height:1 !important;
  font-weight:900 !important;
  white-space:nowrap !important;
}

.profile-status small{
  color:#64748b !important;
  font-size:11.5px !important;
  line-height:1.05 !important;
  font-weight:800 !important;
  white-space:normal !important;
  text-align:left !important;
}

/* Informações */
.profile-info-card{
  padding:8px 0 !important;
  overflow:hidden !important;
}

.profile-info-row{
  display:grid !important;
  grid-template-columns:minmax(0, .85fr) minmax(0, 1.35fr) !important;
  align-items:center !important;
  gap:12px !important;
  padding:15px 20px !important;
  border-bottom:1px solid rgba(15, 23, 42, .075) !important;
}

.profile-info-row:last-child{
  border-bottom:0 !important;
}

.profile-info-row span{
  color:#64748b !important;
  font-size:13px !important;
  line-height:1.1 !important;
  font-weight:850 !important;
}

.profile-info-row strong{
  color:#07182f !important;
  font-size:14px !important;
  line-height:1.18 !important;
  font-weight:900 !important;
  letter-spacing:-.02em !important;
  text-align:right !important;
  overflow-wrap:anywhere !important;
}

/* Ações */
.profile-actions-card{
  padding:16px 18px !important;
}

.profile-actions-card .danger-outline{
  min-height:48px !important;
  border-radius:16px !important;
  background:#ffffff !important;
  border:1.5px solid rgba(220, 38, 38, .24) !important;
  color:#991b1b !important;
  box-shadow:none !important;
  font-size:15.5px !important;
  line-height:1 !important;
  font-weight:900 !important;
  text-transform:none !important;
}

/* Ajuste fino em telas estreitas */
@media (max-width:390px){
  .profile-card{
    padding:20px 20px 22px !important;
  }

  .avatar-circle{
    width:68px !important;
    height:68px !important;
    border-radius:22px !important;
  }

  .avatar-circle span{
    font-size:22px !important;
  }

  .profile-card h1{
    font-size:25px !important;
  }

  .profile-status{
    display:flex !important;
    width:100% !important;
    padding:9px 11px !important;
  }

  .profile-status span{
    font-size:12.5px !important;
  }

  .profile-status small{
    font-size:11px !important;
  }

  .profile-info-row{
    grid-template-columns:minmax(0, .75fr) minmax(0, 1.45fr) !important;
    padding:14px 18px !important;
    gap:10px !important;
  }

  .profile-info-row span{
    font-size:12.5px !important;
  }

  .profile-info-row strong{
    font-size:13.2px !important;
  }
}
/* FIM DEV-005.002 */
