/* ==========================================================================
   Portal EA4 Mobilidade — folha própria (sistema interno)
   Personalidade: painel de controle — denso, preciso, laranja só para ação.
   ========================================================================== */
body { font-size: 14px; }
.muted { color: var(--text-soft); }
.small { font-size: 12px; }
.nowrap { white-space: nowrap; }
.right { text-align: right; }
.mt0 { margin-top: 0; } .mt8 { margin-top: 8px; } .mt16 { margin-top: 16px; } .mt24 { margin-top: 24px; }
.flex { display: flex; gap: 12px; align-items: center; }
.flex.wrap { flex-wrap: wrap; }
.between { justify-content: space-between; }
.grow { flex: 1; }

/* ------------------------------------------------------------ layout */
.shell { display: grid; grid-template-columns: 250px 1fr; min-height: 100vh; }
.side { background: var(--surface); border-right: 1px solid var(--border); display: flex; flex-direction: column; position: sticky; top: 0; height: 100vh; }
.side-logo { padding: 18px 20px 14px; border-bottom: 1px solid var(--border); }
.side-logo img { height: 42px; display: block; }
.side-logo .sys { font-size: 11px; font-weight: 600; color: var(--text-soft); text-transform: uppercase; letter-spacing: .8px; margin-top: 8px; }
.side-perfil { margin: 14px 14px 6px; padding: 10px 12px; border-radius: var(--radius-card); background: var(--surface-alt); display: flex; gap: 10px; align-items: center; }
.side-perfil .pic { width: 34px; height: 34px; border-radius: 50%; background: var(--brand); color: #fff; display: flex; align-items: center; justify-content: center; font-weight: 700; font-size: 13px; }
.side-perfil .n { font-weight: 600; font-size: 13px; line-height: 1.2; }
.side-perfil .p { font-size: 11px; color: var(--brand-dark); font-weight: 600; }
.nav { padding: 8px 10px; overflow-y: auto; flex: 1; }
.nav-sec { font-size: 10.5px; font-weight: 700; color: var(--text-soft); text-transform: uppercase; letter-spacing: .8px; padding: 14px 12px 6px; }
.nav a { display: flex; align-items: center; gap: 11px; padding: 9px 12px; border-radius: var(--radius-btn); color: var(--text-muted); text-decoration: none; font-weight: 500; font-size: 13.5px; position: relative; }
.nav a:hover { background: var(--surface-alt); color: var(--text); }
.nav a.ativo { background: var(--brand-tint-2); color: var(--brand-dark); font-weight: 600; }
.nav a.ativo::before { content: ''; position: absolute; left: -10px; top: 8px; bottom: 8px; width: 3px; border-radius: 3px; background: var(--brand); }
.nav a .cnt { margin-left: auto; background: var(--danger); color: #fff; font-size: 10.5px; font-weight: 700; border-radius: 10px; padding: 1px 7px; }
.side-foot { padding: 12px 14px; border-top: 1px solid var(--border); }
.side-foot a { display: flex; align-items: center; gap: 8px; font-size: 12.5px; color: var(--text-muted); text-decoration: none; padding: 6px 8px; border-radius: var(--radius-btn); }
.side-foot a:hover { background: var(--surface-alt); }

.main { min-width: 0; display: flex; flex-direction: column; }
.top { height: 64px; background: var(--surface); border-bottom: 1px solid var(--border); display: flex; align-items: center; gap: 16px; padding: 0 28px; position: sticky; top: 0; z-index: 20; }
.top h1 { font-size: 18px; font-weight: 700; margin: 0; }
.top .sub { font-size: 12px; color: var(--text-soft); }
.top-dir { margin-left: auto; display: flex; align-items: center; gap: 12px; }
.chip-hoje { display: flex; align-items: center; gap: 6px; font-size: 12px; color: var(--text-muted); background: var(--surface-alt); padding: 6px 12px; border-radius: var(--radius-pill); }
.perfil-sel { display: flex; align-items: center; gap: 8px; font-size: 12px; color: var(--text-soft); }
.perfil-sel select { border: 1px solid var(--brand-border); background: var(--brand-tint-2); color: var(--brand-dark); font-weight: 600; font-size: 12.5px; padding: 6px 10px; border-radius: var(--radius-btn); cursor: pointer; }
.icon-btn { position: relative; width: 38px; height: 38px; border-radius: 50%; border: 1px solid var(--border); background: var(--surface); display: flex; align-items: center; justify-content: center; cursor: pointer; color: var(--text-muted); }
.icon-btn:hover { color: var(--brand); border-color: var(--brand-border); }
.icon-btn .dot { position: absolute; top: 6px; right: 7px; width: 9px; height: 9px; background: var(--danger); border: 2px solid #fff; border-radius: 50%; }
.notif { position: absolute; right: 0; top: 46px; width: 380px; background: #fff; border: 1px solid var(--border); border-radius: var(--radius-card); box-shadow: var(--shadow-lg); padding: 8px; display: none; }
.notif.aberta { display: block; }
.notif a { display: flex; gap: 10px; padding: 10px; border-radius: var(--radius-btn); text-decoration: none; font-size: 12.5px; }
.notif a:hover { background: var(--surface-alt); }

.content { padding: 24px 28px 60px; }

/* ------------------------------------------------------------ componentes */
.card { background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius-card); box-shadow: var(--shadow-sm); }
.card-b { padding: 18px 20px; }
.card-h { display: flex; align-items: center; gap: 10px; padding: 14px 20px; border-bottom: 1px solid var(--border); }
.card-h h2, .card-h h3 { margin: 0; font-size: 15px; font-weight: 600; }
.card-h .acoes { margin-left: auto; display: flex; gap: 8px; align-items: center; }
.grid { display: grid; gap: 18px; }
.g2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.g3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.g4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.g-2-1 { grid-template-columns: minmax(0, 2fr) minmax(0, 1fr); }
.g-1-2 { grid-template-columns: minmax(0, 1fr) minmax(0, 2fr); }

.page-intro { display: flex; align-items: flex-start; gap: 16px; margin-bottom: 20px; }
.page-intro p { margin: 4px 0 0; color: var(--text-muted); max-width: 760px; }
.page-intro .acoes { margin-left: auto; display: flex; gap: 8px; }

.kpis { display: grid; gap: 14px; grid-template-columns: repeat(auto-fit, minmax(170px, 1fr)); margin-bottom: 18px; }
.kpi { background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius-card); padding: 16px 18px; box-shadow: var(--shadow-sm); }
.kpi .l { font-size: 12px; color: var(--text-soft); display: flex; align-items: center; gap: 6px; }
.kpi .v { font-size: 24px; font-weight: 700; margin-top: 6px; letter-spacing: -.3px; }
.kpi .d { font-size: 12px; color: var(--text-muted); margin-top: 2px; }
.kpi.destaque { background: linear-gradient(135deg, var(--brand) 0%, #ff7a2e 100%); border: none; color: #fff; }
.kpi.destaque .l, .kpi.destaque .d { color: rgba(255,255,255,.85); }
.kpi.alerta { border-color: #fecaca; background: #fff8f8; }
.kpi.alerta .v { color: var(--danger); }

.btn { display: inline-flex; align-items: center; gap: 7px; border: 1px solid var(--border-strong); background: var(--surface); color: var(--text); padding: 8px 14px; border-radius: var(--radius-btn); font-size: 13px; font-weight: 500; cursor: pointer; text-decoration: none; white-space: nowrap; }
.btn:hover { border-color: var(--text-soft); }
.btn-primary { background: var(--brand); border-color: var(--brand); color: #fff; }
.btn-primary:hover { background: var(--brand-hover); border-color: var(--brand-hover); }
.btn-sm { padding: 5px 10px; font-size: 12px; }
.btn-ghost { border-color: transparent; background: transparent; color: var(--brand-dark); }
.btn-ghost:hover { background: var(--brand-tint-2); border-color: transparent; }

.badge { display: inline-flex; align-items: center; gap: 5px; font-size: 11.5px; font-weight: 600; padding: 3px 9px; border-radius: var(--radius-pill); white-space: nowrap; }
.b-ok { background: var(--success-tint); color: var(--success); }
.b-warn { background: var(--warning-tint); color: var(--warning); }
.b-danger { background: var(--danger-tint); color: var(--danger); }
.b-info { background: var(--info-tint); color: var(--info); }
.b-neutro { background: var(--surface-alt); color: var(--text-muted); }
.b-brand { background: var(--brand-tint); color: var(--brand-dark); }

.fase { display: inline-block; font-size: 11.5px; font-weight: 600; padding: 3px 9px; border-radius: var(--radius-pill); white-space: nowrap; }
.m-com { background: #e0ecff; color: #1d4ed8; }
.m-conf { background: #ede9fe; color: #6d28d9; }
.m-prep { background: var(--warning-tint); color: var(--warning); }
.m-exec { background: var(--brand-tint); color: var(--brand-dark); }
.m-enc { background: var(--success-tint); color: var(--success); }

.tbl-wrap { overflow-x: auto; }
.tbl { width: 100%; border-collapse: collapse; font-size: 13px; }
.tbl th { text-align: left; font-size: 11px; font-weight: 600; color: var(--text-soft); text-transform: uppercase; letter-spacing: .4px; padding: 10px 14px; border-bottom: 1px solid var(--border); background: #fafbfc; white-space: nowrap; }
.tbl td { padding: 11px 14px; border-bottom: 1px solid var(--border); vertical-align: middle; }
.tbl tr:last-child td { border-bottom: none; }
.tbl tr.link { cursor: pointer; }
.tbl tr.link:hover td { background: var(--brand-tint-2); }
.tbl .num { text-align: right; font-variant-numeric: tabular-nums; white-space: nowrap; }
.tbl tfoot td { font-weight: 700; background: #fafbfc; }

.alertas { display: flex; flex-direction: column; }
.alerta-row { display: flex; gap: 12px; align-items: flex-start; padding: 12px 20px; border-bottom: 1px solid var(--border); text-decoration: none; }
.alerta-row:last-child { border-bottom: none; }
.alerta-row:hover { background: var(--surface-alt); }
.alerta-row .ic { width: 32px; height: 32px; border-radius: 50%; display: flex; align-items: center; justify-content: center; flex-shrink: 0; }
.ic-danger { background: var(--danger-tint); color: var(--danger); }
.ic-warning { background: var(--warning-tint); color: var(--warning); }
.ic-info { background: var(--info-tint); color: var(--info); }
.ic-ok { background: var(--success-tint); color: var(--success); }
.ic-brand { background: var(--brand-tint); color: var(--brand-dark); }
.alerta-row .t { font-weight: 600; font-size: 13px; }
.alerta-row .s { font-size: 12px; color: var(--text-muted); margin-top: 2px; }

.bar { height: 8px; background: var(--surface-alt); border-radius: 8px; overflow: hidden; }
.bar > span { display: block; height: 100%; background: var(--brand); border-radius: 8px; }
.bar.ok > span { background: var(--success); }
.rank { display: flex; flex-direction: column; gap: 12px; }
.rank-row .top-l { display: flex; justify-content: space-between; font-size: 13px; margin-bottom: 5px; }

.tabs { display: flex; gap: 4px; border-bottom: 1px solid var(--border); margin-bottom: 18px; overflow-x: auto; }
.tab { padding: 10px 16px; font-size: 13.5px; font-weight: 500; color: var(--text-muted); border: none; background: none; cursor: pointer; border-bottom: 2px solid transparent; margin-bottom: -1px; white-space: nowrap; display: flex; align-items: center; gap: 7px; }
.tab:hover { color: var(--text); }
.tab.ativa { color: var(--brand-dark); border-bottom-color: var(--brand); font-weight: 600; }
.tab-pane { display: none; }
.tab-pane.ativa { display: block; }

.stars { letter-spacing: 1px; font-size: 14px; }
.star { color: #d7dee6; }
.star.on { color: #f59e0b; }

.av { width: 30px; height: 30px; border-radius: 50%; background: var(--dark-teal); color: #fff; display: inline-flex; align-items: center; justify-content: center; font-size: 11.5px; font-weight: 700; flex-shrink: 0; }

.tag { display: inline-block; font-size: 11.5px; padding: 3px 9px; border-radius: 6px; background: var(--surface-alt); color: var(--text-muted); margin: 0 4px 4px 0; }
.tag.brand { background: var(--brand-tint-2); color: var(--brand-dark); }
.tag.oculta { text-decoration: line-through; opacity: .6; }

.info-box { display: flex; gap: 12px; padding: 12px 16px; border-radius: var(--radius-card); font-size: 13px; line-height: 1.5; }
.info-box.warn { background: var(--warning-tint); color: #7c4a03; }
.info-box.info { background: var(--info-tint); color: #1e3a8a; }
.info-box.brand { background: var(--brand-tint-2); color: #7a2c00; border: 1px solid var(--brand-border); }
.info-box.danger { background: var(--danger-tint); color: #7f1d1d; }

.dl { display: grid; grid-template-columns: 150px 1fr; gap: 8px 14px; font-size: 13px; margin: 0; }
.dl dt { color: var(--text-soft); }
.dl dd { margin: 0; font-weight: 500; }

/* ------------------------------------------------------------ stepper interno */
.stepper { display: flex; gap: 10px; overflow-x: auto; padding-bottom: 4px; }
.st-grupo { flex: 1; min-width: 150px; }
.st-macro { font-size: 10.5px; font-weight: 700; text-transform: uppercase; letter-spacing: .6px; padding: 4px 8px; border-radius: 6px; margin-bottom: 8px; display: inline-block; }
.st-fases { display: flex; flex-direction: column; gap: 5px; }
.st-f { display: flex; align-items: center; gap: 8px; font-size: 12px; color: var(--text-soft); }
.st-dot { width: 16px; height: 16px; border-radius: 50%; border: 2px solid var(--border-strong); display: flex; align-items: center; justify-content: center; flex-shrink: 0; background: #fff; }
.st-f.feito { color: var(--text-muted); }
.st-f.feito .st-dot { background: var(--success); border-color: var(--success); color: #fff; }
.st-f.atual { color: var(--brand-dark); font-weight: 700; }
.st-f.atual .st-dot { border-color: var(--brand); background: var(--brand); box-shadow: 0 0 0 4px var(--brand-tint); animation: pulsar 1.6s infinite; }
@keyframes pulsar { 0%,100% { box-shadow: 0 0 0 3px var(--brand-tint); } 50% { box-shadow: 0 0 0 7px rgba(253,91,1,.12); } }

/* ------------------------------------------------------------ linha do tempo */
.tl { position: relative; padding-left: 26px; }
.tl::before { content: ''; position: absolute; left: 9px; top: 6px; bottom: 6px; width: 2px; background: var(--border); }
.tl-i { position: relative; padding: 0 0 16px; }
.tl-i .pt { position: absolute; left: -26px; top: 1px; width: 20px; height: 20px; border-radius: 50%; display: flex; align-items: center; justify-content: center; color: #fff; }
.tl-i .q { font-size: 11.5px; color: var(--text-soft); }
.tl-i .x { font-size: 13px; margin-top: 2px; }
.tl-i .w { font-size: 11.5px; color: var(--text-muted); margin-top: 2px; }
.pt-portal { background: var(--brand); } .pt-evento { background: var(--dark-teal); } .pt-conversa { background: var(--whatsapp); }
.pt-checkin { background: var(--info); } .pt-financeiro { background: #7c3aed; }

/* ------------------------------------------------------------ conversa */
.chat { display: flex; flex-direction: column; gap: 10px; padding: 16px; background: #efeae2; border-radius: var(--radius-card); max-height: 420px; overflow-y: auto; }
.msg { max-width: 78%; padding: 8px 12px; border-radius: 10px; font-size: 13px; line-height: 1.45; box-shadow: var(--shadow-sm); }
.msg .de { font-size: 11px; font-weight: 700; margin-bottom: 2px; }
.msg .h { font-size: 10.5px; color: var(--text-soft); text-align: right; margin-top: 3px; }
.msg.ext { background: #fff; align-self: flex-start; }
.msg.ext .de { color: var(--dark-teal); }
.msg.int { background: #d9fdd3; align-self: flex-end; }
.msg.int .de { color: #047857; }

/* ------------------------------------------------------------ etapas */
.etapa { border: 1px solid var(--border); border-radius: var(--radius-card); margin-bottom: 14px; overflow: hidden; }
.etapa-h { display: flex; align-items: center; gap: 12px; padding: 12px 16px; background: #fafbfc; border-bottom: 1px solid var(--border); flex-wrap: wrap; }
.etapa-n { width: 30px; height: 30px; border-radius: 8px; background: var(--dark-deep); color: #fff; font-weight: 700; display: flex; align-items: center; justify-content: center; }
.etapa.atual { border-color: var(--brand); box-shadow: 0 0 0 3px var(--brand-tint); }
.etapa.atual .etapa-n { background: var(--brand); }
.etapa-b { display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr); gap: 0; }
.paradas { padding: 14px 16px; border-right: 1px solid var(--border); }
.parada { display: flex; gap: 10px; padding: 6px 0; font-size: 13px; }
.parada .pn { width: 22px; height: 22px; border-radius: 50%; background: var(--surface-alt); color: var(--text-muted); font-size: 11px; font-weight: 700; display: flex; align-items: center; justify-content: center; flex-shrink: 0; }
.parada.feita .pn { background: var(--success); color: #fff; }
.parada.atual .pn { background: var(--brand); color: #fff; box-shadow: 0 0 0 4px var(--brand-tint); }
.parada.saida .pn { background: var(--dark-deep); color: #fff; }
.parada .adef { color: var(--warning); font-style: italic; }
.alocs { padding: 14px 16px; display: flex; flex-direction: column; gap: 10px; }
.aloc { border: 1px solid var(--border); border-radius: var(--radius-btn); padding: 10px 12px; font-size: 12.5px; }
.aloc .p { font-weight: 600; font-size: 13px; display: flex; justify-content: space-between; gap: 8px; }
.aloc .nota { margin-top: 6px; font-size: 11.5px; color: var(--warning); }

/* ------------------------------------------------------------ monitoramento */
.live { display: inline-flex; align-items: center; gap: 7px; background: var(--danger-tint); color: var(--danger); font-size: 11.5px; font-weight: 700; padding: 4px 11px; border-radius: var(--radius-pill); letter-spacing: .4px; }
.live i { width: 8px; height: 8px; border-radius: 50%; background: var(--danger); animation: piscar 1.2s infinite; }
@keyframes piscar { 50% { opacity: .25; } }
.mon-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); gap: 14px; }
.mon { background: #fff; border: 1px solid var(--border); border-radius: var(--radius-card); padding: 16px; cursor: pointer; transition: box-shadow .15s, border-color .15s; }
.mon:hover { box-shadow: var(--shadow-md); border-color: var(--brand-border); }
.mon.s-exec { border-left: 4px solid var(--brand); }
.mon.s-caminho { border-left: 4px solid var(--info); }
.mon.s-prog { border-left: 4px solid var(--border-strong); }
.mon.s-alerta { border-left: 4px solid var(--danger); }
.mon.s-fim { border-left: 4px solid var(--success); }
.mon .cod { font-size: 11.5px; color: var(--text-soft); }
.mon .tt { font-weight: 600; margin: 3px 0 2px; }
.mon .rota { font-size: 12px; color: var(--text-muted); }
.prog { display: flex; gap: 4px; margin: 12px 0 8px; }
.prog span { flex: 1; height: 5px; border-radius: 3px; background: var(--surface-alt); }
.prog span.f { background: var(--success); }
.prog span.a { background: var(--brand); animation: piscar 1.4s infinite; }

.mapa { background: #eef2f6; border-radius: var(--radius-card); overflow: hidden; position: relative; }
.mapa svg { display: block; width: 100%; height: auto; }

/* ------------------------------------------------------------ kanban */
.kanban { display: grid; grid-auto-flow: column; grid-auto-columns: minmax(250px, 1fr); gap: 14px; overflow-x: auto; padding-bottom: 8px; }
.kcol { background: #eef1f4; border-radius: var(--radius-card); padding: 10px; min-height: 200px; }
.kcol-h { display: flex; justify-content: space-between; align-items: center; padding: 4px 6px 10px; font-weight: 600; font-size: 13px; }
.kcol-h .n { background: #fff; border-radius: 10px; padding: 1px 8px; font-size: 11.5px; color: var(--text-muted); }
.kcard { background: #fff; border-radius: var(--radius-btn); padding: 11px 12px; margin-bottom: 8px; box-shadow: var(--shadow-sm); cursor: pointer; border: 1px solid transparent; font-size: 12.5px; }
.kcard:hover { border-color: var(--brand-border); }
.kcard .c { font-size: 11px; color: var(--text-soft); display: flex; justify-content: space-between; }
.kcard .t { font-weight: 600; font-size: 13px; margin: 3px 0; }
.kcard .al { margin-top: 7px; font-size: 11.5px; padding: 5px 8px; border-radius: 6px; }

/* ------------------------------------------------------------ prestadores */
.pcards { display: grid; grid-template-columns: repeat(auto-fill, minmax(320px, 1fr)); gap: 16px; }
.pcard { background: #fff; border: 1px solid var(--border); border-radius: var(--radius-card); padding: 18px; cursor: pointer; display: flex; flex-direction: column; gap: 10px; }
.pcard:hover { box-shadow: var(--shadow-md); border-color: var(--brand-border); }
.pcard .pn { font-weight: 700; font-size: 15px; }
.pcard .mini { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; }
.pcard .mini div { background: var(--surface-alt); border-radius: var(--radius-btn); padding: 8px; text-align: center; }
.pcard .mini b { display: block; font-size: 15px; }
.pcard .mini span { font-size: 11px; color: var(--text-soft); }
.foto-real { height: 120px; border-radius: var(--radius-btn); background: repeating-linear-gradient(45deg, #eef2f6, #eef2f6 10px, #e6ebf0 10px, #e6ebf0 20px); display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 4px; color: var(--text-soft); font-size: 11.5px; border: 1px dashed var(--border-strong); }

/* ------------------------------------------------------------ agenda */
.agenda { display: grid; grid-template-columns: 160px repeat(7, minmax(120px, 1fr)); border: 1px solid var(--border); border-radius: var(--radius-card); overflow: hidden; background: #fff; }
.ag-h { background: #fafbfc; padding: 10px; font-size: 12px; font-weight: 600; border-bottom: 1px solid var(--border); border-left: 1px solid var(--border); text-align: center; }
.ag-h.hoje { background: var(--brand-tint-2); color: var(--brand-dark); }
.ag-r { padding: 10px; font-size: 12px; font-weight: 600; border-bottom: 1px solid var(--border); background: #fafbfc; }
.ag-c { border-left: 1px solid var(--border); border-bottom: 1px solid var(--border); padding: 5px; min-height: 58px; }
.ag-c.hoje { background: #fffaf6; }
.ag-ev { font-size: 11px; border-radius: 6px; padding: 4px 6px; margin-bottom: 4px; cursor: pointer; line-height: 1.3; }

/* ------------------------------------------------------------ sem acesso */
.sem-acesso { max-width: 620px; margin: 40px auto; text-align: center; padding: 40px 32px; }
.sem-acesso .ic { width: 64px; height: 64px; border-radius: 50%; background: var(--surface-alt); color: var(--text-soft); display: inline-flex; align-items: center; justify-content: center; margin-bottom: 14px; }
.sem-acesso h2 { margin: 0 0 8px; }
.sem-acesso p { color: var(--text-muted); line-height: 1.6; }

/* ------------------------------------------------------------ login */
.login { min-height: 100vh; display: grid; grid-template-columns: 1fr 1fr; }
.login-l { background: var(--dark-deep); color: #fff; padding: 56px; display: flex; flex-direction: column; justify-content: space-between; position: relative; overflow: hidden; }
.login-l::after { content: ''; position: absolute; right: -120px; bottom: -120px; width: 380px; height: 380px; border-radius: 50%; border: 60px solid rgba(253,91,1,.14); }
.login-l .logo-box { background: #fff; display: inline-block; padding: 12px 18px; border-radius: var(--radius-card); }
.login-l .logo-box img { height: 54px; display: block; }
.login-l h1 { font-size: 34px; line-height: 1.2; margin: 0 0 14px; font-weight: 700; }
.login-l h1 span { color: var(--brand); }
.login-l p { color: #cbd5e1; max-width: 440px; line-height: 1.6; }
.login-r { padding: 56px; display: flex; flex-direction: column; justify-content: center; max-width: 620px; }
.login-r h2 { margin: 0 0 6px; }
.perfis { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; margin-top: 22px; }
.perfil-card { border: 1px solid var(--border); background: #fff; border-radius: var(--radius-card); padding: 16px; cursor: pointer; text-align: left; transition: all .15s; font-family: inherit; }
.perfil-card:hover, .perfil-card.sel { border-color: var(--brand); box-shadow: 0 0 0 3px var(--brand-tint); }
.perfil-card .ic { width: 38px; height: 38px; border-radius: 10px; background: var(--brand-tint-2); color: var(--brand-dark); display: flex; align-items: center; justify-content: center; margin-bottom: 10px; }
.perfil-card .n { font-weight: 700; font-size: 14px; }
.perfil-card .d { font-size: 12px; color: var(--text-muted); margin-top: 3px; line-height: 1.45; }
.campo { display: flex; flex-direction: column; gap: 6px; margin-bottom: 12px; }
.campo label { font-size: 12px; font-weight: 600; color: var(--text-muted); }
.campo input, .campo select, .campo textarea { border: 1px solid var(--border-strong); border-radius: var(--radius-input); padding: 10px 12px; font-size: 14px; background: #fff; }
.campo input:focus, .campo select:focus, .campo textarea:focus { outline: 2px solid var(--brand-tint); border-color: var(--brand); }

@media (max-width: 1100px) {
  .g4 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .g3, .g-2-1, .g-1-2 { grid-template-columns: minmax(0, 1fr); }
  .etapa-b { grid-template-columns: 1fr; }
  .paradas { border-right: none; border-bottom: 1px solid var(--border); }
}
@media (max-width: 860px) {
  .shell { grid-template-columns: 1fr; }
  .side { display: none; }
  .login { grid-template-columns: 1fr; }
  .login-l { padding: 32px; }
  .g2 { grid-template-columns: minmax(0, 1fr); }
  .top { padding: 0 16px; } .content { padding: 18px 16px 50px; }
  .chip-hoje { display: none; }
}
