/* Portal do colaborador: a linguagem do administrativo com o musgo próprio da área pessoal. */
@font-face {
    font-family: "Inter SESMT";
    src: url("../fonts/inter-latin-variable.woff2") format("woff2");
    font-style: normal;
    font-weight: 100 900;
    font-display: swap;
}

body.pc-portal {
    --pc-linte: #10242d;
    --pc-linte-2: #153b40;
    --pc-navy-900: #091a20;
    --pc-navy-800: #10242d;
    --pc-navy-700: #397f83;
    --pc-success: #4d8067;
    --pc-info: #397f83;
    --pc-amber-600: #895c30;
    --pc-amber-500: #c89b63;
    --pc-danger: #ad514b;
    --pc-ink: #193039;
    --pc-ink-soft: #62777b;
    --pc-body: #405960;
    --pc-lede: #536b71;
    --pc-line: #dce5e1;
    --pc-bg: #f3f0e9;
    --pc-card: #fff;
    --pc-radius: 16px;
    --pc-radius-sm: 9px;
    --pc-shadow-sm: 0 3px 12px rgba(15, 37, 41, .04);
    --pc-shadow-md: 0 13px 34px rgba(15, 37, 41, .07);
    --pc-shadow-lg: 0 20px 46px rgba(15, 37, 41, .12);
    --pc-font: "Inter SESMT", system-ui, sans-serif;
    margin: 0;
    background: var(--pc-bg) !important;
    color: var(--pc-body);
    font-family: var(--pc-font);
}

.pc-portal button, .pc-portal input, .pc-portal select, .pc-portal textarea { font-family: var(--pc-font); }
.pc-portal :is(a, button, input, select, textarea):focus-visible { outline: 3px solid #397f83; outline-offset: 3px; }
.pc-portal .pc-italic { font-style: normal; }
.pc-portal h1, .pc-portal h2, .pc-portal h3, .pc-portal h4 { font-family: var(--pc-font); letter-spacing: -.035em; }

/* Navegação persistente. O conteúdo continua nas mesmas rotas e controllers. */
.pc-app { display: grid; grid-template-columns: 254px minmax(0, 1fr); min-height: 100vh; }
.pc-sidebar {
    position: sticky; top: 0; z-index: 1045; height: 100vh; overflow-y: auto;
    display: flex; flex-direction: column; padding: 26px 15px 18px;
    background: linear-gradient(115deg, transparent 55%, rgba(78, 136, 119, .09)),
        linear-gradient(rgba(145, 193, 177, .035) 1px, transparent 1px),
        linear-gradient(90deg, rgba(145, 193, 177, .035) 1px, transparent 1px), #091a20;
    background-size: auto, 24px 24px, 24px 24px, auto;
    color: #b9ceca;
}
.pc-sidebar__brand { display: flex; align-items: center; gap: 11px; padding: 2px 8px 25px; border-bottom: 1px solid rgba(255, 255, 255, .12); text-decoration: none; }
.pc-sidebar__brand:hover { text-decoration: none; }
.pc-sidebar__brandmark { width: 48px; height: 48px; flex: none; display: grid; place-items: center; border-radius: 11px; background: #18383d; border: 1px solid rgba(196, 222, 208, .22); overflow: hidden; }
.pc-sidebar__brandmark img { width: 38px; height: 38px; object-fit: contain; }
.pc-sidebar__brand strong { display: block; color: #fff; font-weight: 800; font-size: 15px; letter-spacing: -.05em; white-space: nowrap; }
.pc-sidebar__brand small { display: block; color: #a6c4b5; font-weight: 800; font-size: 9px; letter-spacing: .13em; white-space: nowrap; }
.pc-sidebar__label { margin: 27px 12px 10px; color: #7f9f9a; font-size: .65rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; }
.pc-sidebar__nav { display: grid; gap: 3px; }
.pc-sidebar__nav a { display: flex; align-items: center; gap: 11px; min-height: 43px; padding: 9px 13px; border: 1px solid transparent; border-radius: 10px; color: #b9cbc9; font-family: var(--pc-font); font-size: .83rem; font-weight: 500; letter-spacing: .01em; text-decoration: none; transition: background .18s, color .18s, border-color .18s; }
.pc-sidebar__nav a i { font-size: 19px; width: 20px; text-align: center; flex: none; }
.pc-sidebar__nav a:hover { color: #fff; background: rgba(255, 255, 255, .07); }
.pc-sidebar__nav a.is-active { color: #fff; background: #21363a; border-color: rgba(200, 155, 99, .25); box-shadow: inset 3px 0 var(--pc-amber-500); font-weight: 600; }
.pc-sidebar__nav a.is-active i { color: #d2ac7d; }
.pc-sidebar__footer { margin-top: auto; display: flex; gap: 10px; align-items: center; padding: 16px 11px 3px; color: #86a49b; font-size: 11px; border-top: 1px solid rgba(255,255,255,.1); }
.pc-sidebar__footer i { font-size: 18px; color: #9ec6ae; }
.pc-app__main { min-width: 0; }
.pc-sidebar-overlay[hidden], .pc-command-backdrop[hidden], .pc-command-results a[hidden], .pc-command-empty[hidden] { display: none !important; }

/* Barra superior clara, como no administrativo. */
.pc-portal .pc-topbar { position: sticky; top: 0; z-index: 1030; height: 76px; color: var(--pc-ink); background: #fff; border-bottom: 1px solid var(--pc-line); box-shadow: none; }
.pc-portal .pc-topbar-inner { width: 100%; height: 100%; padding: 0 clamp(20px, 3.5vw, 58px); gap: 15px; }
.pc-menu-toggle { display: none; }
.pc-command-trigger { display: flex; align-items: center; gap: 10px; width: min(360px, 42vw); height: 40px; padding: 0 12px; border: 1px solid #e1e9e5; border-radius: 10px; background: #f7faf8; color: #71888b; font-size: 12px; text-align: left; }
.pc-command-trigger span { flex: 1; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.pc-command-trigger i { font-size: 17px; }
.pc-command-trigger kbd, .pc-command-search kbd { color: #687e80; background: #fff; border: 1px solid #d8e3df; border-radius: 5px; padding: 2px 5px; font: 700 10px var(--pc-font); }
.pc-portal .pc-topbar-spacer { flex: 1; }
.pc-portal .pc-topbar a { color: var(--pc-ink); }
.pc-portal .pc-topbar a:hover { color: var(--pc-linte-2); }
.pc-topbar__switch { display: inline-flex; align-items: center; gap: 6px; color: var(--pc-ink-soft) !important; font-size: 11px; font-weight: 700; text-decoration: none; white-space: nowrap; }
.pc-topbar__switch i { font-size: 17px; }
.pc-portal .pc-account-btn { display: inline-flex; align-items: center; gap: 9px; border: 0; background: transparent; color: var(--pc-ink); border-radius: 9px; padding: 5px 0 5px 13px; font-size: 12px; font-weight: 750; border-left: 1px solid var(--pc-line); }
.pc-portal .pc-account-btn:hover { background: transparent; color: var(--pc-linte-2); }
.pc-account-btn__avatar { width: 34px; height: 34px; display: grid; place-items: center; border-radius: 10px; background: #e1efe7; color: #416e5c; font-size: 18px; }
.pc-portal .pc-account-btn > .ph-caret-down { font-size: 11px; color: var(--pc-ink-soft); }
.pc-portal .pc-topbar .dropdown-menu { min-width: 210px; border: 1px solid var(--pc-line) !important; border-radius: 13px; padding: 7px; box-shadow: var(--pc-shadow-lg) !important; }
.pc-portal .pc-topbar .dropdown-item { display: flex; align-items: center; gap: 9px; border-radius: 7px; color: var(--pc-ink); font-size: 12px; font-weight: 650; padding: 9px 10px; }
.pc-portal .pc-topbar .dropdown-item i { width: 17px; color: var(--pc-navy-700); font-size: 16px; }
.pc-portal .pc-topbar .dropdown-item:hover { background: #eff6f2; }
.pc-portal .sino-notificacao > .sino-btn { color: #526b70; }
.pc-portal .sino-notificacao > .sino-btn:hover,
.pc-portal .sino-notificacao > .sino-btn[aria-expanded="true"] { color: #10242d; background: #eaf2ed; }
.pc-portal .sino-notificacao .dropdown-menu { color: var(--pc-ink); }

.pc-bottom-nav { display: none; }
.pc-command-backdrop { position: fixed; z-index: 2000; inset: 0; display: flex; justify-content: center; align-items: flex-start; padding: min(18vh, 170px) 18px 18px; background: rgba(4, 21, 27, .63); backdrop-filter: blur(3px); }
.pc-command-panel { width: min(100%, 520px); max-height: min(580px, 75vh); overflow: auto; border-radius: 16px; background: #fff; box-shadow: 0 25px 70px rgba(2, 18, 21, .28); padding: 12px; }
.pc-command-search { display: flex; gap: 10px; align-items: center; border: 1px solid var(--pc-line); border-radius: 9px; background: #f7faf8; padding: 8px 11px; color: var(--pc-navy-700); }
.pc-command-search input { width: 100%; min-width: 0; background: none; outline: none !important; border: 0; color: var(--pc-ink); font-size: 14px; }
.pc-command-search input:focus-visible { outline: none; }
.pc-command-results { display: grid; gap: 2px; margin-top: 10px; }
.pc-command-results a { display: flex; gap: 11px; align-items: center; padding: 10px 12px; color: var(--pc-ink); text-decoration: none; border-radius: 8px; font-size: 13px; font-weight: 650; }
.pc-command-results a:hover, .pc-command-results a:focus-visible { background: #eaf3ee; color: #1c665b; }
.pc-command-results i { font-size: 18px; color: var(--pc-navy-700); }
.pc-command-empty { color: var(--pc-ink-soft); padding: 12px; font-size: 13px; }
body.pc-menu-open, body.pc-command-open { overflow: hidden; }

/* Tela e cabeçalhos existentes. */
.pc-portal .pc-app-content { min-height: calc(100vh - 76px); padding: 37px clamp(20px, 3.5vw, 58px) 76px; background: radial-gradient(circle at 94% 6%, rgba(130, 188, 158, .19), transparent 29%), linear-gradient(rgba(32, 84, 78, .035) 1px, transparent 1px), linear-gradient(90deg, rgba(32, 84, 78, .035) 1px, transparent 1px), var(--pc-bg); background-size: auto, 44px 44px, 44px 44px, auto; }
.pc-portal .pc-app-content > .container-fluid { padding: 0; }
.pc-portal .pc-app-content .wrapper { max-width: 1390px; margin: auto; }
.pc-portal .pc-app-content .wrapper > .container { max-width: 1390px; padding-inline: 0; }
.pc-portal .pc-shell { max-width: 1390px; padding: 0 0 42px; }
.pc-portal .pc-hero { margin-top: 0; padding: 29px 34px; border-radius: 22px; background: radial-gradient(circle at 95% 110%, rgba(73, 130, 110, .5), transparent 37%), linear-gradient(110deg, #0b2129, #12353a 72%, #1b4e49); overflow: hidden; box-shadow: 0 23px 55px rgba(8, 29, 34, .15); }
.pc-portal .pc-hero::before { content: ""; display: block; position: absolute; width: 400px; height: 400px; border: 1px solid rgba(201, 233, 213, .13); border-radius: 50%; right: -100px; top: -185px; pointer-events: none; }
.pc-portal .pc-hero::after { content: ""; display: block; position: absolute; inset: 0; background-image: linear-gradient(rgba(193, 225, 210, .035) 1px, transparent 1px), linear-gradient(90deg, rgba(193, 225, 210, .035) 1px, transparent 1px); background-size: 24px 24px; pointer-events: none; }
.pc-portal .pc-hero__row { position: relative; z-index: 1; }
.pc-portal .pc-hero h1 { margin: 7px 0 5px; font-size: clamp(1.9rem, 2.7vw, 2.55rem); letter-spacing: -.055em; line-height: 1.15; }
.pc-portal .pc-hero h1 .pc-italic { color: #dcece3; }
.pc-portal .pc-hero .pc-eyebrow { color: #d3ad7d; }
.pc-portal .pc-eyebrow { color: #397f83; font-size: 10px; font-weight: 800; letter-spacing: .15em; }
.pc-portal .pc-hero__chip { color: #e4f0eb; background: rgba(255,255,255,.075); border-color: rgba(216, 239, 226, .18); font-size: 11px; }
.pc-portal .pc-hero__avatar { width: 67px; height: 67px; border-radius: 15px; border-color: rgba(209, 235, 220, .35); }
.pc-portal .pc-home-pendencias { border-color: rgba(217, 187, 137, .37); background: rgba(255,255,255,.09); border-radius: 13px; }
.pc-portal .pc-home-pendencias__num { color: #e0b887; }
.pc-portal .pc-home-pendencias.is-ok { border-color: rgba(172, 217, 184, .4); }
.pc-portal .pc-home-pendencias.is-ok i { color: #a4dab8; }
.pc-portal .pc-section { margin-top: 35px; }
.pc-portal .pc-section__title h2 { font-size: clamp(1.27rem, 2vw, 1.5rem); letter-spacing: -.04em; }
.pc-portal .pc-section__title h2::before { display: none; }
.pc-portal .pc-section__sub { max-width: 78ch; font-size: 13px; color: var(--pc-ink-soft); }
.pc-portal .pc-voltar { color: #d3e5dd; }
.pc-portal .pc-voltar:hover { color: #fff; }

/* Componentes de todas as áreas: card, botão, formulário, estados e categorias. */
.pc-portal .pc-btn { border-radius: 8px; font-weight: 750; font-size: 12px; padding: 10px 14px; }
.pc-portal .pc-btn--navy, .pc-portal .pc-btn--dark, .pc-portal .pc-btn--amber, .pc-portal .pc-btn--musgo { background: #10242d; border-color: #10242d; color: #fff; }
.pc-portal .pc-btn--navy:hover, .pc-portal .pc-btn--dark:hover, .pc-portal .pc-btn--amber:hover, .pc-portal .pc-btn--musgo:hover { background: #21535a; border-color: #21535a; color: #fff; }
.pc-portal .pc-btn--cream { background: #fff; color: #10242d; border-color: #fff; }
.pc-portal .pc-btn--cream:hover { background: #eaf4ef; color: #10242d; }
.pc-portal .pc-btn--outline { border-color: #c8d9d2; color: #244f53; }
.pc-portal .pc-btn--outline:hover { background: #e8f2ed; border-color: #5c9b8a; color: #194b4b; }
.pc-portal .pc-btn--ghost { background: rgba(255,255,255,.06); border-color: rgba(223, 240, 226, .38); color: #fff; }
.pc-portal .pc-btn--ghost:hover { background: rgba(255,255,255,.14); color: #fff; }
.pc-portal .pc-metric, .pc-portal .pc-ficha, .pc-portal .pc-home-card, .pc-portal .pc-empty, .pc-portal .pc-rel-card, .pc-portal .pc-dds-lista { border-color: var(--pc-line); border-radius: var(--pc-radius); box-shadow: var(--pc-shadow-md); }
.pc-portal .pc-metric { padding: 17px 18px; }
.pc-portal .pc-metric__rail { background: var(--pc-navy-700); }
.pc-portal .pc-metric--amber .pc-metric__rail { background: var(--pc-amber-500); }
.pc-portal .pc-metric__icon { background: #e5f1ed; color: #377d76; }
.pc-portal .pc-metric--amber .pc-metric__icon { background: #f8eddf; color: #946b3d; }
.pc-portal .pc-metric__value { font-weight: 800; letter-spacing: -.05em; }
.pc-portal .pc-metric__label { color: var(--pc-ink-soft); font-weight: 700; }
.pc-portal .pc-ficha:hover { border-color: #8bb3a8; }
.pc-portal .pc-ficha.is-open { border-color: #63a19b; }
.pc-portal .pc-ficha__body, .pc-portal .pc-modal-footer { background: #f8faf8; }
.pc-portal .pc-ficha__caret, .pc-portal .pc-item__foto { background: #e9f2ed; color: #52887b; }
.pc-portal .pc-slot, .pc-portal .pc-upload { background: #f8faf8; }
.pc-portal .pc-status--ok { background: #e4f1e8; color: #3e7256; }
.pc-portal .pc-status--pending { background: #f7ead8; color: #895c30; }
.pc-portal .pc-status--sync { background: #e1f0eb; color: #28605d; }
.pc-portal .pc-empty { background: #f9fbf9; border-style: dashed; border-color: #cddfd6; }
.pc-portal .pc-empty__art { color: #5c9b8a; opacity: 1; }
.pc-portal .pc-item { border-color: var(--pc-line); }
.pc-portal .pc-item__qtde { color: var(--pc-ink); }
.pc-portal .pc-cat--epi { background: #f9ecdd; color: #905d2c; }
.pc-portal .pc-cat--epc { background: #e4f1ec; color: #2f706c; }
.pc-portal .pc-cat--ferramenta { background: #e7f0e8; color: #47765a; }
.pc-portal .pc-filtro { gap: 0; flex-wrap: nowrap; overflow-x: auto; margin: 0 0 17px; padding: 10px 12px 0; border-bottom: 1px solid var(--pc-line); scrollbar-width: thin; }
.pc-portal .pc-filtro__opcao { flex: none; border: 0; border-bottom: 3px solid transparent; border-radius: 0; padding: 11px 14px 13px; background: transparent; color: #647c7d; font-size: 12px; font-weight: 750; }
.pc-portal .pc-filtro__opcao:hover { color: var(--pc-ink); background: #f3f7f4; }
.pc-portal .pc-filtro__opcao.is-ativo { color: var(--pc-ink); background: transparent; border-bottom-color: var(--pc-navy-700); }
.pc-portal .pc-filtro--secondary { background: #f9fbf9; }
.pc-portal .pc-filtro__count { display: inline-flex; align-items: center; justify-content: center; min-width: 20px; padding: 1px 5px; margin-left: 4px; border-radius: 99px; background: #eaf2ed; color: #537674; font-size: 10px; }
.pc-portal .pc-filtro__opcao.is-ativo .pc-filtro__count { background: #dbece4; color: #23665d; }
.pc-portal .pc-filtro__opcao:focus-visible { outline-offset: -3px; }
.pc-portal .pc-modal .modal-content, .pc-portal .modal-content { border: 1px solid var(--pc-line); border-radius: 16px; }
.pc-portal .modal-header { background: #10242d; }
.pc-portal .modal-footer { background: #f8faf8; }
.pc-portal :is(.form-control, .form-select, .ts-control) { border-color: #cfddd6; color: var(--pc-ink); background-color: #fff; }
.pc-portal :is(.form-control, .form-select, .ts-control):focus { border-color: #4c938a; box-shadow: 0 0 0 .18rem rgba(57,127,131,.15); }
.pc-portal .form-label { color: var(--pc-ink); font-weight: 700; }

/* Visão geral: cards alimentados pelos dados reais da home. */
.pc-home-intro { display: flex; justify-content: space-between; align-items: flex-end; gap: 18px; margin-bottom: 20px; }
.pc-home-intro h1 { font-size: clamp(1.9rem, 3vw, 2.4rem); color: var(--pc-ink); margin: 3px 0 2px; }
.pc-home-intro p { margin: 0; color: var(--pc-ink-soft); font-size: 13px; }
.pc-home-intro__crumb { color: var(--pc-ink-soft); font-size: 12px; font-weight: 650; white-space: nowrap; }
.pc-home-intro__crumb strong { color: var(--pc-ink); }
.pc-home-hero .pc-hero__row { grid-template-columns: auto minmax(0, 1fr) auto; }
.pc-home-hero .pc-hero__identity h2 { margin: 7px 0 6px; color: #fff; font-size: clamp(1.8rem, 3vw, 2.6rem); line-height: 1.15; letter-spacing: -.055em; }
.pc-home-hero .pc-hero__identity > p { margin: 0; max-width: 62ch; color: #bfd5ce; font-size: 13px; }
.pc-home-hero .pc-hero__avatar { align-self: start; }
.pc-home-hero .pc-hero__actions { align-self: center; }
.pc-home-hero .pc-home-pendencias { min-width: 205px; padding: 18px; display: grid; grid-template-columns: 1fr; gap: 6px; }
.pc-home-hero .pc-home-pendencias__num { font-size: 36px; }
.pc-home-hero .pc-home-pendencias__txt { font-size: 11px; }
.pc-home-hero .pc-home-pendencias__label { color: #d9b789; text-transform: uppercase; font-size: 10px; letter-spacing: .13em; font-weight: 800; }
.pc-home-hero .pc-home-pendencias__link { display: inline-flex; width: fit-content; gap: 6px; align-items: center; margin-top: 8px; padding: 7px 10px; border-radius: 7px; background: #fff; color: #10242d; font-size: 11px; font-weight: 800; text-decoration: none; }
.pc-home-hero .pc-home-pendencias__link:hover { background: #e8f2ed; color: #10242d; }
.pc-home-priority { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 15px; }
.pc-home-priority__card { display: flex; align-items: flex-start; gap: 15px; min-width: 0; padding: 20px; background: #fff; border: 1px solid var(--pc-line); border-top: 3px solid var(--pc-amber-500); border-radius: 15px; box-shadow: var(--pc-shadow-md); text-decoration: none; color: var(--pc-body); transition: transform .2s, box-shadow .2s; }
.pc-home-priority__card:hover { transform: translateY(-3px); box-shadow: var(--pc-shadow-lg); color: var(--pc-body); }
.pc-home-priority__card--moss { border-top-color: #6b9a7b; }
.pc-home-priority__card--calm { border-top-color: #6b9a7b; background: #f9fbf8; }
.pc-home-priority__card:only-child { grid-column: 1 / -1; }
.pc-home-priority__icon { display: grid; flex: none; place-items: center; width: 43px; height: 43px; border-radius: 11px; background: #f8ecdd; color: #956b3b; font-size: 21px; }
.pc-home-priority__card--moss .pc-home-priority__icon, .pc-home-priority__card--calm .pc-home-priority__icon { background: #e5f2ea; color: #4d8067; }
.pc-home-priority__body { flex: 1; min-width: 0; }
.pc-home-priority__body small { color: #8d693e; font-size: 10px; font-weight: 800; letter-spacing: .12em; text-transform: uppercase; }
.pc-home-priority__card--moss .pc-home-priority__body small { color: #4d8067; }
.pc-home-priority__body h3 { margin: 4px 0 5px; color: var(--pc-ink); font-size: 15px; line-height: 1.34; overflow-wrap: anywhere; }
.pc-home-priority__body p { margin: 0; color: var(--pc-ink-soft); font-size: 12px; line-height: 1.5; }
.pc-home-priority__action { display: flex; align-items: center; gap: 6px; justify-content: flex-end; margin-top: 14px; color: #225c59; font-size: 11px; font-weight: 800; }
.pc-home-more { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; margin-top: 13px; color: var(--pc-ink-soft); font-size: 11px; }
.pc-home-more a { display: inline-flex; align-items: center; gap: 5px; padding: 6px 9px; border: 1px solid #cfddd5; border-radius: 7px; background: #fff; color: #2d6f67; font-weight: 750; text-decoration: none; }
.pc-home-more a:hover { background: #e9f3ed; color: #205f58; }
.pc-home-overview { display: grid; grid-template-columns: minmax(0, 1.3fr) minmax(265px, .8fr); gap: 16px; }
.pc-home-panel { background: #fff; border: 1px solid var(--pc-line); border-radius: 16px; box-shadow: var(--pc-shadow-md); overflow: hidden; }
.pc-home-panel__head { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 18px 20px 14px; border-bottom: 1px solid #e6ede9; }
.pc-home-panel__head h3 { font-size: 15px; margin: 0; }
.pc-home-panel__head p { margin: 2px 0 0; color: var(--pc-ink-soft); font-size: 11px; }
.pc-home-panel__head a { color: #286b6a; font-size: 11px; font-weight: 800; white-space: nowrap; }
.pc-home-panel__items { list-style: none; padding: 0 20px; margin: 0; }
.pc-home-panel__items li { display: flex; align-items: center; gap: 11px; padding: 13px 0; border-bottom: 1px solid #e9efeb; }
.pc-home-panel__items li:last-child { border-bottom: 0; }
.pc-home-panel__item-icon { width: 36px; height: 36px; border-radius: 9px; display: grid; place-items: center; background: #e7f2ec; color: #397f83; flex: none; }
.pc-home-panel__items strong { display: block; color: var(--pc-ink); font-size: 12px; overflow-wrap: anywhere; }
.pc-home-panel__items small { display: block; color: var(--pc-ink-soft); font-size: 10px; }
.pc-home-panel__items .pc-status { margin-left: auto; flex: none; }
.pc-home-panel__empty { padding: 28px 20px; color: var(--pc-ink-soft); font-size: 12px; }
.pc-home-stats { display: grid; grid-template-columns: 1fr 1fr; gap: 9px; padding: 19px; }
.pc-home-stats__item { background: #f8faf8; border: 1px solid #e3ebe6; border-radius: 11px; padding: 15px; }
.pc-home-stats__item strong { display: block; color: var(--pc-ink); font-size: 25px; line-height: 1; letter-spacing: -.05em; }
.pc-home-stats__item span { display: block; color: var(--pc-ink-soft); font-size: 10px; font-weight: 700; margin-top: 7px; }
.pc-home-quick { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 12px; }
.pc-home-quick a { display: flex; align-items: center; gap: 10px; min-width: 0; min-height: 75px; padding: 14px; border-radius: 13px; background: #fff; border: 1px solid var(--pc-line); box-shadow: var(--pc-shadow-sm); color: var(--pc-ink); text-decoration: none; transition: transform .18s, border-color .18s; }
.pc-home-quick a:hover { transform: translateY(-2px); border-color: #91b9a8; color: var(--pc-ink); }
.pc-home-quick__icon { display: grid; place-items: center; width: 35px; height: 35px; border-radius: 9px; flex: none; background: #e7f1ec; color: #3e817a; font-size: 18px; }
.pc-home-quick a strong { display: block; font-size: 11px; line-height: 1.3; }
.pc-home-quick a small { display: block; color: var(--pc-ink-soft); font-size: 10px; }
.pc-home-quick a > .ph-arrow-right { color: #7fa59a; margin-left: auto; }
.pc-home-safety { display: flex; align-items: center; gap: 14px; margin-top: 17px; padding: 17px 20px; background: #18383b; color: #fff; border-radius: 14px; }
.pc-home-safety > i { display: grid; place-items: center; flex: none; width: 38px; height: 38px; background: rgba(178, 221, 194, .13); border-radius: 9px; color: #aed4b9; font-size: 20px; }
.pc-home-safety div { flex: 1; }
.pc-home-safety strong { display: block; font-size: 12px; }
.pc-home-safety small { display: block; color: #c0d5ce; font-size: 11px; }
.pc-home-safety a { border: 1px solid rgba(223, 240, 226, .35); color: #fff; border-radius: 8px; padding: 8px 11px; font-size: 11px; font-weight: 800; white-space: nowrap; }
.pc-home-safety a:hover { background: rgba(255,255,255,.1); color: #fff; }

/* Fichas e equipamentos: abas e busca com resultado claro. */
.pc-list-panel { background: #fff; border: 1px solid var(--pc-line); border-radius: 17px; box-shadow: var(--pc-shadow-md); overflow: hidden; }
.pc-list-panel__intro { padding: 19px 21px 5px; }
.pc-list-panel__intro h2 { margin: 0; font-size: 17px; color: var(--pc-ink); }
.pc-list-panel__intro p { color: var(--pc-ink-soft); font-size: 12px; margin: 3px 0 0; }
.pc-list-panel .pc-filtro { margin: 0; }
.pc-list-panel__search { padding: 16px 20px; border-bottom: 1px solid var(--pc-line); }
.pc-list-panel__search label { position: relative; display: block; max-width: 460px; }
.pc-list-panel__search i { position: absolute; left: 13px; top: 50%; transform: translateY(-50%); font-size: 17px; color: #78928d; }
.pc-list-panel__search input { width: 100%; min-height: 40px; border: 1px solid #d5e2dc; border-radius: 8px; padding: 9px 13px 9px 40px; color: var(--pc-ink); background: #f9fbf9; font-size: 12px; }
.pc-list-panel__body { padding: 19px 20px 23px; }
.pc-list-panel__body .pc-fichas { gap: 12px; }
.pc-filter-empty { display: none; text-align: center; padding: 30px; color: var(--pc-ink-soft); font-size: 12px; background: #f9fbf9; border: 1px dashed var(--pc-line); border-radius: 12px; }
.pc-filter-empty i { display: block; font-size: 27px; margin-bottom: 7px; color: #5f9d8b; }
.pc-filter-empty strong { display: block; font-size: 14px; color: var(--pc-ink); }
.pc-equipment-section { border-top: 1px solid var(--pc-line); padding: 20px; }
.pc-equipment-section:first-child { border-top: 0; }
.pc-equipment-section h3 { font-size: 15px; margin: 0 0 4px; }
.pc-equipment-section > p { color: var(--pc-ink-soft); font-size: 12px; margin: 0 0 15px; }
.pc-equipment-section .pc-itens { margin: 0; }
.pc-equipment-section__empty { padding: 18px; color: var(--pc-ink-soft); background: #f8faf8; border: 1px dashed var(--pc-line); border-radius: 10px; font-size: 12px; }
.pc-equipment-section__empty[hidden] { display: none; }
.pc-portal .pc-equipment-metrics { grid-template-columns: repeat(3, minmax(0, 1fr)); margin-top: 17px; }
.pc-equipment-alert { margin: 18px 0 0; border-color: #e9c8c0; border-radius: 10px; background: #fbefeb; color: #94483e; font-size: 12px; }

@media (max-width: 1170px) {
    .pc-app { grid-template-columns: 220px minmax(0, 1fr); }
    .pc-sidebar__brand strong { font-size: 13px; }
    .pc-sidebar__brand small { font-size: 8px; }
    .pc-home-overview { grid-template-columns: 1fr; }
    .pc-home-quick { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 900px) {
    .pc-app { display: block; }
    .pc-sidebar { position: fixed; left: 0; width: 270px; max-width: 85vw; transform: translateX(-103%); transition: transform .24s ease; }
    .pc-sidebar.is-open { transform: translateX(0); }
    .pc-sidebar-overlay:not([hidden]) { display: block; position: fixed; inset: 0; z-index: 1040; background: rgba(5, 24, 29, .55); }
    .pc-menu-toggle { display: grid; place-items: center; border: 0; background: transparent; color: var(--pc-ink); padding: 6px; font-size: 23px; }
    .pc-bottom-nav {
        display: grid; position: fixed; z-index: 1035; inset: auto 0 0;
        grid-template-columns: repeat(5, minmax(0, 1fr)); align-items: stretch;
        min-height: 76px;
        padding: 5px max(6px, env(safe-area-inset-right, 0px)) env(safe-area-inset-bottom, 0px) max(6px, env(safe-area-inset-left, 0px));
        background: rgba(255, 255, 255, .97); border-top: 1px solid var(--pc-line);
        box-shadow: 0 -10px 28px rgba(7, 17, 22, .12);
        backdrop-filter: blur(16px); -webkit-backdrop-filter: blur(16px);
    }
    .pc-bottom-nav :is(a, button) {
        min-width: 0; display: flex; flex-direction: column; align-items: center; justify-content: center;
        gap: 3px; padding: 5px 2px; border: 0; border-radius: 17px;
        background: transparent; color: #526971; font: inherit; font-size: .69rem;
        font-weight: 700; line-height: 1.15; text-align: center; text-decoration: none;
        cursor: pointer; -webkit-tap-highlight-color: transparent;
    }
    .pc-bottom-nav :is(a, button) > i { font-size: 1.55rem; line-height: 1; }
    .pc-bottom-nav :is(a, button):hover,
    .pc-bottom-nav a.is-active { color: #255e52; background: #e7f1eb; text-decoration: none; }
    .pc-bottom-nav button.pc-bottom-nav__menu { position: relative; color: var(--pc-navy-800); }
    .pc-bottom-nav__menu > i {
        width: 50px; height: 50px; display: grid; place-items: center; margin-top: -27px;
        border-radius: 50%; background: var(--pc-navy-800); color: #fff;
        box-shadow: 0 7px 16px rgba(7, 17, 22, .25);
        font-size: 1.7rem; animation: pc-bottom-menu-intro 1s ease-in-out .45s 1;
    }
    .pc-bottom-nav button.pc-bottom-nav__menu:hover,
    .pc-bottom-nav button.pc-bottom-nav__menu[aria-expanded="true"] { background: transparent; }
    .pc-bottom-nav button.pc-bottom-nav__menu[aria-expanded="true"] > i { background: #397f83; }
    .pc-portal .pc-app-content { padding-bottom: 110px; }
}
@keyframes pc-bottom-menu-intro {
    0%, 100% { transform: none; box-shadow: 0 7px 16px rgba(7, 17, 22, .25); }
    50% { transform: scale(1.035); box-shadow: 0 7px 16px rgba(7, 17, 22, .25), 0 0 0 5px rgba(77, 128, 103, .1); }
}
@media (max-width: 360px) {
    .pc-bottom-nav :is(a, button) { font-size: .61rem; }
    .pc-bottom-nav :is(a, button) > i { font-size: 1.38rem; }
}
@media (prefers-reduced-motion: reduce) {
    .pc-bottom-nav__menu > i { animation: none; }
}
@media (max-width: 767.98px) {
    .pc-portal .pc-topbar { height: 64px; }
    .pc-portal .pc-topbar-inner { padding-inline: 16px; gap: 9px; }
    .pc-portal .pc-app-content { padding: 22px 15px 110px; min-height: calc(100vh - 64px); }
    .pc-command-trigger { width: min(44vw, 230px); }
    .pc-command-trigger kbd { display: none; }
    .pc-portal .pc-hero { padding: 25px 20px; }
    .pc-portal .pc-hero__row { display: flex; flex-direction: column; align-items: stretch; text-align: left; gap: 14px; }
    .pc-portal .pc-hero__identity { display: block; }
    .pc-portal .pc-hero__avatar { order: -1; }
    .pc-portal .pc-hero__actions { align-self: stretch; justify-content: flex-start; }
    .pc-portal .pc-hero__actions .pc-btn { width: auto; }
    .pc-home-intro__crumb { display: none; }
    .pc-home-priority { grid-template-columns: 1fr; }
    .pc-home-hero .pc-home-pendencias { width: 100%; min-width: 0; grid-template-columns: 1fr auto; }
    .pc-home-hero .pc-home-pendencias__num { grid-column: 2; grid-row: 1 / 3; }
    .pc-home-hero .pc-home-pendencias__link { grid-column: 1 / -1; }
    .pc-portal .pc-metrics { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
    .pc-portal .pc-equipment-metrics { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .pc-list-panel__body, .pc-equipment-section { padding: 15px; }
}
@media (max-width: 520px) {
    .pc-portal .pc-topbar .dropdown > .pc-account-btn { border-left: 0; padding-left: 0; }
    .pc-command-trigger { width: min(36vw, 160px); }
    .pc-command-trigger span { text-overflow: ellipsis; white-space: nowrap; overflow: hidden; }
    .pc-home-quick { gap: 9px; }
    .pc-home-quick a { padding: 11px; min-height: 66px; }
    .pc-home-quick__icon, .pc-home-quick a > .ph-arrow-right { display: none; }
    .pc-home-safety { align-items: flex-start; flex-wrap: wrap; }
    .pc-home-safety a { margin-left: auto; }
    .pc-home-panel__items .pc-status { display: none; }
    .pc-portal .pc-ficha__header { padding: 13px; }
}
@media (prefers-reduced-motion: reduce) {
    .pc-portal *, .pc-portal *::before, .pc-portal *::after { scroll-behavior: auto !important; animation-duration: .01ms !important; transition-duration: .01ms !important; }
}

/* Conforto de leitura e toque restrito ao portal do colaborador. */
@media (max-width: 900px) {
    body.pc-portal .pc-sidebar__nav a { min-height: 48px; font-size: .94rem; }
    body.pc-portal .pc-bottom-nav :is(a, button) {
        min-height: 70px;
        font-size: .78rem;
        line-height: 1.2;
    }
    body.pc-portal .pc-menu-toggle,
    body.pc-portal .sino-notificacao > .sino-btn,
    body.pc-portal .pc-topbar .dropdown > .pc-account-btn {
        display: inline-flex;
        align-items: center;
        justify-content: center;
        flex: 0 0 auto;
        min-width: 48px;
        min-height: 48px;
    }
    body.pc-portal .pc-menu-toggle { width: 48px; height: 48px; padding: 0; }
    body.pc-portal .sino-notificacao > .sino-btn { width: 48px; height: 48px; }
}

@media (max-width: 767.98px) {
    body.pc-portal .pc-btn {
        min-height: 48px;
        padding: .7rem 1rem;
        font-size: 1rem;
        line-height: 1.35;
        white-space: normal;
        text-align: center;
    }
    body.pc-portal .pc-btn.pc-btn--sm { min-height: 44px; font-size: .94rem; }
    body.pc-portal .pc-filtro__opcao { min-height: 48px; padding: .7rem 1rem; font-size: .94rem; }
    body.pc-portal .pc-command-trigger { height: 48px; font-size: .88rem; }
    body.pc-portal .pc-command-search input,
    body.pc-portal .pc-list-panel__search input,
    body.pc-portal :is(.form-control, .form-select, .ts-control),
    body.pc-portal .pc-ficha__body .dataTables_filter input {
        min-height: 48px;
        font-size: 1rem;
        line-height: 1.5;
    }
    body.pc-portal .pc-command-results a,
    body.pc-portal .pc-topbar .dropdown-item { min-height: 48px; font-size: .94rem; }
    body.pc-portal .pc-account__nav a { min-height: 48px; font-size: .94rem; }
    body.pc-portal .pc-voltar { min-height: 48px; font-size: .94rem; }
    body.pc-portal .pc-rel-geo { min-height: 48px; font-size: .875rem; }
    body.pc-portal .pc-modal .modal-footer .btn,
    body.pc-portal .modal-footer .btn { min-height: 48px; font-size: 1rem; }
    body.pc-portal .modal .btn-close { width: 44px; height: 44px; padding: .7rem; }
    body.pc-portal .pc-sign__clear { min-height: 44px; padding: .55rem .8rem; font-size: .94rem; }
    body.pc-portal .pc-upload__remove { width: 44px; height: 44px; font-size: 1.1rem; }

    body.pc-portal .pc-home-hero .pc-home-pendencias__link {
        justify-content: space-between;
        width: 100%;
        min-height: 48px;
        padding: .7rem 1rem;
        font-size: 1rem;
    }
    body.pc-portal .pc-home-more a,
    body.pc-portal .pc-home-panel__head a,
    body.pc-portal .pc-home-safety a { display: inline-flex; align-items: center; min-height: 44px; padding: .55rem .7rem; font-size: .875rem; }
    body.pc-portal .pc-home-quick a { min-height: 84px; }
    body.pc-portal .pc-home-priority__body h3,
    body.pc-portal .pc-home-quick a strong,
    body.pc-portal .pc-home-panel__items strong,
    body.pc-portal .pc-ficha__title h3 { font-size: 1rem; line-height: 1.4; }
    body.pc-portal .pc-home-intro p,
    body.pc-portal .pc-home-hero .pc-hero__identity > p,
    body.pc-portal .pc-home-priority__body p,
    body.pc-portal .pc-section__sub,
    body.pc-portal .pc-equipment-section > p,
    body.pc-portal .pc-list-panel__intro p { font-size: 1rem; line-height: 1.5; }
    body.pc-portal .pc-home-panel__head p,
    body.pc-portal .pc-home-panel__items small,
    body.pc-portal .pc-home-stats__item span,
    body.pc-portal .pc-home-quick a small,
    body.pc-portal .pc-ficha__sub,
    body.pc-portal .pc-item__meta,
    body.pc-portal .pc-field__hint { font-size: .875rem; line-height: 1.45; }
    body.pc-portal .pc-field > label,
    body.pc-portal .pc-account label,
    body.pc-portal .pc-rel-bloco__titulo { font-size: .94rem; }
    body.pc-portal .pc-home-priority__body small,
    body.pc-portal .pc-home-priority__action,
    body.pc-portal .pc-home-panel__head p,
    body.pc-portal .pc-rel-trilha__nome,
    body.pc-portal .pc-rel-trilha__data,
    body.pc-portal .pc-apr-risco__escala,
    body.pc-portal .pc-apr-risco__rotulo { font-size: .875rem; line-height: 1.45; }
    body.pc-portal .pc-rel-tratativa,
    body.pc-portal .pc-rel-resolucao__texto,
    body.pc-portal .pc-apr-risco__consequencia,
    body.pc-portal .pc-apr-medidas,
    body.pc-portal .pc-declaracao { font-size: 1rem; line-height: 1.5; }
    body.pc-portal .pc-ac-grav__opt { min-height: 64px; }
    body.pc-portal .pc-ac-grav__opt b { font-size: 1rem; }
    body.pc-portal .pc-ac-grav__opt span { font-size: .875rem; line-height: 1.4; }
    body.pc-portal .pc-ac-vitima__opt span { min-height: 48px; font-size: .94rem; }
    body.pc-portal .pc-apr-ciente { min-height: 48px; font-size: .94rem; line-height: 1.4; }
}

@media (max-width: 375px) {
    body.pc-portal .pc-command-trigger { justify-content: center; width: 48px; min-width: 48px; padding: 0; }
    body.pc-portal .pc-command-trigger span { display: none; }
}
