:root { color-scheme: light; font-family: system-ui, sans-serif; background: #f6f8fa; color: #202b3a; font-size: 14px; }
* { box-sizing: border-box; }
body { margin: 0; }
header, main, footer { max-width: 1380px; margin: auto; padding: 18px 24px; }
header, .toolbar, .card-heading { display: flex; align-items: center; justify-content: space-between; gap: 12px; }
header { border-bottom: 1px solid #dce2e9; background: #fff; }
h1 { font-size: 23px; margin: 4px 0; } h2 { font-size: 17px; margin: 0; }
p { line-height: 1.45; color: #536174; margin: 8px 0; } a { color: #185ab2; }
.eyebrow { font-size: 11px; letter-spacing: 1px; color: #185ab2; margin: 0; }
.areas { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px; margin-top: 14px; }
[hidden] { display: none !important; }
.card, .release { background: #fff; border: 1px solid #dce2e9; border-radius: 6px; padding: 16px; min-width: 0; }
.environment-production, .environment-feed { background: #fff7f7; border-top: 3px solid #c53946; }
.environment-production h2 { color: #a62330; text-transform: uppercase; font-size: 15px; letter-spacing: .5px; }
.environment-preview { background: #f4f8ff; border-top: 3px solid #3776c9; }
.environment-preview h2 { color: #185ab2; }

.environment-feed h2 { color: #a62330; }
.badge, .field-status { background: #edf0f3; color: #536174; border-radius: 4px; font-size: 11px; font-weight: 600; padding: 3px 7px; }
.badge { flex-shrink: 0; }
.up, .ready, .succeeded, .success { background: #e5f4ea; color: #21613a; }
.light, .running, .info { background: #e8f0fc; color: #185ab2; }
.warning { background: #fff3d8; color: #805500; }
.error, .failed, .failure { background: #fde9eb; color: #a62330; }
dl { margin: 16px 0; display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.3fr); gap: 9px 10px; align-items: start; }
dt { color: #536174; font-size: 12px; padding-top: 3px; }
dd { margin: 0; overflow-wrap: anywhere; font-size: 12px; padding-top: 3px; }
.field-status { justify-self: start; max-width: 100%; }
.feed-production { color: #a62330; font-weight: 600; }
.feed-preview { color: #185ab2; font-weight: 600; }
button { border: 1px solid #b6c7db; border-radius: 4px; padding: 7px 11px; color: #185ab2; background: #fff; cursor: pointer; font: inherit; font-size: 13px; }
button:hover:not(:disabled) { background: #edf4ff; }
button:disabled { background: #eef1f4; border-color: #d3dbe4; color: #657386; cursor: not-allowed; }
button:focus-visible, a:focus-visible, input:focus-visible, [tabindex]:focus-visible { outline: 2px solid #185ab2; outline-offset: 3px; }
.reason, .resources { font-size: 11px; line-height: 1.4; }
.reason { margin: 5px 0 12px; }
.resources { color: #657386; margin-bottom: 0; overflow-wrap: anywhere; }
.links { display: flex; flex-wrap: wrap; gap: 7px 14px; padding-top: 12px; border-top: 1px solid #dce2e9; font-size: 12px; }
.release { margin-top: 14px; padding: 12px 16px; }
.release h2 { font-size: 15px; }
.release p { font-size: 12px; margin: 5px 0; }
footer { color: #657386; font-size: 11px; padding-top: 12px; }
.console-nav { display: flex; gap: 4px; margin-bottom: 18px; border-bottom: 1px solid #dce2e9; padding-bottom: 8px; }
.console-nav button { border-color: transparent; background: transparent; color: #536174; }
.console-nav [aria-selected="true"] { background: #e8f0fc; color: #185ab2; border-color: #b6c7db; font-weight: 600; }
.activity-controls, .search-controls { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; }
.activity-output { height: 440px; max-height: 65vh; overflow-y: auto; overflow-anchor: none; background: #fff; border: 1px solid #d3dbe4; border-radius: 4px; padding: 10px; }
pre { white-space: pre-wrap; overflow-wrap: anywhere; font: 12px/1.5 ui-monospace, Consolas, monospace; }
.activity-entry { border-left: 3px solid #3776c9; padding: 8px 10px; margin: 0 0 8px; background: #f6f8fa; color: #202b3a; }
.activity-entry.warning { border-color: #bb820e; background: #fff8e9; color: #805500; }
.activity-entry.failure { border-color: #c53946; background: #fff1f2; color: #a62330; }
.activity-entry.success { border-color: #398254; background: #eef8f1; color: #21613a; }
input[type="search"] { flex: 1; min-width: 180px; max-width: 100%; border: 1px solid #b6c7db; border-radius: 4px; padding: 8px 10px; background: #fff; color: #202b3a; font: inherit; }
.search-controls { margin-top: 12px; }
.help-results { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; align-items: start; }
.help-entry { padding: 12px 14px; }
.help-entry h3 { margin: 0 0 6px; font-size: 15px; }
.help-entry p { overflow-wrap: anywhere; font-size: 12px; margin: 5px 0; }
.help-entry pre { padding: 8px 10px; background: #f3f5f8; border: 1px solid #e1e6ed; border-radius: 4px; margin: 8px 0; }
@media (max-width: 1000px) { .areas { grid-template-columns: 1fr; } }
@media (max-width: 720px) { .help-results { grid-template-columns: 1fr; } }
@media (max-width: 520px) { header, .toolbar { align-items: flex-start; flex-direction: column; } header, main, footer { padding: 14px; } .card { padding: 14px; } .console-nav { gap: 2px; } }

.admin-session, .auth-environment-controls { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; }
.auth-environment-controls { margin-bottom: 14px; }
select { font: inherit; padding: 7px; color: #202b3a; background: #fff; border: 1px solid #b6c7db; border-radius: 4px; }
