:root { font: 16px system-ui, sans-serif; color: #173c32; background: #edf6f2; }
body { margin: 0; }
.trial-header { display: flex; align-items: center; gap: 18px; flex-wrap: wrap; padding: 12px clamp(14px, 3vw, 44px); background: #fbfefc; border-bottom: 1px solid #d6e7df; }
.trial-header h1 { margin: 0; font-size: 21px; }
.trial-back { display: inline-flex; align-items: center; gap: 7px; min-height: 38px; padding: 0 11px; border: 1px solid #d5e6df; border-radius: 9px; color: #196550; text-decoration: none; font-size: 14px; }
.trial-header nav { display: flex; gap: 4px; padding: 4px; margin-inline-start: auto; border-radius: 12px; background: #e3f4ed; }
.trial-header button { min-height: 36px; padding: 0 16px; border: 0; border-radius: 8px; background: transparent; color: #17634f; font: 600 14px system-ui, sans-serif; cursor: pointer; }
.trial-header button[aria-pressed="true"] { color: #124c3b; background: white; box-shadow: 0 2px 6px #13483820; }
.trial-header :focus-visible { outline: 2px solid #18795e; outline-offset: 2px; }
#trial-course:not([hidden]) { display: block; width: 100%; height: calc(100dvh - 69px); min-height: 420px; border: 0; }
@media (max-width: 520px) {
  .trial-header { gap: 10px; }
  .trial-header nav { width: 100%; margin: 0; }
  .trial-header button { flex: 1; padding: 0 6px; }
  #trial-course:not([hidden]) { height: calc(100dvh - 117px); }
}
