* { box-sizing: border-box; }

.ff-profile-workspace { max-width: 920px; margin: 0 auto; display: grid; gap: 18px; }.ff-profile-card { padding: 24px; border: 1px solid var(--ff-border); border-radius: 8px; background: var(--ff-card); }.ff-profile-card h2 { margin: 0; font-size: 22px; }.ff-profile-card h3 { margin: 0 0 16px; font-size: 17px; }.ff-profile-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 15px 18px; margin: 20px 0; }.ff-profile-grid label { color: var(--ff-muted); font-size: 13px; font-weight: 700; }.ff-profile-grid input { width: 100%; margin-top: 7px; border: 1px solid var(--ff-border); border-radius: 8px; background: var(--ff-input); color: var(--ff-text); padding: 11px 12px; outline: none; }.ff-profile-grid input:focus { border-color: var(--ff-accent); box-shadow: 0 0 0 3px var(--ff-focus); }.ff-profile-grid input[readonly] { color: var(--ff-muted); background: var(--ff-soft); }.ff-profile-wide { grid-column: 1 / -1; }.ff-profile-section { margin: 24px 0; padding-top: 22px; border-top: 1px solid var(--ff-border); }.ff-danger-action { min-height: 42px; border: 1px solid var(--ff-danger); border-radius: 8px; background: var(--ff-danger); color: var(--ff-accent-text); padding: 10px 14px; font-weight: 800; }.ff-profile-danger .ff-form-status { margin-bottom: 0; }@media (max-width: 640px) { .ff-profile-card { padding: 18px; }.ff-profile-grid { grid-template-columns: 1fr; }.ff-profile-wide { grid-column: auto; } }

html { min-height: 100%; }

body {
  min-height: 100%;
  margin: 0;
  color: var(--ff-text);
  background: var(--ff-bg);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Arial, sans-serif;
}

.ff-ui-settings { position: relative; }
.ff-ui-settings-toggle svg,
#ff-ui-settings-toggle svg { width: 20px; height: 20px; fill: none; stroke: currentColor; stroke-linecap: round; stroke-linejoin: round; stroke-width: 1.8; }
.ff-ui-settings-menu { position: absolute; z-index: 20; top: calc(100% + 8px); right: 0; width: 320px; padding: 14px; border: 1px solid var(--ff-border); border-radius: 10px; background: var(--ff-card); box-shadow: 0 14px 30px rgba(0,0,0,.16); }
.ff-ui-settings-menu strong { display:block; margin-bottom:10px; font-size:14px; }
.ff-ui-scale-presets, .ff-ui-scale-adjust { display:flex; gap:6px; align-items:center; }
.ff-ui-scale-presets button { flex:1; min-height:34px; border:1px solid var(--ff-border); border-radius:6px; background:var(--ff-input); color:var(--ff-text); font-weight:750; }
.ff-ui-scale-presets button.is-active { background:var(--ff-accent); border-color:var(--ff-accent); color:var(--ff-accent-text); }
.ff-ui-scale-adjust { justify-content:space-between; margin-top:12px; }
.ff-ui-scale-adjust button { width:38px; height:34px; border:1px solid var(--ff-border); border-radius:6px; background:var(--ff-input); color:var(--ff-text); font-size:20px; font-weight:800; }
.ff-ui-scale-adjust output { font-weight:850; }

button,
input,
select,
textarea {
  font: inherit;
}

button { cursor: pointer; }

[hidden] {
  display: none !important;
}

body.is-access-locked {
  overflow: hidden;
}

body.is-access-locked .ff-app {
  filter: blur(10px);
  transform: scale(1.01);
  pointer-events: none;
  user-select: none;
}

.ff-app {
  zoom: var(--ff-ui-scale, 1);
  display: grid;
  grid-template-columns: 340px minmax(0, 1fr);
  min-height: var(--ff-ui-viewport-height, 100vh);
  background: var(--ff-bg);
}

.ff-sidebar {
  position: sticky;
  top: 0;
  height: var(--ff-ui-viewport-height, 100vh);
  overflow: auto;
  padding: 20px;
  border-right: 1px solid var(--ff-border);
  background: var(--ff-sidebar);
}

.ff-brand {
  display: flex;
  width: 100%;
  align-items: center;
  gap: 12px;
  margin-bottom: 22px;
  border: 0;
  padding: 0;
  background: transparent;
  color: inherit;
  font: inherit;
  text-align: left;
  cursor: pointer;
}

.ff-brand:focus-visible {
  outline: 3px solid var(--ff-focus);
  outline-offset: 4px;
  border-radius: 8px;
}

.ff-brand-logo {
  width: 108px;
  height: 60px;
  flex: 0 0 108px;
  object-fit: contain;
}

.ff-brand strong,
.ff-brand span {
  display: block;
}

.ff-brand span {
  margin-top: 2px;
  color: var(--ff-muted);
  font-size: 13px;
}

.ff-auth-card {
  display: grid;
  gap: 10px;
  margin-bottom: 18px;
  padding: 12px;
  border: 1px solid var(--ff-border);
  border-radius: 8px;
  background: var(--ff-soft);
}

.ff-auth-card strong,
.ff-auth-card span {
  display: block;
}

.ff-auth-user {
  display: flex;
  align-items: center;
  gap: 10px;
  min-width: 0;
}
.ff-auth-profile { width: 100%; border: 0; padding: 0; color: inherit; background: transparent; text-align: left; cursor: pointer; }
.ff-auth-profile:hover strong { text-decoration: underline; }
.ff-account-menu { position: relative; }.ff-account-menu-panel { display: none; position: absolute; z-index: 30; top: 100%; left: -13px; width: calc(100% + 26px); padding: 7px; border: 1px solid var(--ff-border); border-radius: 9px; background: var(--ff-card); box-shadow: 0 14px 30px rgba(0,0,0,.16); }.ff-account-menu:hover .ff-account-menu-panel, .ff-account-menu:focus-within .ff-account-menu-panel { display: grid; }.ff-account-menu-panel button, .ff-account-menu-panel a { min-height: 37px; border: 0; border-radius: 6px; padding: 8px 10px; background: transparent; color: var(--ff-text); text-align: left; font-size: 14px; font-weight: 700; text-decoration: none; }.ff-account-menu-panel button:hover, .ff-account-menu-panel button:focus-visible, .ff-account-menu-panel a:hover, .ff-account-menu-panel a:focus-visible { background: var(--ff-soft); outline: none; }.ff-auth-avatar-initials { display: grid; place-items: center; color: var(--ff-accent-text); background: var(--ff-accent); font-weight: 850; }

.ff-auth-user > div {
  min-width: 0;
}

.ff-auth-user strong,
.ff-auth-user span {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.ff-auth-avatar {
  width: 40px;
  height: 40px;
  flex: 0 0 40px;
  border-radius: 50%;
  object-fit: cover;
  background: var(--ff-border);
}

.ff-auth-card span,
.ff-auth-muted {
  color: var(--ff-muted);
  font-size: 13px;
}

.ff-auth-actions {
  display: grid;
  grid-template-columns: 1fr;
  gap: 8px;
}

.ff-auth-actions button,
.ff-google-action {
  min-height: 40px;
  border: 1px solid var(--ff-border);
  border-radius: 8px;
  background: var(--ff-input);
  color: var(--ff-text);
  padding: 9px 10px;
  text-align: center;
  text-decoration: none;
  font-weight: 800;
}

.ff-google-action {
  display: flex;
  width: 100%;
  align-items: center;
  justify-content: center;
  gap: 9px;
}

.ff-google-icon {
  width: 20px;
  height: 20px;
  flex: 0 0 20px;
}

.ff-auth-tabs {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
}

.ff-auth-tabs button {
  border: 1px solid var(--ff-border);
  border-radius: 8px;
  background: var(--ff-input);
  color: var(--ff-text);
  padding: 10px;
  font-weight: 800;
}

.ff-auth-tabs button.is-active {
  background: var(--ff-accent);
  border-color: var(--ff-accent);
  color: var(--ff-accent-text);
}

.ff-auth-form {
  display: grid;
  gap: 12px;
}

.ff-auth-divider {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 10px;
  color: var(--ff-muted);
  font-size: 13px;
}

.ff-auth-divider::before,
.ff-auth-divider::after {
  content: "";
  height: 1px;
  background: var(--ff-border);
}

.ff-dialog label {
  color: var(--ff-muted);
  font-size: 13px;
  font-weight: 700;
}

.ff-dialog input,
.ff-dialog select,
.ff-dialog textarea {
  width: 100%;
  margin-top: 7px;
  border: 1px solid var(--ff-border);
  border-radius: 8px;
  background: var(--ff-input);
  color: var(--ff-text);
  padding: 11px 12px;
  outline: none;
}

.ff-dialog input:focus,
.ff-dialog select:focus,
.ff-dialog textarea:focus {
  border-color: var(--ff-accent);
  box-shadow: 0 0 0 3px var(--ff-focus);
}

.ff-category-list {
  display: grid;
  gap: 6px;
  margin-bottom: 18px;
}

.ff-category-list button,
.ff-category-toggle {
  display: flex;
  justify-content: space-between;
  align-items: center;
  width: 100%;
  min-height: 48px;
  border: 1px solid transparent;
  border-radius: 8px;
  background: var(--ff-card);
  color: var(--ff-text);
  padding: 10px 12px 10px calc(12px + (var(--ff-category-depth, 0) * 14px));
  text-align: left;
  gap: 10px;
  font-size: 16px;
  font-weight: 700;
}

.ff-category-list button:hover,
.ff-category-list button.is-active,
.ff-category-toggle:hover {
  border-color: var(--ff-border);
  background: var(--ff-soft);
}

.ff-category-list span,
.ff-category-toggle span {
  color: var(--ff-muted);
  font-size: 14px;
}

.ff-category-list .ff-category-title,
.ff-category-toggle .ff-category-title {
  color: var(--ff-text);
  font-size: 15px;
}

.ff-category-title {
  flex: 1 1 auto;
  min-width: 0;
  overflow: hidden;
  text-align: right;
  text-overflow: ellipsis;
}

.ff-category-count {
  flex: 0 0 auto;
}

.ff-category-group {
  display: grid;
  gap: 4px;
}

.ff-category-toggle {
  font-weight: 800;
  padding-left: calc(12px + (var(--ff-category-depth, 0) * 14px));
}

.ff-category-main {
  border-color: color-mix(in srgb, var(--ff-accent) 20%, transparent);
  background: color-mix(in srgb, var(--ff-accent) 8%, transparent);
  color: var(--ff-text);
  min-height: 56px;
  font-size: 18px;
}

.ff-category-main .ff-category-title {
  font-size: 17px;
  font-weight: 900;
}

.ff-category-main .ff-category-count {
  font-size: 15px;
  font-weight: 800;
}

.ff-category-toggle::before {
  content: "›";
  display: inline-block;
  transform: rotate(0deg);
  color: var(--ff-muted);
  margin-right: 2px;
}

.ff-category-toggle.is-open::before {
  transform: rotate(90deg);
}

.ff-category-children {
  display: grid;
  gap: 4px;
}

.ff-category-group-nested {
  padding-left: 10px;
}

.ff-theme-picker {
  display: inline-flex;
  justify-content: flex-end;
  gap: 6px;
}

.ff-old-version-link {
  display: grid;
  place-items: center;
  min-width: 96px;
  height: 40px;
  padding: 0 12px;
  border: 1px solid var(--ff-border);
  border-radius: 8px;
  background: var(--ff-input);
  color: var(--ff-text);
  font-size: 13px;
  font-weight: 800;
  line-height: 1;
  text-decoration: none;
  white-space: nowrap;
  transition: background .16s ease, border-color .16s ease, color .16s ease, transform .16s ease;
}

.ff-old-version-link:hover,
.ff-old-version-link:focus-visible {
  border-color: var(--ff-accent);
  color: var(--ff-text);
  outline: none;
  transform: translateY(-1px);
}

.ff-theme-picker button {
  display: grid;
  place-items: center;
  width: 40px;
  height: 40px;
  border: 1px solid var(--ff-border);
  border-radius: 8px;
  background: var(--ff-input);
  color: var(--ff-text);
  padding: 0;
  font-size: 18px;
  font-weight: 900;
  line-height: 1;
  transition: background .16s ease, border-color .16s ease, color .16s ease, transform .16s ease;
}

.ff-theme-picker button:hover,
.ff-theme-picker button:focus-visible {
  border-color: var(--ff-accent);
  outline: none;
  transform: translateY(-1px);
}

.ff-theme-picker button.is-active {
  background: var(--ff-accent);
  border-color: var(--ff-accent);
  color: var(--ff-accent-text);
}

.ff-main {
  min-width: 0;
  padding: 24px;
}

.ff-toolbar {
  display: grid;
  grid-template-columns: minmax(200px, .65fr) minmax(360px, 1.6fr) auto;
  align-items: start;
  gap: 18px;
  margin-bottom: 20px;
}

.ff-toolbar-controls {
  display: flex;
  min-width: 0;
  justify-content: stretch;
  align-items: center;
  gap: 16px;
}

.ff-toolbar-search {
  position: relative;
  display: block;
  flex: 1 1 360px;
  min-width: 240px;
  max-width: 620px;
  padding: 3px;
  border: 2px solid var(--ff-accent);
  border-radius: 10px;
  background: var(--ff-card);
  box-shadow: 0 1px 2px rgba(42, 33, 25, .1);
}

.ff-toolbar-search input {
  width: 100%;
  min-height: 46px;
  border: 1px solid transparent;
  border-radius: 6px;
  background: var(--ff-card);
  color: var(--ff-text);
  padding: 10px 44px 10px 13px;
  font: inherit;
  outline: none;
}

.ff-toolbar-search input:focus {
  border-color: transparent;
  box-shadow: none;
}

.ff-toolbar-search:focus-within {
  box-shadow: 0 0 0 4px var(--ff-focus);
}

.ff-toolbar-search-icon {
  position: absolute;
  top: 50%;
  right: 13px;
  width: 20px;
  height: 20px;
  color: var(--ff-muted);
  pointer-events: none;
  transform: translateY(-50%);
}

.ff-toolbar-search-icon svg {
  width: 100%;
  height: 100%;
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-width: 2;
}

.ff-visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.ff-toolbar h1 {
  margin: 0;
  font-size: 30px;
  line-height: 1.1;
}

.ff-toolbar p {
  margin: 8px 0 0;
  color: var(--ff-muted);
}

.ff-popular-categories {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 8px;
  margin: -3px auto 22px;
  width: 100%;
}

.ff-popular-categories button {
  min-height: 42px;
  border: 1px solid color-mix(in srgb, var(--ff-accent) 75%, var(--ff-border));
  border-radius: 999px;
  padding: 8px 15px;
  background: linear-gradient(180deg, #fff 0%, color-mix(in srgb, #fff 82%, var(--ff-accent)) 100%);
  box-shadow: 0 3px 0 color-mix(in srgb, var(--ff-accent) 56%, var(--ff-border)), 0 7px 13px color-mix(in srgb, var(--ff-accent) 16%, transparent);
  color: var(--ff-accent);
  font-size: 14px;
  font-weight: 900;
  text-shadow: 0 1px 0 color-mix(in srgb, var(--ff-card) 80%, transparent);
  transition: box-shadow .16s ease, background .16s ease, color .16s ease, transform .16s ease;
}

.ff-app[data-theme="night"] .ff-popular-categories button {
  background: linear-gradient(180deg, color-mix(in srgb, var(--ff-card) 88%, #000) 0%, color-mix(in srgb, var(--ff-card) 72%, var(--ff-accent)) 100%);
}

.ff-popular-categories button:hover,
.ff-popular-categories button:focus-visible {
  background: linear-gradient(180deg, color-mix(in srgb, var(--ff-accent) 88%, #fff) 0%, var(--ff-accent) 100%);
  box-shadow: 0 5px 0 color-mix(in srgb, var(--ff-accent) 75%, #000), 0 10px 18px color-mix(in srgb, var(--ff-accent) 30%, transparent);
  color: var(--ff-accent-text);
  outline: none;
  text-shadow: none;
  transform: translateY(-2px);
}

.ff-popular-categories button:active {
  box-shadow: 0 1px 0 color-mix(in srgb, var(--ff-accent) 75%, #000), 0 3px 6px color-mix(in srgb, var(--ff-accent) 20%, transparent);
  transform: translateY(2px);
}

.ff-selected-products {
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 7px;
  min-height: 38px;
  border: 1px solid var(--ff-accent);
  border-radius: 8px;
  padding: 8px 12px;
  background: var(--ff-accent);
  color: var(--ff-accent-text);
  font-weight: 850;
  white-space: nowrap;
}

.ff-cart-icon {
  width: 19px;
  height: 19px;
  flex: 0 0 19px;
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 2;
}

.ff-selected-products.is-bumping {
  animation: ff-cart-bump .42s ease-out;
}

.ff-selected-products[data-added]::after {
  content: attr(data-added);
  position: absolute;
  top: -13px;
  right: -9px;
  display: grid;
  min-width: 23px;
  height: 23px;
  place-items: center;
  border: 2px solid var(--ff-card);
  border-radius: 999px;
  background: var(--ff-success);
  color: var(--ff-accent-text);
  font-size: 11px;
  font-weight: 900;
  animation: ff-cart-badge 1.5s ease-out both;
}

@keyframes ff-cart-bump {
  35% { transform: translateY(-3px) scale(1.08); }
  70% { transform: translateY(1px) scale(.98); }
}

@keyframes ff-cart-badge {
  0% { opacity: 0; transform: scale(.4); }
  20%, 72% { opacity: 1; transform: scale(1); }
  100% { opacity: 0; transform: translateY(-8px) scale(.85); }
}

.ff-primary-action,
.ff-secondary-action,
.ff-link-action {
  min-height: 42px;
  border-radius: 8px;
  padding: 10px 14px;
  font-weight: 800;
}

.ff-primary-action {
  border: 1px solid var(--ff-accent);
  background: var(--ff-accent);
  color: var(--ff-accent-text);
}

.ff-secondary-action {
  width: 100%;
  border: 1px solid var(--ff-border);
  background: var(--ff-soft);
  color: var(--ff-text);
}

.ff-link-action {
  border: 0;
  background: transparent;
  color: var(--ff-muted);
  padding-inline: 0;
  text-align: center;
  text-decoration: underline;
}

.ff-state {
  color: var(--ff-muted);
  padding: 18px 0;
}

.ff-assistant-workspace {
  display: grid;
  grid-template-rows: minmax(0, 1fr) auto;
  gap: 14px;
  height: calc(var(--ff-ui-viewport-height, 100vh) - 132px);
  min-height: 0;
}

.ff-assistant-feed {
  min-height: 0;
  overflow: auto;
  border: 1px solid var(--ff-border);
  border-radius: 8px;
  background: var(--ff-card);
  padding: 22px;
  scroll-behavior: smooth;
}

.ff-assistant-hero {
  display: grid;
  grid-template-columns: minmax(220px, 28%) minmax(360px, 1fr);
  align-items: stretch;
  min-height: 0;
  height: clamp(340px, 50vh, 460px);
  overflow: hidden;
  border: 1px solid color-mix(in srgb, var(--ff-accent) 14%, var(--ff-border));
  border-radius: 8px;
  background: var(--ff-card);
}

.ff-assistant-hero-media {
  position: relative;
  min-height: 0;
  overflow: visible;
  background: transparent;
}

.ff-assistant-hero-media::after {
  content: "";
  position: absolute;
  right: -18px;
  bottom: 8%;
  left: 14%;
  height: 18%;
  background:
    radial-gradient(ellipse, rgba(0, 0, 0, .24) 0%, rgba(0, 0, 0, 0) 70%);
  filter: blur(10px);
  pointer-events: none;
}

.ff-assistant-hero-media img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: contain;
  object-position: center bottom;
  position: relative;
  z-index: 1;
}

.ff-assistant-hero-copy {
  display: flex;
  align-items: center;
  min-width: 0;
  padding: 28px 36px;
}

.ff-assistant-intro {
  max-width: 760px;
  min-height: 140px;
  white-space: pre-wrap;
  color: var(--ff-text);
  font-size: 24px;
  font-weight: 620;
  line-height: 1.48;
}

.ff-starter-prompts {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  max-width: 900px;
  margin-top: 18px;
  border-top: 1px solid var(--ff-border);
  padding-top: 14px;
}

.ff-starter-prompts button,
.ff-ai-show-more,
.ff-ai-product-actions button {
  min-height: 36px;
  border: 1px solid var(--ff-border);
  border-radius: 8px;
  background: var(--ff-input);
  color: var(--ff-text);
  padding: 8px 10px;
  font-weight: 800;
}

.ff-starter-prompts button:hover,
.ff-ai-show-more:hover,
.ff-ai-product-actions button:hover {
  border-color: var(--ff-accent);
  color: var(--ff-accent);
}

.ff-ai-message {
  display: grid;
  gap: 10px;
  max-width: 980px;
  margin-bottom: 18px;
}

.ff-ai-message-user {
  justify-items: end;
  margin-left: auto;
}

.ff-ai-message-label {
  color: var(--ff-muted);
  font-size: 12px;
  font-weight: 850;
  text-transform: uppercase;
}

.ff-ai-message-copy {
  width: fit-content;
  max-width: min(760px, 100%);
  border: 1px solid var(--ff-border);
  border-radius: 8px;
  background: var(--ff-soft);
  color: var(--ff-text);
  padding: 12px 14px;
  line-height: 1.55;
}

.ff-ai-message-user .ff-ai-message-copy {
  background: var(--ff-accent);
  border-color: var(--ff-accent);
  color: var(--ff-accent-text);
}

.ff-ai-product-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 10px;
  width: 100%;
}

.ff-ai-product-card {
  display: grid;
  grid-template-columns: 82px minmax(0, 1fr);
  gap: 12px;
  min-height: 154px;
  border: 1px solid var(--ff-border);
  border-radius: 8px;
  background: var(--ff-card);
  padding: 10px;
}

.ff-ai-product-card img {
  width: 82px;
  height: 82px;
  border-radius: 8px;
  background: var(--ff-soft);
  object-fit: cover;
}

.ff-ai-product-card h3 {
  margin: 4px 0 5px;
  font-size: 15px;
  line-height: 1.25;
}

.ff-ai-product-card p {
  margin: 6px 0 0;
  color: var(--ff-muted);
  font-size: 13px;
  line-height: 1.4;
}

.ff-ai-product-price {
  display: inline-block;
  color: var(--ff-text);
  font-size: 14px;
}

.ff-ai-product-stock {
  color: var(--ff-muted);
  font-size: 12px;
  font-weight: 800;
}

.ff-ai-product-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 7px;
  margin-top: 10px;
}

.ff-assistant-composer {
  display: grid;
  gap: 10px;
  border: 1px solid var(--ff-border);
  border-radius: 8px;
  background: var(--ff-card);
  padding: 12px;
}

.ff-assistant-composer textarea {
  width: 100%;
  min-height: 112px;
  max-height: 180px;
  resize: none;
  border: 1px solid var(--ff-border);
  border-radius: 8px;
  background: var(--ff-input);
  color: var(--ff-text);
  padding: 12px;
  outline: none;
  line-height: 1.45;
}

.ff-assistant-composer textarea:focus {
  border-color: var(--ff-accent);
  box-shadow: 0 0 0 3px var(--ff-focus);
}

.ff-assistant-composer-actions {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.ff-assistant-composer-actions p {
  min-height: 20px;
  margin: 0;
  color: var(--ff-muted);
  font-size: 14px;
}

.ff-assistant-composer-actions button {
  min-width: 104px;
}

.ff-assistant-composer-actions button:disabled {
  cursor: wait;
  opacity: .65;
}

.ff-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
  gap: 14px;
}

.ff-card {
  display: flex;
  flex-direction: column;
  min-height: 360px;
  border: 1px solid var(--ff-border);
  border-radius: 8px;
  overflow: hidden;
  background: var(--ff-card);
  cursor: pointer;
  transition: border-color .16s ease, transform .16s ease, box-shadow .16s ease;
}

.ff-card:hover,
.ff-card:focus-visible {
  border-color: var(--ff-accent);
  box-shadow: 0 14px 34px rgba(0,0,0,.12);
  transform: translateY(-2px);
  outline: none;
}

.ff-card-image {
  display: block;
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: contain;
  background: #fff;
}

.ff-card-body {
  display: flex;
  flex-direction: column;
  flex: 1;
  gap: 10px;
  padding: 14px;
}

.ff-card h2 {
  margin: 0;
  font-size: 18px;
  line-height: 1.25;
}

.ff-price-block {
  display: inline-flex;
  align-items: baseline;
  gap: 7px;
  width: fit-content;
  margin-top: 2px;
  border: 1px solid color-mix(in srgb, var(--ff-accent) 22%, var(--ff-border));
  border-radius: 8px;
  background: color-mix(in srgb, var(--ff-accent) 9%, var(--ff-card));
  padding: 8px 10px;
  color: color-mix(in srgb, var(--ff-accent) 72%, var(--ff-muted));
  line-height: 1;
}

.ff-price-block span {
  font-size: 13px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: .04em;
}

.ff-price-block strong,
.ff-price-main {
  color: var(--ff-accent);
  font-size: 20px;
  font-weight: 900;
}

.ff-variant-prices {
  display: grid;
  gap: 4px;
  color: var(--ff-muted);
  font-size: 13px;
}

.ff-variant-prices div {
  display: flex;
  justify-content: space-between;
  gap: 12px;
}

.ff-variant-prices strong {
  color: var(--ff-text);
  white-space: nowrap;
}

.ff-card-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}

.ff-pill {
  border: 1px solid var(--ff-border);
  border-radius: 999px;
  background: transparent;
  color: var(--ff-muted);
  font-size: 12px;
  font-weight: 700;
  line-height: 1.2;
  padding: 4px 8px;
}

.ff-category-pill {
  border-color: color-mix(in srgb, var(--ff-accent) 55%, var(--ff-border));
  background: color-mix(in srgb, var(--ff-accent) 14%, var(--ff-card));
  color: var(--ff-accent);
  cursor: pointer;
  font-weight: 850;
  transition: background .16s ease, border-color .16s ease, color .16s ease, transform .16s ease;
}

.ff-category-pill:hover,
.ff-category-pill:focus-visible {
  border-color: var(--ff-accent);
  background: var(--ff-accent);
  color: var(--ff-accent-text);
  outline: none;
  transform: translateY(-1px);
}

.ff-card p {
  margin: 0;
  color: var(--ff-muted);
  line-height: 1.45;
}

.ff-feature-list {
  display: grid;
  gap: 6px;
  margin-top: auto;
  color: var(--ff-muted);
  font-size: 13px;
}

.ff-card-actions {
  display: flex;
  align-items: stretch;
  gap: 8px;
  margin-top: auto;
}

.ff-card-actions > * {
  min-width: 0;
}

.ff-card-actions .ff-request-product {
  flex: 1 1 0;
  padding-right: 10px;
  padding-left: 10px;
}

.ff-request-product.is-added {
  background: var(--ff-success);
  border-color: var(--ff-success);
  color: var(--ff-accent-text);
}

.ff-card-cart-quantity {
  display: grid;
  grid-template-columns: 42px minmax(0, 1fr) 42px;
  flex: 1 1 0;
  min-height: 42px;
  overflow: hidden;
  border: 1px solid var(--ff-accent);
  border-radius: 8px;
  background: var(--ff-soft);
  text-align: center;
}

.ff-card-cart-quantity button {
  border: 0;
  background: transparent;
  color: var(--ff-accent);
  font-size: 20px;
  font-weight: 900;
}

.ff-card-cart-quantity button:hover,
.ff-card-cart-quantity button:focus-visible {
  background: var(--ff-accent);
  color: var(--ff-accent-text);
  outline: none;
}

.ff-card-cart-quantity strong {
  display: grid;
  place-items: center;
}

.ff-product-select {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  min-height: 42px;
  padding: 0 10px;
  border: 1px solid var(--ff-border);
  border-radius: 8px;
  background: var(--ff-soft);
  color: var(--ff-text);
  font-size: 14px;
  font-weight: 800;
  cursor: pointer;
}

.ff-product-select input {
  width: 16px;
  height: 16px;
  accent-color: var(--ff-accent);
}

.ff-request-product {
  flex: 1;
  white-space: nowrap;
}

.ff-selected-product-list {
  display: grid;
  gap: 7px;
  max-height: 180px;
  overflow: auto;
  margin: 0;
  padding: 10px 14px;
  border: 1px solid var(--ff-border);
  border-radius: 8px;
  background: var(--ff-soft);
}

.ff-selected-product-list li {
  font-weight: 750;
}

.ff-selected-product-list span {
  color: var(--ff-muted);
  font-size: 13px;
}

.ff-pagination {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 14px;
  margin-top: 22px;
  padding: 14px 0 4px;
  color: var(--ff-muted);
}

.ff-pagination-top {
  margin: 0 0 22px;
  padding: 4px 0 14px;
  border-bottom: 1px solid var(--ff-border);
}

.ff-pagination-summary {
  font-size: 14px;
  font-weight: 700;
}

.ff-pagination-actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 6px;
}

.ff-pagination-actions button {
  min-width: 38px;
  min-height: 38px;
  border: 1px solid var(--ff-border);
  border-radius: 8px;
  background: var(--ff-card);
  color: var(--ff-text);
  padding: 8px 11px;
  font-weight: 800;
}

.ff-pagination-actions button:hover:not(:disabled),
.ff-pagination-actions button.is-active {
  border-color: var(--ff-accent);
  background: var(--ff-accent);
  color: var(--ff-accent-text);
}

.ff-pagination-actions button:disabled {
  cursor: not-allowed;
  opacity: .45;
}

.ff-pagination-gap {
  display: grid;
  place-items: center;
  min-width: 22px;
  color: var(--ff-muted);
}

.ff-modal {
  position: fixed;
  inset: 0;
  display: grid;
  place-items: center;
  padding: 18px;
  background: rgba(0, 0, 0, .62);
  z-index: 30;
}

.ff-modal[hidden] { display: none; }

.ff-access-gate {
  position: fixed;
  inset: 0;
  display: grid;
  place-items: center;
  padding: 18px;
  background: rgba(0, 0, 0, .42);
  z-index: 100;
}

.ff-access-dialog {
  display: grid;
  gap: 12px;
  width: min(390px, 100%);
  border: 1px solid var(--ff-border);
  border-radius: 8px;
  background: var(--ff-card);
  color: var(--ff-text);
  padding: 24px;
  box-shadow:
    0 24px 70px rgba(0,0,0,.45),
    0 0 70px rgba(255, 244, 226, .14);
}

.ff-access-dialog h2 {
  margin: 0 0 2px;
  font-size: 24px;
  line-height: 1.15;
}

.ff-access-dialog label {
  color: var(--ff-muted);
  font-size: 13px;
  font-weight: 800;
}

.ff-access-dialog input {
  width: 100%;
  border: 1px solid var(--ff-border);
  border-radius: 8px;
  background: var(--ff-input);
  color: var(--ff-text);
  padding: 12px;
  outline: none;
}

.ff-access-dialog input:focus {
  border-color: var(--ff-accent);
  box-shadow: 0 0 0 3px var(--ff-focus);
}

.ff-modal::before {
  content: "";
  position: absolute;
  width: min(980px, 82vw);
  height: min(560px, 62vh);
  border-radius: 999px;
  background:
    radial-gradient(circle, rgba(255, 244, 226, .28) 0%, rgba(200, 149, 93, .14) 42%, rgba(255, 244, 226, 0) 72%);
  filter: blur(34px);
  opacity: .95;
  pointer-events: none;
}

.ff-dialog {
  position: relative;
  display: grid;
  gap: 12px;
  width: min(720px, 100%);
  max-height: calc(100vh - 36px);
  overflow: auto;
  border: 1px solid var(--ff-border);
  border-radius: 8px;
  background: var(--ff-card);
  padding: 22px;
  box-shadow:
    0 0 0 1px rgba(255, 244, 226, .05),
    0 26px 80px rgba(0,0,0,.48),
    0 0 90px rgba(255, 244, 226, .16);
  z-index: 1;
}

.ff-product-detail {
  width: min(1180px, 100%);
  padding: 28px;
}

.ff-detail-layout {
  display: grid;
  grid-template-columns: minmax(280px, .95fr) minmax(360px, 1fr);
  gap: 36px;
  align-items: start;
}

.ff-detail-media {
  display: grid;
  place-items: center;
  min-height: 520px;
  border: 1px solid var(--ff-border);
  border-radius: 8px;
  background: #fff;
  overflow: hidden;
}

.ff-detail-media img {
  display: block;
  width: 100%;
  max-height: 620px;
  object-fit: contain;
}

.ff-detail-info {
  display: grid;
  gap: 16px;
  padding-right: 10px;
}

.ff-detail-info h2 {
  margin: 0;
  font-size: 34px;
  line-height: 1.08;
}

.ff-detail-price {
  font-size: 20px;
  font-weight: 800;
}

.ff-detail-sku {
  color: var(--ff-text);
  font-weight: 900;
}

.ff-detail-description {
  display: grid;
  gap: 12px;
  color: var(--ff-text);
  line-height: 1.65;
}

.ff-detail-description p {
  margin: 0;
}

.ff-detail-description a {
  color: inherit;
  text-decoration: underline;
  text-underline-offset: 3px;
}

.ff-detail-description strong {
  font-weight: 900;
}

.ff-detail-options {
  display: grid;
  gap: 10px;
}

.ff-detail-label {
  color: var(--ff-muted);
  font-size: 14px;
}

.ff-detail-label strong {
  color: var(--ff-text);
}

.ff-detail-option-list {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.ff-detail-option-list button {
  display: grid;
  gap: 4px;
  min-width: 118px;
  border: 1px solid var(--ff-border);
  border-radius: 999px;
  background: var(--ff-card);
  color: var(--ff-text);
  padding: 10px 16px;
  text-align: center;
}

.ff-detail-option-list button.is-active {
  border-color: var(--ff-text);
  box-shadow: inset 0 0 0 1px var(--ff-text);
}

.ff-detail-option-list strong {
  font-size: 12px;
}

.ff-detail-quantity {
  display: grid;
  gap: 8px;
  color: var(--ff-muted);
  font-size: 14px;
}

.ff-detail-quantity div {
  display: inline-grid;
  grid-template-columns: 42px 52px 42px;
  align-items: center;
  width: max-content;
  min-height: 42px;
  border: 1px solid var(--ff-border);
  border-radius: 999px;
  overflow: hidden;
  background: var(--ff-card);
}

.ff-detail-quantity button {
  height: 42px;
  border: 0;
  background: transparent;
  color: var(--ff-text);
  font-weight: 900;
}

.ff-detail-quantity strong {
  color: var(--ff-text);
  text-align: center;
}

.ff-detail-request {
  min-height: 54px;
  margin-top: 4px;
  border-radius: 999px;
  font-size: 16px;
}

.ff-dialog h2 {
  margin: 0;
  font-size: 24px;
}

.ff-dialog-subtitle {
  margin: -4px 0 0;
  color: var(--ff-muted);
}

.ff-close {
  position: absolute;
  top: 12px;
  right: 12px;
  width: 34px;
  height: 34px;
  border: 1px solid var(--ff-border);
  border-radius: 8px;
  background: var(--ff-soft);
  color: var(--ff-text);
}

.ff-form-row {
  display: grid;
  grid-template-columns: 1fr 120px 130px;
  gap: 10px;
}

.ff-form-status {
  min-height: 20px;
  margin: 0;
  color: var(--ff-muted);
}

.ff-form-status.is-error { color: var(--ff-danger); }
.ff-form-status.is-ok { color: var(--ff-success); }

.ff-page-message {
  border: 1px solid var(--ff-border);
  border-radius: 8px;
  background: var(--ff-soft);
  color: var(--ff-text);
  padding: 12px 14px;
  margin-bottom: 14px;
}

.ff-cart-workspace { max-width: 1120px; margin: 0 auto; }
.ff-cart-layout { display: grid; grid-template-columns: minmax(0, 1fr) 320px; gap: 20px; align-items: start; }
.ff-cart-panel, .ff-cart-summary { padding: 24px; border: 1px solid var(--ff-border); border-radius: 12px; background: var(--ff-card); }
.ff-cart-heading { display: flex; align-items: start; justify-content: space-between; gap: 16px; padding-bottom: 18px; border-bottom: 1px solid var(--ff-border); }
.ff-cart-heading h2, .ff-cart-summary h2 { margin: 0; font-size: 22px; }.ff-cart-heading p, .ff-cart-summary > p { margin: 6px 0 0; color: var(--ff-muted); }
.ff-cart-items { display: grid; }.ff-cart-item { display: grid; grid-template-columns: minmax(0, 1fr) auto auto; gap: 16px; align-items: center; padding: 18px 0; border-bottom: 1px solid var(--ff-border); }
.ff-cart-item:last-child { border-bottom: 0; }.ff-cart-product-detail { display: grid; grid-template-columns: 78px minmax(0, 1fr); gap: 16px; align-items: center; min-width: 0; border: 0; padding: 0; background: transparent; color: var(--ff-text); text-align: left; }.ff-cart-product-detail img { width: 78px; height: 78px; border-radius: 8px; object-fit: contain; background: var(--ff-soft); }.ff-cart-item-copy { display: grid; min-width: 0; }.ff-cart-item-copy > strong, .ff-cart-item-copy > span, .ff-cart-item-copy > b { display: block; }.ff-cart-item-copy > strong { margin: 0 0 6px; font-size: 16px; }.ff-cart-item-copy > span { margin: 0 0 6px; color: var(--ff-muted); font-size: 13px; }.ff-cart-item-copy > b { font-size: 16px; }.ff-cart-product-detail:hover .ff-cart-item-copy > strong, .ff-cart-product-detail:focus-visible .ff-cart-item-copy > strong { color: var(--ff-accent); text-decoration: underline; text-underline-offset: 3px; }.ff-cart-product-detail:hover img, .ff-cart-product-detail:focus-visible img { box-shadow: 0 0 0 3px var(--ff-focus); }.ff-cart-product-detail:focus-visible { outline: none; }
.ff-cart-quantity { display: grid; grid-template-columns: 34px 34px 34px; align-items: center; min-height: 36px; border: 1px solid var(--ff-border); border-radius: 8px; overflow: hidden; text-align: center; }.ff-cart-quantity button { height: 36px; border: 0; color: var(--ff-text); background: var(--ff-soft); font-weight: 900; }.ff-cart-remove { border: 0; color: var(--ff-danger); background: transparent; font-weight: 800; }
.ff-cart-summary { position: sticky; top: 20px; display: grid; gap: 16px; }.ff-cart-total { display: flex; justify-content: space-between; align-items: baseline; padding: 15px 0; border-top: 1px solid var(--ff-border); border-bottom: 1px solid var(--ff-border); }.ff-cart-total strong { font-size: 20px; }.ff-cart-note { color: var(--ff-muted); font-size: 13px; line-height: 1.45; }.ff-cart-summary label { color: var(--ff-muted); font-size: 13px; font-weight: 700; }.ff-cart-summary textarea { width: 100%; margin-top: 7px; border: 1px solid var(--ff-border); border-radius: 8px; background: var(--ff-input); color: var(--ff-text); padding: 10px; resize: vertical; }.ff-cart-summary .ff-primary-action { width: 100%; font-size: 16px; }.ff-cart-empty { padding: 44px 12px; text-align: center; }.ff-cart-empty h3 { margin: 0 0 8px; }.ff-cart-empty p { color: var(--ff-muted); }
.ff-cart-success { margin: 0 0 12px !important; color: var(--ff-success) !important; font-weight: 800; }
.ff-cart-toast { position: fixed; z-index: 60; right: 24px; bottom: 24px; display: flex; align-items: center; gap: 14px; max-width: min(420px, calc(100vw - 32px)); padding: 13px 14px 13px 16px; border: 1px solid var(--ff-border); border-radius: 10px; background: var(--ff-card); box-shadow: 0 14px 34px rgba(0,0,0,.2); color: var(--ff-text); font-size: 14px; font-weight: 750; }.ff-cart-toast::before { content: '✓'; display: grid; width: 22px; height: 22px; flex: 0 0 22px; place-items: center; border-radius: 50%; background: var(--ff-success); color: var(--ff-accent-text); font-weight: 900; }.ff-cart-toast span { min-width: 0; }.ff-cart-toast button { min-height: 34px; flex: 0 0 auto; border: 1px solid var(--ff-accent); border-radius: 7px; padding: 6px 9px; background: transparent; color: var(--ff-accent); font-weight: 850; }
.ff-request-history { display: grid; gap: 10px; margin-top: 20px; }.ff-request-history-item { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 8px 16px; padding: 15px; border: 1px solid var(--ff-border); border-radius: 8px; background: var(--ff-soft); }.ff-request-history-item strong, .ff-request-history-item span { display: block; }.ff-request-history-item div span { margin-top: 3px; color: var(--ff-muted); font-size: 12px; }.ff-request-history-item ul { grid-column: 1 / -1; display: grid; gap: 8px; margin: 4px 0 0; padding: 0; color: var(--ff-muted); font-size: 13px; list-style: none; }.ff-request-item { display: flex; align-items: center; gap: 10px; }.ff-request-item img { width: 36px; height: 36px; border: 1px solid var(--ff-border); border-radius: 6px; object-fit: contain; background: var(--ff-card); }.ff-request-actions { display: flex; align-items: center; gap: 8px; }.ff-request-actions .ff-request-status { margin: 0; }.ff-request-cancel { min-height: 28px; border: 1px solid var(--ff-danger); border-radius: 6px; padding: 3px 8px; background: transparent; color: var(--ff-danger); font-size: 12px; font-weight: 800; }.ff-request-cancel:hover { background: var(--ff-danger); color: #fff; }.ff-request-status { height: fit-content; padding: 3px 8px; border-radius: 999px; background: var(--ff-card); color: var(--ff-accent); font-size: 12px; font-weight: 800; text-transform: capitalize; }
.ff-request-invoice { grid-column: 1 / -1; width: fit-content; color: var(--ff-accent); font-size: 13px; font-weight: 800; text-decoration: none; }.ff-request-invoice:hover { text-decoration: underline; }.ff-account-workspace { max-width: 980px; margin: 0 auto; }.ff-account-page { padding: 26px; border: 1px solid var(--ff-border); border-radius: 12px; background: var(--ff-card); }.ff-account-page-heading { display: flex; justify-content: space-between; gap: 18px; align-items: start; padding-bottom: 20px; border-bottom: 1px solid var(--ff-border); }.ff-account-page-heading h2 { margin: 0; font-size: 24px; }.ff-account-page-heading p { margin: 7px 0 0; color: var(--ff-muted); }.ff-invoice-list { margin-top: 20px; }.ff-invoice-table { display: grid; border: 1px solid var(--ff-border); border-radius: 8px; overflow: hidden; }.ff-invoice-row { display: grid; grid-template-columns: 1.4fr repeat(4, 1fr); gap: 12px; padding: 14px 16px; border-top: 1px solid var(--ff-border); align-items: center; font-size: 14px; }.ff-invoice-row:first-child { border-top: 0; }.ff-invoice-head { background: var(--ff-soft); color: var(--ff-muted); font-size: 11px; font-weight: 800; letter-spacing: .05em; text-transform: uppercase; }.ff-invoice-empty { padding: 40px 16px; text-align: center; }.ff-invoice-empty h3 { margin: 0 0 7px; }.ff-invoice-empty p { margin: 0; color: var(--ff-muted); }
.ff-invoice-number { margin:0; padding:0; border:0; background:transparent; color:var(--ff-text); font:inherit; font-weight:800; cursor:pointer; text-decoration:underline; text-decoration-color:transparent; text-underline-offset:3px; }.ff-invoice-number:hover, .ff-invoice-number:focus-visible { color:var(--ff-accent); text-decoration-color:currentColor; outline:none; }.ff-invoice-dialog { width:min(880px,100%); }.ff-invoice-dialog h3 { margin:0 0 9px; font-size:15px; }.ff-invoice-dialog-heading { display:flex; justify-content:space-between; align-items:start; gap:20px; padding-right:42px; }.ff-invoice-dialog-heading > strong { color:var(--ff-accent); font-size:18px; }.ff-invoice-summary { display:grid; grid-template-columns:repeat(4,minmax(0,1fr)); gap:10px; }.ff-invoice-summary > div, .ff-invoice-shipping { padding:12px; border-radius:8px; background:var(--ff-soft); }.ff-invoice-summary span { display:block; margin-bottom:4px; color:var(--ff-muted); font-size:11px; font-weight:800; letter-spacing:.04em; text-transform:uppercase; }.ff-invoice-summary strong { font-size:14px; }.ff-invoice-shipping p { margin:0; color:var(--ff-muted); line-height:1.5; }.ff-invoice-lines { border:1px solid var(--ff-border); border-radius:8px; overflow:hidden; }.ff-invoice-line { display:grid; grid-template-columns:minmax(0,1.8fr) .45fr .9fr .9fr; gap:10px; padding:10px 12px; border-top:1px solid var(--ff-border); font-size:13px; }.ff-invoice-line:first-child { border-top:0; }.ff-invoice-line-head { background:var(--ff-soft); color:var(--ff-muted); font-size:10px; font-weight:800; letter-spacing:.04em; text-transform:uppercase; }.ff-invoice-line strong { text-align:right; }.ff-invoice-totals { display:flex; justify-content:flex-end; flex-wrap:wrap; gap:18px; padding-top:4px; color:var(--ff-muted); font-size:13px; }.ff-invoice-totals strong { margin-left:5px; color:var(--ff-text); }.ff-invoice-memo { margin:0; padding:12px; border-radius:8px; background:var(--ff-soft); color:var(--ff-muted); white-space:pre-wrap; }
.ff-request-product-button { width: 36px; height: 36px; padding: 0; border: 0; border-radius: 6px; background: transparent; }.ff-request-product-button img { display: block; cursor: pointer; }.ff-request-product-button:hover img, .ff-request-product-button:focus-visible img { border-color: var(--ff-accent); box-shadow: 0 0 0 2px var(--ff-focus); }
.ff-request-item-copy { display: grid; gap: 3px; min-width: 0; }.ff-request-item-copy strong { color: var(--ff-text); font-size: 15px; line-height: 1.3; }.ff-request-item-copy span { color: var(--ff-muted); font-size: 13px; line-height: 1.35; }.ff-request-total { grid-column: 1 / -1; display: flex; justify-content: flex-end; align-items: baseline; gap: 16px; margin-top: 4px; padding-top: 12px; border-top: 1px solid var(--ff-border); }.ff-request-total span { color: var(--ff-muted); font-size: 13px; }.ff-request-total strong { font-size: 16px; }

@media (min-width: 841px) and (max-width: 1100px) {
  .ff-toolbar {
    grid-template-columns: minmax(0, 1fr) auto;
    gap: 14px;
  }

  .ff-toolbar > div:first-child {
    grid-column: 1 / -1;
  }

  .ff-toolbar-controls {
    flex-wrap: nowrap;
  }

  .ff-toolbar-search {
    flex-basis: 280px;
  }
}

@media (max-width: 840px) {
  .ff-app {
    grid-template-columns: 1fr;
  }

  .ff-sidebar {
    position: static;
    height: auto;
    border-right: 0;
    border-bottom: 1px solid var(--ff-border);
  }

  .ff-main {
    padding: 18px;
  }

  .ff-toolbar {
    grid-template-columns: 1fr auto;
    align-items: start;
  }

  .ff-toolbar > div:first-child {
    grid-column: 1 / -1;
  }

  .ff-toolbar-controls {
    justify-content: stretch;
    flex-wrap: wrap;
  }

  .ff-toolbar-search {
    flex: 1 1 260px;
  }

  .ff-theme-picker {
    justify-self: end;
  }

  .ff-toolbar h1 {
    font-size: 25px;
  }

  .ff-cart-layout { grid-template-columns: 1fr; }.ff-cart-summary { position: static; }
  .ff-invoice-row { grid-template-columns: 1fr 1fr; }.ff-invoice-head { display: none; }.ff-invoice-row > * { display: grid; gap: 4px; }.ff-invoice-row > *::before { color: var(--ff-muted); font-size: 11px; font-weight: 800; text-transform: uppercase; }.ff-invoice-row > :nth-child(2)::before { content: 'Date'; }.ff-invoice-row > :nth-child(3)::before { content: 'Due'; }.ff-invoice-row > :nth-child(4)::before { content: 'Total'; }.ff-invoice-row > :nth-child(5)::before { content: 'Balance'; }
  .ff-invoice-summary { grid-template-columns:1fr 1fr; }.ff-invoice-line { grid-template-columns:minmax(0,1fr) auto; }.ff-invoice-line > :nth-child(2), .ff-invoice-line > :nth-child(3) { color:var(--ff-muted); }.ff-invoice-line-head { display:none; }

  .ff-assistant-workspace {
    height: auto;
    min-height: 0;
    grid-template-rows: auto auto;
  }

  .ff-assistant-feed {
    padding: 14px;
  }

  .ff-assistant-hero {
    grid-template-columns: 1fr;
    height: auto;
    min-height: 0;
  }

  .ff-assistant-hero-media {
    height: min(320px, 42vh);
    min-height: 220px;
  }

  .ff-assistant-hero-media::after {
    right: 16%;
    bottom: 4%;
    left: 16%;
    height: 14%;
    background: radial-gradient(ellipse, rgba(0, 0, 0, .22) 0%, rgba(0, 0, 0, 0) 70%);
  }

  .ff-assistant-hero-copy {
    padding: 18px;
  }

  .ff-assistant-intro {
    min-height: 120px;
    font-size: 19px;
    line-height: 1.5;
  }

  .ff-starter-prompts {
    margin-top: 18px;
  }

  .ff-ai-product-grid {
    grid-template-columns: 1fr;
  }

  .ff-ai-product-card {
    grid-template-columns: 74px minmax(0, 1fr);
  }

  .ff-ai-product-card img {
    width: 74px;
    height: 74px;
  }

  .ff-assistant-composer-actions {
    align-items: stretch;
    flex-direction: column;
  }

  .ff-form-row {
    grid-template-columns: 1fr;
  }

  .ff-pagination {
    align-items: flex-start;
    flex-direction: column;
  }

  .ff-pagination-actions {
    justify-content: flex-start;
  }

  .ff-product-detail {
    padding: 18px;
  }

  .ff-detail-layout {
    grid-template-columns: 1fr;
    gap: 22px;
  }

  .ff-detail-media {
    min-height: 280px;
  }

  .ff-detail-media img {
    max-height: 380px;
  }

  .ff-detail-info h2 {
    font-size: 27px;
  }
}
