:root {
  --ink: #102331;
  --navy: #101a22;
  --navy-2: #172733;
  --paper: #ffffff;
  --canvas: #edf1f3;
  --line: #cbd4d9;
  --muted: #60717d;
  --red: #941d25;
  --red-2: #bc3038;
  --gold: #b89448;
  --green: #27724c;
  --amber: #a96610;
  --shadow: 0 18px 42px rgba(16, 35, 49, 0.12);
}

* { box-sizing: border-box; }
html { min-height: 100%; background: var(--canvas); }
body { margin: 0; min-height: 100vh; color: var(--ink); font-family: "Segoe UI", Arial, sans-serif; }
button, input, select, textarea { font: inherit; }
button { cursor: pointer; }
a { color: inherit; }

.login-page { min-height: 100vh; display: flex; flex-direction: column; background: var(--canvas); }
.login-shell {
  min-height: calc(100vh - 84px);
  flex: 1;
  display: grid;
  grid-template-columns: minmax(320px, 1.1fr) minmax(420px, .9fr);
  background: var(--canvas);
}
.login-brand {
  position: relative;
  overflow: hidden;
  padding: clamp(42px, 7vw, 96px);
  color: #fff;
  background: linear-gradient(145deg, #101a22 0%, #172c3a 66%, #7a1e25 160%);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}
.login-brand::before {
  content: "";
  position: absolute;
  inset: 0;
  opacity: .08;
  background-image: linear-gradient(125deg, transparent 42%, #fff 43%, transparent 44%);
  background-size: 46px 46px;
}
.brand-copy, .brand-foot { position: relative; z-index: 1; }
.institutional-marks { position: relative; z-index: 1; display: flex; align-items: center; gap: 22px; min-height: 112px; margin-bottom: 36px; }
.institutional-marks img { display: block; object-fit: contain; filter: drop-shadow(0 9px 15px rgba(0,0,0,.25)); }
.pmesp-mark { width: 154px; height: 124px; }
.correg-mark { width: 96px; height: 108px; }
.mark-divider { width: 1px; height: 86px; background: rgba(255,255,255,.27); }
.eyebrow { margin: 0 0 10px; color: var(--red-2); font-weight: 800; letter-spacing: .2em; text-transform: uppercase; font-size: 11px; }
.login-brand .eyebrow { color: #e1bd6b; }
.login-brand h1 { max-width: 720px; margin: 0; font-family: Georgia, serif; font-size: clamp(42px, 6vw, 82px); line-height: .98; font-weight: 500; }
.login-brand p { max-width: 650px; color: #dce4e9; font-size: 18px; line-height: 1.55; }
.brand-foot { display: grid; grid-template-columns: repeat(3, 1fr); border-top: 1px solid rgba(255,255,255,.18); }
.brand-foot div { padding: 22px 18px 0 0; }
.brand-foot strong { display: block; color: #e5c56f; font-family: Georgia, serif; font-size: 22px; }
.brand-foot span { color: #c9d3d9; font-size: 12px; }
.login-panel { display: grid; place-items: center; padding: 36px; }
.login-card { width: min(100%, 520px); padding: 40px; border-top: 4px solid var(--red); background: #fff; box-shadow: var(--shadow); }
.login-card-brand { display: flex; align-items: center; gap: 13px; margin-bottom: 24px; padding-bottom: 18px; border-bottom: 1px solid var(--line); }
.login-card-brand img { width: 58px; height: 64px; object-fit: contain; }
.login-card-brand span { max-width: 250px; color: var(--ink); font-family: Georgia, serif; font-size: 18px; line-height: 1.2; }
.login-card h2 { margin: 0 0 10px; font-family: Georgia, serif; font-size: 34px; font-weight: 500; }
.login-card > p { margin: 0 0 28px; color: var(--muted); line-height: 1.6; }
.demo-note { margin-top: 22px; padding: 14px; border-left: 3px solid var(--gold); background: #f6f1e5; color: #594b2d; font-size: 13px; line-height: 1.45; }

.field { display: grid; gap: 7px; margin-bottom: 16px; }
.field label { font-weight: 750; font-size: 13px; }
.field input, .field select, .field textarea {
  width: 100%;
  min-height: 44px;
  padding: 10px 12px;
  border: 1px solid #b8c5cd;
  border-radius: 2px;
  color: var(--ink);
  background: #fff;
  outline: none;
}
.field textarea { min-height: 108px; resize: vertical; }
.field input:focus, .field select:focus, .field textarea:focus { border-color: var(--red); box-shadow: 0 0 0 2px rgba(148,29,37,.1); }
.field-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0 16px; }
.check-row { display: flex; align-items: center; gap: 10px; margin: 8px 0 18px; font-size: 13px; }

.button { min-height: 42px; padding: 10px 16px; border: 1px solid var(--ink); border-radius: 2px; background: #fff; color: var(--ink); font-weight: 750; }
.button:hover { background: #eef2f4; }
.button.primary { border-color: var(--red); background: var(--red); color: #fff; }
.button.primary:hover { background: #7b171e; }
.button.dark { border-color: var(--ink); background: var(--ink); color: #fff; }
.button.danger { border-color: #a21d26; color: #a21d26; }
.button.small { min-height: 34px; padding: 7px 11px; font-size: 12px; }
.button.full { width: 100%; }
.discord-login { display: flex; align-items: center; justify-content: center; text-decoration: none; }

.app-shell { min-height: 100vh; display: grid; grid-template-columns: 278px minmax(0, 1fr); }
.sidebar { position: sticky; top: 0; height: 100vh; overflow-y: auto; background: var(--navy); color: #dbe4e9; border-right: 4px solid var(--red); }
.side-brand { display: flex; align-items: center; gap: 13px; padding: 23px 20px; border-bottom: 1px solid rgba(255,255,255,.09); }
.side-correg-mark { width: 48px; height: 54px; flex: 0 0 auto; object-fit: contain; filter: drop-shadow(0 4px 8px rgba(0,0,0,.3)); }
.side-brand strong { display: block; color: #fff; }
.side-brand span { color: #93a7b4; font-size: 11px; }
.nav-section { padding: 20px 14px 8px; color: #758b98; font-size: 10px; font-weight: 800; letter-spacing: .18em; text-transform: uppercase; }
.nav-link { width: calc(100% - 20px); margin: 3px 10px; padding: 12px 13px; border: 0; border-left: 3px solid transparent; text-align: left; color: #d9e2e7; background: transparent; font-weight: 650; }
.nav-link:hover { background: rgba(255,255,255,.06); }
.nav-link.active { border-left-color: #e0b44e; background: var(--red); color: #fff; }
.side-user { margin: 26px 14px 14px; padding: 15px; border: 1px solid rgba(255,255,255,.12); background: rgba(255,255,255,.04); }
.side-user strong, .side-user span { display: block; }
.side-user span { margin-top: 3px; color: #9fb0ba; font-size: 12px; }
.side-user .button { margin-top: 12px; border-color: rgba(255,255,255,.3); color: #fff; background: transparent; }

.content-shell { min-width: 0; }
.topbar { min-height: 74px; padding: 18px 30px; display: flex; align-items: center; justify-content: space-between; gap: 18px; background: #fff; border-bottom: 1px solid var(--line); }
.topbar small { display: block; color: var(--muted); }
.topbar strong { font-size: 15px; }
.topbar-identity { display: flex; align-items: center; gap: 14px; }
.topbar-identity img { width: 54px; height: 46px; object-fit: contain; }
.top-actions { display: flex; align-items: center; gap: 8px; }
.main { width: min(1500px, 100%); margin: 0 auto; padding: 34px 30px 70px; }
.portal-footer { min-height: 84px; padding: 19px 30px; display: flex; align-items: center; justify-content: center; gap: 18px; text-align: center; color: #b9c5cc; background: #0d171e; border-top: 3px solid var(--gold); }
.portal-footer strong { color: #e6c66e; font-size: 11px; letter-spacing: .16em; white-space: nowrap; }
.portal-footer span { max-width: 950px; font-size: 11px; line-height: 1.5; }
.page-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 20px; margin-bottom: 25px; }
.page-head h1 { margin: 0; font-family: Georgia, serif; font-size: clamp(32px, 4vw, 48px); font-weight: 500; }
.page-head p { margin: 8px 0 0; color: var(--muted); }
.head-actions { display: flex; gap: 8px; flex-wrap: wrap; }

.stats { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 13px; margin-bottom: 22px; }
.stat { min-height: 132px; padding: 21px; border-top: 3px solid var(--red); background: #fff; box-shadow: 0 6px 18px rgba(16,35,49,.05); }
.stat strong { display: block; margin-bottom: 8px; font-family: Georgia, serif; font-size: 35px; }
.stat span { color: var(--muted); }
.panel { margin-bottom: 18px; border: 1px solid var(--line); border-top: 3px solid var(--ink); background: #fff; box-shadow: 0 7px 22px rgba(16,35,49,.04); }
.panel-head { padding: 18px 20px; display: flex; align-items: center; justify-content: space-between; gap: 15px; border-bottom: 1px solid var(--line); }
.panel-head h2, .panel-head h3 { margin: 0; font-family: Georgia, serif; font-weight: 500; }
.panel-body { padding: 20px; }
.notice { display: grid; gap: 4px; margin: 0 0 18px; padding: 14px 16px; border-left: 3px solid var(--gold); background: #f5f0e6; color: #344651; }
.notice strong { color: var(--ink); font-size: 13px; }
.notice span { font-size: 13px; line-height: 1.5; }
.toolbar { display: grid; grid-template-columns: minmax(230px, 1fr) 210px 210px auto; gap: 10px; padding: 14px; background: #e5ebee; }
.toolbar input, .toolbar select { min-height: 42px; padding: 9px 11px; border: 1px solid #b9c5cc; background: #fff; }

.case-list { display: grid; gap: 12px; }
.case-card { border: 1px solid var(--line); border-left: 4px solid var(--red); background: #fff; }
.case-top { padding: 17px 19px 13px; display: flex; justify-content: space-between; gap: 20px; }
.case-number { color: var(--red); font-size: 11px; font-weight: 850; letter-spacing: .12em; text-transform: uppercase; }
.case-card h3 { margin: 7px 0 5px; font-family: Georgia, serif; font-size: 23px; font-weight: 500; }
.case-card p { margin: 0; color: var(--muted); }
.case-meta { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 1px; margin: 0 19px 17px; background: var(--line); }
.case-meta div { min-height: 70px; padding: 12px; background: #f4f6f7; }
.case-meta small, .detail-card small { display: block; margin-bottom: 5px; color: var(--muted); font-size: 10px; text-transform: uppercase; letter-spacing: .08em; }
.case-actions { display: flex; align-items: center; gap: 8px; }
.badge { display: inline-flex; align-items: center; min-height: 24px; padding: 4px 8px; border-radius: 999px; font-size: 10px; font-weight: 850; letter-spacing: .06em; text-transform: uppercase; background: #e3e9ec; color: #40515c; }
.badge.red { background: #f3dadd; color: #821620; }
.badge.green { background: #dceee4; color: #246341; }
.badge.amber { background: #f7e7ca; color: #89540d; }
.badge.dark { background: var(--ink); color: #fff; }

.detail-hero { margin-bottom: 16px; padding: 24px; border-top: 4px solid var(--red); background: #fff; }
.procedure-actions { display: flex; justify-content: space-between; align-items: center; gap: 12px; margin-bottom: 14px; flex-wrap: wrap; }
.detail-hero h1 { margin: 8px 0; font-family: Georgia, serif; font-size: 35px; font-weight: 500; }
.detail-hero p { margin: 0; color: var(--muted); }
.detail-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 10px; margin-top: 20px; }
.detail-card { padding: 14px; background: #eef2f4; }
.tabs { display: flex; gap: 2px; overflow-x: auto; border-bottom: 2px solid var(--red); }
.tab { flex: 0 0 auto; padding: 13px 15px; border: 0; background: #e5eaed; color: var(--ink); font-weight: 750; }
.tab.active { background: var(--red); color: #fff; }
.tab-panel { min-height: 380px; padding: 20px; border: 1px solid var(--line); border-top: 0; background: #fff; }
.split { display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(300px, .8fr); gap: 16px; }
.section-title { margin: 0 0 14px; font-family: Georgia, serif; font-size: 24px; font-weight: 500; }
.info-block { padding: 16px; border-left: 3px solid var(--ink); background: #f1f4f5; line-height: 1.55; }
.item-list { display: grid; gap: 10px; }
.item { padding: 15px; border: 1px solid var(--line); background: #fff; }
.item h4 { margin: 0 0 6px; }
.item p { margin: 3px 0; color: #465965; line-height: 1.5; }
.item-foot { margin-top: 10px; display: flex; align-items: center; justify-content: space-between; gap: 10px; color: var(--muted); font-size: 12px; }
.record-actions { display: flex; justify-content: flex-end; margin-top: 12px; }
.upload-box { margin-top: 18px; padding: 18px; border: 1px solid #bdc9cf; border-left: 4px solid var(--gold); background: #f4f6f7; }
.upload-box > strong { display: block; margin-bottom: 5px; font-family: Georgia, serif; font-size: 20px; }
.upload-box > p { margin: 0 0 17px; color: var(--muted); font-size: 13px; line-height: 1.5; }
.upload-box small { color: var(--muted); line-height: 1.4; }
.evidence-image { width: min(100%, 420px); margin: 12px 0 3px; padding: 0; display: grid; border: 1px solid var(--line); color: var(--ink); background: #eef2f4; text-align: left; }
.evidence-image img { width: 100%; max-height: 250px; display: block; object-fit: cover; background: #dfe5e8; }
.evidence-image span { padding: 9px 11px; font-weight: 750; font-size: 12px; }
.portal-viewer { min-height: 520px; display: grid; place-items: center; overflow: hidden; border: 1px solid var(--line); background: #15191c; }
.portal-viewer iframe, .portal-viewer video { width: 100%; min-height: 520px; max-height: 72vh; border: 0; background: #111; }
.portal-viewer video { height: 520px; }
.portal-viewer.image { padding: 18px; }
.portal-viewer.image img { max-width: 100%; max-height: 68vh; display: block; object-fit: contain; }
.viewer-note { margin: 10px 0 0; color: var(--muted); font-size: 12px; }
.timeline { position: relative; padding-left: 32px; }
.timeline::before { content: ""; position: absolute; top: 8px; bottom: 8px; left: 10px; width: 2px; background: #c7d2d8; }
.timeline-item { position: relative; margin-bottom: 14px; padding: 14px 16px; background: #f4f6f7; }
.timeline-item::before { content: ""; position: absolute; left: -27px; top: 18px; width: 10px; height: 10px; border-radius: 50%; background: var(--red); box-shadow: 0 0 0 5px var(--canvas); }
.empty { padding: 48px 20px; text-align: center; color: var(--muted); border: 1px dashed #b8c5cc; }

.data-table { width: 100%; border-collapse: collapse; }
.data-table th, .data-table td { padding: 13px 11px; border-bottom: 1px solid var(--line); text-align: left; vertical-align: top; }
.data-table th { color: #586b76; background: #edf1f3; font-size: 11px; text-transform: uppercase; letter-spacing: .08em; }
.data-table td { font-size: 14px; }

.modal-backdrop { position: fixed; z-index: 100; inset: 0; display: grid; place-items: center; padding: 20px; background: rgba(6,15,21,.72); }
.modal { width: min(680px, 100%); max-height: calc(100vh - 40px); overflow-y: auto; border-top: 4px solid var(--red); background: #fff; box-shadow: 0 24px 80px rgba(0,0,0,.35); }
.modal.wide { width: min(920px, 100%); }
.modal-head { position: sticky; top: 0; z-index: 2; padding: 18px 20px; display: flex; align-items: center; justify-content: space-between; gap: 18px; border-bottom: 1px solid var(--line); background: #fff; }
.modal-head h2 { margin: 0; font-family: Georgia, serif; font-weight: 500; }
.modal-body { padding: 20px; }
.modal-actions { padding: 14px 20px; display: flex; justify-content: flex-end; gap: 8px; border-top: 1px solid var(--line); background: #f3f5f6; }
.icon-button { width: 36px; height: 36px; border: 1px solid var(--line); background: #fff; color: var(--ink); font-size: 18px; }

#toast-root { position: fixed; z-index: 200; right: 20px; bottom: 20px; display: grid; gap: 8px; }
.toast { min-width: 280px; padding: 13px 15px; border-left: 4px solid var(--green); color: #fff; background: var(--ink); box-shadow: var(--shadow); animation: toast-in .2s ease-out; }
.toast.error { border-left-color: #e34b54; }
@keyframes toast-in { from { transform: translateY(8px); opacity: 0; } }

/* Entrada institucional: hierarquia de informação próxima de portais administrativos. */
.login-page { background: #f2f3f2; }
.login-shell { grid-template-columns: minmax(0, 1fr) minmax(390px, 42%); min-height: calc(100vh - 58px); }
.login-brand { padding: 0; display: flex; background: #f7f8f7; color: #142b38; border-right: 1px solid #d4dbdd; }
.login-brand::before { display: none; }
.login-government { min-height: 124px; padding: 29px clamp(36px, 6vw, 88px); display: flex; align-items: center; gap: 20px; border-bottom: 1px solid #d4dbdd; background: #fff; }
.login-government img { width: 78px; height: 68px; object-fit: contain; mix-blend-mode: multiply; }
.login-government div { padding-left: 20px; border-left: 1px solid #c6d0d4; }
.login-government span, .login-government strong { display: block; }
.login-government span { font-size: 14px; font-weight: 800; letter-spacing: .045em; }
.login-government strong { margin-top: 3px; color: #50616b; font-size: 13px; font-weight: 500; }
.login-brand .brand-copy { margin: auto 0; padding: 64px clamp(36px, 6vw, 88px); }
.login-section-label, .login-card-label { margin: 0 0 13px !important; color: #8d2630 !important; font: 700 11px/1.4 "Segoe UI", Arial, sans-serif !important; letter-spacing: .12em; }
.login-brand h1 { max-width: 700px; font: 600 clamp(35px, 4.1vw, 58px)/1.13 "Segoe UI", Arial, sans-serif; letter-spacing: -.035em; }
.login-brand .brand-copy > p:not(.login-section-label):not(.login-service-label) { max-width: 530px; margin: 19px 0 0; color: #4d626e; font-size: 17px; line-height: 1.55; }
.login-rule { width: 52px; height: 3px; margin: 36px 0 16px; background: #982833; }
.login-brand .login-service-label { margin: 0; color: #485d68; font-size: 13px; line-height: 1.8; }
.login-service-label span { padding: 0 6px; color: #9a2c36; }
.brand-foot { padding: 19px clamp(36px, 6vw, 88px); display: flex; justify-content: space-between; gap: 18px; border-top: 1px solid #d4dbdd; }
.brand-foot span { color: #63727a; font-size: 12px; }
.login-panel { padding: 40px; background: #e9eeef; }
.login-card { width: min(100%, 440px); padding: 36px; border: 1px solid #cdd6da; border-top: 3px solid #93232d; box-shadow: 0 13px 34px rgba(17,38,51,.08); }
.login-card-brand { margin-bottom: 27px; gap: 14px; }
.login-card-brand img { width: 45px; height: 52px; }
.login-card-brand strong, .login-card-brand span { display: block; font-family: "Segoe UI", Arial, sans-serif; }
.login-card-brand strong { font-size: 15px; }
.login-card-brand span { margin-top: 3px; color: #63727a; font-size: 12px; }
.login-card h2 { margin-bottom: 11px; font: 600 27px/1.2 "Segoe UI", Arial, sans-serif; letter-spacing: -.02em; }
.login-card > p:not(.login-card-label) { margin-bottom: 25px; font-size: 14px; }
.login-card .button.primary { margin-top: 5px; }
.login-card .demo-note { margin-top: 24px; padding: 12px 0 0; border: 0; border-top: 1px solid #dce2e5; background: none; color: #62737d; font-size: 12px; }
.login-page .portal-footer { min-height: 58px; border-top: 2px solid #a27b31; }

@media (max-width: 1100px) {
  .stats { grid-template-columns: repeat(2, 1fr); }
  .toolbar { grid-template-columns: 1fr 1fr; }
  .case-meta, .detail-grid { grid-template-columns: repeat(2, 1fr); }
  .split { grid-template-columns: 1fr; }
}
@media (max-width: 820px) {
  .login-shell { grid-template-columns: 1fr; }
  .login-brand { min-height: auto; }
  .login-brand .brand-copy { margin: 0; padding-top: 50px; padding-bottom: 50px; }
  .brand-foot { display: flex; }
  .app-shell { display: block; }
  .sidebar { position: static; height: auto; border-right: 0; border-bottom: 4px solid var(--red); }
  .side-brand { padding: 13px 16px; }
  .side-correg-mark { width: 38px; height: 43px; }
  .nav-section, .side-user { display: none; }
  .sidebar nav { padding: 5px; display: flex; overflow-x: auto; }
  .nav-link { width: auto; flex: 0 0 auto; margin: 0 2px; border-left: 0; border-bottom: 3px solid transparent; }
  .nav-link.active { border-bottom-color: #e0b44e; }
  .topbar { padding: 13px 16px; }
  .topbar-identity img { width: 42px; height: 38px; }
  .main { padding: 24px 16px 50px; }
  .portal-footer { flex-direction: column; gap: 6px; padding: 17px 16px; }
  .portal-footer strong { white-space: normal; }
  .page-head { align-items: flex-start; flex-direction: column; }
}
@media (max-width: 600px) {
  .login-panel, .login-card { padding: 22px; }
  .login-brand { padding: 0; }
  .login-government { min-height: 90px; padding: 16px 22px; }
  .login-government img { width: 58px; height: 54px; }
  .login-brand .brand-copy { padding: 42px 22px; }
  .login-brand h1 { font-size: 36px; }
  .brand-foot { padding: 15px 22px; flex-wrap: wrap; }
  .field-grid, .stats, .toolbar, .case-meta, .detail-grid { grid-template-columns: 1fr; }
  .case-top { flex-direction: column; }
  .top-actions .muted-action { display: none; }
  .data-table { display: block; overflow-x: auto; }
  .portal-viewer, .portal-viewer iframe, .portal-viewer video { min-height: 390px; height: 390px; }
}

/* Login: fotografia de justiça e formulário no mesmo painel. */
.login-page { background: #17141a; font-family: 'Poppins', 'Segoe UI', sans-serif; }
.login-shell {
  width: 100%;
  min-height: calc(100vh - 48px);
  margin: 0;
  grid-template-columns: minmax(0, 1fr) minmax(400px, 28%);
  overflow: hidden;
  border: 0;
  border-radius: 0;
  background: linear-gradient(90deg, rgba(20,15,23,.2), rgba(20,15,23,.78) 67%, rgba(20,15,23,.92)), url('/assets/justica-login.png') center center / cover no-repeat;
  box-shadow: none;
}
.login-brand { color: #fff; border: 0; background: transparent; }
.login-government { min-height: 100px; padding: 22px clamp(32px, 5vw, 72px); border: 0; background: transparent; }
.login-government img { width: 76px; height: 72px; padding: 0; border-radius: 0; background: transparent; object-fit: contain; mix-blend-mode: normal; }
.login-government .corregedoria-mark { width: 65px; height: 72px; }
.login-government div { border-left-color: rgba(255,255,255,.28); }
.login-government span { color: #f3f0ea; font-size: 13px; }
.login-government strong { color: #c9c2bd; font-size: 12px; }
.login-brand .brand-copy { margin-top: auto; margin-bottom: 80px; padding: 0 clamp(32px, 5vw, 72px); text-shadow: 0 2px 16px rgba(0,0,0,.45); }
.login-section-label { color: #dfb274 !important; letter-spacing: .19em; }
.login-brand h1 { max-width: 750px; font: 600 clamp(42px, 4.6vw, 76px)/1.08 'Montserrat', sans-serif; letter-spacing: -.055em; }
.login-brand .brand-copy > p:not(.login-section-label):not(.login-service-label) { max-width: 500px; color: #f1eae4; font-size: 16px; }
.login-rule { background: #dbad72; }
.login-brand .login-service-label { color: #e1d8d0; }
.brand-foot { padding: 18px clamp(32px, 5vw, 72px); border-top-color: rgba(255,255,255,.2); }
.brand-foot span { color: #dbd1ca; }
.login-panel { padding: 34px; background: rgba(15,14,19,.55); backdrop-filter: blur(8px); }
.login-card { width: 100%; padding: 32px; border: 1px solid rgba(255,255,255,.16); border-top: 0; border-radius: 10px; background: rgba(22,20,27,.88); color: #fff; box-shadow: none; }
.login-card-brand { border-bottom-color: rgba(255,255,255,.16); }
.login-card-brand img { width: 48px; height: 54px; }
.login-card-brand strong { color: #f4f0ec; font-size: 15px; }
.login-card-brand span { color: #aeaab0; }
.login-card-label { color: #d7aa78 !important; }
.login-card h2 { font: 600 32px/1.2 'Montserrat', sans-serif; letter-spacing: -.04em; }
.login-card > p:not(.login-card-label) { color: #c6c0c4; }
.login-card .field label { color: #ede7e4; }
.login-card .field input { min-height: 47px; border-color: #66616a; border-radius: 5px; background: #26242a; color: #fff; }
.login-card .field input::placeholder { color: #a6a0a7; }
.login-card .field input:focus { border-color: #d6a877; box-shadow: 0 0 0 2px rgba(214,168,119,.2); }
.login-card .button.primary { min-height: 47px; border: 0; border-radius: 5px; background: #8b2634; }
.login-card .button.primary:hover { background: #aa3141; }
.login-card .demo-note { border-top-color: rgba(255,255,255,.16); color: #bcb6ba; }
.login-page .portal-footer { background: #17141a; border: 0; color: #aaa2a8; }
.login-page .portal-footer strong { color: #c5a875; }
@media (max-width: 820px) {
  .login-shell { width: 100%; margin: 0; grid-template-columns: 1fr; }
  .login-brand .brand-copy { margin: 55px 0 35px; }
  .login-panel { padding: 20px; }
}
@media (max-width: 600px) {
  .login-shell { width: 100%; margin: 0; border: 0; border-radius: 0; }
  .login-government { padding: 18px 22px; }
  .login-brand .brand-copy { margin: 45px 0 25px; padding: 0 22px; }
  .login-brand h1 { font-size: 43px; }
  .login-panel { padding: 16px; }
  .login-card { padding: 25px; }
}
