:root {
  color-scheme: dark;
  font-family: "Avenir Next", Avenir, "Segoe UI", sans-serif;
  color: #e5ecf4;
  background: #111923;
  font-synthesis: none;
}
* { box-sizing: border-box; }
html, body { width: 100%; height: 100%; margin: 0; overflow: hidden; }
body { -webkit-text-size-adjust: 100%; }
.app-shell {
  height: 100vh;
  height: var(--app-height, 100dvh);
  display: flex;
  flex-direction: column;
  padding-bottom: env(safe-area-inset-bottom);
}
.toolbar {
  flex: 0 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  min-height: 58px;
  padding: calc(5px + env(safe-area-inset-top)) max(16px, env(safe-area-inset-right)) 5px max(16px, env(safe-area-inset-left));
  border-bottom: 1px solid #344152;
  background: #17202c;
}
.identity, .controls { display: flex; align-items: center; }
.identity { gap: 9px; white-space: nowrap; font-size: 17px; font-weight: 650; }
.mark { width: 27px; height: 30px; overflow: visible; fill: #17202c; stroke: #7eb6c5; stroke-width: 1.65; }
.product-name { margin-left: 5px; color: #a8b7c8; font-size: 13px; font-weight: 400; }
.controls { gap: 5px; }
button {
  min-height: 44px;
  padding: 9px 12px;
  border: 1px solid transparent;
  border-radius: 6px;
  background: transparent;
  color: #d0dfed;
  font: inherit;
  font-size: 13px;
  white-space: nowrap;
  cursor: pointer;
  touch-action: manipulation;
}
button:hover { background: #283749; }
button:active { background: #34485c; }
button:focus-visible { outline: 2px solid #9fd5e2; outline-offset: 1px; }
button:disabled { opacity: .45; cursor: default; }
button svg { width: 14px; height: 14px; margin-left: 7px; vertical-align: -2px; fill: none; stroke: currentColor; stroke-width: 1.5; }
.workspace { position: relative; display: flex; flex: 1; min-width: 0; min-height: 0; flex-direction: column; }
iframe { display: block; width: 100%; flex: 1; min-height: 0; border: 0; background: #111923; }
.notice { flex: 0 0 auto; padding: 9px max(16px, env(safe-area-inset-left)); color: #bdcddd; background: #1d2a38; font-size: 13px; line-height: 1.5; }
.notice[hidden] { display: none; }
.noscript { position: absolute; inset: 50px 20px auto; margin: 0; line-height: 1.6; }
@media (max-width: 480px) {
  .toolbar { min-height: 54px; gap: 6px; padding-right: max(8px, env(safe-area-inset-right)); padding-left: max(10px, env(safe-area-inset-left)); }
  .identity { gap: 6px; font-size: 16px; }
  .mark { width: 23px; height: 26px; }
  .product-name { display: none; }
  .controls { gap: 0; }
  button { padding-inline: 9px; font-size: 12px; }
}
@media (max-width: 350px) { button svg { display: none; } }
iframe[hidden] { display: none; }
