/* SASSMAR · Portal do Cliente
   Modelo de rastreamento (13/11/2026, pedido do cliente: "100% igual" ao painel de referência, adaptado à F4):
   fundo escuro pontilhado, cartão de consulta, cartão branco do processo com indicadores, linha do tempo em círculos,
   informações do processo + cartão escuro de avisos, documentos em cartões e rodapé LGPD.
   Usado na página /portal/* (body.hub) e embutido na Home ([data-portal-embed]). */
:root {
  --mono: 'JetBrains Mono', ui-monospace, 'Cascadia Mono', Consolas, monospace;
  --hub-blue: #2D7FC1; --hub-blue-d: #1D5E86; --hub-blue-bg: #EEF6FD; --hub-blue-bd: #BBDDF5;
  --hub-green: #12B76A; --hub-green-d: #067647; --hub-green-bg: #ECFDF3; --hub-green-bd: #ABEFC6;
  --hub-ink: #0B1A2E; --hub-mute: #667085; --hub-mute2: #8A97A8; --hub-line: #E6EAF0; --hub-soft: #F8FAFC;
}
body.hub { background: #08131F; min-height: 100vh; display: flex; flex-direction: column; }
#app { flex: 1; display: flex; flex-direction: column; }
.hub-boot { flex: 1; display: grid; place-items: center; }
.hub-boot .logo__symbol { height: 60px; animation: hubPulse 1.2s ease-in-out infinite; --s-doc: #fff; }
@keyframes hubPulse { 50% { opacity: .4; } }
.hub-stage svg, .hub-header svg, .hub-footer svg, .hub-dialog svg { flex-shrink: 0; }
.tabular { font-variant-numeric: tabular-nums; }
.hub-mono { font-family: var(--mono); }
.hub-ellipsis { display: block; max-width: 100%; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }

/* Banner de modo de desenvolvimento */
.hub-demo { display: flex; align-items: center; justify-content: center; gap: .5rem; padding: .55rem var(--gutter); background: #EAF3F9; color: #1D4E6E; font-size: .82rem; font-weight: 700; text-align: center; border-bottom: 1px solid #B9D6EA; }
.hub-demo svg { width: 18px; height: 18px; }

/* Cabeçalho (página própria) */
.hub-header { background: rgba(11, 26, 46, .96); color: #fff; border-bottom: 1px solid rgba(255, 255, 255, .08); position: sticky; top: 0; z-index: 30; }
.hub-header__in { display: flex; align-items: center; gap: 1rem; min-height: 68px; }
.hub-brand { display: inline-flex; align-items: center; gap: .75rem; color: #fff; text-decoration: none; min-width: 0; }
.hub-brand__logo { display: block; height: 42px; width: auto; flex-shrink: 0; }
.hub-brand__tag { padding-left: .75rem; border-left: 1px solid rgba(255, 255, 255, .2); font-size: .8rem; font-weight: 500; line-height: 1.2; color: rgba(255, 255, 255, .72); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; min-width: 0; }
.hub-header__tools { margin-left: auto; display: flex; align-items: center; gap: .5rem; }
.hub-lang select { min-height: 38px; padding: .35rem 2rem .35rem .7rem; font: inherit; font-size: .85rem; font-weight: 500; color: #fff; background: rgba(255, 255, 255, .06) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='2'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E") no-repeat right .5rem center / 14px; border: 1px solid rgba(255, 255, 255, .18); border-radius: 8px; appearance: none; cursor: pointer; }
.hub-lang select option { color: var(--hub-ink); background: #fff; }
.hub-header .hub-btn--ghost { color: #fff; }
.hub-header .hub-btn--ghost:hover { background: rgba(255, 255, 255, .08); color: #fff; }
.hub-header :focus-visible { outline-color: var(--destaque-claro); }
@media (max-width: 720px) {
  .hub-brand__tag { display: none; }
  .hub-brand__logo { height: 34px; }
  .hub-header .hub-btn--ghost span { display: none; }
}

/* Botões genéricos */
.hub-btn { display: inline-flex; align-items: center; justify-content: center; gap: .4rem; min-height: 40px; padding: .45rem .9rem; font: inherit; font-size: .85rem; font-weight: 700; color: var(--azul); background: #fff; border: 1.5px solid var(--azul); border-radius: 8px; text-decoration: none; cursor: pointer; transition: background-color .2s, color .2s; }
.hub-btn svg { width: 16px; height: 16px; }
.hub-btn:hover { background: var(--azul); color: #fff; }
.hub-btn--ghost { border-color: transparent; background: transparent; }
.hub-btn--ghost:hover { background: #EAF3F9; color: var(--azul); }
.hub-btn[disabled] { opacity: .6; cursor: progress; }

/* ---------- Palco escuro pontilhado ---------- */
.hub-main { flex: 1; outline: none; display: flex; flex-direction: column; }
.hub-stage {
  flex: 1; color: #fff; padding-bottom: clamp(2.5rem, 6vw, 4.5rem);
  background:
    radial-gradient(ellipse 60% 40% at 50% 0%, rgba(37, 115, 163, .35), transparent 70%),
    radial-gradient(rgba(255, 255, 255, .07) 1px, transparent 1.2px) 0 0 / 22px 22px,
    linear-gradient(180deg, #0B1A2E 0%, #08131F 100%);
}
.hub-hero { text-align: center; padding: clamp(2.5rem, 6vw, 4rem) 0 0; }
.hub-hero__in > * { margin-inline: auto; }
.hub-pill { display: inline-flex; align-items: center; gap: .45rem; margin: 0 0 1.1rem; padding: .38rem .9rem; font-family: var(--mono); font-size: .7rem; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: #6FB4E8; background: rgba(37, 115, 163, .14); border: 1px solid rgba(90, 166, 214, .4); border-radius: 99px; }
html:lang(zh-Hans) .hub-pill { letter-spacing: 0; text-transform: none; }
.hub-pill svg { width: 15px; height: 15px; }
.hub-hero__t { font-size: clamp(2rem, 4.6vw, 3.1rem); font-weight: 700; letter-spacing: -.02em; color: #fff; margin: 0 0 .7rem; }
.hub-hero__sub { max-width: 66ch; color: rgba(255, 255, 255, .78); font-size: clamp(.92rem, 1.4vw, 1.02rem); line-height: 1.65; margin: 0 auto; }
.hub-hero__sub b { color: #fff; }
.hub-hero__demo { display: inline-flex; align-items: center; gap: .4rem; margin: .9rem auto 0; font-size: .76rem; font-weight: 500; color: #9FD0F0; }
.hub-hero__demo svg { width: 15px; height: 15px; }
.hub-stage :focus-visible { outline: 2px solid var(--destaque-claro); outline-offset: 2px; }

/* Cartão de consulta */
.hub-search { max-width: 1200px; margin: 2.25rem auto 0; text-align: left; padding: clamp(1.1rem, 2.5vw, 1.5rem); background: rgba(14, 34, 56, .6); border: 1px solid rgba(90, 166, 214, .25); border-radius: 18px; box-shadow: 0 24px 60px rgba(0, 0, 0, .35); backdrop-filter: blur(6px); }
.hub-search__row { display: grid; grid-template-columns: 1fr 1fr auto; gap: .9rem; align-items: start; }
.hub-sfield label { display: block; height: 1rem; line-height: 1rem; margin: 0 0 .4rem .9rem; font-family: var(--mono); font-size: .64rem; font-weight: 500; letter-spacing: .08em; text-transform: uppercase; color: rgba(190, 210, 230, .75); }
html:lang(zh-Hans) .hub-sfield label { font-family: inherit; letter-spacing: 0; text-transform: none; font-size: .76rem; }
.hub-sfield__box { display: flex; align-items: center; gap: .6rem; min-height: 50px; padding: 0 1rem; background: #0A1626; border: 1px solid rgba(255, 255, 255, .13); border-radius: 10px; transition: border-color .2s, box-shadow .2s; }
.hub-sfield__box svg { width: 18px; height: 18px; color: #6FB4E8; }
.hub-sfield__box:focus-within { border-color: #6FB4E8; box-shadow: 0 0 0 3px rgba(90, 166, 214, .22); }
.hub-sfield__box input { flex: 1; min-width: 0; min-height: 48px; padding: 0; font-family: var(--mono); font-size: .95rem; font-weight: 500; color: #fff; background: transparent; border: 0; outline: none; letter-spacing: .02em; }
.hub-sfield__box input::placeholder { color: rgba(255, 255, 255, .35); }
.hub-sfield:has(input[aria-invalid="true"]) .hub-sfield__box { border-color: #8CC8EE; box-shadow: 0 0 0 2px rgba(140, 200, 238, .35); }
.hub-search .hub-field__err { color: #A9D6F2; font-weight: 700; margin-left: .9rem; }
.hub-search__btn { display: inline-flex; align-items: center; justify-content: center; gap: .55rem; min-height: 50px; margin-top: 1.4rem; padding: 0 1.75rem; font: inherit; font-size: .82rem; font-weight: 700; letter-spacing: .04em; text-transform: uppercase; color: #fff; background: var(--hub-blue); border: 0; border-radius: 10px; cursor: pointer; white-space: nowrap; box-shadow: 0 10px 26px rgba(45, 127, 193, .45); transition: background-color .2s, transform .2s; }
html:lang(zh-Hans) .hub-search__btn { letter-spacing: 0; }
.hub-search__btn svg { width: 17px; height: 17px; }
.hub-search__btn:hover { background: #3A90D4; }
.hub-search__btn:active { transform: translateY(1px); }
.hub-search__btn[disabled] { opacity: .75; cursor: progress; }
.hub-search__foot { display: flex; flex-wrap: wrap; align-items: flex-start; justify-content: space-between; gap: .75rem 1.5rem; margin-top: 1.1rem; padding-top: 1rem; border-top: 1px solid rgba(255, 255, 255, .08); }
.hub-search__lgpd { flex: 1 1 420px; }
.hub-search .hub-check { color: rgba(255, 255, 255, .66); font-size: .74rem; line-height: 1.5; }
.hub-search .hub-check > span > svg { width: 14px; height: 14px; color: var(--hub-green); vertical-align: -2px; margin-right: .35rem; display: inline; }
.hub-search .hub-check a { color: #8CC8EE; }
.hub-search .hub-check input { accent-color: var(--hub-blue); }
.hub-try__l { font-family: var(--mono); font-size: .64rem; font-weight: 500; letter-spacing: .08em; text-transform: uppercase; color: rgba(190, 210, 230, .7); margin-right: .2rem; }
.hub-hero [data-lookup-out] { max-width: 1200px; text-align: left; }
@media (max-width: 760px) {
  .hub-search__row { grid-template-columns: 1fr; }
  .hub-search__btn { margin-top: .25rem; width: 100%; }
}

/* ---------- Cartão do processo ---------- */
.hub-result { margin-top: 1.75rem; }
.hub-board { color: var(--hub-ink); background: #fff; border-radius: 24px; box-shadow: 0 30px 80px rgba(0, 0, 0, .45); overflow: hidden; scroll-margin-top: 90px; outline: none; }
.hub-board__head { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: flex-start; gap: 1.25rem 2rem; padding: clamp(1.25rem, 3vw, 2rem) clamp(1.1rem, 3vw, 2.25rem); background: var(--hub-soft); border-bottom: 1px solid var(--hub-line); }
.hub-board__meta { flex: 1 1 620px; display: grid; grid-template-columns: max-content minmax(0, 1fr) minmax(0, 1.25fr); gap: 1.25rem 2.25rem; min-width: 0; }
.hub-m { min-width: 0; display: flex; flex-direction: column; gap: .2rem; }
.hub-m--upd { grid-column: 1 / -1; }
.hub-m__l { display: inline-flex; align-items: center; gap: .3rem; font-family: var(--mono); font-size: .64rem; font-weight: 700; letter-spacing: .07em; text-transform: uppercase; color: var(--hub-mute2); }
html:lang(zh-Hans) .hub-m__l { font-family: inherit; letter-spacing: 0; text-transform: none; font-size: .74rem; }
.hub-m__l svg { width: 13px; height: 13px; }
.hub-board__id { font-size: clamp(1.3rem, 2.2vw, 1.6rem); font-weight: 700; letter-spacing: -.01em; color: var(--hub-ink); white-space: nowrap; }
.hub-m__v { font-size: .9rem; line-height: 1.35; color: var(--hub-ink); }
.hub-m__mono { font-family: var(--mono); font-size: .74rem; color: var(--hub-mute2); }
.hub-m__t { font-size: .85rem; color: #344054; }
.hub-arrow { color: var(--hub-blue); }
.hub-board__pills { flex: 0 1 430px; display: flex; flex-wrap: wrap; justify-content: flex-end; align-content: flex-start; gap: .45rem; }
.hub-p { display: inline-flex; align-items: center; gap: .35rem; min-height: 30px; padding: .25rem .8rem; font: inherit; font-size: .74rem; font-weight: 600; border: 1px solid transparent; border-radius: 99px; white-space: nowrap; }
.hub-p svg { width: 13px; height: 13px; }
.hub-p--blue { color: var(--hub-blue-d); background: var(--hub-blue-bg); border-color: var(--hub-blue-bd); }
.hub-p--green { color: var(--hub-green-d); background: var(--hub-green-bg); border-color: var(--hub-green-bd); }
.hub-p--gray { color: #344054; background: #EEF1F5; }
button.hub-p { cursor: pointer; }
button.hub-p:hover { filter: brightness(.96); }
button.hub-p[disabled] { opacity: .6; cursor: progress; }
@media (max-width: 860px) {
  .hub-board__meta { grid-template-columns: 1fr 1fr; }
  .hub-board__pills { justify-content: flex-start; flex-basis: 100%; }
}
@media (max-width: 520px) { .hub-board__meta { grid-template-columns: 1fr; } }

/* Indicadores */
.hub-kpiband { padding: 1.5rem clamp(1.1rem, 3vw, 2.25rem); background: var(--hub-soft); border-bottom: 1px solid var(--hub-line); }
.hub-kpis { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: .85rem; }
.hub-kpi { display: flex; flex-direction: column; align-items: flex-start; gap: .45rem; min-width: 0; padding: .9rem 1rem; background: #fff; border: 1px solid var(--hub-line); border-radius: 12px; box-shadow: 0 1px 2px rgba(16, 24, 40, .05); }
.hub-kpi > span:first-child { font-family: var(--mono); font-size: .6rem; font-weight: 700; letter-spacing: .07em; text-transform: uppercase; color: var(--hub-mute2); }
html:lang(zh-Hans) .hub-kpi > span:first-child { font-family: inherit; letter-spacing: 0; text-transform: none; font-size: .72rem; }
.hub-kpi b { font-size: .82rem; line-height: 1.35; color: var(--hub-ink); overflow-wrap: anywhere; }
.hub-kpi__ok, .hub-kpi__warn { display: inline-flex; align-items: center; gap: .35rem; }
.hub-kpi__ok svg, .hub-kpi__warn svg { width: 15px; height: 15px; }
.hub-kpi .hub-kpi__ok { color: var(--hub-green-d); }
.hub-kpi .hub-kpi__warn { color: var(--hub-blue-d); }
@media (max-width: 1100px) { .hub-kpis { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
@media (max-width: 600px) { .hub-kpis { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: .6rem; } }

.hub-board__body { display: grid; gap: 2rem; padding: clamp(1.25rem, 3vw, 2.25rem); }
.hub-board__body > .hub-alert { margin-top: 0; }
[data-refresh-out]:empty { display: none; }
[data-refresh-out] { padding: .75rem clamp(1.1rem, 3vw, 2.25rem) 0; }
.hub-sec-t { font-size: 1.2rem; font-weight: 700; color: var(--hub-ink); margin: 0; letter-spacing: -.01em; }

/* Sincronização */
.hub-sync { display: flex; align-items: center; gap: 1rem; padding: 1rem 1.25rem; background: #F0F7FD; border: 1px solid #CFE4F5; border-radius: 12px; }
.hub-sync__ic { width: 36px; height: 36px; display: grid; place-items: center; border-radius: 10px; background: #fff; border: 1px solid #CFE4F5; color: var(--hub-blue); flex-shrink: 0; }
.hub-sync__ic svg { width: 17px; height: 17px; }
.hub-sync b { display: block; font-size: .76rem; font-weight: 700; letter-spacing: .03em; text-transform: uppercase; color: var(--hub-ink); }
html:lang(zh-Hans) .hub-sync b { text-transform: none; }
.hub-sync p { margin: .15rem 0 0; font-size: .8rem; color: var(--hub-blue-d); }

/* Linha do tempo */
.hub-track { display: grid; gap: 1.1rem; }
.hub-track__head { display: flex; justify-content: space-between; align-items: flex-end; gap: 1rem; flex-wrap: wrap; }
.hub-track__pct { text-align: right; }
.hub-track__pct span { display: block; font-family: var(--mono); font-size: .6rem; font-weight: 700; letter-spacing: .07em; text-transform: uppercase; color: var(--hub-mute2); }
html:lang(zh-Hans) .hub-track__pct span { font-family: inherit; letter-spacing: 0; text-transform: none; }
.hub-track__pct b { font-size: 2rem; font-weight: 700; line-height: 1.1; color: var(--hub-blue); }
.hub-track__pct b.hub-na { font-size: .9rem; color: var(--hub-mute); }
.hub-track__bar { height: 8px; background: #EEF2F6; border-radius: 99px; overflow: hidden; margin-top: -.35rem; }
.hub-track__bar i { display: block; height: 100%; border-radius: 99px; background: linear-gradient(90deg, var(--hub-blue), #22A6B3 60%, var(--hub-green)); transition: width .6s var(--ease); }

/* Status atual (caixa escura) */
.hub-now { padding: 1.1rem 1.4rem; background: var(--hub-ink); color: #fff; border-radius: 14px; box-shadow: 0 14px 34px rgba(11, 26, 46, .22); }
.hub-now__t { display: flex; align-items: center; gap: .55rem; margin: 0 0 .7rem; font-family: var(--mono); font-size: .7rem; font-weight: 700; letter-spacing: .07em; text-transform: uppercase; color: #3DDC97; }
html:lang(zh-Hans) .hub-now__t { font-family: inherit; letter-spacing: 0; text-transform: none; font-size: .8rem; }
.hub-now__t i { width: 8px; height: 8px; border-radius: 50%; background: #3DDC97; box-shadow: 0 0 0 4px rgba(61, 220, 151, .18); flex-shrink: 0; }
.hub-now__txt { margin: 0; padding-left: .9rem; border-left: 2px solid #3DDC97; font-size: .98rem; font-weight: 600; color: #fff; line-height: 1.5; }
.hub-now__more { margin: .55rem 0 0; padding-left: .9rem; border-left: 2px solid rgba(255, 255, 255, .2); font-size: .82rem; color: rgba(255, 255, 255, .72); }
.hub-now__pend { display: grid; gap: .35rem; margin-top: .8rem; padding-top: .7rem; border-top: 1px solid rgba(255, 255, 255, .12); }
.hub-now__pend li { display: flex; gap: .45rem; font-size: .8rem; font-weight: 500; color: #A9D6F2; }
.hub-now__pend svg { width: 15px; height: 15px; margin-top: .12rem; }
.hub-now__pend small { color: rgba(255, 255, 255, .6); font-weight: 400; }

/* Etapas em círculos */
.hub-steps { display: grid; grid-template-columns: repeat(var(--n, 6), minmax(0, 1fr)); margin-top: .75rem; }
.hub-steps__i { position: relative; display: flex; flex-direction: column; align-items: center; text-align: center; gap: .3rem; padding: 0 .4rem; min-width: 0; }
.hub-steps__i::before { content: ''; position: absolute; top: 26px; left: -50%; right: 50%; height: 3px; background: var(--hub-line); z-index: 0; }
.hub-steps__i:first-child::before { display: none; }
.hub-steps__dot { width: 54px; height: 54px; display: grid; place-items: center; margin-bottom: .4rem; border-radius: 50%; background: #F2F4F7; border: 2px solid #E4E7EC; color: var(--hub-mute); position: relative; z-index: 1; }
.hub-steps__dot svg { width: 22px; height: 22px; }
.hub-steps__num { font-family: var(--mono); font-size: .8rem; font-weight: 700; }
.is-done .hub-steps__dot { background: var(--hub-green); border-color: var(--hub-green); color: #fff; box-shadow: 0 0 0 6px var(--hub-green-bg); }
.is-run .hub-steps__dot { background: var(--hub-blue); border-color: var(--hub-blue); color: #fff; box-shadow: 0 0 0 6px #E3F0FB, 0 8px 20px rgba(45, 127, 193, .35); }
.is-wait .hub-steps__dot { background: #fff; border-color: var(--hub-blue); color: var(--hub-blue); box-shadow: 0 0 0 6px #E3F0FB; }
.is-released .hub-steps__dot { background: var(--noite); border-color: var(--noite); color: #fff; box-shadow: 0 0 0 6px #E6EAF0; }
.hub-steps__n { font-family: var(--mono); font-size: .62rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: #98A2B3; }
html:lang(zh-Hans) .hub-steps__n { font-family: inherit; letter-spacing: 0; text-transform: none; }
.hub-steps__t { font-size: .88rem; line-height: 1.3; color: var(--hub-ink); }
.hub-steps__tag { font-family: var(--mono); font-size: .58rem; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; color: var(--hub-blue-d); background: var(--hub-blue-bg); border: 1px solid var(--hub-blue-bd); border-radius: 4px; padding: .12rem .45rem; max-width: 100%; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.hub-steps__d { margin: .25rem 0 0; max-width: 26ch; font-size: .74rem; line-height: 1.5; color: var(--hub-mute); }
@media (max-width: 860px) {
  .hub-steps { grid-template-columns: 1fr; margin-top: 0; }
  .hub-steps__i { display: grid; grid-template-columns: 54px 1fr; column-gap: 1rem; row-gap: .2rem; text-align: left; align-items: start; justify-items: start; padding: 0 0 1.4rem; }
  .hub-steps__i > :not(.hub-steps__dot) { grid-column: 2; }
  .hub-steps__dot { grid-row: 1 / span 6; margin: 0; }
  .hub-steps__i::before { display: block !important; left: 25.5px; right: auto; top: 60px; bottom: 0; width: 3px; height: auto; }
  .hub-steps__i:last-child::before { display: none !important; }
  .hub-steps__d { max-width: none; }
}

/* Status em pílula (texto + ícone + cor; verde = concluído, como no modelo) */
.hub-stage .st { font-size: .7rem; font-weight: 600; padding: .22rem .6rem; border: 1px solid transparent; }
.hub-stage .st svg { width: 12px; height: 12px; }
.hub-stage .st--done { background: var(--hub-green-bg); color: var(--hub-green-d); border-color: var(--hub-green-bd); }
.hub-stage .st--run { background: var(--hub-blue-bg); color: var(--hub-blue-d); border-color: var(--hub-blue-bd); }
.hub-stage .st--wait { background: #EAF3F9; color: #1D4E6E; border-color: #B9D6EA; }
.hub-stage .st--todo { background: #F2F4F7; color: #475467; border-color: #E4E7EC; }
.hub-stage .st--released { background: var(--noite); color: #fff; }
.hub-stage .st--off { background: #EDEFF2; color: var(--grafite); }
.hub-stage .st--cancel { background: #fff; color: #1D5E86; border-color: #1D5E86; }

/* Informações do processo + avisos */
.hub-split { display: grid; grid-template-columns: minmax(0, 1.65fr) minmax(0, 1fr); gap: 2rem; align-items: start; padding-top: 2rem; border-top: 1px solid #EEF1F5; }
.hub-split:has(> :only-child) { grid-template-columns: 1fr; }
@media (max-width: 960px) { .hub-split { grid-template-columns: 1fr; } }
.hub-info2 .hub-sec-t { margin-bottom: 1rem; }
.hub-mini3 { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: .75rem; }
.hub-mini { padding: .9rem 1rem; background: #FCFCFD; border: 1px solid var(--hub-line); border-radius: 12px; min-width: 0; }
.hub-mini__l { display: flex; align-items: center; gap: .3rem; margin: 0 0 .35rem; font-family: var(--mono); font-size: .6rem; font-weight: 700; letter-spacing: .07em; text-transform: uppercase; color: var(--hub-mute2); }
html:lang(zh-Hans) .hub-mini__l { font-family: inherit; letter-spacing: 0; text-transform: none; font-size: .72rem; }
.hub-mini__l svg { width: 12px; height: 12px; }
.hub-mini b { font-size: .84rem; line-height: 1.35; overflow-wrap: anywhere; }
.hub-od { margin-top: .85rem; padding: 1rem 1.25rem; background: var(--hub-soft); border: 1px solid var(--hub-line); border-radius: 14px; }
.hub-od__row { display: flex; align-items: center; justify-content: space-between; gap: 1rem; margin-top: .5rem; }
.hub-od__pt { display: flex; align-items: center; gap: .75rem; min-width: 0; }
.hub-od__pt--dest { flex-direction: row-reverse; text-align: right; }
.hub-od__ic { width: 38px; height: 38px; display: grid; place-items: center; border-radius: 10px; background: #E3F0FB; color: var(--hub-blue); flex-shrink: 0; }
.hub-od__pt--dest .hub-od__ic { background: var(--hub-green-bg); color: var(--hub-green-d); }
.hub-od__ic svg { width: 18px; height: 18px; }
.hub-od small { display: block; font-family: var(--mono); font-size: .58rem; font-weight: 700; letter-spacing: .07em; text-transform: uppercase; color: #98A2B3; }
.hub-od b { font-size: .92rem; }
.hub-od__arrow { width: 32px; height: 32px; display: grid; place-items: center; border-radius: 50%; border: 1px solid #E4E7EC; background: #fff; color: #98A2B3; flex-shrink: 0; }
.hub-od__arrow svg { width: 15px; height: 15px; }
@media (max-width: 520px) { .hub-od__row { flex-direction: column; align-items: stretch; } .hub-od__pt--dest { flex-direction: row; text-align: left; } .hub-od__arrow { transform: rotate(90deg); align-self: center; } }
.hub-dates__t { margin: 1.25rem 0 .55rem !important; }
.hub-dates { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: .65rem; }
.hub-date { display: flex; flex-direction: column; gap: .2rem; padding: .8rem .9rem; background: #FCFCFD; border: 1px solid var(--hub-line); border-radius: 12px; min-width: 0; }
.hub-date__l { display: flex; justify-content: space-between; align-items: center; gap: .4rem; font-family: var(--mono); font-size: .58rem; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; color: var(--hub-mute2); }
html:lang(zh-Hans) .hub-date__l { font-family: inherit; letter-spacing: 0; text-transform: none; font-size: .7rem; }
.hub-date__l svg { width: 14px; height: 14px; flex-shrink: 0; }
.hub-date b { font-size: .84rem; }
.hub-date small { font-size: .7rem; color: #98A2B3; }
.hub-date--done { background: var(--hub-green-bg); border-color: var(--hub-green-bd); }
.hub-date--done .hub-date__l, .hub-date--done small { color: var(--hub-green-d); }
.hub-date--est { background: var(--hub-blue-bg); border-color: var(--hub-blue-bd); }
.hub-date--est .hub-date__l, .hub-date--est small { color: var(--hub-blue-d); }
@media (max-width: 640px) { .hub-mini3 { grid-template-columns: 1fr; } .hub-dates { grid-template-columns: 1fr 1fr; } }

/* Blocos recolhidos */
.hub-more { margin-top: 1rem; border: 1px solid var(--hub-line); border-radius: 12px; background: #fff; }
.hub-more > summary { display: flex; align-items: center; gap: .6rem; padding: .85rem 1rem; font-size: .86rem; font-weight: 700; color: var(--hub-ink); cursor: pointer; list-style: none; border-radius: 12px; }
.hub-more > summary::-webkit-details-marker { display: none; }
.hub-more > summary svg { width: 17px; height: 17px; color: var(--hub-blue); }
.hub-more > summary svg:last-child { margin-left: auto; color: #98A2B3; transition: transform .2s; }
.hub-more[open] > summary svg:last-child { transform: rotate(180deg); }
.hub-more > summary:hover { background: var(--hub-soft); }
.hub-more__in { padding: 0 1rem 1rem; }

/* Cartão escuro de avisos por e-mail */
.hub-acard { position: relative; padding: 1.5rem; color: #fff; background: linear-gradient(160deg, #10284A 0%, #0B1A2E 70%); border: 1px solid rgba(90, 166, 214, .2); border-radius: 18px; box-shadow: 0 20px 44px rgba(11, 26, 46, .3); scroll-margin-top: 90px; }
.hub-acard__ic { width: 42px; height: 42px; display: grid; place-items: center; border-radius: 10px; background: rgba(45, 127, 193, .2); border: 1px solid rgba(90, 166, 214, .45); color: #8CC8EE; }
.hub-acard__ic svg { width: 20px; height: 20px; }
.hub-acard h3 { margin: 1rem 0 .45rem; font-size: 1.12rem; color: #fff; }
.hub-acard__txt { margin: 0 0 1.25rem; font-size: .8rem; line-height: 1.6; color: rgba(255, 255, 255, .72); }
.hub-acard__form { display: grid; gap: .8rem; }
.hub-acard .hub-field label { font-family: var(--mono); font-size: .62rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: rgba(255, 255, 255, .62); margin-bottom: .4rem; }
html:lang(zh-Hans) .hub-acard .hub-field label { font-family: inherit; letter-spacing: 0; text-transform: none; font-size: .74rem; }
.hub-acard .hub-field input { min-height: 46px; color: #fff; background: rgba(255, 255, 255, .04); border: 1px solid rgba(255, 255, 255, .16); border-radius: 10px; font-size: .9rem; }
.hub-acard .hub-field input::placeholder { color: rgba(255, 255, 255, .35); }
.hub-acard .hub-field input:focus { border-color: #6FB4E8; box-shadow: 0 0 0 3px rgba(90, 166, 214, .22); }
.hub-acard .hub-check { font-size: .7rem; line-height: 1.5; color: rgba(255, 255, 255, .66); }
.hub-acard .hub-check a { color: #8CC8EE; }
.hub-acard .hub-check input { width: 16px; height: 16px; accent-color: var(--hub-blue); }
.hub-acard .hub-field__err { color: #A9D6F2; font-weight: 700; }
.hub-acard__btn { display: inline-flex; align-items: center; justify-content: center; gap: .5rem; width: 100%; min-height: 46px; font: inherit; font-size: .8rem; font-weight: 700; letter-spacing: .05em; text-transform: uppercase; color: #fff; background: var(--hub-blue); border: 0; border-radius: 10px; cursor: pointer; box-shadow: 0 10px 24px rgba(45, 127, 193, .4); }
html:lang(zh-Hans) .hub-acard__btn { letter-spacing: 0; }
.hub-acard__btn svg { width: 17px; height: 17px; }
.hub-acard__btn:hover { background: #3A90D4; }
.hub-acard__btn[disabled] { opacity: .7; cursor: progress; }
.hub-acard .hub-alert { margin-top: 0; }
.hub-acard__foot { display: flex; justify-content: space-between; align-items: center; gap: 1rem; margin: 1.4rem 0 0; padding-top: .9rem; border-top: 1px solid rgba(255, 255, 255, .1); font-family: var(--mono); font-size: .66rem; color: rgba(255, 255, 255, .55); }
.hub-acard__foot i { width: 9px; height: 9px; border-radius: 50%; background: #3DDC97; box-shadow: 0 0 10px rgba(61, 220, 151, .7); flex-shrink: 0; }
.hub-alerts__done { display: flex; gap: .75rem; padding: 1rem; background: rgba(255, 255, 255, .06); border-left: 3px solid #3DDC97; border-radius: 10px; color: #fff; }
.hub-alerts__done > svg { width: 22px; height: 22px; color: #3DDC97; margin-top: .1rem; }
.hub-alerts__done p { margin: 0 0 .35rem; font-size: .84rem; overflow-wrap: anywhere; }
.hub-alerts__done .hub-small { color: rgba(255, 255, 255, .65); font-size: .75rem; }
.hub-acard__again { margin-top: .3rem; padding: 0; font: inherit; font-size: .8rem; font-weight: 700; color: #8CC8EE; background: none; border: 0; cursor: pointer; text-decoration: underline; }

/* Documentos em cartões */
.hub-docs2 { padding-top: 2rem; border-top: 1px solid #EEF1F5; }
.hub-docs2__head { display: flex; justify-content: space-between; align-items: flex-end; gap: 1rem; flex-wrap: wrap; margin-bottom: 1.25rem; }
.hub-docs2__head p { margin: .3rem 0 0; font-size: .8rem; color: var(--hub-mute); }
.hub-docs2__n { font-family: var(--mono); font-size: .72rem; color: #98A2B3; }
.hub-docs2__n b { color: var(--hub-ink); }
.hub-dgrid { display: grid; grid-template-columns: repeat(auto-fill, minmax(230px, 1fr)); gap: 1rem; }
.hub-dcard { display: flex; flex-direction: column; gap: .3rem; padding: 1.15rem; background: #FCFCFD; border: 1px solid var(--hub-line); border-radius: 14px; min-width: 0; }
.hub-dcard__top { display: flex; justify-content: space-between; align-items: flex-start; gap: .5rem; margin-bottom: .55rem; }
.hub-dcard__ic { width: 34px; height: 34px; display: grid; place-items: center; border-radius: 8px; background: var(--hub-blue-bg); color: var(--hub-blue); }
.hub-dcard__ic svg { width: 18px; height: 18px; }
.hub-dcard__cat { font-family: var(--mono); font-size: .58rem; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; color: #98A2B3; }
html:lang(zh-Hans) .hub-dcard__cat { font-family: inherit; letter-spacing: 0; font-size: .7rem; }
.hub-dcard__t { font-size: .86rem; line-height: 1.35; color: var(--hub-ink); }
.hub-dcard__sub { font-size: .74rem; color: var(--hub-mute); }
.hub-dcard__meta { display: flex; justify-content: space-between; align-items: flex-start; gap: .75rem; margin-top: .45rem; font-family: var(--mono); font-size: .64rem; line-height: 1.5; color: #98A2B3; }
.hub-dcard__area { font-weight: 700; color: var(--hub-blue); text-align: right; text-transform: uppercase; }
.hub-dcard__act { display: flex; gap: .5rem; margin-top: auto; padding-top: 1rem; }
.hub-dcard__view { flex: 1; display: inline-flex; align-items: center; justify-content: center; gap: .4rem; min-height: 36px; font: inherit; font-size: .78rem; font-weight: 700; color: #fff; background: var(--hub-blue); border: 0; border-radius: 8px; cursor: pointer; }
.hub-dcard__view:hover { background: #3A90D4; }
.hub-dcard__view svg { width: 15px; height: 15px; }
.hub-dcard__dl { width: 36px; height: 36px; display: grid; place-items: center; font: inherit; color: #475467; background: #fff; border: 1px solid #E4E7EC; border-radius: 8px; cursor: pointer; flex-shrink: 0; }
.hub-dcard__dl:hover { border-color: var(--hub-blue); color: var(--hub-blue); }
.hub-dcard__dl svg { width: 15px; height: 15px; }
.hub-dcard__view[disabled], .hub-dcard__dl[disabled] { opacity: .6; cursor: progress; }
.hub-dcard__na { flex: 1; display: grid; place-items: center; min-height: 36px; font-size: .74rem; color: #98A2B3; background: #F2F4F7; border: 1px solid #E4E7EC; border-radius: 8px; }
.hub-doc__msg { font-size: .76rem; font-weight: 700; color: #1D5E86; margin: .35rem 0 0; }

/* Rodapé do cartão */
.hub-board__foot { display: flex; justify-content: space-between; align-items: center; gap: .5rem 1.5rem; flex-wrap: wrap; padding: 1rem clamp(1.1rem, 3vw, 2.25rem); background: var(--hub-soft); border-top: 1px solid #EEF1F5; font-size: .76rem; color: var(--hub-mute); }
.hub-board__foot .hub-mono { font-size: .7rem; font-weight: 700; color: #98A2B3; }

/* Ajuda (sem processo) e link da Home, sobre o fundo escuro */
.hub-help { display: flex; align-items: center; gap: 1rem; flex-wrap: wrap; max-width: 1200px; margin: 0 auto; padding: 1.1rem 1.25rem; color: #fff; background: rgba(255, 255, 255, .04); border: 1px solid rgba(255, 255, 255, .1); border-radius: 14px; }
.hub-help > svg { width: 22px; height: 22px; color: #8CC8EE; }
.hub-help > div { flex: 1 1 320px; }
.hub-help b { font-size: .92rem; }
.hub-help p { margin: .2rem 0 0; font-size: .84rem; color: rgba(255, 255, 255, .68); }
.hub-help .hub-btn { color: #fff; background: transparent; border-color: rgba(255, 255, 255, .35); }
.hub-help .hub-btn:hover { background: #fff; color: var(--hub-ink); }
.hub-embed__more { margin: 1.5rem 0 0; text-align: center; font-size: .88rem; color: rgba(255, 255, 255, .65); }
.hub-embed__more a { color: #8CC8EE; font-weight: 700; }

/* Textos auxiliares e campos genéricos */
.hub-muted { color: var(--grafite); }
.hub-small { font-size: .85rem; }
.hub-na { color: var(--hub-mute); font-weight: 500; font-style: italic; }
.hub-empty { color: var(--hub-mute); padding: 1.25rem; text-align: center; border: 1.5px dashed var(--hub-line); border-radius: 12px; margin: 0; font-size: .9rem; }
.hub-forecast { font-style: italic; }
.hub-check { display: flex; gap: .6rem; align-items: flex-start; font-size: .82rem; line-height: 1.5; color: var(--grafite); cursor: pointer; }
.hub-check input { width: 18px; height: 18px; margin: .1rem 0 0; flex-shrink: 0; accent-color: var(--azul); }
.hub-check a { color: var(--destaque); font-weight: 500; }
.hub-field label { display: block; font-size: .85rem; font-weight: 500; margin-bottom: .35rem; }
.hub-field input { width: 100%; min-height: 46px; padding: .65rem .85rem; font: inherit; font-size: 1rem; color: var(--azul); border: 1.5px solid #B9C1CC; border-radius: 8px; background: #fff; outline: none; }
.hub-field__err { font-size: .78rem; color: var(--destaque); font-weight: 500; margin: .3rem 0 0; }
.hub-loading { display: flex; align-items: center; gap: .6rem; color: var(--hub-mute); font-weight: 500; margin: 0; }
.hub-spin { width: 16px; height: 16px; border-radius: 50%; border: 2.5px solid currentColor; border-right-color: transparent; animation: hubSpin .8s linear infinite; display: inline-block; flex-shrink: 0; }
@keyframes hubSpin { to { transform: rotate(360deg); } }
@media (prefers-reduced-motion: reduce) { .hub-spin, .hub-boot .logo__symbol { animation: none; } .hub-track__bar i { transition: none; } }

/* Alertas */
.hub-alert { display: flex; gap: .75rem; padding: 1rem 1.1rem; border-radius: 10px; border-left: 4px solid; margin-top: 1rem; color: var(--azul); }
.hub-alert svg { width: 20px; height: 20px; margin-top: .1rem; }
.hub-alert p { margin: 0; }
.hub-alert--info { background: #E9EEF4; border-color: var(--azul); color: var(--azul); }
.hub-alert--warn { background: #EAF3F9; border-color: var(--destaque); color: #1D4E6E; }
.hub-alert--error { background: #E8F1F7; border-color: var(--destaque); color: #123B57; }
.hub-alert__actions { margin-top: .5rem !important; font-weight: 700; }
.hub-alert__actions a { color: inherit; }

/* Informações aduaneiras (dentro de "Detalhes aduaneiros") */
.hub-info { display: grid; grid-template-columns: repeat(2, 1fr); gap: .85rem; }
.hub-info__item { border: 1px solid var(--hub-line); border-radius: 10px; padding: 1rem; min-width: 0; }
.hub-info__item--wide { grid-column: 1 / -1; }
.hub-info__item h3 { font-size: .86rem; margin-bottom: .65rem; }
.hub-info__item h4 { font-size: .7rem; font-weight: 500; text-transform: uppercase; letter-spacing: .05em; color: var(--grafite); margin: .7rem 0 .35rem; }
html:lang(zh-Hans) .hub-info__item h4 { text-transform: none; letter-spacing: 0; }
@media (max-width: 600px) { .hub-info { grid-template-columns: 1fr; } }
.hub-table-wrap { overflow-x: auto; }
.hub-table { width: 100%; border-collapse: collapse; font-size: .84rem; }
.hub-table th { text-align: left; font-family: var(--mono); font-size: .62rem; font-weight: 700; text-transform: uppercase; letter-spacing: .05em; color: var(--hub-mute2); padding: .45rem .55rem; border-bottom: 2px solid var(--hub-ink); }
.hub-table td { padding: .6rem .55rem; border-bottom: 1px solid var(--hub-line); vertical-align: top; }
.hub-table td.tabular { font-weight: 700; white-space: nowrap; }
.hub-kv { display: grid; gap: .55rem; margin: 0; }
.hub-kv div { display: flex; justify-content: space-between; gap: 1rem; align-items: baseline; flex-wrap: wrap; }
.hub-kv dt { font-size: .8rem; color: var(--grafite); }
.hub-kv dd { margin: 0; font-weight: 700; text-align: right; }
.hub-docs-split { display: grid; grid-template-columns: 1fr 1fr; gap: .75rem; }
.hub-docs-split h4 { margin-top: 0 !important; }
.hub-ticks { display: grid; gap: .35rem; font-size: .82rem; }
.hub-ticks li { display: flex; gap: .4rem; align-items: flex-start; }
.hub-ticks svg { width: 14px; height: 14px; margin-top: .2rem; }
.hub-ticks .ok svg { color: var(--hub-green); }
.hub-ticks .pend { color: #1D4E6E; font-weight: 500; }
.hub-note { display: flex; gap: .4rem; font-size: .76rem; color: var(--grafite); margin: .7rem 0 0; }
.hub-note svg { width: 14px; height: 14px; margin-top: .15rem; }

/* Diálogo de documento (demo) */
.hub-dialog { border: 0; border-radius: 16px; padding: 2rem; max-width: 440px; width: calc(100% - 32px); text-align: center; box-shadow: var(--shadow-lg); color: var(--azul); }
.hub-dialog::backdrop { background: rgba(8, 19, 31, .7); }
.hub-dialog__doc { width: 56px; height: 56px; margin: 0 auto 1rem; color: var(--azul); }
.hub-dialog h2 { font-size: 1.15rem; }

/* Rodapé (página própria) */
.hub-footer { background: #08131F; border-top: 1px solid rgba(255, 255, 255, .08); font-size: .78rem; color: rgba(255, 255, 255, .6); }
.hub-footer__in { display: flex; justify-content: space-between; gap: .5rem 2rem; flex-wrap: wrap; padding-block: 1.1rem; }
.hub-footer span { display: inline-flex; align-items: center; gap: .4rem; }
.hub-footer svg { width: 14px; height: 14px; }
.hub-footer a { color: #8CC8EE; }

/* Diagnóstico técnico da consulta (só no preview local) */
.hub-diag { margin: .75rem 0 0; padding: .6rem .7rem; font-size: .76rem; line-height: 1.45; color: #1D4E6E; background: #F4F9FC; border: 1px dashed var(--destaque); border-radius: 6px; overflow-wrap: anywhere; }
.hub-diag code { font-family: var(--mono); font-size: .74rem; }

/* Embutido na Home */
.portal-home { padding: 0; background: #08131F; scroll-margin-top: var(--header-h); }
.portal-home__noscript { padding: 3rem var(--gutter); text-align: center; color: #fff; }

/* Logo branco acima do título do rastreamento (13/11/2026) */
.hub-hero__logo { display: block; width: auto; height: clamp(56px, 7vw, 76px); margin: 0 auto 1.1rem; }
/* Indicador de fase no rodapé da consulta: a Sassmar atua só na F4 (modelo mostrava F1 a F5) */
.hub-search__side { display: flex; flex-direction: column; align-items: flex-end; gap: .55rem; }
.hub-phase { display: flex; align-items: center; gap: .35rem; }
.hub-phase__b { display: inline-grid; place-items: center; min-width: 38px; min-height: 26px; padding: .15rem .55rem; font-family: var(--mono); font-size: .7rem; font-weight: 700; color: #fff; background: var(--hub-blue); border: 1px solid var(--hub-blue); border-radius: 6px; box-shadow: 0 4px 12px rgba(45, 127, 193, .45); }
@media (max-width: 760px) { .hub-search__side { align-items: flex-start; } }

/* Cartão "Área restrita do cliente" (sem processo aberto), modelo de referência 13/11/2026 */
.hub-restr { color: var(--hub-ink); background: #fff; border-radius: 22px; box-shadow: 0 30px 80px rgba(0, 0, 0, .45); overflow: hidden; }
.hub-restr__in { max-width: 760px; margin: 0 auto; padding: clamp(2rem, 5vw, 2.75rem) clamp(1.1rem, 4vw, 2rem) clamp(1.75rem, 4vw, 2.25rem); text-align: center; }
.hub-restr__ic { width: 52px; height: 52px; display: grid; place-items: center; margin: 0 auto 1.1rem; border-radius: 14px; background: var(--hub-blue-bg); border: 1px solid var(--hub-blue-bd); color: var(--hub-blue); }
.hub-restr__ic svg { width: 24px; height: 24px; }
.hub-restr__t { font-size: clamp(1.15rem, 2.2vw, 1.35rem); font-weight: 700; margin: 0 0 .6rem; color: var(--hub-ink); }
.hub-restr__txt { max-width: 56ch; margin: 0 auto; font-size: .9rem; line-height: 1.65; color: var(--hub-mute); }
.hub-restr__strip { display: flex; align-items: center; justify-content: center; gap: .45rem; margin: 1.5rem 0 1rem; padding-top: 1.25rem; border-top: 1px solid #EEF1F5; font-family: var(--mono); font-size: .64rem; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; color: #475467; }
html:lang(zh-Hans) .hub-restr__strip { font-family: inherit; letter-spacing: 0; text-transform: none; font-size: .78rem; }
.hub-restr__strip svg { width: 15px; height: 15px; color: var(--hub-blue); flex-shrink: 0; }
.hub-restr__cards { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: .75rem; }
.hub-restr__cards li { display: flex; flex-direction: column; gap: .3rem; padding: 1rem .9rem; background: #FCFCFD; border: 1px solid var(--hub-line); border-radius: 12px; }
.hub-restr__cards b { font-size: .86rem; color: var(--hub-ink); }
.hub-restr__cards span { font-size: .76rem; line-height: 1.5; color: var(--hub-mute); }
.hub-restr__help { margin: 1.25rem 0 0; font-size: .8rem; color: var(--hub-mute); }
.hub-restr__help a { color: var(--hub-blue); font-weight: 700; }
@media (max-width: 640px) { .hub-restr__cards { grid-template-columns: 1fr; } .hub-restr__strip { text-align: left; } }
