@media (max-width: 900px) {
  .disclaimer-bar, .retention-bar {
    font-size: 12px;
    line-height: 1.35;
    padding: 6px 10px;
  }
  .disclaimer-bar.is-collapsed, .retention-bar.is-collapsed {
    display: none !important;
  }
  #banner-toggle {
    display: block;
    width: 100%;
    border: 0;
    background: #f3f6fb;
    color: #5b6f86;
    font-size: 12px;
    font-weight: 700;
    padding: 6px 10px;
    text-align: left;
  }
  .app-header {
    padding: 8px 10px 10px !important;
  }
  .app-header .brand-wrap, .app-header .titles {
    min-width: 0;
    flex: 1;
  }
  .app-header h1, .app-header .brand, .app-header .title-en {
    font-size: 15px !important;
    line-height: 1.25 !important;
    white-space: normal !important;
    overflow: visible !important;
    text-overflow: unset !important;
  }
  .app-header .title-zh {
    display: block;
    font-size: 16px;
    font-weight: 800;
    line-height: 1.25;
  }
  .app-header .title-en {
    display: block;
    font-size: 12px !important;
    font-weight: 600;
    opacity: .82;
    margin-top: 2px;
  }
  .app-header .header-actions, .app-header .btn-row {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
  }
  .app-header .header-actions .btn,
  .app-header .btn-primary,
  .app-header .btn {
    flex: 1 1 calc(50% - 8px);
    min-height: 40px;
  }
  body.ui-v08 .main, .main, #main, .section {
    padding-bottom: calc(120px + env(safe-area-inset-bottom, 0px)) !important;
  }
  .section .form-actions,
  .section form,
  .section .card:last-child {
    margin-bottom: 24px;
  }
}
#banner-toggle { display: none; }
