.application-main { max-width: 900px; }
.application-eyebrow { color: var(--mint); font-size: 13px; letter-spacing: .04em; }
.application-guide { padding: 20px; background: var(--navy-900); border: 1px solid var(--line); border-radius: 12px; color: var(--muted); }
.application-guide h3 { color: var(--ink); margin-top: 0; }
.application-guide ol { padding-left: 22px; }
.application-guide li + li { margin-top: 10px; }
.application-result-grid { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 16px; padding: 20px 0; }
.application-result-grid dt { font-size: 13px; color: var(--muted); }
.application-result-grid dd { margin: 4px 0 0; overflow-wrap: anywhere; }
.application-admin-toolbar { display: flex; flex-wrap: wrap; align-items: end; gap: 12px; }
.application-admin-toolbar label { flex: 1; min-width: 180px; }
.application-admin-list { display: grid; gap: 16px; margin-top: 24px; }
.application-review { padding: 22px; border: 1px solid var(--line); border-radius: var(--radius); background: var(--navy-900); }
.application-review h3 { margin: 0; }
.application-review .application-status { color: var(--mint); }
.application-review .form-grid { margin-top: 16px; }
.application-review img { display: block; max-width: 100%; max-height: 520px; height: auto; margin: 16px 0; border-radius: 8px; }
.application-review textarea, .application-server-form textarea { width: 100%; font: inherit; color: var(--ink); background: var(--navy-950); border: 1px solid var(--line-strong); border-radius: 8px; padding: 12px; }
.application-invite-output { margin: 16px 0; padding: 18px; border: 1px solid var(--line-strong); border-radius: 12px; }
.application-invite-output input { width: 100%; }
.application-admin-pagination { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 12px; margin-top: 18px; }
@media (max-width: 620px) { .application-result-grid { grid-template-columns: 1fr; } .application-review { padding: 16px; } }

.application-ocr-text { white-space: pre-wrap; overflow-wrap: anywhere; font: inherit; color: var(--muted); }

.application-review textarea:focus-visible, .application-server-form textarea:focus-visible { outline: 2px solid var(--focus); outline-offset: 3px; }

.application-shot-help { display: grid; grid-template-columns: minmax(0,1fr) 220px; gap: 24px; margin: 24px 0; }
.application-shot-example { margin: 0; }
.application-shot-example img { display: block; width: 100%; height: auto; border-radius: 10px; }
.application-shot-example figcaption { font-size: 13px; line-height: 1.6; margin-top: 12px; }
@media (max-width: 620px) { .application-shot-help { grid-template-columns: minmax(0,1fr); } .application-shot-example { width: min(100%,260px); margin-inline: auto; } }

/* EA Control visual language: dark navigation, light work surfaces, semantic states. */
:root {
  color-scheme: light;
  --ink: #142538; --muted: #526174; --ice: #24547a;
  --line: #dce2e8; --line-strong: #bac6d1; --focus: #1764c0;
  --green: #166343; --mint: #166343; --amber: #855000; --red: #a32928;
}
body { background: #eef1f5; }
.topbar { background: #0a192a; border-bottom-color: #223a51; }
.topbar .brand { color: #fff; }
.topbar .private-label { color: #c8d8e9; }
.topbar select, .topbar .button { color: #fff; background: #172c42; border-color: #61748a; }
.topbar select option { color: #142538; background: #fff; }
.dashboard-hero { background: #10273d; border: 0; animation: none; }
.dashboard-hero::after { display: none; }
.dashboard-hero h1, .dashboard-hero strong { color: #fff; }
.dashboard-hero p, .dashboard-hero small, .dashboard-hero .current-release>span { color: #c8d8e9; }
.dashboard-hero .button { color: #fff; background: #203c56; border-color: #66819a; }
.content-section { background: #fff; border: 1px solid #dce2e8; margin-top: 36px; }
.content-section:nth-of-type(even) { background: #f5f7fa; }
.content-section>.section-heading { padding-bottom: 18px; border-bottom: 1px solid #c7d1db; }
.content-section h2 { font-size: 24px; }
.product-panel { background: #e6eef6; }
input, select, textarea, .application-review textarea, .application-server-form textarea {
  color: #142538; background: #fff; border-color: #b4c1ce; caret-color: #1764c0;
}
input:focus, textarea:focus-visible { background: #fff; border-color: #1764c0; box-shadow: 0 0 0 3px #1764c01a; }
input::placeholder { color: #657487; }
select option { color: #142538; background: #fff; }
input[type=datetime-local] { color-scheme: light; }
input[type=file]::file-selector-button { color: #142538; background: #e9eef4; }
.button { color: #17324c; background: #edf2f7; border-color: #adbdcd; white-space: normal; }
.button:hover, .button-outline:hover { color: #10273d; background: #dfe8f1; border-color: #71879f; transform: none; }
.button-primary { color: #fff; background: #174f84; border-color: #174f84; box-shadow: none; }
.button-primary:hover { color: #fff; background: #123e68; border-color: #123e68; box-shadow: none; }
.button-quiet { background: transparent; border-color: transparent; }
.button-danger { color: #a32928; background: #fff1ef; border-color: #e8b1aa; }
.button-danger:hover { color: #8b1e1d; background: #ffe3df; border-color: #c75e52; }
.button:disabled { opacity: .6; cursor: not-allowed; }
summary { color: #24547a; } summary:hover { color: #113555; }
.notice { color: #234e41; background: #eaf5ef; border-color: #b9d7c8; }
.notice.error, .application-mismatch { color: #8b2923; background: #fff0ed; border-color: #e6b5ad; }
.offline { color: #596778; }
.release-product-context, .credential-panel { background: #edf3f8; border-color: #c8d5df; }
.application-guide { background: #e9f0f7; border-color: #c6d4e1; }
.application-review { background: #fff; border: 1px solid #cdd6df; border-radius: 12px; padding: 24px; }
.application-review:nth-child(even) { background: #f1f4f8; }
.application-review .section-heading { margin-bottom: 20px; align-items: center; }
.application-field-label { margin: 0 0 6px; color: #526174; font-size: 13px; font-weight: 600; }
.application-review .application-status {
  display: inline-flex; align-items: center; min-height: 32px; padding: 5px 12px;
  color: #526174; background: #e3e9ef; border-radius: 6px; font-size: 13px; font-weight: 650;
}
.application-review[data-status=pending] .application-status,
.application-review[data-status=needs_info] .application-status { color: #784300; background: #ffe9c2; }
.application-review[data-status=approved] .application-status { color: #15543a; background: #d9eee2; }
.application-review[data-status=rejected] .application-status { color: #962722; background: #ffe0da; }
.application-record-actions { padding-top: 18px; margin-top: 20px; border-top: 1px solid #cdd6df; }
.application-invite-output { background: #e8f2fc; }
.customer-group { padding: 0 18px; background: #f2f5f8; border: 1px solid #cdd6df; border-radius: 10px; margin-top: 18px; }
.customer-group:nth-child(even) { background: #fff; }
.customer-group[open]>.customer-account-heading,
.customer-group[open]>.account-row { background: transparent; }
.product-status.enabled { color: #15543a; background: #d9eee2; border-color: #a4cdb5; }
.product-status.disabled { color: #784300; background: #ffe9c2; border-color: #dec194; }
footer { color: #526174; }
::selection { color: #fff; background: #174f84; }
:focus-visible { outline: 3px solid #1764c0; outline-offset: 3px; }
@media(max-width:620px) {
  .application-admin-toolbar { align-items: stretch; }
  .application-admin-toolbar label, .application-admin-toolbar>.button { width: 100%; min-width: 0; flex-basis: 100%; }
  .application-review { padding: 18px; }
  .application-review .section-heading { flex-wrap: wrap; gap: 12px; }
  .content-section h2 { font-size: 21px; }
}
@media(prefers-reduced-motion:reduce) { *, *::before, *::after { scroll-behavior: auto !important; animation: none !important; transition: none !important; } }
.login-panel { background: #fff; border-color: #cdd6df; box-shadow: 0 16px 48px #14253812; }
