/* PrintOps overrides on top of Tabler. Keep this file small. */

/* Beige & Forest (owner, 2026-11-30; D138) ----------------------------------------
   Light and minimal: beige paper behind near-white cards, deep green-black text,
   forest green for the one thing to press. Titles in Fraunces, text in Figtree, both
   served by the app (OFL-1.1, see vendor/VENDOR.lock.json). The CMYK mark and the
   print stripe stay the shop's own touch. Motion is short and soft, and stops for
   anyone who asks for less of it (the end of this file). */

@font-face {
  font-family: "Figtree Variable";
  font-style: normal;
  font-display: swap;
  font-weight: 300 900;
  src: url("../vendor/fontsource-variable-figtree-5.3.0/figtree-latin-ext-wght-normal.woff2") format("woff2");
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304,
    U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB,
    U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF; /* includes the rupee sign */
}
@font-face {
  font-family: "Figtree Variable";
  font-style: normal;
  font-display: swap;
  font-weight: 300 900;
  src: url("../vendor/fontsource-variable-figtree-5.3.0/figtree-latin-wght-normal.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC,
    U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215,
    U+FEFF, U+FFFD;
}
@font-face {
  font-family: "Fraunces Variable";
  font-style: normal;
  font-display: swap;
  font-weight: 100 900;
  src: url("../vendor/fontsource-variable-fraunces-5.3.0/fraunces-latin-ext-wght-normal.woff2") format("woff2");
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304,
    U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB,
    U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: "Fraunces Variable";
  font-style: normal;
  font-display: swap;
  font-weight: 100 900;
  src: url("../vendor/fontsource-variable-fraunces-5.3.0/fraunces-latin-wght-normal.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC,
    U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215,
    U+FEFF, U+FFFD;
}

:root {
  color-scheme: light;
  /* The palette. Text colours keep WCAG AA on paper, card and wash alike. */
  --po-paper: #f3eee5;        /* the page: beige */
  --po-paper-deep: #eae4d9;   /* sunken areas: table heads, the chat pane */
  --po-card: #fffefa;         /* cards, header, menus */
  --po-field: #fffffd;        /* text boxes */
  --po-line: #e3dccf;         /* hairlines */
  --po-line-strong: #cec6b7;  /* field borders */
  --po-ink: #1f2a24;          /* text: deep green-black, 12.8:1 on paper */
  --po-ink-soft: #5e665f;     /* secondary text, 5.1:1 on paper */
  --po-accent: #2f5d4e;       /* forest: main buttons and links, 7.5:1 with white */
  --po-accent-rgb: 47, 93, 78;
  --po-accent-deep: #24493d;  /* pressed and hovered forest */
  --po-accent-wash: #e1ebe4;  /* the current menu item, selected text */
  --po-shadow: 40, 44, 36;    /* shadows lean olive, never cold grey */
  --po-ease: cubic-bezier(.2, .7, .2, 1);
  --po-fast: .16s;
  --po-calm: .38s;
  --po-font-text: "Figtree Variable", "Segoe UI Variable Text", "Segoe UI", system-ui,
    -apple-system, Roboto, "Helvetica Neue", sans-serif;
  --po-font-title: "Fraunces Variable", Georgia, "Times New Roman", serif;
  --po-cyan: #00aeef;
  --po-magenta: #ec008c;
  --po-yellow: #ffd400;
  --po-key: #1f2a24;

  /* Tabler's own variables, pointed at the palette. */
  --tblr-primary: var(--po-accent);
  --tblr-primary-rgb: var(--po-accent-rgb);
  --tblr-primary-fg: #fff;
  --tblr-primary-darken: var(--po-accent-deep);
  --tblr-body-bg: var(--po-paper);
  --tblr-body-color: var(--po-ink);
  --tblr-body-color-rgb: 31, 42, 36;
  --tblr-emphasis-color: var(--po-ink);
  --tblr-secondary: var(--po-ink-soft);
  --tblr-secondary-color: var(--po-ink-soft);
  --tblr-muted: var(--po-ink-soft);
  --tblr-bg-surface: var(--po-card);
  --tblr-bg-surface-secondary: var(--po-paper-deep);
  --tblr-bg-surface-tertiary: var(--po-paper);
  --tblr-bg-forms: var(--po-field);
  --tblr-border-color: var(--po-line);
  --tblr-border-color-translucent: rgba(var(--po-shadow), .1);
  --tblr-shadow-color: rgb(var(--po-shadow));
  --tblr-link-color: var(--po-accent);
  --tblr-link-color-rgb: var(--po-accent-rgb);
  --tblr-link-hover-color: var(--po-accent-deep);
  --tblr-link-hover-color-rgb: 36, 73, 61;
  --tblr-border-radius-scale: 1.4;
  --tblr-font-sans-serif: var(--po-font-text);
  --tblr-shadow-card: 0 1px 2px rgba(var(--po-shadow), .04),
    0 8px 20px -14px rgba(var(--po-shadow), .22);
}

/* The page: beige paper, a soft light from the top corners and a faint grain. */
body {
  font-family: var(--po-font-text);
  background-color: var(--po-paper);
  background-image:
    radial-gradient(60rem 28rem at 100% -6rem, rgba(214, 228, 216, .5), transparent 70%),
    radial-gradient(48rem 24rem at -8rem -4rem, rgba(246, 236, 218, .6), transparent 70%),
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='180' height='180'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.85' numOctaves='2' stitchTiles='stitch'/%3E%3CfeColorMatrix values='0 0 0 0 .18 0 0 0 0 .18 0 0 0 0 .12 0 0 0 .045 0'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
  background-repeat: no-repeat, no-repeat, repeat;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
}
::selection { color: var(--po-ink); background: var(--po-accent-wash); }

/* Type: Fraunces for titles, a little tighter; Figtree for everything else. */
h1, h2, h3, .page-title, .card-title, .empty-title, .home-tile-title, .navbar-brand {
  font-family: var(--po-font-title);
  font-weight: 600;
  letter-spacing: -.012em;
}
.page-title { font-size: 1.75rem; line-height: 1.2; letter-spacing: -.02em; }
.page-pretitle, .subheader, .form-label { letter-spacing: .01em; }
.form-label { font-weight: 550; }
.table thead th, .subheader { color: var(--po-ink-soft); letter-spacing: .05em; }

a { transition: color var(--po-fast) ease, text-decoration-color var(--po-fast) ease; }
a:not(.btn):not(.nav-link):not(.dropdown-item):not(.navbar-brand):hover {
  text-decoration: underline;
  text-decoration-thickness: 1px;
  text-underline-offset: .22em;
}

/* Header: a warm-white bar with the CMYK print stripe along its bottom edge. */
header.navbar {
  position: relative;
  background: var(--po-card);
  border-bottom: 0;
  box-shadow: 0 1px 0 var(--po-line);
}
header.navbar::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: -1px;
  height: 2px;
  background: linear-gradient(90deg,
    var(--po-cyan) 0 25%, var(--po-magenta) 25% 50%,
    var(--po-yellow) 50% 75%, var(--po-key) 75% 100%);
}
.navbar-brand {
  display: inline-flex;
  align-items: center;
  gap: .55rem;
  font-size: 1.2rem;
  font-weight: 700;
  letter-spacing: -.02em;
}
.brand-mark { transition: transform var(--po-calm) var(--po-ease); }
.navbar-brand:hover .brand-mark { transform: rotate(-6deg) scale(1.06); }
.brand-mark circle { mix-blend-mode: multiply; }
.brand-cyan { fill: var(--po-cyan); }
.brand-magenta { fill: var(--po-magenta); }
.brand-yellow { fill: var(--po-yellow); }
.brand-key { fill: var(--po-key); }
.navbar .nav-link {
  color: var(--po-ink-soft);
  border-radius: var(--tblr-border-radius);
  transition: color var(--po-fast) ease, background-color var(--po-fast) ease;
}
.navbar .nav-link:hover { color: var(--po-ink); background: rgba(var(--po-shadow), .05); }

/* Buttons: flat, soft corners; the main one is forest green and rises a touch on hover. */
body .btn {
  --tblr-btn-box-shadow: none;
  --tblr-btn-gradient: none; /* Tabler's glossy top half; the look stays flat */
  font-weight: 550;
  transition: color var(--po-fast) ease, background-color var(--po-fast) ease,
    border-color var(--po-fast) ease, box-shadow var(--po-fast) ease,
    transform var(--po-fast) var(--po-ease);
}
body .btn:not(.btn-primary):not([class*="btn-outline"]):not([class*="btn-ghost"]) {
  border-color: var(--po-line-strong);
}
body .btn:not(.btn-primary):not([class*="btn-outline"]):not([class*="btn-ghost"]):hover {
  background: var(--po-paper);
}
body .btn-primary { box-shadow: 0 1px 2px rgba(var(--po-shadow), .18); }
body .btn-primary:hover {
  box-shadow: 0 6px 16px -8px rgba(var(--po-accent-rgb), .7);
  transform: translateY(-1px);
}
body .btn:active { transform: translateY(0) scale(.985); }
body .btn:focus-visible { box-shadow: 0 0 0 3px rgba(var(--po-accent-rgb), .3); }

/* Fields: near white, the border turns forest green with a soft ring when in use. */
.form-control, .form-select {
  border-color: var(--po-line-strong);
  transition: border-color var(--po-fast) ease, box-shadow var(--po-fast) ease,
    background-color var(--po-fast) ease;
}
.form-control:focus, .form-select:focus {
  border-color: var(--po-accent);
  box-shadow: 0 0 0 3px rgba(var(--po-accent-rgb), .14);
}
.form-check-input:checked { background-color: var(--po-accent); border-color: var(--po-accent); }

/* Cards: warm white on paper, a hairline and a soft warm shadow. */
.card {
  --tblr-card-border-color: var(--po-line);
  --tblr-card-cap-bg: transparent;
  box-shadow: var(--tblr-shadow-card);
}
.card-header { border-bottom-color: var(--po-line); }
.card-footer { background: transparent; border-top-color: var(--po-line); }
.table { --tblr-table-border-color: var(--po-line); }
.table-hover > tbody > tr { transition: background-color var(--po-fast) ease; }
.table-hover > tbody > tr:hover > * { --tblr-table-accent-bg: rgba(var(--po-accent-rgb), .04); }
.dropdown-menu {
  background: var(--po-card);
  border-color: var(--po-line);
  box-shadow: 0 12px 32px -16px rgba(var(--po-shadow), .35);
}
.dropdown-item { transition: background-color var(--po-fast) ease; }
.list-group-item-action { transition: background-color var(--po-fast) ease; }

/* Home shortcuts: a tile lifts on hover and an arrow slides in after its name. */
.home-tile {
  transition: transform var(--po-calm) var(--po-ease), box-shadow var(--po-calm) var(--po-ease),
    border-color var(--po-fast) ease;
}
.home-tile:hover, .home-tile:focus-visible {
  border-color: rgba(var(--po-accent-rgb), .35);
  box-shadow: 0 14px 30px -18px rgba(var(--po-shadow), .45);
  transform: translateY(-2px);
}
.home-tile-title::after {
  content: "\2192";
  display: inline-block;
  margin-left: .4rem;
  color: var(--po-accent);
  opacity: 0;
  transform: translateX(-.35rem);
  transition: opacity var(--po-fast) ease, transform var(--po-calm) var(--po-ease);
}
.home-tile:hover .home-tile-title::after, .home-tile:focus-visible .home-tile-title::after {
  opacity: 1;
  transform: none;
}

.header-slots {
  gap: 1rem;
  align-items: center;
}

/* Folded menu on phones and tablets (IP-04): items stack with room to tap. */
@media (max-width: 1199.98px) {
  .navbar-collapse .navbar-nav { padding: .5rem 0; }
  .navbar-collapse .header-slots { flex-direction: row; flex-wrap: wrap; gap: .5rem; }
  .navbar-collapse .header-slots .btn { min-height: 2.75rem; }
  .navbar-collapse .header-slots [data-slot=logged-in-as] { flex-basis: 100%; }
  .navbar-collapse .header-slots .btn { margin-left: 0 !important; }
}

/* Page headers (IP-04): Tabler stacks .page-header children in a centred column;
   ours hold a title and its buttons on one row, wrapping on narrow screens. */
.page-header {
  flex-direction: row;
  flex-wrap: wrap;
  align-items: center;
  justify-content: flex-start;
  gap: .5rem;
}

.operators-password { width: 10rem; }

/* Home shortcuts (IP-04) */
.home-tile { height: 100%; }
.home-tile-title { font-size: 1.25rem; font-weight: 600; margin-bottom: .25rem; }

.flash-area:empty {
  display: none;
}

/* Auth screens */
.auth-card {
  max-width: 28rem;
  margin: 2rem auto;
}

.lock-message {
  font-size: 1.125rem;
  font-weight: 600;
}

/* Inbox (B3-06): a WhatsApp-like two-pane screen built on Tabler's chat component. */
.inbox-row { min-height: 70vh; }
.inbox-scroll { max-height: 70vh; }
.inbox-messages { background: var(--tblr-bg-surface-secondary); }
.inbox-text { white-space: pre-wrap; }
.inbox-empty { min-height: 70vh; }
.inbox-tick { margin-left: .25rem; font-size: .75rem; }
.inbox-tick-read { color: var(--tblr-blue); }
.inbox-tick-failed { color: var(--tblr-red); font-weight: 700; }
.inbox-chat-header { flex-wrap: wrap; gap: .25rem; }
@media (max-width: 767.98px) {
  .inbox-has-chat .inbox-list { display: none; }
  .inbox-chat-header .flex-fill { flex-basis: calc(100% - 3rem); }
  .inbox:not(.inbox-has-chat) .inbox-chat { display: none; }
}

/* Public privacy, terms and data-deletion pages (IP-08) */
.legal-page { max-width: 48rem; margin: 0 auto; }

/* Photos and PDFs with a pasted order (D140): a drop box on the paste page, and the
   same small rows (thumbnail, name, size, button) there and on the order page. */
.file-drop {
  padding: .75rem;
  border: 1px dashed var(--tblr-border-color);
  border-radius: var(--tblr-border-radius-lg);
  transition: border-color .15s ease, background-color .15s ease;
}
.file-drop.is-dragging {
  border-color: var(--tblr-primary);
  background-color: rgba(var(--tblr-primary-rgb), .05);
}
.file-list { display: grid; gap: .5rem; margin-top: .75rem; }
.file-list:empty, .file-error:empty { display: none; }
.file-item { display: flex; align-items: center; gap: .75rem; }
.file-name { flex: 1 1 auto; min-width: 0; }
.file-size { flex: none; font-size: .8125rem; }
.file-thumb {
  flex: none;
  width: 3rem;
  height: 3rem;
  object-fit: cover;
  border: 1px solid var(--tblr-border-color);
  border-radius: var(--tblr-border-radius);
  background-color: var(--tblr-bg-surface-secondary);
}
.file-thumb-pdf {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: .75rem;
  font-weight: 600;
  color: var(--tblr-body-color);
}
.order-files .file-thumb { width: 4.5rem; height: 4.5rem; }
.file-thumb-link { flex: none; line-height: 0; border-radius: var(--tblr-border-radius); }
.upload-progress { display: block; width: 100%; }

/* UI/UX review (IP-04 second round) ------------------------------------------- */

/* Skip link: hidden until a keyboard user tabs to it. */
.skip-link:focus {
  position: absolute;
  top: .5rem;
  left: .5rem;
  z-index: 1100;
  padding: .5rem 1rem;
  color: var(--tblr-primary);
  background: var(--tblr-bg-surface);
  box-shadow: var(--tblr-shadow);
}

/* The menu marks the page you are on. */
.navbar .nav-link.active {
  font-weight: 600;
  color: var(--po-accent-deep);
  background: var(--po-accent-wash);
  border-radius: var(--tblr-border-radius);
}
.navbar .nav-link.active::after { display: none; }
@media (max-width: 1199.98px) {
  .navbar .nav-link.active { padding-left: .75rem; }
}

/* Status badges: at least 12px, and text dark enough to read (WCAG AA 4.5:1).
   Tabler's light badges print the colour itself on a 10% tint of it, which is
   too faint for yellow, green and azure; solid red and green need a darker fill. */
.badge { font-size: .75rem; }
.badge.bg-blue-lt { color: color-mix(in oklab, var(--tblr-blue) 70%, #000) !important; }
.badge.bg-azure-lt { color: color-mix(in oklab, var(--tblr-azure) 55%, #000) !important; }
.badge.bg-green-lt { color: color-mix(in oklab, var(--tblr-green) 55%, #000) !important; }
.badge.bg-yellow-lt { color: color-mix(in oklab, var(--tblr-yellow) 50%, #000) !important; }
.badge.bg-red-lt { color: color-mix(in oklab, var(--tblr-red) 75%, #000) !important; }
.badge.bg-purple-lt { color: color-mix(in oklab, var(--tblr-purple) 75%, #000) !important; }
.badge.bg-red { background-color: color-mix(in oklab, var(--tblr-red) 85%, #000) !important; }
.badge.bg-green { background-color: color-mix(in oklab, var(--tblr-green) 70%, #000) !important; }

/* Big enough to tap (44px): order numbers on the board, customer names. */
.board-ticket-number {
  display: inline-flex;
  align-items: center;
  min-width: 2.75rem;
  min-height: 2.75rem;
}
.customer-link { display: inline-block; padding: .5rem 0; }

/* Phones: fields and buttons at least 44px tall. */
@media (max-width: 767.98px) {
  .form-control, .form-select, .btn { min-height: 2.75rem; }
  .customer-link { padding: .75rem 0; }
}

/* UI/UX review, third round ------------------------------------------------------ */

/* Alert boxes: Tabler prints the colour itself on a light tint of it, which is too
   faint for yellow warnings and red errors; darken the text, keep the tint. */
.alert { --tblr-alert-color: color-mix(in oklab, var(--tblr-alert-variant-color) 55%, #000); }

/* Board tickets: the whole card is one link to the order, with hover and keyboard
   focus shown on the card; its action button stays above the link. */
.board-ticket {
  transition: transform var(--po-calm) var(--po-ease), box-shadow var(--po-calm) var(--po-ease);
}
.board-ticket:hover {
  box-shadow: 0 14px 28px -18px rgba(var(--po-shadow), .45);
  transform: translateY(-2px);
}
.board-ticket:has(.stretched-link:focus-visible) {
  outline: 2px solid var(--tblr-primary);
  outline-offset: 2px;
}
.board-ticket .stretched-link:focus-visible { outline: none; }
.board-ticket .stretched-link:hover { text-decoration: none; }
.board-ticket form { position: relative; z-index: 2; }
.board-ticket-snippet {
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
@media (max-width: 767.98px) {
  /* Paste from WhatsApp takes the first row; Search and New share the second, their
     labels wrapping inside the buttons rather than pushing New onto a third row. */
  .board-actions { flex-basis: 100%; flex-wrap: wrap; }
  .board-actions .btn { flex: 1 1 0; white-space: normal; }
  .board-actions .board-paste { flex-basis: 100%; }
}

/* UI/UX review, fifth round ------------------------------------------------------- */

/* Phones: small text links and the menu button are big enough to tap (44px). */
@media (max-width: 767.98px) {
  .tap-link {
    display: inline-flex;
    align-items: center;
    min-width: 2.75rem;
    min-height: 2.75rem;
  }
  .navbar-toggler { min-width: 2.75rem; min-height: 2.75rem; }
}

/* A rate and its unit (per sheet / per piece) on one line: the box for the amount
   keeps room to type, the unit takes only the width of its words. */
.rate-group { flex-wrap: nowrap; }
.rate-group > .form-control { min-width: 5rem; }
.rate-group > .form-select { flex: 0 0 auto; width: auto; }
/* Per piece also asks how many pieces come from one sheet (D144); per sheet does not.
   The pieces box sits beside the rate when there is room and below it on a phone. */
.rate-cell { display: flex; flex-wrap: wrap; gap: .5rem; flex: 1 1 100%; }
.rate-cell > .rate-group { flex: 1 1 12rem; width: auto; }
.pieces-group { flex: 0 0 auto; width: auto; flex-wrap: nowrap; }
.pieces-group > .form-control { flex: 0 0 4.5rem; width: 4.5rem; }
.rate-cell:has(option[value="sheet"]:checked) > .pieces-group { display: none; }

/* Phones: a wide table folds into one card per row. Each cell shows its column
   name from data-label; a cell without one (the buttons) takes the full width. */
@media (max-width: 767.98px) {
  .table-stack thead {
    position: absolute;
    width: 1px;
    height: 1px;
    overflow: hidden;
    clip: rect(0 0 0 0);
  }
  .table-stack, .table-stack tbody, .table-stack tfoot, .table-stack tr, .table-stack td {
    display: block;
    width: 100%;
  }
  .table-stack tr { padding: .5rem 0; border-bottom: 1px solid var(--tblr-border-color); }
  .table-stack tbody td {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: .25rem .75rem;
    padding: .25rem 1rem !important;
    border: 0;
    text-align: left !important;
    white-space: normal !important;
  }
  .table-stack td > .form-control { flex: 1 1 8rem; width: auto; }
  .table-stack td > .input-group { flex: 1 1 12rem; width: auto; }
  .table-stack tfoot tr { display: flex; justify-content: space-between; padding: .75rem 1rem; }
  .table-stack tfoot th { display: block; width: auto; padding: 0 !important; border: 0; }
  .table-stack td[data-label]::before {
    content: attr(data-label);
    flex: 0 0 6.5rem;
    color: var(--tblr-secondary);
    font-weight: 500;
  }
}

/* Account picker (owner, 2026-11-29): with nothing typed it lists every customer, so the
   list scrolls in its own box instead of making the page long. */
.account-list { max-height: 18rem; overflow-y: auto; }

/* Shop details: the logo and signature as they will print, shown small on a white card. */
.shop-picture {
  display: block;
  max-width: 12rem;
  max-height: 6rem;
  width: auto;
  height: auto;
  object-fit: contain;
  padding: .25rem;
  background: #fff; /* white, as on the printed bill */
  border: 1px solid var(--tblr-border-color);
  border-radius: var(--tblr-border-radius);
}

/* Motion (D138) ---------------------------------------------------------------------
   One soft rise as a page opens, the blocks of the page a few beats apart, and the
   home tiles one after another. New messages in the flash area rise the same way.
   Only opacity and transform move, so nothing on the page reflows. */
@keyframes po-rise {
  from { opacity: 0; transform: translateY(.4rem); }
  to { opacity: 1; transform: none; }
}
@keyframes po-fade {
  from { opacity: 0; }
  to { opacity: 1; }
}
.page-body > .container-xl > * { animation: po-rise var(--po-calm) var(--po-ease) both; }
.page-body > .container-xl > :nth-child(3) { animation-delay: 50ms; }
.page-body > .container-xl > :nth-child(4) { animation-delay: 100ms; }
.page-body > .container-xl > :nth-child(n + 5) { animation-delay: 150ms; }
.home-tiles > * { animation: po-rise var(--po-calm) var(--po-ease) both; }
.home-tiles > :nth-child(2) { animation-delay: 40ms; }
.home-tiles > :nth-child(3) { animation-delay: 80ms; }
.home-tiles > :nth-child(4) { animation-delay: 120ms; }
.home-tiles > :nth-child(5) { animation-delay: 160ms; }
.home-tiles > :nth-child(n + 6) { animation-delay: 200ms; }
.flash-area > * { animation: po-rise var(--po-calm) var(--po-ease) both; }
/* Menus only fade: Tabler places them with an inline transform that must not move. */
.dropdown-menu.show { animation: po-fade var(--po-fast) ease both; }

/* Less motion asked for: nothing moves, everything is simply there. */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation: none !important;
    transition: none !important;
    scroll-behavior: auto !important;
  }
}

/* D143: the shop's own logo in the header, in place of the ink dots. */
.brand-logo {
  height: 2rem;
  width: auto;
  max-width: 6rem;
  object-fit: contain;
  margin-right: 0.5rem;
  border-radius: 0.25rem;
  transition: transform var(--po-calm) var(--po-ease);
}
.navbar-brand:hover .brand-logo { transform: scale(1.04); }
