:root { --color-accent:#4628af; --color-accent-hover:#311781; --color-bg:#f8f6f1; --color-surface:#fffefa; }
html { overflow-wrap:break-word; }
body { background:#f8f6f1; }
:focus-visible { outline:3px solid #4628af; outline-offset:4px; }
.page { width: var(--portfolio-width); padding: 2rem 0; }
.toast {
  inline-size: max-content;
  max-inline-size: min(32rem, calc(100% - 2rem));
  line-height: 1.45;
}
.hero__title { font-size:clamp(1.8rem,4vw,2.75rem); }
.control-panel { position:static; }
.control-panel__select { min-width:0; max-width:100%; }
.control-panel__row { min-width:0; }
.info-card__badge { background:#ebe5fa; color:#4628af; }
.btn--primary { background:#4628af; }
.btn--primary:hover { background:#311781; }
.hero__subtitle { color:#544d60; }
#order-title { scroll-margin-block-start: 1.25rem; }
@media(max-width:600px){ .control-panel,.info-card { padding:1rem; } .control-panel__actions { width:100%; } .control-panel__actions .btn { flex:1 1 45%; white-space:normal; } .control-panel__row { width:100%; } .control-panel__select { width:100%; } .info-card__grid { grid-template-columns:1fr; } .demo-header__top { flex-wrap:wrap; } .demo-header__search-wrap { min-width:0; width:100%; } .product-grid { grid-template-columns:1fr; } .filter-panel,.order-form-section { padding:1rem; } }
@media(prefers-reduced-motion:reduce){ *,*::before,*::after { animation:none!important; transition:none!important; scroll-behavior:auto!important; } }

/* Readable status colours and identifiable form controls. */
:root { --color-danger:#ad252d; --color-success:#16723f; }
.control-panel__select,.demo-header__search-input,.order-form__field input,.order-form__field textarea { border-color:#81778c; }
