#ama-app .ama-main .ama-home-events,
#ama-app .ama-main .am-home-jump-links {
  display: none;
}

#ama-app .ama-start:has(> .am-home-feed) > h1 {
  position: absolute;
  width: 1px;
  height: 1px;
  margin: 0;
  padding: 0;
  overflow: hidden;
  clip-path: inset(50%);
  white-space: nowrap;
}

#ama-app .ama-start > .ama-search {
  display: flex;
  min-height: 44.4px;
  gap: 4px;
  padding: 0 4px 0 16px;
  border-radius: 22px;
}

#ama-app .ama-start > .ama-search #ama-query {
  min-height: 38px;
  padding-block: 0 !important;
}

#ama-app .ama-start > .ama-search > :is(.ama-voice, .ama-submit) {
  width: 44px !important;
  min-width: 44px;
  height: 36px !important;
  min-height: 36px !important;
  padding: 0 !important;
  border-radius: 12px !important;
}

#ama-app .ama-start > .ama-search > :is(.ama-voice, .ama-submit) > span {
  display: none;
}

@media (max-width: 800px) {
  #ama-app .ama-start > .ama-search { min-height: 42px; }
}

@media (max-width: 520px) {
  #ama-app .ama-start > .ama-search { min-height: 67.2px; }
  #ama-app .ama-start > .ama-search > :is(.ama-voice, .ama-submit) {
    height: 44px !important;
    min-height: 44px !important;
  }
}

#ama-app .am-home-feed {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 16rem), 1fr));
  gap: 20px clamp(24px, 4vw, 40px);
  margin: 28px 0 0;
  padding-top: 18px;
  border-top: 1px solid #e7e7e7;
  text-align: start;
}

#ama-app.ama-has-results .am-home-feed {
  display: none;
}

#ama-app .am-home-feed-panel {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  min-width: 0;
  margin: 0;
}

#ama-app .am-home-feed-panel h2 {
  margin: 0 0 4px;
  font: 650 1.05rem/1.4 system-ui, sans-serif;
}

#ama-app .am-home-feed-heading {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  padding: 0 .85rem;
  border: 1px solid #c8daef;
  border-radius: 999px;
  color: #0756bb;
  overflow-wrap: anywhere;
}

#ama-app .am-home-feed .am-latest-content {
  align-self: stretch;
  flex: 1;
  min-width: 0;
}

#ama-app .am-home-feed ul {
  margin: 0;
  padding: 0;
  list-style: none;
}

#ama-app .am-home-feed li {
  margin: 0;
  border-bottom: 1px solid #eee;
}

#ama-app .am-home-feed-item {
  box-sizing: border-box;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 2px;
  min-height: 44px;
  padding: 9px 0;
  color: #25282d;
  text-decoration: none;
  overflow-wrap: anywhere;
}

#ama-app .am-home-feed-item-title {
  font: 600 max(15px, .9375rem)/1.4 system-ui, sans-serif;
}

#ama-app :is(.am-home-feed-meta, .am-home-feed-status) {
  margin: 0;
  color: #5f6670;
  font: 400 max(13px, .8125rem)/1.5 system-ui, sans-serif;
  overflow-wrap: anywhere;
}

#ama-app #am-latest-orders :is(.am-home-feed-item-title, .am-home-order-category) {
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

#ama-app #am-latest-orders .am-home-feed-meta {
  display: flex;
  align-items: baseline;
  gap: .35em;
}

#ama-app #am-latest-orders .am-home-order-title-line {
  display: flex;
  align-items: baseline;
  gap: .4em;
  min-width: 0;
}

#ama-app #am-latest-orders .am-home-order-price {
  flex: 0 0 auto;
  color: #0756bb;
  font: 650 max(14px, .875rem)/1.4 system-ui, sans-serif;
  white-space: nowrap;
}

#ama-app #am-latest-orders .am-home-feed-meta time {
  flex-shrink: 0;
}

#ama-app .am-home-feed-status {
  padding: 9px 0;
}

#ama-app .am-home-feed .am-latest-all {
  display: inline-flex;
  align-items: center;
  gap: .35em;
  min-height: 44px;
  margin-top: 4px;
  color: #0756bb;
  font: 550 max(14px, .875rem)/1.35 system-ui, sans-serif;
  overflow-wrap: anywhere;
}

#ama-app .am-home-feed a:hover {
  text-decoration: underline;
  text-underline-offset: .15em;
}

#ama-app .am-home-feed a:focus-visible {
  outline: 2px solid #0756bb;
  outline-offset: 2px;
}

@media (width >= 680px) {
  #ama-app #am-latest-orders li {
    max-inline-size: max(13.75rem, calc(100% - 8.5rem));
  }
}

@media (width < 680px) {
  #ama-app .am-home-feed {
    grid-template-columns: 1fr;
    margin-top: 22px;
    padding-top: 14px;
  }
}

/* G01 2026-11-22: creation actions beside the home feeds. */
.am-home-feed-panel > h2 {
  display: flex;
  align-items: center;
  gap: .65rem;
  flex-wrap: wrap;
}
.am-home-feed-add {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 2.75rem;
  box-sizing: border-box;
  padding: .62rem .9rem;
  border: 1px solid #0756bb;
  border-radius: 999px;
  background: #0756bb;
  color: #fff !important;
  font-size: .95rem;
  font-weight: 700;
  line-height: 1.15;
  text-decoration: none !important;
  white-space: normal;
}
.am-home-feed-add:hover,
.am-home-feed-add:focus-visible {
  background: #06499e;
  border-color: #06499e;
  color: #fff !important;
}
@media (max-width: 640px) {
  .am-home-feed-panel > h2 {
    align-items: stretch;
  }
  .am-home-feed-add {
    width: 100%;
  }
}
