/* VMD Decor — shared responsive foundation for all four pages. */
@import url("https://fonts.googleapis.com/css2?family=Roboto:wght@400;500;600;700&display=swap");
:root {
  color-scheme:light;
  --canvas:#e9e3d8;
  --surface:#f8f5ed;
  --card:#fbf8f1;
  --selected:#eee6d9;
  --border:#e3ddd2;
  --text:#1e1a14;
  --muted:#756e62;
  --icon:#8d8474;
  --accent:#947e62;
  --accent-dark:#675238;
  --sidebar:276px;
  --header:96px;
  --body-top:16px;
  --body-right:16px;
  --body-bottom:16px;
  --body-left:16px;
  --content-gap:26px;
  --radius:9px;
  --font:"Roboto",Arial,sans-serif;
}
* {
  box-sizing:border-box;
}
html {
  min-height:100%;
  scroll-behavior:smooth;
  scrollbar-gutter:stable;
}
body {
  margin:0;
  padding:var(--body-top) var(--body-right) var(--body-bottom) var(--body-left);
  min-width:320px;
  min-height:100svh;
  color:var(--text);
  background:var(--canvas);
  font:14px/1.4 var(--font);
  -webkit-font-smoothing:antialiased;
  overflow-x:clip;
}
a {
  color:inherit;
  text-decoration:none;
}
button,input,textarea,select {
  font:inherit;
  color:inherit;
}
button,a {
  -webkit-tap-highlight-color:transparent;
}
button {
  cursor:pointer;
  border:0;
  padding:0;
  background:none;
}
button,p,h1,h2,h3 {
  margin:0;
}
img {
  display:block;
  max-width:100%;
}
[hidden] {
  display:none!important;
}
button:focus-visible,a:focus-visible,input:focus-visible,textarea:focus-visible,select:focus-visible {
  outline:2px solid var(--accent-dark);
  outline-offset:4px;
}
.icon-sprite {
  position:absolute;
  height:0;
  width:0;
  overflow:hidden;
}
.icon {
  width:22px;
  height:22px;
  display:block;
  flex:0 0 auto;
  fill:none;
  stroke:currentColor;
  stroke-width:1.65;
  stroke-linecap:round;
  stroke-linejoin:round;
}
.visually-hidden,.skip-link:not(:focus) {
  position:absolute;
  width:1px;
  height:1px;
  margin:-1px;
  padding:0;
  overflow:hidden;
  clip-path:inset(50%);
  white-space:nowrap;
  border:0;
}
.skip-link:focus {
  position:fixed;
  left:8px;
  top:8px;
  z-index:100;
  background:white;
  padding:12px;
  border-radius:6px;
}
.nav-label-mobile {
  display:none;
}
/* Shared shell. The supplied full logo is deliberately smaller than v1. */
.portal {
  width:min(100%,1440px);
  max-width:1440px;
  min-height:calc(100svh - var(--body-top) - var(--body-bottom));
  margin:0 auto;
  display:grid;
  grid-template-columns:var(--sidebar) minmax(0,1fr);
  grid-template-rows:var(--header) 1fr;
  border:1px solid #ffffff80;
  border-radius:11px;
  background:var(--surface);
  box-shadow:0 6px 13px #51473514;
}
.portal-header {
  grid-column:1/-1;
  display:flex;
  align-items:center;
  justify-content:space-between;
  padding:0 26px 8px;
}
.brand {
  display:flex;
  align-items:center;
  width:140px;
}
.brand img {
  width:126px;
  height:auto;
}
.header-actions {
  display:flex;
  align-items:center;
  gap:17px;
}
.icon-button {
  display:grid;
  place-items:center;
  width:30px;
  height:36px;
  color:var(--icon);
  border-radius:6px;
}
.avatar {
  width:36px;
  height:36px;
  display:grid;
  place-items:center;
  border:1px solid #8f7d66;
  border-radius:50%;
  color:#fff7e9;
  background:#9b8770;
  font-size:14px;
}
.notification-wrap,.profile-wrap {
  position:relative;
}
.popover {
  position:absolute;
  right:0;
  top:46px;
  z-index:30;
  width:235px;
  padding:18px;
  border:1px solid var(--border);
  border-radius:var(--radius);
  background:var(--card);
  box-shadow:0 8px 28px #30291b20;
}
.popover strong {
  font-weight:500;
}
.popover p {
  margin:8px 0 14px;
  color:var(--muted);
  font-size:13px;
}
.account-menu {
  width:170px;
}
.account-menu>button {
  display:flex;
  align-items:center;
  gap:10px;
  padding:12px 0 0;
  width:100%;
  text-align:left;
}
.account-menu .icon {
  height:17px;
  width:17px;
}
.sidebar {
  grid-column:1;
  grid-row:2;
  display:flex;
  flex-direction:column;
  padding:5px 14px 31px;
  border-right:1px solid var(--border);
}
.navigation {
  display:flex;
  flex-direction:column;
  gap:11px;
}
.nav-item {
  width:100%;
  min-height:43px;
  display:flex;
  align-items:center;
  gap:18px;
  padding:0 16px;
  border-radius:9px;
  color:#686052;
  text-align:left;
  font-size:16px;
  white-space:nowrap;
}
.nav-item .icon {
  width:21px;
  height:21px;
  color:var(--icon);
}
.nav-item.is-active {
  background:var(--selected);
  color:#2f2519;
}
.nav-item.is-active .icon {
  color:#4d3c29;
}
.nav-item:hover {
  background:#eee7dc;
}
.logout-button {
  margin-top:auto;
}
.main-content {
  grid-column:2;
  grid-row:2;
  min-width:0;
  padding:0 var(--content-gap) 40px var(--content-gap);
}
.page-heading {
  padding-left:4px;
}
.page-heading h1,.welcome h1,.event-detail-heading h1 {
  font:600 30px/32px var(--font);
}
.page-heading p,.welcome p {
  color:#29241d;
  font-size:16px;
  line-height:21px;
}
/* Dashboard. Both lines of the hero headline are editable HTML text. */
.welcome {
  margin-bottom:17px;
  padding-left:4px;
}
.hero {
  position:relative;
  isolation:isolate;
  width:100%;
  min-height:157px;
  aspect-ratio:689/157;
  overflow:hidden;
  border-radius:7px;
  background:#6f563d;
}
.hero>img {
  position:absolute;
  inset:0;
  height:100%;
  width:100%;
  object-fit:cover;
  object-position:center;
  z-index:-2;
}
.hero:after {
  content:"";
  position:absolute;
  inset:0;
  background:linear-gradient(90deg,#211c1399,#2e241630 47%,transparent 82%);
  z-index:-1;
}
.hero h2 {
  position:absolute;
  left:30px;
  top:50%;
  transform:translateY(-50%);
  color:#f9eddb;
  font:400 24px/1.42 var(--font);
  text-shadow:0 1px 3px #0003;
}
.hero h2 span {
  display:block;
}
.events-panel {
  margin-top:20px;
  border:1px solid var(--border);
  border-radius:var(--radius);
  background:#fbf8f17a;
  box-shadow:0 1px 2px #433a2910;
}
.section-heading {
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:12px;
  height:46px;
  padding:0 11px 0 9px;
}
.section-heading h2 {
  font-size:18px;
  line-height:24px;
  font-weight:400;
}
.text-link {
  display:inline-flex;
  align-items:center;
  gap:4px;
  color:#81786a;
  font-size:12px;
  line-height:20px;
  white-space:nowrap;
}
.text-link .icon {
  height:14px;
  width:14px;
  stroke-width:1.5;
}
.text-link:hover {
  color:var(--accent-dark);
}
.events-grid {
  display:grid;
  grid-template-columns:repeat(4,minmax(0,1fr));
  gap:11px;
  margin:0 -1px -1px;
}
.event-card {
  min-width:0;
  min-height:229px;
  padding:9px 7px 19px;
  border:1px solid #e9e3d8;
  border-top-color:#f4efe5;
  border-radius:9px;
  background:#fbf8f180;
  box-shadow:0 2px 2px #473d2d12;
}
.event-image-link {
  display:block;
  overflow:hidden;
  border-radius:5px;
}
.event-image {
  width:100%;
  aspect-ratio:149/83;
  height:auto;
  object-fit:cover;
}
.event-copy {
  padding:14px 9px 0;
}
.event-copy h3 {
  font-size:15px;
  font-weight:400;
  line-height:20px;
}
.event-date {
  margin-top:7px;
  color:#746e62;
  font-size:12px;
  line-height:17px;
}
.event-location {
  margin-top:5px;
  color:#7b7569;
  font-size:12px;
  line-height:17px;
  white-space:nowrap;
}
.event-status {
  margin-top:9px;
  font-size:13px;
  line-height:20px;
  white-space:nowrap;
}
.status-approved {
  color:#437757;
  padding-left:3px;
}
.status-progress {
  color:#38718b;
  padding-left:3px;
}
.status-pending {
  color:#a38a48;
  padding-left:3px;
}
.status-not-started span {
  padding:2px 6px;
  border-radius:10px;
  color:#625f58;
  background:#e8e7e2;
}
.requests-panel {
  min-height:83px;
  margin-top:20px;
  padding:17px 13px 18px 15px;
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:12px;
  border:1px solid var(--border);
  border-radius:var(--radius);
  background:#fbf8f17a;
  box-shadow:0 2px 2px #473d2d0d;
}
.requests-panel h2 {
  font-size:15px;
  line-height:21px;
  font-weight:400;
}
.requests-panel p {
  margin-top:4px;
  font-size:12px;
  line-height:17px;
  color:#797265;
}
/* My Events. */
.event-filters {
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:4px;
  margin-top:14px;
  padding-bottom:3px;
  border-bottom:1px solid var(--border);
  overflow-x:auto;
  scrollbar-width:thin;
}
.event-filter {
  position:relative;
  flex:0 0 auto;
  min-height:36px;
  padding:0 12px;
  border-radius:22px;
  font-size:15px;
  white-space:nowrap;
}
.event-filter.is-active {
  background:#e9e1d4;
}
.event-filter.is-active:after {
  content:"";
  position:absolute;
  bottom:-4px;
  left:35%;
  right:35%;
  height:2px;
  background:#685744;
}
.event-list {
  display:grid;
  gap:10px;
  margin-top:20px;
}
.event-row {
  display:grid;
  grid-template-columns:125px minmax(0,1fr) 181px 24px;
  align-items:center;
  gap:20px;
  min-height:110px;
  padding:7px 15px 7px 10px;
  border:1px solid #dcd4c7;
  border-radius:11px;
  box-shadow:0 2px 3px #49402d14;
}
.event-row:hover {
  background:#f0eadf;
}
.event-row>img {
  width:125px;
  height:93px;
  border-radius:8px;
  object-fit:cover;
}
.event-row-copy {
  min-width:0;
  align-self:start;
  padding-top:2px;
}
.event-row-copy h2 {
  font-size:21px;
  line-height:27px;
  font-weight:600;
}
.event-row-copy p {
  display:flex;
  align-items:center;
  gap:7px;
  margin-top:3px;
  font-size:15px;
  line-height:24px;
}
.event-row-copy p .icon {
  width:17px;
  height:17px;
  color:#877d6c;
}
.event-row .badge {
  align-self:start;
  justify-self:start;
  margin:15px 0 0;
}
.row-chevron {
  width:20px;
  height:20px;
  color:#4c3e2c;
}
.badge {
  display:inline-flex;
  align-items:center;
  justify-content:center;
  border-radius:20px;
  padding:2px 14px;
  font-size:14px;
  line-height:21px;
  white-space:nowrap;
}
.badge-approved {
  background:#d9edd5;
  color:#466b42;
}
.badge-progress {
  background:#fae4c4;
  color:#8c673b;
}
.badge-pending,.badge-not-started {
  background:#e9e4dd;
  color:#524a40;
}
.empty-state {
  padding:28px 16px;
  color:var(--muted);
  border:1px dashed var(--border);
  border-radius:var(--radius);
  text-align:center;
  line-height:1.6;
  margin-top:16px;
}
/* Event details and décor quantities. */
.event-detail-heading {
  display:flex;
  align-items:center;
  gap:7px;
  padding-left:4px;
}
.back-link {
  display:grid;
  place-items:center;
  height:30px;
  width:22px;
}
.back-link .icon {
  width:20px;
  height:20px;
}
.event-meta {
  display:flex;
  flex-wrap:wrap;
  align-items:center;
  gap:31px;
  margin-top:1px;
  font-size:14px;
  line-height:23px;
}
.event-meta>span {
  display:inline-flex;
  align-items:center;
  gap:8px;
}
.event-meta .icon {
  width:17px;
  height:17px;
  color:#817560;
}
.event-meta .badge {
  padding-block:0;
}
.event-detail-banner {
  margin-top:16px;
  width:100%;
  aspect-ratio:748/167;
  height:auto;
  object-fit:cover;
  border-radius:7px;
}
.detail-tabs {
  display:flex;
  align-items:stretch;
  border-bottom:1px solid var(--border);
  gap:0;
  overflow-x:auto;
  scrollbar-width:thin;
}
.detail-tab {
  flex:0 0 auto;
  position:relative;
  height:42px;
  padding:0 31px;
  white-space:nowrap;
  font-size:14px;
}
.detail-tab:first-child {
  padding-left:4px;
}
.detail-tab.is-active:after {
  content:"";
  position:absolute;
  bottom:0;
  height:2px;
  left:0;
  right:0;
  background:#625840;
}
.tab-panel {
  padding:12px 4px 0;
}
.tab-panel>h2 {
  font-size:18px;
  line-height:24px;
  font-weight:600;
}
.decor-filters {
  display:flex;
  align-items:center;
  gap:13px;
  overflow-x:auto;
  padding:10px 0 16px;
  scrollbar-width:thin;
}
.filter-pill {
  flex:0 0 auto;
  padding:6px 18px;
  min-height:33px;
  border-radius:20px;
  background:#eee8de;
  color:#4e4538;
  font-size:14px;
  white-space:nowrap;
}
.filter-pill.is-active {
  background:var(--accent-dark);
  color:#fff9ef;
}
.decor-grid {
  display:grid;
  grid-template-columns:repeat(4,minmax(0,1fr));
  gap:17px;
}
.decor-card {
  min-width:0;
  overflow:hidden;
  border:1px solid #e0d8cc;
  border-radius:7px;
  box-shadow:0 2px 3px #493f2c15;
  background:#fbf9f3;
}
.decor-card>img {
  width:100%;
  aspect-ratio:171/108;
  height:auto;
  object-fit:cover;
}
.decor-copy {
  padding:8px 13px 12px;
}
.decor-copy h3 {
  font-size:14px;
  line-height:21px;
  font-weight:400;
}
.decor-copy>p {
  font-size:14px;
  line-height:22px;
  margin-top:2px;
}
.quantity-control {
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:8px;
  margin-top:10px;
}
.quantity-control button {
  width:38px;
  height:32px;
  border:1px solid #dad1c2;
  border-radius:4px;
  font-size:20px;
  line-height:1;
}
.quantity-control button:hover {
  background:#eee6d9;
}
.quantity-control button:disabled {
  opacity:.4;
  cursor:default;
}
.quantity-control output {
  min-width:24px;
  text-align:center;
  font-size:14px;
}
.decor-actions {
  display:flex;
  justify-content:flex-end;
  margin-top:12px;
}
.primary-button {
  display:inline-flex;
  justify-content:center;
  align-items:center;
  gap:8px;
  min-height:37px;
  padding:8px 23px;
  border:1px solid #8c775c;
  border-radius:5px;
  background:var(--accent);
  color:#fff8ea;
  font-size:14px;
}
.primary-button .icon {
  width:18px;
  height:18px;
}
.primary-button:hover {
  background:var(--accent-dark);
}
.overview-grid {
  display:grid;
  grid-template-columns:repeat(2,minmax(0,1fr));
  gap:16px;
  padding:18px;
  margin:16px 0 0;
  border:1px solid var(--border);
  border-radius:8px;
}
.overview-grid dt {
  color:var(--muted);
  font-size:12px;
}
.overview-grid dd {
  margin:5px 0 0;
}
.request-form {
  display:grid;
  gap:10px;
  margin-top:20px;
}
.request-form textarea,.add-item-form select,.add-item-form input {
  width:100%;
  padding:10px 12px;
  border:1px solid var(--border);
  border-radius:6px;
  background:var(--card);
}
.request-form textarea {
  resize:vertical;
}
.request-form .primary-button {
  justify-self:start;
}
.form-note {
  font-size:12px;
  color:var(--muted);
}
.request-entry {
  margin-top:12px;
  padding:12px;
  border:1px solid var(--border);
  border-radius:6px;
  white-space:pre-wrap;
  overflow-wrap:anywhere;
}
/* VMD Catalogue. Category art is extracted from the supplied reference. */
.catalogue-layout {
  display:grid;
  grid-template-columns:minmax(0,1fr) 241px;
  gap:16px;
  margin-top:18px;
}
.catalogue-browser {
  min-width:0;
}
.search-field {
  display:flex;
  align-items:center;
  gap:9px;
  min-height:41px;
  padding:0 13px;
  border:1px solid #dcd3c6;
  border-radius:7px;
  background:#fbf8f2;
  box-shadow:0 1px 2px #433b2b0a;
}
.search-field .icon {
  height:20px;
  width:20px;
  color:var(--icon);
}
.search-field input {
  width:100%;
  min-width:0;
  height:39px;
  padding:0;
  border:0;
  background:transparent;
  font-size:12px;
}
.search-field:focus-within {
  outline:2px solid #a18a6c;
  outline-offset:2px;
}
.search-field input:focus {
  outline:none;
}
.category-grid {
  display:grid;
  grid-template-columns:repeat(5,minmax(0,1fr));
  gap:10px 7px;
  margin-top:12px;
  padding-inline:6px 0;
}
.category-card {
  min-width:0;
  min-height:118px;
  padding:10px 4px 12px;
  border:1px solid #e7e1d7;
  border-radius:7px;
  box-shadow:0 2px 3px #4a402c0c;
  background:#fbf8f1;
  display:flex;
  flex-direction:column;
  align-items:center;
  justify-content:space-between;
  gap:10px;
}
.category-card img {
  width:62px;
  height:63px;
  max-width:100%;
  object-fit:contain;
  mix-blend-mode:multiply;
}
.category-card span {
  white-space:nowrap;
  font-size:12px;
  line-height:18px;
}
.category-card:hover,.category-card.is-active {
  border-color:#b39b78;
  background:#f1e9db;
}
.catalogue-promo {
  position:relative;
  isolation:isolate;
  overflow:hidden;
  min-height:419px;
  align-self:start;
  border-radius:7px;
  background:#4e3c29;
}
.catalogue-promo>img {
  position:absolute;
  inset:0;
  width:100%;
  height:100%;
  object-fit:cover;
  z-index:-2;
}
.catalogue-promo:after {
  content:"";
  position:absolute;
  inset:0;
  z-index:-1;
  background:linear-gradient(180deg,transparent 28%,#3425152e 52%,#2e2113bd);
}
.catalogue-promo-content {
  position:absolute;
  left:19px;
  right:19px;
  bottom:20px;
  display:grid;
  gap:21px;
  text-align:center;
}
.catalogue-promo h2 {
  color:#fff3df;
  font:400 20px/1.3 var(--font);
  text-shadow:0 1px 3px #22180e44;
}
.catalogue-promo button {
  min-height:39px;
  padding:10px;
  border:1px solid #e4d7c1;
  border-radius:5px;
  background:#f5eee3;
  color:#40311e;
  font-size:12px;
}
.catalogue-results {
  margin-top:20px;
  padding-top:16px;
  border-top:1px solid var(--border);
  scroll-margin-top:20px;
}
.results-heading {
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:12px;
  margin-bottom:12px;
}
.results-heading h2 {
  font-size:17px;
  font-weight:500;
}
.catalogue-products {
  display:grid;
  grid-template-columns:repeat(2,minmax(0,1fr));
  gap:12px;
}
.catalogue-product {
  overflow:hidden;
  border:1px solid var(--border);
  border-radius:7px;
  background:var(--card);
}
.catalogue-product img {
  width:100%;
  aspect-ratio:171/108;
  object-fit:cover;
}
.catalogue-product-copy {
  display:grid;
  gap:9px;
  padding:12px;
}
.catalogue-product h3 {
  font-size:14px;
  font-weight:500;
}
.catalogue-product .primary-button {
  padding-inline:8px;
  font-size:12px;
}
/* Dialogs and browser-local prototype feedback. */
.detail-dialog {
  width:min(530px,calc(100vw - 32px));
  max-height:calc(100svh - 48px);
  padding:28px;
  border:1px solid var(--border);
  border-radius:12px;
  background:var(--surface);
  color:var(--text);
  box-shadow:0 16px 70px #211a1833;
  overflow:auto;
}
.detail-dialog::backdrop {
  background:#352c2355;
  backdrop-filter:blur(3px);
}
.dialog-close {
  position:absolute;
  top:10px;
  right:10px;
}
.detail-dialog h2 {
  padding-right:20px;
  margin-bottom:16px;
  font-size:21px;
  font-weight:500;
}
.detail-dialog p {
  margin-top:8px;
  line-height:1.6;
}
.add-item-form {
  display:grid;
  gap:12px;
}
.add-item-form label {
  display:grid;
  gap:6px;
}
.add-item-form .primary-button {
  margin-top:6px;
}
.dialog-link {
  display:inline-block;
  color:var(--accent-dark);
  text-decoration:underline;
  text-underline-offset:3px;
  margin-top:12px;
}
.toast {
  position:fixed;
  bottom:24px;
  left:50%;
  transform:translateX(-50%);
  z-index:60;
  max-width:calc(100vw - 32px);
  border-radius:8px;
  padding:12px 20px;
  background:var(--accent-dark);
  color:#fff9ef;
  box-shadow:0 4px 20px #2c211c33;
  font-size:13px;
  text-align:center;
}
@media(min-width:1200px) {
  .event-row {
    min-height:125px;
    grid-template-columns:145px minmax(0,1fr) auto 24px;
  }
  .event-row>img {
    height:108px;
    width:145px;
  }
  .catalogue-promo {
    min-height:470px;
  }
  .category-card {
    min-height:133px;
  }
}
@media(min-width:681px) and (max-width:960px) {
  body[class] {
    --body-top:18px;
    --body-right:18px;
    --body-bottom:18px;
    --body-left:18px;
    --sidebar:195px;
    --header:86px;
    --content-gap:18px;
  }
  .portal-header {
    padding-left:20px;
  }
  .main-content {
    padding-inline:18px;
  }
  .sidebar {
    padding-inline:9px;
  }
  .nav-item {
    gap:11px;
    padding-inline:10px;
    font-size:13px;
  }
  .events-grid {
    grid-template-columns:repeat(2,minmax(0,1fr));
    gap:12px;
    margin:0 8px 10px;
  }
  .event-card {
    min-height:0;
  }
  .event-row {
    grid-template-columns:88px minmax(0,1fr) 18px;
    gap:12px;
    padding-right:10px;
  }
  .event-row>img {
    grid-row:1/3;
    width:88px;
    height:89px;
  }
  .event-row-copy h2 {
    font-size:19px;
  }
  .event-row-copy p {
    font-size:13px;
    line-height:20px;
  }
  .event-row .badge {
    grid-column:2;
    margin:-8px 0 0;
    justify-self:start;
    font-size:12px;
    padding:0 10px;
  }
  .row-chevron {
    grid-row:1/3;
    grid-column:3;
  }
  .decor-grid {
    grid-template-columns:repeat(2,minmax(0,1fr));
    gap:14px;
  }
  .decor-filters {
    gap:8px;
  }
  .detail-tab {
    padding-inline:17px;
    font-size:13px;
  }
  .catalogue-layout {
    grid-template-columns:minmax(0,1fr) 180px;
    gap:12px;
  }
  .category-grid {
    grid-template-columns:repeat(3,minmax(0,1fr));
    padding:0;
  }
  .catalogue-promo {
    min-height:393px;
  }
  .catalogue-promo-content {
    left:12px;
    right:12px;
  }
  .catalogue-promo h2 {
    font-size:18px;
  }
}
/* App-style mobile navigation is fixed along the bottom, never a drawer. */
@media(max-width:680px) {
  body[class] {
    --body-top:10px;
    --body-right:10px;
    --body-bottom:10px;
    --body-left:10px;
    --header:78px;
    --content-gap:16px;
    padding-bottom:calc(92px + env(safe-area-inset-bottom,0px));
  }
  .portal {
    display:grid;
    grid-template-columns:minmax(0,1fr);
    grid-template-rows:var(--header) 1fr;
    min-height:calc(100svh - 112px - env(safe-area-inset-bottom,0px));
    border-radius:12px;
  }
  .portal-header {
    grid-column:1;
    padding:0 16px 6px;
  }
  .brand {
    width:112px;
  }
  .brand img {
    width:108px;
  }
  .header-actions {
    gap:12px;
  }
  .avatar {
    height:33px;
    width:33px;
    font-size:12px;
  }
  .sidebar {
    position:fixed;
    inset:auto 0 0;
    z-index:40;
    width:100%;
    display:block;
    padding:7px 6px calc(7px + env(safe-area-inset-bottom,0px));
    border:0;
    border-top:1px solid #e1d7c6;
    border-radius:17px 17px 0 0;
    background:#faf7f0;
    box-shadow:0 -3px 20px #47372112;
  }
  .navigation {
    display:grid;
    grid-template-columns:repeat(5,minmax(0,1fr));
    gap:4px;
  }
  .nav-item {
    min-width:0;
    min-height:55px;
    flex-direction:column;
    justify-content:center;
    align-items:center;
    gap:5px;
    padding:6px 1px;
    font-size:10px;
    line-height:13px;
    text-align:center;
    border-radius:11px;
  }
  .nav-item .icon {
    width:21px;
    height:21px;
  }
  .nav-item.is-active {
    color:var(--accent-dark);
    background:#ede3d2;
  }
  .nav-item .nav-label-desktop {
    display:none;
  }
  .nav-label-mobile {
    display:inline;
  }
  .sidebar .logout-button {
    display:none;
  }
  .main-content {
    grid-row:2;
    grid-column:1;
    padding:0 16px 22px;
    min-width:0;
  }
  .welcome {
    margin-bottom:16px;
    padding-left:0;
  }
  .hero {
    min-height:145px;
    aspect-ratio:auto;
  }
  .hero h2 {
    left:18px;
    font-size:clamp(20px,5.4vw,27px);
    line-height:1.4;
  }
  .hero>img {
    object-position:57% center;
  }
  .events-panel {
    margin-top:18px;
  }
  .events-grid {
    grid-template-columns:repeat(2,minmax(0,1fr));
    gap:10px;
    margin:0 6px 9px;
  }
  .event-card {
    min-height:0;
    padding:6px 6px 16px;
  }
  .event-copy {
    padding:11px 3px 0;
  }
  .event-copy h3 {
    font-size:14px;
  }
  .event-date,.event-location {
    font-size:11px;
  }
  .event-location {
    white-space:normal;
  }
  .event-status {
    font-size:11px;
    margin-top:7px;
  }
  .requests-panel {
    padding-inline:12px;
    margin-top:17px;
  }
  .requests-panel h2 {
    font-size:14px;
  }
  .page-heading h1,.welcome h1,.event-detail-heading h1 {
    font-size:25px;
    line-height:31px;
  }
  .page-heading p,.welcome p {
    font-size:13px;
    line-height:20px;
  }
  .page-heading,.event-detail-heading {
    padding-left:0;
  }
  .event-filters {
    justify-content:flex-start;
    gap:5px;
    margin-top:17px;
    padding-bottom:5px;
  }
  .event-filter {
    padding-inline:15px;
    font-size:13px;
  }
  .event-list {
    margin-top:16px;
    gap:12px;
  }
  .event-row {
    grid-template-columns:80px minmax(0,1fr) 15px;
    grid-template-rows:auto auto;
    gap:3px 11px;
    padding:10px;
    min-height:120px;
  }
  .event-row>img {
    grid-column:1;
    grid-row:1/3;
    width:80px;
    height:96px;
    border-radius:6px;
  }
  .event-row-copy {
    padding:0;
  }
  .event-row-copy h2 {
    font-size:18px;
    line-height:24px;
  }
  .event-row-copy p {
    font-size:11px;
    line-height:17px;
    margin-top:3px;
    gap:5px;
  }
  .event-row-copy p .icon {
    width:14px;
    height:14px;
  }
  .event-row .badge {
    grid-column:2;
    margin:4px 0 0;
    justify-self:start;
    align-self:start;
    padding:1px 9px;
    font-size:10px;
    line-height:18px;
  }
  .row-chevron {
    grid-column:3;
    grid-row:1/3;
    width:16px;
  }
  .event-meta {
    column-gap:16px;
    row-gap:7px;
    margin-top:7px;
    font-size:12px;
  }
  .event-meta .badge {
    font-size:12px;
  }
  .event-detail-banner {
    margin-top:14px;
    aspect-ratio:2.5;
    object-position:center;
  }
  .detail-tabs {
    margin-top:1px;
  }
  .detail-tab {
    padding-inline:17px;
    height:43px;
    font-size:12px;
  }
  .detail-tab:first-child {
    padding-left:0;
  }
  .tab-panel {
    padding-inline:0;
    padding-top:14px;
  }
  .tab-panel>h2 {
    font-size:18px;
  }
  .decor-filters {
    gap:8px;
    padding-top:12px;
    padding-bottom:15px;
  }
  .filter-pill {
    padding:6px 14px;
    font-size:12px;
  }
  .decor-grid {
    grid-template-columns:repeat(2,minmax(0,1fr));
    gap:12px;
  }
  .decor-copy {
    padding:9px 9px 12px;
  }
  .decor-copy h3 {
    font-size:12px;
    min-height:20px;
  }
  .decor-copy>p {
    font-size:12px;
  }
  .quantity-control {
    gap:4px;
  }
  .quantity-control button {
    width:34px;
    height:34px;
  }
  .decor-actions {
    margin-top:16px;
  }
  .overview-grid {
    grid-template-columns:1fr;
  }
  .catalogue-layout {
    grid-template-columns:minmax(0,1fr);
    gap:18px;
    margin-top:17px;
  }
  .category-grid {
    grid-template-columns:repeat(3,minmax(0,1fr));
    gap:10px;
    padding:0;
  }
  .category-card {
    min-height:116px;
    padding-inline:3px;
  }
  .category-card span {
    font-size:11px;
  }
  .category-card img {
    max-width:58px;
  }
  .catalogue-promo {
    min-height:280px;
  }
  .catalogue-promo>img {
    object-position:center 55%;
  }
  .catalogue-promo-content {
    left:22px;
    right:22px;
    bottom:22px;
    gap:17px;
  }
  .catalogue-promo h2 {
    font-size:24px;
  }
  .catalogue-products {
    gap:10px;
  }
  .popover {
    right:-48px;
  }
  .account-menu {
    right:0;
  }
  .detail-dialog {
    padding:24px;
  }
  .toast {
    bottom:calc(87px + env(safe-area-inset-bottom,0px));
  }
}
@media(max-width:360px) {
  .main-content {
    padding-inline:12px;
  }
  .event-row {
    grid-template-columns:65px minmax(0,1fr) 12px;
    column-gap:9px;
    padding:8px;
  }
  .event-row>img {
    width:65px;
  }
  .event-row-copy p {
    font-size:10px;
    gap:3px;
  }
  .event-copy {
    padding-inline:0;
  }
  .event-status {
    font-size:10px;
  }
  .quantity-control button {
    width:28px;
  }
  .category-card span {
    font-size:10px;
  }
}
@media(prefers-reduced-motion:reduce) {
  html {
    scroll-behavior:auto;
  }
}
