/* DO NOT EDIT — copied from packages/shared/src/storehub/ui/page-announcements.css
   by `npm run tokens`. Edit the source there, regenerate, commit both.
   A vitest in packages/shared fails if this file drifts from the source. */
/* Store Hub page: Announcements. Copied verbatim to apps/server/public/shared/storehub/page-announcements.css by
 * npm run tokens. Class prefix .tdtt-sh-an-. Tokens only (var(--...)); see storehub.css for the shared kit.
 * /m gets no alpha tints: every fill is a solid colour-mix of two tokens. */

.tdtt-sh-an-list { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; }
.tdtt-sh-an-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  flex-wrap: wrap;
  padding: 12px 0;
  border-bottom: 1px solid var(--surface-2);
}
.tdtt-sh-an-row:last-child { border-bottom: 0; }
.tdtt-sh-an-row__main { flex: 1; min-width: 200px; overflow-wrap: anywhere; }
.tdtt-sh-an-row__title { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; }
.tdtt-sh-an-chips { margin-top: 6px; gap: 6px; align-items: center; }

.tdtt-sh-an-form { display: flex; flex-direction: column; gap: 14px; max-width: 560px; }
.tdtt-sh-an-dates { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.tdtt-sh-an-toggle { display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.tdtt-sh-an-msg { min-height: 18px; margin: 0; color: var(--gold); font-size: 13px; font-weight: 600; }
.tdtt-sh-an-msg:empty { display: none; }

.tdtt-sh-an-strip { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; }
.tdtt-sh-an-theme { margin: 0; display: flex; flex-direction: column; gap: 6px; min-width: 0; }
.tdtt-sh-an-theme figcaption { text-align: center; margin: 0; }

.tdtt-sh-an-rimg { width: 64px; height: 64px; object-fit: cover; border-radius: 8px; border: 1px solid var(--surface-2); flex: none; }
.tdtt-sh-an-rimg--none { display: inline-block; background: var(--input); }

@media (max-width: 720px) {
  .tdtt-sh-an-dates { grid-template-columns: 1fr; }
  .tdtt-sh-an-strip { display: flex; overflow-x: auto; gap: 12px; padding-bottom: 6px; }
  .tdtt-sh-an-theme { flex: 0 0 220px; }
}
.tdtt-sh-an-pin { display: inline-flex; color: var(--gold); }
.tdtt-sh-an-pin .tdtt-sh-ico { width: 16px; height: 16px; }
