/* Small website-beta enhancements, preserving the existing visual system. */
.beta-tag {display:inline-flex;align-items:center;justify-content:center;vertical-align:middle;margin-inline-start:8px;font-size:10px;line-height:1.4;letter-spacing:.08em;text-transform:uppercase;padding:3px 7px;border:1px solid currentColor;border-radius:6px;opacity:.8;font-weight:700}
.brand {display:flex;align-items:center;flex-wrap:wrap}
.brand .end {margin-left:-.1em}
.grid3 > .stat {min-height:128px;display:grid;grid-template-rows:minmax(44px,auto) 1fr;align-content:stretch;justify-items:start}
.grid3 > .stat > .label {align-self:start;max-width:100%;line-height:1.35}
.grid3 > .stat > .value {align-self:end;justify-self:start;line-height:1.1;font-variant-numeric:tabular-nums}
.hero-actions,.compact-actions,.routine-card .row.wrap,.modal-footer,.panel > .row.wrap,.preview-row {gap:12px!important;row-gap:12px!important}
.beta-actions {display:flex;flex-wrap:wrap;align-items:center;gap:12px}
.beta-actions .button {margin:0!important}
.beta-notice {margin:14px 0 18px}
.beta-form .field {margin-top:16px}
.beta-form input:not([type='checkbox']),.beta-form textarea,.beta-form select {width:100%;min-width:0}
.beta-form textarea {min-height:100px;resize:vertical}
.beta-form label {display:block;margin-bottom:7px}
.beta-form .checkbox-label {display:flex;align-items:flex-start;gap:9px;margin-top:16px}
.beta-form .checkbox-label input {width:auto;flex:none;margin-top:4px}
.beta-help {line-height:1.5}
.beta-inline-status {margin-top:10px}
#feedback-status {min-height:18px}
.beta-legal {line-height:1.65}
.beta-legal a {text-decoration:underline;text-underline-offset:3px}
.modal {max-height:min(86dvh,850px);overflow:auto;overscroll-behavior:contain}
@media(max-width:480px) {
  .grid3 > .stat {min-height:116px;grid-template-rows:minmax(43px,auto) 1fr}
  .beta-actions {gap:10px}
  .beta-actions .button {max-width:100%;min-height:42px}
  .modal {max-height:calc(100dvh - 40px - env(safe-area-inset-top) - env(safe-area-inset-bottom));margin-bottom:env(safe-area-inset-bottom)}
}
