:root {
    --black: #101010;
    --graphite: #1a1a1a;
    --graphite-2: #252525;
    --red: #f10d18;
    --red-dark: #bd0710;
    --white: #fff;
    --paper: #f3f3f3;
    --ink: #252525;
    --muted: #747474;
    --line: #dedede;
    --success: #148455;
    --warning: #a36a00;
    --danger: #ad1f2b;
    --container: 1180px;
    --shadow: 0 20px 60px rgba(0,0,0,.1);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; color: var(--ink); background: var(--paper); font-family: Inter, "Segoe UI", Arial, sans-serif; -webkit-font-smoothing: antialiased; }
a { color: inherit; text-decoration: none; }
button, input, select, textarea { font: inherit; }
button { cursor: pointer; }
.container { width: min(var(--container), calc(100% - 40px)); margin-inline: auto; }
.skip-link { position: fixed; top: 8px; left: 8px; z-index: 200; padding: 10px 14px; color: #fff; background: var(--red); transform: translateY(-170%); }
.skip-link:focus { transform: translateY(0); }
.eyebrow { margin: 0 0 12px; color: var(--red); font-size: 10px; font-weight: 900; letter-spacing: 2px; }

.portal-header { position: sticky; top: 0; z-index: 80; color: #fff; background: rgba(22,22,22,.98); border-bottom: 1px solid rgba(255,255,255,.08); box-shadow: 0 8px 28px rgba(0,0,0,.15); }
.header-inner { min-height: 64px; display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.brand { display: inline-flex; align-items: center; gap: 11px; }
.brand img { width: 38px; height: 38px; display: block; object-fit: contain; border-radius: 6px; }
.brand-copy { display: flex; flex-direction: column; line-height: 1; }
.brand-copy strong { font-size: 16px; }
.brand-copy small { margin-top: 5px; color: #c9c9c9; font-size: 8px; font-weight: 700; letter-spacing: 1.45px; text-transform: uppercase; }
.back-link { min-height: 38px; display: inline-flex; align-items: center; padding: 0 15px; color: #ddd; border: 1px solid rgba(255,255,255,.15); border-radius: 7px; font-size: 10px; font-weight: 800; text-transform: uppercase; }
.header-account { display: flex; align-items: center; gap: 17px; }
.header-account > span { display: grid; justify-items: end; gap: 3px; }
.header-account small { color: #9b9b9b; font-size: 7px; letter-spacing: 1.4px; }
.header-account strong { max-width: 240px; overflow: hidden; font-size: 11px; text-overflow: ellipsis; white-space: nowrap; }
.header-account form { margin: 0; }
.header-account button { min-height: 35px; padding: 0 14px; color: #fff; border: 1px solid rgba(255,255,255,.15); border-radius: 7px; background: transparent; font-size: 9px; font-weight: 850; text-transform: uppercase; }

.portal-footer { padding: 24px 0; color: #909090; background: var(--black); }
.portal-footer .container { display: flex; align-items: center; justify-content: space-between; gap: 25px; font-size: 9px; letter-spacing: .5px; text-transform: uppercase; }
.portal-footer a { color: #ff555d; font-weight: 850; }

.login-page { min-height: 100vh; display: flex; flex-direction: column; background: #171717; }
.login-shell { width: min(var(--container), calc(100% - 40px)); min-height: calc(100vh - 130px); display: grid; grid-template-columns: 1fr 480px; align-items: center; gap: 95px; margin: 0 auto; padding: 70px 0; }
.login-presentation { position: relative; color: #fff; }
.login-presentation::before { content: ""; position: absolute; width: 430px; height: 430px; top: -110px; left: -170px; z-index: 0; opacity: .28; border-radius: 50%; background: radial-gradient(circle, var(--red), transparent 65%); filter: blur(25px); }
.login-presentation > * { position: relative; z-index: 1; }
.login-mark { width: 70px; height: 70px; display: grid; place-items: center; margin-bottom: 28px; border: 1px solid rgba(255,255,255,.18); border-radius: 14px; background: linear-gradient(145deg,#292929,#171717); box-shadow: 0 18px 45px rgba(0,0,0,.3); font-family: Georgia, serif; font-size: 28px; font-weight: 700; }
.login-presentation h1 { max-width: 680px; margin: 0; font-family: Georgia, "Times New Roman", serif; font-size: clamp(46px,5.6vw,70px); font-weight: 400; line-height: 1.03; letter-spacing: -.045em; }
.login-presentation > p:not(.eyebrow) { max-width: 650px; margin: 23px 0; color: #bdbdbd; font-size: 15px; line-height: 1.75; }
.login-presentation ul { display: grid; gap: 13px; margin: 30px 0 0; padding: 0; list-style: none; color: #d6d6d6; font-size: 12px; }
.login-presentation li { display: flex; align-items: center; gap: 10px; }
.login-presentation li span { width: 22px; height: 22px; display: grid; place-items: center; color: #fff; border-radius: 50%; background: var(--red); font-size: 9px; }
.login-card { padding: 43px; border: 1px solid #ddd; border-radius: 18px; background: #fff; box-shadow: 0 35px 85px rgba(0,0,0,.34); }
.login-card h2 { margin: 0; font-family: Georgia,serif; font-size: 36px; font-weight: 400; letter-spacing: -.02em; }
.card-intro { margin: 11px 0 24px; color: #777; font-size: 11px; line-height: 1.6; }
.login-card form { display: grid; gap: 16px; }
.login-card label, .security-card label, .profile-form label:not(.check-line):not(:has(input[type="checkbox"])) { display: grid; gap: 7px; }
.login-card label > span, .security-card label > span, .form-grid label > span { color: #555; font-size: 9px; font-weight: 850; letter-spacing: .4px; text-transform: uppercase; }
.login-card input, .security-card input, .form-grid input, .form-grid select, .form-grid textarea { width: 100%; min-height: 48px; padding: 11px 13px; color: #252525; border: 1px solid #d6d6d6; border-radius: 7px; background: #fff; outline: none; font-size: 12px; }
.login-card input:focus, .security-card input:focus, .form-grid input:focus, .form-grid select:focus, .form-grid textarea:focus { border-color: var(--red); box-shadow: 0 0 0 3px rgba(241,13,24,.1); }
.login-card button, .security-card button { min-height: 50px; display: flex; align-items: center; justify-content: space-between; margin-top: 3px; padding: 0 18px; color: #fff; border: 0; border-radius: 8px; background: linear-gradient(135deg,#ff202b,var(--red-dark)); font-size: 10px; font-weight: 900; letter-spacing: .7px; }
.login-help { display: flex; justify-content: space-between; gap: 20px; margin-top: 25px; padding-top: 20px; border-top: 1px solid #e6e6e6; font-size: 9px; }
.login-help span { color: #888; }
.login-help a { color: var(--red-dark); font-weight: 850; }
.security-copy { margin: 20px 0 0; color: #969696; font-size: 8px; line-height: 1.6; }
.notice { margin: 0 0 20px; padding: 13px 15px; border-radius: 8px; font-size: 10px; font-weight: 750; line-height: 1.55; }
.notice.success { color: #11623e; border: 1px solid #acd9c3; background: #eaf8f1; }
.notice.error { color: #861c25; border: 1px solid #e6b3b8; background: #fff0f1; }

.dashboard-layout { min-height: calc(100vh - 112px); display: grid; grid-template-columns: 245px minmax(0,1fr); gap: 34px; padding-top: 34px; padding-bottom: 60px; }
.dashboard-sidebar { align-self: start; position: sticky; top: 98px; overflow: hidden; border: 1px solid #dcdcdc; border-radius: 14px; background: #fff; box-shadow: 0 12px 36px rgba(0,0,0,.06); }
.company-mini { display: grid; justify-items: center; gap: 12px; padding: 26px 18px 22px; text-align: center; border-bottom: 1px solid #e6e6e6; }
.company-mini img, .company-mini > span { width: 74px; height: 74px; display: grid; place-items: center; border: 1px solid #dedede; border-radius: 14px; object-fit: cover; background: #1f1f1f; color: #fff; font-family: Georgia,serif; font-size: 24px; }
.company-mini div { min-width: 0; display: grid; gap: 5px; }
.company-mini strong, .company-mini small { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.company-mini strong { font-size: 12px; }
.company-mini small { max-width: 205px; color: #888; font-size: 8px; }
.dashboard-sidebar nav { display: grid; padding: 11px; }
.dashboard-sidebar nav a { min-height: 47px; display: flex; align-items: center; gap: 12px; padding: 0 12px; color: #595959; border-radius: 8px; font-size: 10px; font-weight: 800; }
.dashboard-sidebar nav a span { color: #aaa; font-size: 8px; }
.dashboard-sidebar nav a.active { color: #fff; background: #202020; }
.dashboard-sidebar nav a.active span { color: #ff5860; }
.sidebar-help { display: grid; gap: 6px; margin: 9px 11px 11px; padding: 15px; color: #eee; border-radius: 9px; background: #292929; }
.sidebar-help strong { font-size: 10px; }
.sidebar-help a { color: #ff666e; font-size: 8px; }
.dashboard-content { min-width: 0; }
.dashboard-heading { display: flex; align-items: flex-end; justify-content: space-between; gap: 30px; margin-bottom: 25px; }
.dashboard-heading.compact { align-items: flex-start; }
.dashboard-heading h1 { margin: 0; font-family: Georgia,serif; font-size: clamp(35px,4vw,50px); font-weight: 400; line-height: 1.05; letter-spacing: -.035em; }
.dashboard-heading > div > p:last-child { max-width: 700px; margin: 13px 0 0; color: #707070; font-size: 11px; line-height: 1.65; }
.primary-action { min-height: 44px; display: inline-flex; align-items: center; gap: 9px; flex: 0 0 auto; padding: 0 17px; color: #fff; border-radius: 8px; background: var(--red); font-size: 9px; font-weight: 900; text-transform: uppercase; }
.summary-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 15px; }
.summary-grid article { min-height: 178px; padding: 23px; border: 1px solid #ddd; border-radius: 13px; background: #fff; box-shadow: 0 8px 28px rgba(0,0,0,.04); }
.summary-grid article > span { color: #8a8a8a; font-size: 8px; font-weight: 900; letter-spacing: 1.2px; }
.summary-grid article > strong { display: block; margin: 18px 0 9px; font-family: Georgia,serif; font-size: 29px; font-weight: 400; }
.summary-grid article > p { margin: 0; color: #777; font-size: 9px; line-height: 1.6; }
.status-card { border-top: 3px solid var(--warning) !important; }
.status-card.status-approved { border-top-color: var(--success) !important; }
.status-card.status-suspended, .status-card.status-rejected { border-top-color: var(--danger) !important; }
.completion-card > div { height: 7px; overflow: hidden; margin: 14px 0; border-radius: 10px; background: #e9e9e9; }
.completion-card > div i { height: 100%; display: block; border-radius: inherit; background: linear-gradient(90deg,var(--red-dark),#ff4b54); }
.overview-card { margin-top: 18px; padding: 25px; border: 1px solid #ddd; border-radius: 13px; background: #fff; }
.overview-title { display: flex; align-items: center; justify-content: space-between; gap: 20px; padding-bottom: 18px; border-bottom: 1px solid #e5e5e5; }
.overview-title h2 { margin: 0; font-family: Georgia,serif; font-size: 27px; font-weight: 400; }
.overview-title a { color: var(--red-dark); font-size: 9px; font-weight: 850; }
.overview-grid { display: grid; grid-template-columns: repeat(4,1fr); gap: 0; padding-top: 22px; }
.overview-grid > div { min-width: 0; display: grid; gap: 6px; padding: 0 17px; border-right: 1px solid #e7e7e7; }
.overview-grid > div:first-child { padding-left: 0; }
.overview-grid > div:last-child { border: 0; }
.overview-grid small { color: #999; font-size: 7px; font-weight: 900; letter-spacing: 1px; }
.overview-grid strong, .overview-grid span { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.overview-grid strong { font-size: 11px; }
.overview-grid span { color: #777; font-size: 8px; }
.quick-actions { display: grid; grid-template-columns: repeat(3,1fr); gap: 15px; margin-top: 18px; }
.quick-actions article { display: grid; grid-template-columns: 30px 1fr; gap: 12px; align-items: start; padding: 20px; border: 1px solid #ddd; border-radius: 12px; background: #fff; }
.quick-actions article > span { width: 30px; height: 30px; display: grid; place-items: center; color: #fff; border-radius: 7px; background: #222; font-size: 8px; font-weight: 900; }
.quick-actions article > div { display: grid; gap: 6px; }
.quick-actions strong { font-size: 11px; }
.quick-actions p { margin: 0; color: #7b7b7b; font-size: 8px; line-height: 1.5; }
.quick-actions a, .quick-actions form { grid-column: 2; margin-top: 6px; }
.quick-actions a, .quick-actions button { color: var(--red-dark); border: 0; background: none; padding: 0; font-size: 8px; font-weight: 900; }

.profile-form { display: grid; gap: 18px; }
.form-card { overflow: hidden; border: 1px solid #ddd; border-radius: 13px; background: #fff; }
.form-card-heading { display: grid; grid-template-columns: 38px 1fr; align-items: center; gap: 13px; padding: 19px 22px; color: #fff; background: #232323; }
.form-card-heading > span { width: 38px; height: 38px; display: grid; place-items: center; border: 1px solid rgba(255,255,255,.17); border-radius: 8px; color: #ff5b63; font-size: 9px; font-weight: 900; }
.form-card-heading > div { display: grid; gap: 4px; }
.form-card-heading strong { font-family: Georgia,serif; font-size: 20px; font-weight: 400; }
.form-card-heading small { color: #a8a8a8; font-size: 8px; line-height: 1.5; }
.form-grid { display: grid; grid-template-columns: repeat(2,1fr); gap: 18px; padding: 24px; }
.form-grid.three { grid-template-columns: 180px 1fr 1.2fr; align-items: end; }
.form-grid label { align-content: start; }
.form-grid .full { grid-column: 1 / -1; }
.form-grid textarea { resize: vertical; line-height: 1.6; }
.form-grid input:disabled { color: #7c7c7c; background: #f2f2f2; cursor: not-allowed; }
.check-line { min-height: 72px; display: flex; align-items: center; gap: 12px; padding: 12px; border: 1px solid #ddd; border-radius: 8px; }
.check-line input { width: 18px; height: 18px; accent-color: var(--red); }
.check-line > span { display: grid; gap: 4px; }
.check-line strong { font-size: 10px; }
.check-line small { color: #888; font-size: 8px; }
.choice-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 10px; padding: 22px; }
.choice-grid.compact { grid-template-columns: repeat(2,1fr); padding: 0; }
.choice-grid label { position: relative; min-height: 46px; display: flex; align-items: center; cursor: pointer; }
.choice-grid input { position: absolute; opacity: 0; }
.choice-grid span { width: 100%; min-height: 46px; display: flex; align-items: center; padding: 10px 13px 10px 36px; color: #555; border: 1px solid #ddd; border-radius: 8px; background: #fafafa; font-size: 9px; line-height: 1.35; }
.choice-grid span::before { content: ""; position: absolute; left: 13px; width: 13px; height: 13px; border: 1px solid #bbb; border-radius: 3px; background: #fff; }
.choice-grid input:checked + span { color: #81141c; border-color: #ee9aa0; background: #fff1f2; }
.choice-grid input:checked + span::before { border-color: var(--red); background: var(--red); box-shadow: inset 0 0 0 3px #fff; }
.catalog-sections { display: grid; grid-template-columns: repeat(2,1fr); gap: 15px; padding: 22px; }
.catalog-sections fieldset { min-width: 0; margin: 0; padding: 17px; border: 1px solid #ddd; border-radius: 10px; }
.catalog-sections legend { padding: 0 7px; font-family: Georgia,serif; font-size: 17px; }
.catalog-sections fieldset > p { min-height: 30px; margin: 0 0 14px; color: #818181; font-size: 8px; line-height: 1.5; }
.field-error { color: var(--danger) !important; font-size: 8px !important; font-weight: 750; text-transform: none !important; }
.inline-error { margin: 16px 22px 0; padding: 11px 13px; color: #861c25; border-radius: 7px; background: #fff0f1; font-size: 9px; }
.save-bar { position: sticky; bottom: 12px; z-index: 20; display: flex; align-items: center; justify-content: space-between; gap: 20px; padding: 18px 22px; color: #fff; border: 1px solid #3c3c3c; border-radius: 12px; background: rgba(27,27,27,.97); box-shadow: 0 18px 50px rgba(0,0,0,.25); }
.save-bar > div { display: grid; gap: 4px; }
.save-bar strong { font-size: 11px; }
.save-bar > div span { color: #aaa; font-size: 8px; }
.save-bar button { min-height: 44px; padding: 0 18px; color: #fff; border: 0; border-radius: 7px; background: var(--red); font-size: 9px; font-weight: 900; letter-spacing: .5px; }

.security-layout { display: grid; grid-template-columns: minmax(0,1fr) 330px; gap: 18px; }
.security-card, .security-info { padding: 28px; border: 1px solid #ddd; border-radius: 13px; background: #fff; }
.security-card { display: grid; gap: 17px; }
.security-card h2, .security-info h2 { margin: 0 0 4px; font-family: Georgia,serif; font-size: 28px; font-weight: 400; }
.security-card > p { margin: 0; color: #888; font-size: 8px; }
.security-card button { justify-content: center; }
.security-info { align-self: start; color: #fff; border-color: #292929; background: #232323; }
.security-info > span { width: 45px; height: 45px; display: grid; place-items: center; margin-bottom: 20px; border-radius: 50%; background: var(--red); font-weight: 900; }
.security-info ul { display: grid; gap: 12px; margin: 20px 0; padding-left: 18px; color: #c4c4c4; font-size: 9px; line-height: 1.55; }
.security-info small { color: #ff6a72; font-size: 8px; }

@media (max-width: 1000px) {
    .login-shell { grid-template-columns: 1fr 430px; gap: 45px; }
    .overview-grid { grid-template-columns: repeat(2,1fr); gap: 18px 0; }
    .overview-grid > div:nth-child(2) { border: 0; }
    .quick-actions { grid-template-columns: 1fr; }
    .summary-grid { grid-template-columns: 1fr; }
    .summary-grid article { min-height: 145px; }
    .form-grid.three { grid-template-columns: 160px 1fr; }
    .check-line { grid-column: 1 / -1; }
    .choice-grid { grid-template-columns: repeat(2,1fr); }
}

@media (max-width: 780px) {
    .login-shell { grid-template-columns: 1fr; gap: 35px; }
    .login-presentation { padding-top: 20px; }
    .login-presentation h1 { font-size: 48px; }
    .dashboard-layout { grid-template-columns: 1fr; }
    .dashboard-sidebar { position: static; }
    .company-mini { grid-template-columns: 60px 1fr; justify-items: start; text-align: left; }
    .company-mini img, .company-mini > span { width: 60px; height: 60px; grid-row: 1 / 3; }
    .dashboard-sidebar nav { grid-template-columns: repeat(3,1fr); }
    .dashboard-sidebar nav a { justify-content: center; }
    .sidebar-help { display: none; }
    .dashboard-heading { align-items: flex-start; flex-direction: column; }
    .catalog-sections { grid-template-columns: 1fr; }
    .security-layout { grid-template-columns: 1fr; }
}

@media (max-width: 580px) {
    .container, .login-shell { width: min(100% - 24px,var(--container)); }
    .header-inner { min-height: 60px; }
    .brand img { width: 34px; height: 34px; }
    .brand-copy strong { font-size: 14px; }
    .brand-copy small { font-size: 7px; letter-spacing: .8px; }
    .back-link { padding: 0 10px; font-size: 8px; }
    .header-account > span { display: none; }
    .login-shell { padding: 45px 0; }
    .login-presentation h1 { font-size: 40px; }
    .login-card { padding: 30px 20px; }
    .login-help { align-items: flex-start; flex-direction: column; }
    .portal-footer .container { align-items: flex-start; flex-direction: column; }
    .dashboard-layout { padding-top: 18px; }
    .dashboard-sidebar nav { grid-template-columns: 1fr; }
    .dashboard-sidebar nav a { justify-content: flex-start; }
    .dashboard-heading h1 { font-size: 37px; }
    .overview-grid { grid-template-columns: 1fr; }
    .overview-grid > div { padding: 0 0 13px; border: 0; border-bottom: 1px solid #eee; }
    .form-grid, .form-grid.three { grid-template-columns: 1fr; padding: 18px; }
    .choice-grid, .choice-grid.compact { grid-template-columns: 1fr; padding: 18px; }
    .choice-grid.compact { padding: 0; }
    .catalog-sections { padding: 18px; }
    .save-bar { position: static; align-items: stretch; flex-direction: column; }
    .save-bar button { width: 100%; }
}

@media (prefers-reduced-motion: reduce) {
    *, *::before, *::after { scroll-behavior: auto !important; transition-duration: .01ms !important; }
}


/* MAISRESULTADO_ADMIN_LOCK_INICIO */

.header-login-actions {
    display: flex;
    align-items: center;
    gap: 8px;
}

.admin-lock-link {
    width: 36px;
    height: 36px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: #bcbcbc;
    border: 1px solid rgba(255, 255, 255, 0.18);
    border-radius: 7px;
    background: rgba(255, 255, 255, 0.04);
    text-decoration: none;
    transition:
        color 0.18s ease,
        border-color 0.18s ease,
        background 0.18s ease;
}

.admin-lock-link:hover,
.admin-lock-link:focus-visible {
    color: #ffffff;
    border-color: rgba(241, 13, 24, 0.7);
    background: rgba(241, 13, 24, 0.12);
}

.admin-lock-link svg {
    width: 15px;
    height: 15px;
    display: block;
    fill: currentColor;
}

/* MAISRESULTADO_ADMIN_LOCK_FIM */