.home-shell {
  background: #f5f7fb;
  min-height: 100vh;
}

.home-header {
  align-items: center;
  background: #fff;
  border-bottom: 1px solid #d9e0ec;
  display: flex;
  gap: 24px;
  min-height: 68px;
  padding: 0 30px;
}

.home-brand {
  align-items: center;
  display: flex;
  font-weight: 700;
  gap: 0;
  white-space: nowrap;
}

.home-brand .brand-mark {
  height: 32px;
  margin-right: 10px;
  width: 32px;
}

.home-navigation {
  flex: 1;
  min-width: 0;
}

.home-account {
  align-items: center;
  display: flex;
  gap: 8px;
  white-space: nowrap;
}

.home-content {
  margin: 0 auto;
  max-width: 1100px;
  padding: 48px 30px;
}

.home-content h1 {
  font-size: 32px;
  margin: 0;
}

@media (max-width: 480px) {
  .home-header {
    align-items: flex-start;
    flex-wrap: wrap;
    gap: 12px;
    padding: 14px 16px;
  }
  .home-navigation {
    order: 3;
    width: 100%;
  }
  .home-content {
    padding: 32px 16px;
  }
}
.mpeg-shell {
  min-height: 100%;
  padding: 24px;
  background: linear-gradient(120deg, rgba(18, 124, 113, 0.12), transparent 34%), #f4f7f8;
}

.mpeg-workspace {
  margin: 0 auto;
  max-width: 1120px;
}

.mpeg-topbar {
  align-items: center;
  display: flex;
  gap: 20px;
  justify-content: space-between;
  margin-bottom: 24px;
}

.mpeg-topbar .eyebrow {
  margin: 0 0 8px;
}

.mpeg-topbar h1 {
  color: #102427;
  font-size: clamp(2rem, 5vw, 3.5rem);
  line-height: 1;
  margin: 0;
}

.mpeg-tool-grid {
  display: grid;
  gap: 18px;
  grid-template-columns: minmax(0, 1.35fr) minmax(300px, 0.65fr);
}

.mpeg-dropzone, .mpeg-panel, .mpeg-status-band, .mpeg-results, .mpeg-preview, .mpeg-log-output {
  background: rgba(255, 255, 255, 0.92);
  border: 1px solid rgba(16, 36, 39, 0.1);
  border-radius: 8px;
  box-shadow: 0 12px 32px rgba(16, 36, 39, 0.08);
}

.mpeg-dropzone {
  align-content: center;
  display: grid;
  gap: 14px;
  justify-items: center;
  min-height: 300px;
  outline: 2px dashed rgba(18, 124, 113, 0.32);
  outline-offset: -14px;
  padding: 32px;
  text-align: center;
}

.mpeg-dropzone strong {
  color: #102427;
  font-size: 1.1rem;
  max-width: 100%;
  overflow-wrap: anywhere;
}

.mpeg-preset-buttons {
  display: flex;
  flex-wrap: wrap;
}

.mpeg-button {
  background: #fff;
  border: 1px solid #6d7779;
  border-radius: 4px;
  color: #102427;
  cursor: pointer;
  font: inherit;
  min-height: 38px;
  padding: 0 14px;
}

.mpeg-button:hover:not(:disabled) {
  background: #eef5f3;
}

.mpeg-button:disabled {
  cursor: not-allowed;
  opacity: 0.55;
}

.mpeg-button.is-selected, .mpeg-optimize-button {
  color: #fff;
}

.mpeg-file-picker {
  align-items: center;
  border: 2px dashed #6d8b89;
  border-radius: 8px;
  cursor: pointer;
  display: flex;
  flex-direction: column;
  gap: 8px;
  padding: 26px;
}

.mpeg-file-picker input {
  max-width: 100%;
}

.mpeg-progress {
  accent-color: #146e6a;
  height: 10px;
  width: 100%;
}

.mpeg-dropzone span {
  color: #5d6d70;
}

.mpeg-panel {
  padding: 22px;
}

.mpeg-panel-title {
  margin-bottom: 18px;
}

.mpeg-settings-list {
  display: grid;
  gap: 12px;
  margin: 20px 0;
}

.mpeg-settings-list div {
  display: flex;
  gap: 16px;
  justify-content: space-between;
}

.mpeg-settings-list dt {
  color: #617579;
}

.mpeg-settings-list dd {
  color: #102427;
  font-weight: 800;
  margin: 0;
}

.mpeg-optimize-button {
  width: 100%;
}

.mpeg-status-band {
  align-items: center;
  color: #24383b;
  display: grid;
  font-weight: 700;
  gap: 18px;
  grid-template-columns: minmax(180px, 260px) 1fr;
  margin-top: 18px;
  padding: 16px;
}

.mpeg-results {
  align-items: center;
  display: grid;
  gap: 12px;
  grid-template-columns: repeat(3, 1fr) 180px;
  margin-top: 18px;
  padding: 16px;
}

.mpeg-metric {
  color: #51676a;
  display: flex;
  gap: 12px;
  justify-content: space-between;
  min-width: 0;
}

.mpeg-metric strong {
  color: #102427;
}

.mpeg-download-link {
  align-items: center;
  background: #d5452c;
  border-radius: 4px;
  color: #fff;
  display: flex;
  font-weight: 700;
  justify-content: center;
  min-height: 42px;
  text-decoration: none;
}

.mpeg-download-link.disabled {
  opacity: 0.45;
  pointer-events: none;
}

.mpeg-preview {
  background: #102427;
  display: block;
  margin-top: 18px;
  max-height: 520px;
  width: 100%;
}

.mpeg-log-output {
  color: #32464a;
  font-size: 0.8rem;
  margin: 18px 0 0;
  overflow: auto;
  padding: 16px;
  white-space: pre-wrap;
}

.mpeg-status-message {
  align-items: center;
  display: inline-flex;
  gap: 8px;
}

.mpeg-status-message .oj-ux-ico-chart-dial-guage {
  color: #127c71;
  font-size: 1.25rem;
}

@media (max-width: 480px) {
  .mpeg-shell {
    padding: 16px;
  }
  .mpeg-tool-grid, .mpeg-status-band, .mpeg-results {
    grid-template-columns: 1fr;
  }
  .mpeg-dropzone {
    min-height: 240px;
  }
}
html:not([dir=rtl]) .demo-oracle-icon {
  padding-right: 4px;
}

.demo-appheader-avatar {
  width: 24px;
  height: 24px;
}

.demo-appheader-avatar:before {
  content: url("images/avatar_24px.png");
}

html,
body,
#globalBody {
  min-height: 100%;
}

body {
  margin: 0;
  background: #f5f7fb;
  color: #172033;
  font-family: "Segoe UI", Arial, sans-serif;
}

.login-shell {
  align-items: center;
  background: radial-gradient(circle at top, #eef4ff 0, #f5f7fb 48%, #e9edf5 100%);
  box-sizing: border-box;
  display: flex;
  justify-content: center;
  min-height: 100vh;
  padding: 24px;
}

.login-card {
  background: #fff;
  border: 1px solid #d9e0ec;
  border-radius: 20px;
  box-shadow: 0 20px 50px rgba(28, 46, 80, 0.14);
  box-sizing: border-box;
  max-width: 430px;
  padding: 42px;
  width: 100%;
}

.signed-in-card {
  text-align: center;
}

.brand {
  font-weight: 300;
}

.brand-mark {
  align-items: center;
  background: transparent url("../images/BDLogo.png") center/contain no-repeat;
  color: transparent;
  display: flex;
  font-size: 22px;
  font-weight: 600;
  height: 44px;
  justify-content: center;
  overflow: hidden;
  text-indent: -9999px;
  width: 44px;
}

.signed-in-card .brand-mark {
  margin: 0 auto;
}

.password-reset-message {
  color: #2f6b42;
  line-height: 1.45;
  margin: 16px 0 0;
}

.turnstile-area {
  margin-top: 20px;
  min-height: 70px;
}

.turnstile-message {
  color: #59667d;
  font-size: 13px;
  line-height: 1.4;
  margin: 8px 0 0;
}

.eyebrow {
  color: #1463df;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.13em;
  margin: 20px 0 8px;
  text-transform: uppercase;
}

.login-card h1 {
  font-size: 29px;
  letter-spacing: -0.03em;
  line-height: 1.15;
  margin: 0;
}

.login-intro, .account-detail {
  color: #59667d;
  line-height: 1.55;
  margin: 12px 0 28px;
}

.account-label {
  font-weight: 600;
  margin: 14px 0 0;
}

.field-label {
  display: block;
  font-size: 14px;
  font-weight: 600;
  margin: 16px 0 7px;
}

.login-input {
  border: 1px solid #aeb9cb;
  border-radius: 7px;
  box-sizing: border-box;
  font: inherit;
  min-height: 44px;
  padding: 10px 12px;
  width: 100%;
}

.login-input:focus {
  border-color: #1463df;
  box-shadow: 0 0 0 3px rgba(20, 99, 223, 0.14);
  outline: 0;
}

.google-button, .primary-button, .secondary-button {
  display: block;
  margin-top: 12px;
  width: 100%;
}

.primary-button {
  margin-top: 24px;
}

.divider {
  align-items: center;
  color: #7d8799;
  display: flex;
  font-size: 13px;
  gap: 12px;
  margin: 25px 0 4px;
}

.divider::before, .divider::after {
  background: #dfe4ed;
  content: "";
  flex: 1;
  height: 1px;
}

.guest-area {
  border-top: 1px solid #e3e7ee;
  color: #66738a;
  font-size: 14px;
  margin-top: 26px;
  padding-top: 18px;
  text-align: center;
}

.guest-area p {
  margin: 0 0 3px;
}

.login-error {
  background: #fff0f0;
  border-radius: 7px;
  color: #b51d1d;
  font-size: 14px;
  margin: 20px 0 0;
  padding: 10px 12px;
}

.admin-shell {
  background: #f5f7fb;
  box-sizing: border-box;
  min-height: 100vh;
  padding: 30px;
}

.admin-header {
  align-items: center;
  display: flex;
  justify-content: space-between;
  margin: 0 auto 25px;
  max-width: 1100px;
}

.admin-header .eyebrow {
  margin: 0 0 5px;
}

.admin-header h1 {
  font-size: 30px;
  margin: 0;
}

.admin-layout {
  display: grid;
  gap: 24px;
  grid-template-columns: 210px minmax(0, 1fr);
  margin: auto;
  max-width: 1100px;
}

.admin-nav, .admin-content {
  background: #fff;
  border: 1px solid #d9e0ec;
  border-radius: 14px;
  box-shadow: 0 10px 30px rgba(28, 46, 80, 0.08);
  padding: 20px;
}

.admin-nav oj-button {
  display: block;
  margin: 3px 0;
  width: 100%;
}

.admin-content h2 {
  margin-top: 0;
}

.admin-content h3 {
  margin: 34px 0 12px;
}

.admin-list {
  border-top: 1px solid #e1e6ef;
}

.admin-row {
  align-items: center;
  border-bottom: 1px solid #e1e6ef;
  display: flex;
  gap: 14px;
  justify-content: space-between;
  min-height: 58px;
  padding: 9px 0;
}

.admin-row small {
  color: #66738a;
  display: block;
  font-size: 12px;
  margin-top: 4px;
  word-break: break-all;
}

.admin-note {
  color: #59667d;
  line-height: 1.5;
}

.table-actions {
  display: flex;
  gap: 8px;
}

.table-actions button {
  background: transparent;
  border: 0;
  color: #1463df;
  cursor: pointer;
  font: inherit;
  padding: 4px;
}

.table-actions button:last-child {
  color: #b51d1d;
}

.organization-management .login-input {
  margin-bottom: 12px;
  max-width: 460px;
}

.management-step {
  border-top: 1px solid #e1e6ef;
  margin-top: 26px;
  padding-top: 18px;
}

.management-step h3 {
  margin: 0 0 12px;
}

.management-step h4 {
  font-size: 15px;
  margin: 24px 0 6px;
}

.management-step oj-table {
  display: block;
  min-height: 100px;
}

.address-attribution {
  color: #66738a;
  font-size: 12px;
  margin: 8px 0;
}

.address-results {
  border: 1px solid #d9e0ec;
  border-radius: 7px;
  margin: 10px 0 16px;
  max-width: 640px;
  overflow: hidden;
}

.address-results button {
  background: #fff;
  border: 0;
  border-bottom: 1px solid #e1e6ef;
  cursor: pointer;
  display: block;
  font: inherit;
  padding: 10px 12px;
  text-align: left;
  width: 100%;
}

.address-results button:hover {
  background: #eef4ff;
}

.address-results button:last-child {
  border-bottom: 0;
}

@media (max-width: 480px) {
  .login-card {
    padding: 32px 24px;
  }
  .admin-shell {
    padding: 16px;
  }
  .admin-layout {
    grid-template-columns: 1fr;
  }
  .admin-nav {
    display: flex;
    overflow-x: auto;
  }
  .admin-nav oj-button {
    min-width: max-content;
  }
}
@media (-webkit-min-device-pixel-ratio: 1.5), (min-resolution: 144dpi), (min-resolution: 1.5dppx) {
  .demo-appheader-avatar:before {
    content: url("images/avatar_24px_2x.png");
    -webkit-transform: translate(-25%, -25%) scale(0.5);
    transform: translate(-25%, -25%) scale(0.5);
  }
}