/* Supermarket. Colors follow the Federated sites: a navy bar, a magenta accent and a cyan primary button. */ :root { --navy: #0b1d3a; --navy-2: #13294f; --magenta: #c2187a; --cyan: #0891b2; --cyan-dark: #0e7490; --ink: #1b2433; --muted: #5b6577; --line: #dde2ea; --band: #f4f6f9; --ok: #157f3b; --bad: #b42318; --warn-bg: #fff6e5; --radius: 10px; font-family: Inter, system-ui, -apple-system, "Segoe UI", Roboto, sans-serif; color: var(--ink); background: var(--band); } * { box-sizing: border-box; } body { margin: 0; line-height: 1.5; } a { color: var(--cyan-dark); } code, pre { font-family: ui-monospace, "JetBrains Mono", Menlo, monospace; font-size: 0.9em; } pre { background: var(--navy); color: #e6edf7; padding: 0.9rem 1rem; border-radius: 8px; overflow-x: auto; white-space: pre-wrap; } .topbar { background: var(--navy); color: #fff; display: flex; align-items: center; gap: 2rem; padding: 0.8rem 1.5rem; flex-wrap: wrap; } .brand { color: #fff; font-weight: 700; font-size: 1.15rem; text-decoration: none; letter-spacing: -0.01em; } .brand span { color: #f472b6; } .topbar nav { display: flex; gap: 0.25rem; flex-wrap: wrap; } .topbar nav a { color: #c9d4e6; text-decoration: none; padding: 0.35rem 0.75rem; border-radius: 6px; } .topbar nav a:hover { background: var(--navy-2); color: #fff; } .topbar nav a[aria-current="page"] { background: var(--navy-2); color: #fff; box-shadow: inset 0 -2px 0 var(--magenta); } main { max-width: 1080px; margin: 0 auto; padding: 1.5rem; } footer { text-align: center; color: var(--muted); font-size: 0.85rem; padding: 2rem 0; } h1 { font-size: 1.7rem; margin: 0.5rem 0 0.75rem; letter-spacing: -0.02em; } h2 { font-size: 1.2rem; margin: 0 0 0.75rem; } h3 { font-size: 1.05rem; margin: 0 0 0.5rem; } .lede { color: var(--muted); margin-top: 0; } .help { display: block; color: var(--muted); font-size: 0.85rem; font-weight: normal; margin-top: 0.2rem; } .card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 1.25rem 1.4rem; margin: 0 0 1.25rem; } .card.warn, .warn { background: var(--warn-bg); border-color: #f5d49a; } .card.empty { text-align: center; color: var(--muted); } details.card > summary { cursor: pointer; font-weight: 600; } details.card[open] > summary { margin-bottom: 0.75rem; } .grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); gap: 1rem; } .module p { color: var(--muted); margin: 0; } .heading { display: flex; align-items: center; justify-content: space-between; gap: 1rem; flex-wrap: wrap; } .buttons { display: flex; gap: 0.5rem; flex-wrap: wrap; } .flash { background: #e7f6ed; border: 1px solid #a8dcb9; color: #0f5a2a; padding: 0.6rem 0.9rem; border-radius: 8px; } .error { background: #fdecea; border: 1px solid #f3b5ae; color: var(--bad); padding: 0.6rem 0.9rem; border-radius: 8px; } .ok { color: var(--ok); } .warn-text { color: #8a5300; } .steps { list-style: none; margin: 0; padding: 0; } .steps li { display: flex; gap: 1rem; align-items: baseline; padding: 0.55rem 0; border-bottom: 1px solid var(--line); } .steps li:last-child { border-bottom: 0; } .steps li::before { content: "○"; color: var(--muted); width: 1.2rem; flex: none; } .steps li.done::before { content: "✓"; color: var(--ok); font-weight: 700; } .steps li a { min-width: 11rem; color: var(--ink); text-decoration: none; } .steps li span { color: var(--muted); } .badge { display: inline-block; font-size: 0.75rem; font-weight: 600; padding: 0.1rem 0.5rem; border-radius: 999px; background: var(--band); color: var(--muted); vertical-align: middle; } .badge.partner { background: #e0f2f7; color: var(--cyan-dark); } .badge.competitor { background: #fbe4f0; color: var(--magenta); } .badge.watch { background: #eef0f4; color: var(--muted); } .tabs { display: flex; gap: 0.25rem; margin-bottom: 1rem; border-bottom: 1px solid var(--line); flex-wrap: wrap; } .tabs a { padding: 0.45rem 0.9rem; text-decoration: none; color: var(--muted); border-bottom: 2px solid transparent; text-transform: capitalize; } .tabs a[aria-current="page"] { color: var(--ink); border-color: var(--magenta); font-weight: 600; } table.list { width: 100%; border-collapse: collapse; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; } table.list th, table.list td { text-align: left; padding: 0.6rem 0.8rem; border-bottom: 1px solid var(--line); vertical-align: top; } table.list th { background: var(--band); font-size: 0.85rem; color: var(--muted); font-weight: 600; } table.list tr:last-child td { border-bottom: 0; } label { display: block; font-weight: 600; font-size: 0.92rem; margin-bottom: 0.9rem; } input, select, textarea { display: block; width: 100%; margin-top: 0.3rem; font: inherit; font-weight: normal; padding: 0.5rem 0.65rem; border: 1px solid #c5ccd8; border-radius: 7px; background: #fff; color: var(--ink); } textarea { resize: vertical; } input:focus, select:focus, textarea:focus { outline: 2px solid var(--cyan); outline-offset: 0; border-color: var(--cyan); } input[type="checkbox"], input[type="radio"] { display: inline; width: auto; margin: 0 0.4rem 0 0; } input[type="file"] { border: 0; padding-left: 0; } label.check { font-weight: normal; display: flex; align-items: baseline; gap: 0.2rem; } label.small { font-size: 0.85rem; color: var(--muted); } fieldset { border: 1px solid var(--line); border-radius: 8px; padding: 0.9rem 1rem 0.2rem; margin: 0 0 1rem; } fieldset.choice { border: 0; padding: 0; } legend { font-weight: 600; padding: 0 0.3rem; } .cols { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 0 1.25rem; } .row { display: flex; gap: 0.5rem; align-items: center; } .row input { margin: 0; } .secret { display: flex; gap: 1rem; align-items: flex-end; } .secret > label:first-child { flex: 1; } .inline-form label { margin-bottom: 0.2rem; } button, .button { display: inline-block; font: inherit; font-weight: 600; padding: 0.55rem 1.1rem; border-radius: 7px; border: 1px solid var(--cyan-dark); background: var(--cyan); color: #fff; cursor: pointer; text-decoration: none; white-space: nowrap; } button:hover, .button:hover { background: var(--cyan-dark); } button.secondary, .button.secondary { background: #fff; color: var(--cyan-dark); border-color: #b9c3d1; } button.secondary:hover, .button.secondary:hover { background: var(--band); } button.danger { background: #fff; color: var(--bad); border-color: #f3b5ae; } button:disabled { opacity: 0.5; cursor: not-allowed; } .actions { display: flex; gap: 0.75rem; align-items: center; margin: 1rem 0 1.5rem; flex-wrap: wrap; } .danger-zone { margin-top: 2rem; } .connect { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 1.5rem; } .copy { position: relative; } .copy button { position: absolute; top: 0.5rem; right: 0.5rem; padding: 0.25rem 0.7rem; font-size: 0.85rem; } .pills { list-style: none; padding: 0; display: flex; flex-wrap: wrap; gap: 0.4rem; } .pill { display: inline-block; background: var(--band); border: 1px solid var(--line); border-radius: 999px; padding: 0.15rem 0.7rem; font-size: 0.85rem; color: var(--ink); font-weight: normal; } button.pill:hover { background: #e0f2f7; } .checks { list-style: none; padding: 0; } .checks li { padding: 0.25rem 0; } .checks li::before { margin-right: 0.5rem; font-weight: 700; } .checks li.ok::before { content: "✓"; color: var(--ok); } .checks li.bad::before { content: "✗"; color: var(--bad); } .checks li.ok { color: var(--ink); } .htmx-indicator { display: none; color: var(--muted); } .htmx-request .htmx-indicator, .htmx-request.htmx-indicator { display: inline; } [hidden] { display: none !important; }