:root { color-scheme: light; font-family: Arial, Helvetica, sans-serif; color: #0f1111; background: #e3e6e6; }
* { box-sizing: border-box; }
[hidden] { display: none !important; }
body { margin: 0; height: 100vh; height: 100dvh; display: flex; flex-direction: column; overflow: hidden; }
a { color: #007185; }
a:hover { text-decoration-thickness: 2px; }
a:focus-visible, button:focus-visible, [tabindex]:focus-visible { outline: 3px solid #008296; outline-offset: 3px; }
.resource-app-header { display: flex; align-items: center; gap: 10px 20px; flex-wrap: wrap; padding: 10px 16px; background: #131921; color: #fff; }
.resource-app-brand { display: flex; align-items: center; gap: 10px; min-width: 0; flex: 1 1 auto; }
.resource-app-brand img { flex: 0 0 38px; width: 38px; height: 38px; }
.resource-app-brand h1 { margin: 0; font-size: 18px; line-height: 1.3; }
.resource-app-brand p { margin: 3px 0 0; font-size: 12px; color: #d5d9d9; }
.resource-app-actions { display: flex; align-items: center; flex-wrap: wrap; gap: 8px 16px; }
.resource-app-actions a { display: inline-flex; align-items: center; min-height: 44px; color: #fff; font-size: 13px; }
.resource-app-actions a:focus-visible, .resource-app-actions button:focus-visible { outline-color: #ffca6a; }
button { font: inherit; cursor: pointer; }
.install-button { min-height: 44px; padding: 10px 16px; border: 1px solid #fcd200; border-radius: 20px; background: #ffd814; color: #0f1111; font-size: 13px; font-weight: 700; }
.install-button:hover { background: #f7ca00; }
.install-button:disabled { cursor: wait; opacity: .7; }
.install-status { flex-basis: 100%; margin: 0; font-size: 13px; line-height: 1.4; color: #d5d9d9; }
.install-status:empty { display: none; }
.install-help { flex: 0 1 auto; overflow: auto; max-height: 52vh; padding: 16px 20px; background: #fff; border-bottom: 1px solid #d5d9d9; }
.install-help-heading { display: flex; justify-content: space-between; align-items: center; gap: 16px; }
.install-help h2 { margin: 0; font-size: 18px; line-height: 1.4; }
.install-help button { min-height: 44px; padding: 8px 16px; border: 1px solid #adb1b8; background: #fff; border-radius: 8px; font-size: 14px; }
.install-help p, .install-help li { font-size: 14px; line-height: 1.5; }
.install-help ol { padding-left: 20px; margin: 10px 0; }
.install-help li + li { margin-top: 6px; }
.install-help p:last-child { margin-bottom: 0; color: #565959; }
.resource-app-main { flex: 1 1 0; min-height: 0; background: #fff; }
.resource-app-main iframe { display: block; width: 100%; height: 100%; border: 0; background: #fff; }
.resource-noscript { margin: 0; padding: 8px 16px; background: #fff; font-size: 13px; line-height: 1.5; }
.skip-app { position: absolute; z-index: 2; top: -100px; left: 12px; padding: 12px; color: #0f1111; background: #fff; }
.skip-app:focus { top: 12px; }
@media (max-width: 640px) {
  .resource-app-header { padding: 8px 12px; gap: 4px; }
  .resource-app-brand { flex-basis: 100%; }
  .resource-app-brand h1 { font-size: 16px; }
  .resource-app-brand img { width: 32px; height: 32px; flex-basis: 32px; }
  .resource-app-actions { width: 100%; justify-content: space-between; gap: 4px 10px; }
  .resource-app-actions a { font-size: 12px; }
  .install-button { padding: 8px 12px; font-size: 12px; }
  .install-help { padding: 12px; }
}

@supports (padding: env(safe-area-inset-top)) {
  .resource-app-header { padding-top: max(8px, env(safe-area-inset-top)); padding-left: max(12px, env(safe-area-inset-left)); padding-right: max(12px, env(safe-area-inset-right)); }
  .resource-app-main { padding-bottom: env(safe-area-inset-bottom); }
}
