/* Iconic Tech Studio — Support Desk
   Design tokens mirror iconictechstudio.com (Shopify Horizon theme):
   black header, white canvas, Inter headings, "New York" serif body,
   black 14px-radius buttons, 4px inputs, gold #B3934F / bronze #865D20 accents. */

@font-face {
  font-family: 'Inter';
  src: url('/fonts/inter-latin-wght-normal.woff2') format('woff2');
  font-weight: 100 900;
  font-style: normal;
  font-display: swap;
}

:root {
  --black: #000;
  --ink: #111;
  --ink-2: #333;
  --muted: #6b6b6b;
  --muted-2: #8d8d8d;
  --line: #e6e3dc;
  --line-2: #f0ede6;
  --bg: #fff;
  --bg-soft: #f7f6f2;
  --gold: #b3934f;
  --gold-dark: #865d20;
  --gold-soft: #f4ecdb;
  --gold-tint: #fbf8f1;
  --hover: #262626;
  --blue: #0b3cde;
  --danger: #c81e1e;

  --radius-btn: 14px;
  --radius-input: 4px;
  --radius-card: 14px;
  --shadow-sm: 0 1px 2px rgb(0 0 0 / 0.05);
  --shadow: 0 1px 3px rgb(0 0 0 / 0.06), 0 8px 24px -12px rgb(0 0 0 / 0.12);
  --shadow-lg: 0 20px 50px -20px rgb(0 0 0 / 0.35);

  --font-heading: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Helvetica, Arial, sans-serif;
  --font-body: 'New York', 'Iowan Old Style', 'Apple Garamond', Baskerville, 'Times New Roman', 'Droid Serif', Times, 'Source Serif Pro', serif;
  --font-ui: var(--font-heading);
  --page-width: 1240px;

  /* Clearance for the status bar / Dynamic Island. iOS 26 Home Screen web apps also draw their own
     blur over roughly the top 40pt, so installed iPhone/iPad apps get an extra 2.5rem. */
  --top-clear: env(safe-area-inset-top);
  --staff-header-h: 64px;
}
@media (display-mode: standalone) {
  @supports (-webkit-touch-callout: none) {
    :root {
      --top-clear: calc(env(safe-area-inset-top) + 2.5rem);
    }
  }
}

.pt-safe {
  padding-top: var(--top-clear);
}
.pb-safe {
  padding-bottom: env(safe-area-inset-bottom);
}
.safe-x {
  padding-left: env(safe-area-inset-left);
  padding-right: env(safe-area-inset-right);
}

*,
*::before,
*::after {
  box-sizing: border-box;
}
html {
  -webkit-text-size-adjust: 100%;
}
body {
  margin: 0;
  color: var(--ink);
  background: var(--bg);
  font-family: var(--font-body);
  font-size: 17px;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
}
img {
  max-width: 100%;
  height: auto;
}
a {
  color: inherit;
}
h1,
h2,
h3,
h4 {
  font-family: var(--font-heading);
  line-height: 1.2;
  letter-spacing: -0.01em;
  margin: 0 0 0.5em;
  color: var(--black);
}
h1 {
  font-size: clamp(1.6rem, 3vw, 2.2rem);
  font-weight: 700;
}
h2 {
  font-size: 1.35rem;
  font-weight: 700;
}
h3 {
  font-size: 1.05rem;
  font-weight: 650;
}
p {
  margin: 0 0 1em;
}
code,
.mono {
  font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  font-size: 0.86em;
}
code {
  background: var(--bg-soft);
  border: 1px solid var(--line-2);
  border-radius: 4px;
  padding: 0.05em 0.35em;
  word-break: break-all;
}
[hidden] {
  display: none !important;
}
.icon {
  flex: none;
  vertical-align: -0.15em;
}
.sr-only,
.hp {
  position: absolute !important;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}
.skip-link {
  position: absolute;
  left: 12px;
  top: -60px;
  z-index: 100;
  background: var(--black);
  color: #fff;
  padding: 10px 14px;
  border-radius: 8px;
  font-family: var(--font-ui);
}
.skip-link:focus {
  top: calc(12px + var(--top-clear));
}
/* Jump targets (#reply-body, #notifications, …) land below the header and the iOS blur strip. */
body.public [id] {
  scroll-margin-top: calc(16px + var(--top-clear));
  scroll-margin-bottom: calc(16px + env(safe-area-inset-bottom));
}
body.staff [id] {
  scroll-margin-top: calc(var(--staff-header-h) + 16px + var(--top-clear));
  scroll-margin-bottom: calc(16px + env(safe-area-inset-bottom));
}
:focus-visible {
  outline: 2px solid var(--gold);
  outline-offset: 2px;
}

.wrap {
  width: 100%;
  max-width: var(--page-width);
  margin: 0 auto;
  padding: 0 40px;
}
.narrow {
  max-width: 560px;
  padding-top: 48px;
  padding-bottom: 64px;
}
.muted {
  color: var(--muted);
}
.small {
  font-size: 0.86rem;
}
.tiny {
  font-size: 0.76rem;
}
.eyebrow {
  font-family: var(--font-ui);
  font-size: 0.74rem;
  font-weight: 650;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--gold-dark);
  margin-bottom: 6px;
}
.row-between {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}
.row-gap {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px 16px;
}
.stack {
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.stack-sm {
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.two-col {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px 16px;
  align-items: end;
}

/* ------------------------------------------------------------ buttons */
.btn {
  --btn-bg: var(--black);
  --btn-fg: #fff;
  --btn-border: var(--black);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 11px 20px;
  border-radius: var(--radius-btn);
  border: 1px solid var(--btn-border);
  background: var(--btn-bg);
  color: var(--btn-fg);
  font-family: var(--font-ui);
  font-size: 0.95rem;
  font-weight: 600;
  line-height: 1.2;
  text-decoration: none;
  cursor: pointer;
  transition:
    background 0.15s,
    border-color 0.15s,
    color 0.15s,
    transform 0.05s;
  white-space: nowrap;
}
.btn:hover {
  --btn-bg: var(--hover);
  --btn-border: var(--hover);
}
.btn:active {
  transform: translateY(1px);
}
.btn[disabled] {
  opacity: 0.55;
  cursor: not-allowed;
}
.btn-secondary {
  --btn-bg: transparent;
  --btn-fg: var(--black);
  --btn-border: var(--black);
}
.btn-secondary:hover {
  --btn-bg: rgb(0 0 0 / 0.08);
  --btn-border: var(--hover);
}
.btn-ghost {
  --btn-bg: transparent;
  --btn-fg: var(--ink-2);
  --btn-border: transparent;
}
.btn-ghost:hover {
  --btn-bg: var(--bg-soft);
  --btn-border: var(--line);
}
.btn-danger {
  --btn-bg: #fff;
  --btn-fg: var(--danger);
  --btn-border: #f1c4c4;
}
.btn-danger:hover {
  --btn-bg: #fdecec;
  --btn-border: var(--danger);
}
.btn-sm {
  padding: 7px 12px;
  font-size: 0.85rem;
  border-radius: 10px;
}
.btn-lg {
  padding: 15px 24px;
  font-size: 1.02rem;
}
.btn-block {
  width: 100%;
}
.icon-btn {
  display: inline-grid;
  place-items: center;
  width: 32px;
  height: 32px;
  border-radius: 8px;
  border: 1px solid var(--line);
  background: #fff;
  color: var(--ink-2);
  cursor: pointer;
}
.icon-btn:hover:not([disabled]) {
  border-color: var(--ink-2);
}
.icon-btn[disabled] {
  opacity: 0.35;
  cursor: default;
}
.link-sm {
  font-family: var(--font-ui);
  font-size: 0.85rem;
  color: var(--gold-dark);
  font-weight: 600;
  text-decoration: none;
}
.link-sm:hover {
  text-decoration: underline;
}
.linkish {
  color: var(--gold-dark);
  text-decoration: underline;
}

/* ------------------------------------------------------------ forms */
input:where(:not([type='checkbox']):not([type='radio']):not([type='file'])),
select,
textarea {
  width: 100%;
  font-family: var(--font-ui);
  font-size: 1rem;
  color: var(--ink-2);
  background: rgb(255 255 255 / 0.78);
  border: 1px solid #cfcac0;
  border-radius: var(--radius-input);
  padding: 12px 14px;
  line-height: 1.4;
  transition:
    border-color 0.15s,
    box-shadow 0.15s;
}
textarea {
  resize: vertical;
  min-height: 110px;
}
select {
  appearance: none;
  padding-right: 36px;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='14' height='14' viewBox='0 0 24 24' fill='none' stroke='%23333' stroke-width='2'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 12px center;
  cursor: pointer;
}
input:focus,
select:focus,
textarea:focus {
  outline: none;
  border-color: var(--black);
  box-shadow: 0 0 0 3px rgb(179 147 79 / 0.25);
}
input::placeholder,
textarea::placeholder {
  color: #9b9b9b;
}
input[type='checkbox'],
input[type='radio'] {
  accent-color: var(--black);
  width: 18px;
  height: 18px;
  margin: 0;
}
.field-label {
  display: block;
  font-family: var(--font-ui);
  font-weight: 600;
  font-size: 0.92rem;
  color: var(--ink);
  margin-bottom: 6px;
}
.field-label.sm {
  font-size: 0.82rem;
  margin-bottom: 2px;
  color: var(--ink-2);
}
.req {
  color: var(--gold-dark);
}
.optional {
  color: var(--muted-2);
  font-weight: 400;
}
.field-help {
  font-family: var(--font-ui);
  font-size: 0.8rem;
  color: var(--muted);
  margin: 6px 0 0;
}
.field-error {
  font-family: var(--font-ui);
  font-size: 0.84rem;
  color: var(--danger);
  margin: 6px 0 0;
  font-weight: 500;
}
.has-error input,
.has-error textarea,
.has-error select {
  border-color: var(--danger);
}
.select-wrap {
  position: relative;
}
.select-caret {
  display: none;
}
.check {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-family: var(--font-ui);
  font-size: 0.92rem;
  cursor: pointer;
}
.check input {
  margin-top: 2px;
}
fieldset {
  border: 0;
  padding: 0;
  margin: 0;
  min-width: 0;
}

.support-form {
  font-family: var(--font-ui);
}
.form-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px 18px;
  margin-bottom: 24px;
}
.field-full {
  grid-column: 1 / -1;
}
.field-half {
  grid-column: span 1;
}
.form-errors {
  display: flex;
  align-items: center;
  gap: 10px;
  background: #fdecec;
  color: #8b1414;
  border: 1px solid #f3c8c8;
  border-radius: 10px;
  padding: 12px 14px;
  margin-bottom: 20px;
  font-size: 0.92rem;
}
.form-fineprint {
  font-size: 0.8rem;
  color: var(--muted);
  text-align: center;
  margin: 14px 0 0;
}

/* Category tiles */
.tiles {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
}
.tile {
  position: relative;
  cursor: pointer;
}
.tile input {
  position: absolute;
  opacity: 0;
  inset: 0;
  pointer-events: none;
}
.tile-body {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  height: 100%;
  padding: 14px 14px 14px 14px;
  border: 1.5px solid var(--line);
  border-radius: 12px;
  background: #fff;
  transition:
    border-color 0.15s,
    background 0.15s,
    box-shadow 0.15s;
}
.tile:hover .tile-body {
  border-color: #b9b2a3;
}
.tile input:focus-visible + .tile-body {
  box-shadow: 0 0 0 3px rgb(179 147 79 / 0.35);
}
.tile input:checked + .tile-body {
  border-color: var(--black);
  background: var(--gold-tint);
  box-shadow: inset 0 0 0 1px var(--black);
}
.tile-icon {
  display: grid;
  place-items: center;
  flex: none;
  width: 40px;
  height: 40px;
  border-radius: 10px;
  background: var(--bg-soft);
  font-size: 1.3rem;
}
.tile input:checked + .tile-body .tile-icon {
  background: var(--black);
}
.tile-text {
  display: flex;
  flex-direction: column;
  gap: 2px;
  min-width: 0;
}
.tile-title {
  font-weight: 650;
  font-size: 0.95rem;
  color: var(--black);
}
.tile-hint {
  font-size: 0.8rem;
  color: var(--muted);
  line-height: 1.35;
}
.tile-check {
  margin-left: auto;
  color: var(--gold-dark);
  opacity: 0;
  transform: scale(0.6);
  transition: 0.15s;
}
.tile input:checked + .tile-body .tile-check {
  opacity: 1;
  transform: none;
}

/* Drop zone */
.dropzone {
  position: relative;
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 18px;
  border: 1.5px dashed #c9c2b3;
  border-radius: 12px;
  background: var(--gold-tint);
  cursor: pointer;
  transition:
    border-color 0.15s,
    background 0.15s;
  font-family: var(--font-ui);
}
.dropzone:hover,
.dropzone.dragover {
  border-color: var(--gold-dark);
  background: var(--gold-soft);
}
.dropzone input[type='file'] {
  position: absolute;
  inset: 0;
  opacity: 0;
  cursor: pointer;
  width: 100%;
}
.dropzone-icon {
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  flex: none;
  border-radius: 50%;
  background: #fff;
  color: var(--gold-dark);
  box-shadow: var(--shadow-sm);
}
.dropzone-text {
  display: flex;
  flex-direction: column;
  font-size: 0.92rem;
}
.dz-line {
  display: block;
}
.dropzone-text small {
  color: var(--muted);
  font-size: 0.8rem;
}
.dropzone-compact {
  padding: 10px 14px;
  gap: 10px;
  color: var(--ink-2);
}
.dropzone-compact .dropzone-text {
  flex-direction: row;
  align-items: baseline;
  gap: 8px;
  flex-wrap: wrap;
}
.file-previews {
  list-style: none;
  margin: 10px 0 0;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}
.file-previews:empty {
  display: none;
}
.fp-item {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 6px 8px 6px 6px;
  border: 1px solid var(--line);
  border-radius: 10px;
  background: #fff;
  font-family: var(--font-ui);
  font-size: 0.82rem;
  max-width: 260px;
}
.fp-item.too-big {
  border-color: var(--danger);
  color: var(--danger);
}
.fp-thumb {
  width: 36px;
  height: 36px;
  border-radius: 6px;
  object-fit: cover;
  background: var(--bg-soft);
  display: grid;
  place-items: center;
  flex: none;
}
.fp-name {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.fp-size {
  color: var(--muted);
  flex: none;
}

/* ------------------------------------------------------------ shared components */
.card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius-card);
  padding: 24px;
  box-shadow: var(--shadow-sm);
}
.card + .card {
  margin-top: 16px;
}
.card-head {
  margin-bottom: 16px;
}
.card-head h2 {
  margin-bottom: 4px;
  font-size: 1.15rem;
}
.card-head p {
  margin: 0;
}

.pill {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 3px 10px 3px 8px;
  border-radius: 999px;
  font-family: var(--font-ui);
  font-size: 0.76rem;
  font-weight: 600;
  white-space: nowrap;
  border: 1px solid transparent;
}
.pill .dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: currentColor;
}
.pill-open {
  color: #0b3cde;
  background: #edf1ff;
  border-color: #d6defd;
}
.pill-waiting {
  color: #8a5a00;
  background: #fff5df;
  border-color: #f6e2b5;
}
.pill-resolved {
  color: #1d6f39;
  background: #e8f5ed;
  border-color: #cbe8d5;
}
.pill-closed {
  color: #555;
  background: #f0f0ee;
  border-color: #e2e2df;
}
.prio {
  display: inline-block;
  padding: 2px 8px;
  border-radius: 6px;
  font-family: var(--font-ui);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.02em;
  text-transform: uppercase;
  white-space: nowrap;
}
.prio-urgent {
  color: #fff;
  background: var(--danger);
}
.prio-high {
  color: #9a3d00;
  background: #ffedd9;
}
.prio-normal {
  color: #555;
  background: #f0f0ee;
}
.prio-low {
  color: #777;
  background: #f6f6f4;
}
.chip {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  padding: 2px 9px;
  border-radius: 6px;
  font-family: var(--font-ui);
  font-size: 0.76rem;
  font-weight: 550;
  white-space: nowrap;
  border: 1px solid var(--line);
  color: var(--ink-2);
  background: #fff;
}
.chip-gold {
  background: var(--gold-tint);
  border-color: #eadfc6;
  color: var(--gold-dark);
}
.chip-dark {
  background: var(--black);
  color: #fff;
  border-color: var(--black);
}
.avatar {
  --av: var(--gold-dark);
  display: inline-grid;
  place-items: center;
  flex: none;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: var(--av);
  color: #fff;
  font-family: var(--font-ui);
  font-weight: 650;
  font-size: 0.8rem;
  letter-spacing: 0.02em;
}
.avatar-sm {
  width: 28px;
  height: 28px;
  font-size: 0.68rem;
}
.avatar-lg {
  width: 48px;
  height: 48px;
  font-size: 1rem;
}
.who {
  display: flex;
  align-items: center;
  gap: 10px;
  min-width: 0;
  font-family: var(--font-ui);
  font-size: 0.88rem;
}
.who > span:not(.avatar) {
  display: flex;
  flex-direction: column;
  min-width: 0;
}
.who small {
  color: var(--muted);
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.who.big {
  margin-bottom: 12px;
}

.attachments {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 12px;
}
.attachment {
  display: flex;
  align-items: center;
  gap: 8px;
  text-decoration: none;
  border: 1px solid var(--line);
  border-radius: 10px;
  background: #fff;
  font-family: var(--font-ui);
  font-size: 0.8rem;
  color: var(--ink-2);
  max-width: 220px;
  overflow: hidden;
}
.attachment:hover {
  border-color: var(--ink-2);
}
.attachment-image {
  flex-direction: column;
  align-items: stretch;
  gap: 0;
  width: 150px;
}
.attachment-image img {
  width: 150px;
  height: 110px;
  object-fit: cover;
  display: block;
  background: var(--bg-soft);
}
.attachment-image .attachment-name {
  padding: 6px 8px;
}
.attachment-file {
  padding: 8px 10px;
}
.attachment-name {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.attachment-size {
  color: var(--muted);
  flex: none;
}

.flash {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  border-radius: 12px;
  padding: 12px 14px 12px 16px;
  margin: 0 0 18px;
  font-family: var(--font-ui);
  font-size: 0.92rem;
  border: 1px solid;
  animation: flash-in 0.25s ease-out;
}
@keyframes flash-in {
  from {
    opacity: 0;
    transform: translateY(-4px);
  }
}
.flash-success {
  background: #e9f6ee;
  border-color: #c4e5cf;
  color: #17562c;
}
.flash-error {
  background: #fdecec;
  border-color: #f3c8c8;
  color: #8b1414;
}
.flash-info {
  background: var(--gold-tint);
  border-color: #ecdfc2;
  color: #5c4114;
}
.flash-close {
  background: none;
  border: 0;
  color: inherit;
  cursor: pointer;
  opacity: 0.7;
  padding: 2px;
}
.public .flash {
  margin-top: 20px;
}

.empty {
  text-align: center;
  padding: 36px 16px;
  font-family: var(--font-ui);
}
.empty-icon {
  display: inline-grid;
  place-items: center;
  width: 60px;
  height: 60px;
  border-radius: 50%;
  background: var(--gold-tint);
  color: var(--gold-dark);
  margin-bottom: 12px;
}
.empty h3 {
  margin-bottom: 4px;
}
.empty p {
  color: var(--muted);
  margin: 0;
  font-size: 0.92rem;
}

.kv {
  display: grid;
  grid-template-columns: minmax(90px, auto) 1fr;
  gap: 8px 14px;
  margin: 0;
  font-family: var(--font-ui);
  font-size: 0.88rem;
}
.kv dt {
  color: var(--muted);
}
.kv dd {
  margin: 0;
  word-break: break-word;
}
.ticket-aside .kv,
.detail-side .kv {
  grid-template-columns: minmax(0, 1fr);
  gap: 2px;
}
.ticket-aside .kv dt,
.detail-side .kv dt {
  font-size: 0.74rem;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  margin-top: 8px;
}
.ticket-aside .kv dt:first-child,
.detail-side .kv dt:first-child {
  margin-top: 0;
}

/* ------------------------------------------------------------ public site chrome */
.site-header {
  background: var(--black);
  color: #fff;
  position: relative;
  z-index: 40;
}
.header-row {
  display: flex;
  align-items: center;
  gap: 28px;
  min-height: 108px;
}
.site-logo img {
  display: block;
  height: 70px;
  width: auto;
}
.header-row {
  justify-content: space-between;
}
.header-cta {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  border: 1px solid rgb(179 147 79 / 0.7);
  color: #e9d9b4;
  border-radius: var(--radius-btn);
  padding: 10px 16px;
  font-family: var(--font-ui);
  font-size: 0.9rem;
  font-weight: 600;
  text-decoration: none;
  white-space: nowrap;
  transition:
    background 0.15s,
    color 0.15s;
}
.header-cta:hover,
.header-cta.active {
  background: rgb(179 147 79 / 0.15);
  color: #fff;
}
.nav-toggle {
  display: none;
  margin-left: auto;
  background: none;
  border: 1px solid rgb(255 255 255 / 0.25);
  color: #fff;
  border-radius: 10px;
  width: 44px;
  height: 44px;
  cursor: pointer;
}

.hero {
  position: relative;
  overflow: hidden;
  color: #fff;
  background:
    radial-gradient(ellipse 50% 90% at 20% 110%, rgb(179 147 79 / 0.28), transparent 70%),
    radial-gradient(ellipse 45% 90% at 85% -10%, rgb(179 147 79 / 0.22), transparent 70%),
    #050505;
  border-top: 1px solid #1a1a1a;
}
.hero-inner {
  text-align: center;
  padding-top: 56px;
  padding-bottom: 120px;
}
.hero h1 {
  color: #fff;
  font-size: clamp(2rem, 4.5vw, 3.1rem);
  margin: 18px 0 12px;
}
.hero p {
  max-width: 640px;
  margin: 0 auto;
  color: rgb(255 255 255 / 0.78);
  font-size: 1.08rem;
}
.hero-pill {
  display: inline-block;
  font-family: var(--font-ui);
  text-transform: uppercase;
  letter-spacing: 0.28em;
  font-size: 0.78rem;
  font-weight: 600;
  color: #ead8ae;
  border: 1.5px solid var(--gold);
  border-radius: 999px;
  padding: 9px 22px;
  box-shadow: 0 0 24px rgb(179 147 79 / 0.25);
}

.contact-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 340px;
  gap: 28px;
  margin-top: -80px;
  padding-bottom: 72px;
  position: relative;
}
.form-card {
  padding: 32px;
  box-shadow: var(--shadow-lg);
  border: 0;
}
.form-card .card-head {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 12px;
  flex-wrap: wrap;
  border-bottom: 1px solid var(--line-2);
  padding-bottom: 16px;
  margin-bottom: 24px;
}
.form-card .card-head p {
  font-family: var(--font-ui);
  font-size: 0.82rem;
}
.contact-aside {
  display: flex;
  flex-direction: column;
  gap: 16px;
}
.contact-aside .card + .card {
  margin-top: 0;
}
.aside-card {
  padding: 22px;
}
.aside-card h3 {
  margin: 10px 0 6px;
}
.aside-card p {
  font-size: 0.95rem;
  color: var(--ink-2);
  margin-bottom: 12px;
}
.aside-icon {
  display: inline-grid;
  place-items: center;
  width: 42px;
  height: 42px;
  border-radius: 12px;
  background: var(--black);
  color: var(--gold);
}
.aside-icon.big {
  width: 60px;
  height: 60px;
  border-radius: 16px;
  margin-bottom: 14px;
}
.steps-list {
  margin: 0;
  padding-left: 1.2em;
  font-size: 0.95rem;
  color: var(--ink-2);
}
.steps-list li {
  margin-bottom: 6px;
}
.steps-list li::marker {
  color: var(--gold-dark);
  font-family: var(--font-ui);
  font-weight: 700;
}
.aside-address {
  text-align: center;
  font-size: 0.92rem;
  padding: 8px;
}

.site-footer {
  font-family: var(--font-body);
  font-size: 0.85rem;
  color: var(--muted);
}
.footer-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  border-top: 1px solid #333;
  padding-top: 24px;
  padding-bottom: 36px;
  flex-wrap: wrap;
}
.site-footer a {
  color: var(--muted);
  text-decoration: none;
}
.site-footer a:hover {
  color: var(--ink);
}
.socials {
  display: flex;
  gap: 12px;
}
.socials a {
  color: var(--gold-dark);
}
.socials a:hover {
  color: var(--gold);
}
.public-main {
  min-height: 60dvh;
}

/* Customer ticket page */
.ticket-page {
  padding-top: 32px;
  padding-bottom: 72px;
}
.success-banner {
  display: flex;
  align-items: center;
  gap: 20px;
  background: var(--black);
  color: #fff;
  border-radius: var(--radius-card);
  padding: 24px 28px;
  margin-bottom: 20px;
  background-image: radial-gradient(ellipse 60% 140% at 0% 50%, rgb(179 147 79 / 0.35), transparent 70%);
}
.success-banner h1 {
  color: #fff;
  font-size: 1.45rem;
  margin-bottom: 6px;
}
.success-banner p {
  margin: 0;
  color: rgb(255 255 255 / 0.8);
}
.success-burst {
  display: grid;
  place-items: center;
  width: 64px;
  height: 64px;
  border-radius: 50%;
  flex: none;
  background: var(--gold);
  color: #000;
  animation: pop 0.45s cubic-bezier(0.2, 1.6, 0.4, 1);
}
@keyframes pop {
  from {
    transform: scale(0.4);
    opacity: 0;
  }
}
.ticket-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  flex-wrap: wrap;
  margin-bottom: 20px;
}
.ticket-title {
  font-size: 1.5rem;
  margin-bottom: 10px;
}
.ticket-meta {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 8px;
  font-family: var(--font-ui);
}
.stepper {
  display: flex;
  list-style: none;
  margin: 0;
  padding: 0;
  font-family: var(--font-ui);
  font-size: 0.8rem;
}
.stepper li {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
  width: 96px;
  position: relative;
  color: var(--muted);
}
.stepper li + li::before {
  content: '';
  position: absolute;
  top: 15px;
  right: 50%;
  width: 100%;
  height: 2px;
  background: var(--line);
  z-index: 0;
}
.stepper li.done + li::before,
.stepper li.done + li.done::before {
  background: var(--gold);
}
.step-dot {
  position: relative;
  z-index: 1;
  display: grid;
  place-items: center;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: #fff;
  border: 2px solid var(--line);
  font-weight: 700;
}
.stepper li.current {
  color: var(--black);
  font-weight: 650;
}
.stepper li.current .step-dot {
  border-color: var(--black);
  background: var(--black);
  color: #fff;
}
.stepper li.done {
  color: var(--gold-dark);
}
.stepper li.done .step-dot {
  border-color: var(--gold);
  background: var(--gold);
  color: #000;
}
.ticket-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 320px;
  gap: 24px;
  align-items: start;
}
.thread {
  list-style: none;
  margin: 0 0 20px;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 18px;
}
.bubble-row {
  display: flex;
  gap: 12px;
  align-items: flex-end;
}
.bubble-row.mine {
  justify-content: flex-end;
}
.bubble {
  max-width: min(640px, 88%);
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 18px 18px 18px 6px;
  padding: 14px 18px;
  box-shadow: var(--shadow-sm);
}
.bubble-row.mine .bubble {
  background: var(--gold-tint);
  border-color: #eadfc6;
  border-radius: 18px 18px 6px 18px;
}
.bubble-head {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 16px;
  font-family: var(--font-ui);
  font-size: 0.8rem;
  margin-bottom: 6px;
}
.bubble-head time {
  color: var(--muted);
  white-space: nowrap;
}
.bubble-body {
  font-size: 1rem;
  overflow-wrap: anywhere;
}
.bubble-body a,
.tl-body a {
  color: var(--gold-dark);
}
.bubble-via {
  font-family: var(--font-ui);
  font-size: 0.72rem;
  color: var(--muted);
  margin-top: 8px;
}
.reply-card h3 {
  margin-bottom: 12px;
}
.reply-card textarea {
  margin-bottom: 10px;
}
.reply-actions {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-top: 14px;
  flex-wrap: wrap;
}
.resolve-self {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  margin-top: 14px;
  font-family: var(--font-ui);
  font-size: 0.88rem;
  color: var(--muted);
}
.ticket-aside .card + .card {
  margin-top: 16px;
}
.ticket-aside h3 {
  margin-bottom: 12px;
}
.muted-card {
  background: var(--bg-soft);
  box-shadow: none;
}
.muted-card p {
  margin: 0;
  color: var(--muted);
}
.rating-card {
  text-align: center;
  margin-bottom: 20px;
  border-color: #eadfc6;
  background: linear-gradient(180deg, var(--gold-tint), #fff);
}
.rating-card h3 {
  font-size: 1.2rem;
}
.rating-options {
  display: flex;
  justify-content: center;
  gap: 12px;
  flex-wrap: wrap;
  margin: 14px 0 6px;
}
.rating-btn {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
  min-width: 108px;
  padding: 14px 16px;
  border: 1.5px solid var(--line);
  border-radius: 14px;
  background: #fff;
  font-family: var(--font-ui);
  font-weight: 600;
  font-size: 0.88rem;
  cursor: pointer;
  transition:
    transform 0.12s,
    border-color 0.12s;
}
.rating-btn:hover,
.rating-btn.selected,
.rating-btn:has(input:checked) {
  border-color: var(--black);
  transform: translateY(-2px);
  background: var(--gold-tint);
}
.rating-emoji {
  font-size: 1.8rem;
  line-height: 1;
}
.rating-emoji.huge {
  font-size: 3.4rem;
  margin-bottom: 12px;
}
.rating-done {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-bottom: 20px;
}
.rating-done p {
  margin: 0;
}
.center-card {
  text-align: center;
  padding: 40px 32px;
}
.center-card form {
  text-align: left;
  margin-top: 20px;
}
.center-card .row-gap {
  justify-content: center;
}

/* ------------------------------------------------------------ auth pages */
body.auth {
  background:
    radial-gradient(ellipse 60% 50% at 50% 0%, rgb(179 147 79 / 0.25), transparent 70%),
    #050505;
  font-family: var(--font-ui);
  min-height: 100dvh;
}
.auth-main {
  min-height: 100dvh;
  padding-top: max(2.5rem, calc(var(--top-clear) + 1rem)) !important;
  padding-bottom: max(2.5rem, env(safe-area-inset-bottom)) !important;
  padding-left: max(16px, env(safe-area-inset-left)) !important;
  padding-right: max(16px, env(safe-area-inset-right)) !important;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 32px 16px;
}
.auth-logo img {
  height: 70px;
  width: auto;
  margin-bottom: 28px;
}
.auth-card {
  width: 100%;
  max-width: 420px;
  background: #fff;
  border-radius: 18px;
  padding: 32px;
  box-shadow: var(--shadow-lg);
}
.auth-card h1 {
  font-size: 1.5rem;
}
.auth-alt {
  text-align: center;
  margin: 18px 0 0;
  font-size: 0.88rem;
}
.auth-alt a {
  color: var(--gold-dark);
}
.auth-foot {
  color: rgb(255 255 255 / 0.5);
  font-size: 0.8rem;
  margin-top: 24px;
}

/* ------------------------------------------------------------ staff app */
body.staff {
  font-family: var(--font-ui);
  font-size: 15px;
  background: var(--bg-soft);
}
.staff-header {
  position: sticky;
  top: 0;
  z-index: 50;
  box-sizing: border-box;
  height: calc(var(--staff-header-h) + var(--top-clear));
  padding-top: var(--top-clear);
  display: flex;
  align-items: center;
  gap: 20px;
  padding-inline: max(20px, env(safe-area-inset-left)) max(20px, env(safe-area-inset-right)) !important;
  background: var(--black);
  color: #fff;
}
.staff-brand {
  display: flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
  flex: none;
}
.staff-brand img {
  height: 40px;
  width: auto;
  display: block;
}
.staff-brand-label {
  font-size: 0.78rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--gold);
  font-weight: 650;
  border-left: 1px solid #333;
  padding-left: 12px;
}
.staff-search {
  flex: 1;
  max-width: 560px;
  display: flex;
  align-items: center;
  gap: 8px;
  background: #1a1a1a;
  border: 1px solid #2c2c2c;
  border-radius: 10px;
  padding: 0 12px;
  color: #aaa;
}
.staff-search:focus-within {
  border-color: var(--gold);
}
.staff-search input[type='search'] {
  background: transparent;
  border: 0;
  color: #fff;
  padding: 9px 0;
  font-size: 0.9rem;
  box-shadow: none;
}
.staff-search input::placeholder {
  color: #8a8a8a;
}
.user-menu {
  margin-left: auto;
  position: relative;
}
.user-menu summary {
  list-style: none;
  display: flex;
  align-items: center;
  gap: 10px;
  cursor: pointer;
  padding: 6px 8px;
  border-radius: 10px;
}
.user-menu summary::-webkit-details-marker {
  display: none;
}
.user-menu summary:hover {
  background: #1a1a1a;
}
.user-menu-name {
  display: flex;
  flex-direction: column;
  line-height: 1.2;
}
.user-menu-name strong {
  font-size: 0.86rem;
}
.user-menu-name small {
  color: var(--gold);
  font-size: 0.72rem;
}
.user-menu-panel {
  max-height: min(92dvh, calc(100dvh - var(--staff-header-h) - var(--top-clear) - 0.5rem));
  overflow-y: auto;
  position: absolute;
  right: 0;
  top: calc(100% + 8px);
  min-width: 240px;
  background: #fff;
  color: var(--ink);
  border-radius: 12px;
  box-shadow: var(--shadow-lg);
  border: 1px solid var(--line);
  padding: 6px;
}
.user-menu-panel a,
.user-menu-panel button {
  display: flex;
  align-items: center;
  gap: 10px;
  width: 100%;
  padding: 10px 12px;
  border-radius: 8px;
  text-decoration: none;
  font: inherit;
  font-size: 0.9rem;
  color: var(--ink);
  background: none;
  border: 0;
  cursor: pointer;
  text-align: left;
}
.user-menu-panel a:hover,
.user-menu-panel button:hover {
  background: var(--bg-soft);
}
.staff-shell {
  display: grid;
  grid-template-columns: 236px minmax(0, 1fr);
  min-height: calc(100dvh - var(--staff-header-h) - var(--top-clear));
}
.staff-nav {
  background: #fff;
  border-right: 1px solid var(--line);
  padding: 18px 12px;
  position: sticky;
  top: calc(var(--staff-header-h) + var(--top-clear));
  height: calc(100dvh - var(--staff-header-h) - var(--top-clear));
  overflow-y: auto;
}
.snav-heading {
  font-size: 0.68rem;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  color: var(--muted-2);
  font-weight: 650;
  margin: 18px 10px 6px;
}
.snav-link {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 8px 10px;
  border-radius: 9px;
  color: var(--ink-2);
  text-decoration: none;
  font-size: 0.9rem;
  font-weight: 500;
}
.snav-link:hover {
  background: var(--bg-soft);
}
.snav-link.active {
  background: var(--black);
  color: #fff;
}
.snav-link.active .icon {
  color: var(--gold);
}
.snav-label {
  flex: 1;
}
.snav-count {
  font-size: 0.72rem;
  font-weight: 700;
  min-width: 22px;
  text-align: center;
  padding: 1px 7px;
  border-radius: 999px;
  background: var(--line-2);
  color: var(--ink-2);
}
.snav-count.alert {
  background: var(--gold);
  color: #000;
}
.staff-main {
  padding: 28px 32px calc(64px + env(safe-area-inset-bottom));
  max-width: 1180px;
  width: 100%;
}
.staff-main.wide {
  max-width: 1480px;
}
.page-header {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 22px;
  flex-wrap: wrap;
}
.page-header h1 {
  font-size: 1.65rem;
  margin-bottom: 4px;
}
.page-subtitle {
  color: var(--muted);
  margin: 0;
}
.page-actions {
  display: flex;
  gap: 10px;
}

/* KPI tiles */
.stat-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
  gap: 14px;
  margin-bottom: 22px;
}
.stat {
  display: flex;
  flex-direction: column;
  gap: 4px;
  padding: 18px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius-card);
  text-decoration: none;
  color: var(--ink);
  transition:
    border-color 0.15s,
    box-shadow 0.15s;
}
a.stat:hover {
  border-color: var(--ink-2);
  box-shadow: var(--shadow);
}
.stat-alert {
  background: var(--black);
  border-color: var(--black);
  color: #fff;
}
.stat-alert .stat-label,
.stat-alert .stat-sub {
  color: rgb(255 255 255 / 0.7);
}
.stat-alert .stat-label .icon {
  color: var(--gold);
}
.stat-label {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 0.8rem;
  color: var(--muted);
  font-weight: 550;
}
.stat-value {
  font-size: 2rem;
  font-weight: 750;
  letter-spacing: -0.02em;
  line-height: 1.1;
  font-variant-numeric: tabular-nums;
}
.stat-sub {
  font-size: 0.78rem;
  color: var(--muted);
}
.dash-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(380px, 1fr));
  gap: 16px;
  align-items: start;
}
.dash-grid .card + .card {
  margin-top: 0;
}
.mini-list {
  list-style: none;
  margin: 0;
  padding: 0;
}
.mini-list li + li {
  border-top: 1px solid var(--line-2);
}
.mini-list a {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 10px 4px;
  text-decoration: none;
}
.mini-list a:hover .mini-main strong {
  text-decoration: underline;
}
.mini-main {
  flex: 1;
  min-width: 0;
  display: flex;
  flex-direction: column;
}
.mini-main strong,
.mini-main small {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.mini-main strong {
  font-size: 0.9rem;
  font-weight: 600;
}
.mini-main small {
  color: var(--muted);
  font-size: 0.78rem;
}
.mini-time {
  font-size: 0.78rem;
  color: var(--muted);
  white-space: nowrap;
}
.workload {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.workload li {
  display: grid;
  grid-template-columns: 28px minmax(90px, 160px) 1fr auto;
  align-items: center;
  gap: 10px;
  font-size: 0.88rem;
}
.workload-name {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.workload-bar {
  height: 10px;
  background: var(--line-2);
  border-radius: 4px;
  overflow: hidden;
}
.workload-bar span {
  display: block;
  height: 100%;
  background: var(--gold);
  border-radius: 0 4px 4px 0;
}
.workload-value {
  font-variant-numeric: tabular-nums;
  font-weight: 650;
  white-space: nowrap;
}
.workload-value small {
  color: var(--muted);
  font-weight: 400;
}
.tag-mini {
  margin-left: 6px;
  font-size: 0.66rem;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--gold-dark);
  background: var(--gold-tint);
  border-radius: 4px;
  padding: 1px 5px;
  vertical-align: 1px;
}

/* Ticket list */
.filter-bar {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px;
  margin-bottom: 14px;
}
.filter-bar select {
  width: auto;
  padding: 8px 34px 8px 12px;
  font-size: 0.86rem;
  border-radius: 10px;
  background-color: #fff;
}
.filter-search {
  flex: 1 1 280px;
  display: flex;
  align-items: center;
  gap: 8px;
  background: #fff;
  border: 1px solid #cfcac0;
  border-radius: 10px;
  padding: 0 12px;
  color: var(--muted);
}
.filter-search:focus-within {
  border-color: var(--black);
  box-shadow: 0 0 0 3px rgb(179 147 79 / 0.25);
}
.filter-search input[type='search'] {
  border: 0;
  padding: 9px 0;
  font-size: 0.88rem;
  box-shadow: none !important;
  background: transparent;
}
.bulk-bar {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 10px 18px;
  padding: 10px 14px;
  margin-bottom: 12px;
  background: var(--black);
  color: #fff;
  border-radius: 12px;
  position: sticky;
  top: calc(var(--staff-header-h) + 12px + var(--top-clear));
  z-index: 20;
  box-shadow: var(--shadow);
}
.js .bulk-bar:not(.is-active) {
  display: none;
}
.bulk-count {
  font-size: 0.88rem;
}
.bulk-count strong {
  color: var(--gold);
}
.bulk-group {
  display: flex;
  align-items: center;
  gap: 6px;
}
.bulk-bar select {
  width: auto;
  min-width: 140px;
  padding: 6px 30px 6px 10px;
  font-size: 0.84rem;
  border-radius: 8px;
  background-color: #fff;
}
.bulk-bar .btn-primary {
  --btn-bg: var(--gold);
  --btn-border: var(--gold);
  --btn-fg: #000;
}
.bulk-bar .btn-primary:hover {
  --btn-bg: #c7a862;
}
.bulk-bar .btn-secondary,
.bulk-bar .btn-ghost {
  --btn-fg: #fff;
  --btn-border: #555;
}
.bulk-bar .btn-secondary:hover,
.bulk-bar .btn-ghost:hover {
  --btn-bg: #222;
}
.table-card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius-card);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
}
.ticket-table,
.data-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.88rem;
}
.ticket-table th,
.data-table th {
  text-align: left;
  font-size: 0.72rem;
  font-weight: 650;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--muted);
  background: #fbfaf7;
  padding: 10px 14px;
  border-bottom: 1px solid var(--line);
  white-space: nowrap;
}
.ticket-table td,
.data-table td {
  padding: 12px 14px;
  border-bottom: 1px solid var(--line-2);
  vertical-align: top;
}
.ticket-table tbody tr {
  transition: background 0.1s;
  cursor: pointer;
}
.ticket-table tbody tr:hover {
  background: var(--gold-tint);
}
.ticket-table tbody tr.is-selected {
  background: #f6efdd;
}
.ticket-table tr:last-child td,
.data-table tr:last-child td {
  border-bottom: 0;
}
.col-check {
  width: 40px;
}
.col-time {
  white-space: nowrap;
  color: var(--muted);
  text-align: right;
}
th.col-time {
  text-align: right;
}
.col-ticket {
  min-width: 300px;
}
.ticket-link {
  display: flex;
  align-items: baseline;
  gap: 8px;
  text-decoration: none;
}
.ticket-num {
  color: var(--muted);
  font-variant-numeric: tabular-nums;
  font-weight: 600;
}
.ticket-subject {
  font-weight: 550;
  color: var(--ink);
}
tr.needs-reply .ticket-subject {
  font-weight: 700;
  color: var(--black);
}
.unread-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--gold);
  flex: none;
  align-self: center;
  box-shadow: 0 0 0 3px rgb(179 147 79 / 0.2);
}
.ticket-snippet {
  color: var(--muted);
  font-size: 0.82rem;
  margin: 3px 0 6px;
  display: -webkit-box;
  -webkit-line-clamp: 1;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.ticket-tags {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 6px;
}
tr.prio-row-urgent td:first-child {
  box-shadow: inset 3px 0 0 var(--danger);
}
tr.prio-row-high td:first-child {
  box-shadow: inset 3px 0 0 #e58a2b;
}
.pager {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-top: 16px;
}
.table-scroll {
  overflow-x: auto;
}
.row-muted td {
  opacity: 0.55;
}

/* Ticket detail */
.ticket-detail {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 340px;
  gap: 24px;
  align-items: start;
}
.back-link {
  display: inline-block;
  font-size: 0.85rem;
  color: var(--muted);
  text-decoration: none;
  margin-bottom: 12px;
}
.back-link:hover {
  color: var(--ink);
}
.detail-head {
  margin-bottom: 20px;
}
.subject-edit summary {
  list-style: none;
  display: flex;
  align-items: baseline;
  gap: 10px;
  cursor: pointer;
}
.subject-edit summary::-webkit-details-marker {
  display: none;
}
.subject-edit h1 {
  font-size: 1.55rem;
  margin-bottom: 10px;
}
.edit-hint {
  font-size: 0.78rem;
  color: var(--muted);
  opacity: 0;
  transition: opacity 0.15s;
}
.subject-edit summary:hover .edit-hint,
details[open] > summary .edit-hint {
  opacity: 1;
}
.inline-form {
  display: flex;
  gap: 8px;
  margin-bottom: 12px;
}
.timeline {
  list-style: none;
  margin: 0 0 20px;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 14px;
}
.tl-event {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 0.8rem;
  color: var(--muted);
  padding-left: 14px;
}
.tl-event time {
  margin-left: auto;
  white-space: nowrap;
}
.tl-event-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--line);
  border: 2px solid #fff;
  box-shadow: 0 0 0 1px var(--line);
  flex: none;
}
.tl-msg {
  display: flex;
  gap: 12px;
  align-items: flex-start;
}
.tl-card {
  flex: 1;
  min-width: 0;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 14px 18px;
  box-shadow: var(--shadow-sm);
}
.tl-msg.from-customer .tl-card {
  border-left: 3px solid var(--gold);
}
.tl-msg.internal .tl-card {
  background: #fffaeb;
  border-color: #f1df9f;
  border-style: dashed;
}
.tl-head {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 8px;
  font-size: 0.85rem;
  margin-bottom: 8px;
}
.tl-head time {
  margin-left: auto;
  color: var(--muted);
  font-size: 0.78rem;
}
.internal-tag {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  font-size: 0.7rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: #7a5b00;
  background: #fbefc4;
  border-radius: 4px;
  padding: 2px 6px;
}
.tl-note {
  font-size: 0.82rem;
  background: #fff3cd;
  border-radius: 8px;
  padding: 6px 10px;
  margin-bottom: 8px;
}
.tl-body {
  font-size: 0.95rem;
  line-height: 1.6;
  overflow-wrap: anywhere;
}
.composer {
  padding: 16px 18px;
  box-shadow: var(--shadow);
}
.composer.is-note {
  background: #fffaeb;
  border-color: #f1df9f;
}
.composer-tabs {
  display: flex;
  align-items: center;
  gap: 6px;
  flex-wrap: wrap;
  margin-bottom: 8px;
}
.composer-tab input {
  position: absolute;
  opacity: 0;
  pointer-events: none;
}
.composer-tab span {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 7px 12px;
  border-radius: 9px;
  font-size: 0.86rem;
  font-weight: 600;
  color: var(--muted);
  cursor: pointer;
  border: 1px solid transparent;
}
.composer-tab input:checked + span {
  background: var(--black);
  color: #fff;
}
.composer-tab input[value='note']:checked + span {
  background: #fbefc4;
  color: #6b4f00;
  border-color: #f1df9f;
}
.composer-tab input:focus-visible + span {
  outline: 2px solid var(--gold);
}
.canned-picker {
  margin-left: auto;
}
.canned-picker select {
  padding: 7px 30px 7px 10px;
  font-size: 0.84rem;
  border-radius: 9px;
  width: auto;
}
.composer-hint {
  font-size: 0.78rem;
  color: var(--muted);
  margin: 0 0 8px;
}
.composer textarea {
  min-height: 130px;
  margin-bottom: 10px;
}
.composer-actions {
  display: flex;
  justify-content: flex-end;
  gap: 10px;
  margin-top: 12px;
  flex-wrap: wrap;
}
.detail-side {
  display: flex;
  flex-direction: column;
  gap: 14px;
}
.detail-side .card + .card {
  margin-top: 0;
}
.side-card {
  padding: 18px;
}
.side-card h3 {
  font-size: 0.78rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--muted);
  margin-bottom: 12px;
  display: flex;
  align-items: center;
  gap: 6px;
}
.side-card .stack-sm + form {
  margin-top: 8px;
}
.side-sub {
  font-size: 0.8rem;
  margin: 14px 0 6px;
}
.side-list {
  list-style: none;
  padding: 0;
  margin: 0 0 12px;
  display: flex;
  flex-direction: column;
  gap: 6px;
  font-size: 0.85rem;
}
.side-list a {
  color: var(--gold-dark);
  font-weight: 600;
}
.side-card select {
  padding: 8px 32px 8px 10px;
  font-size: 0.88rem;
}
.order-card .row-between h3 {
  margin: 0;
}
.order-card .row-between {
  margin-bottom: 10px;
}
.verify {
  font-size: 0.8rem;
  border-radius: 8px;
  padding: 6px 10px;
  margin-bottom: 12px;
}
.verify.ok {
  background: #e8f5ed;
  color: #1d6f39;
}
.verify.warn {
  background: #fff5df;
  color: #8a5a00;
}
.order-items {
  list-style: none;
  padding: 0;
  margin: 14px 0;
  display: flex;
  flex-direction: column;
  gap: 8px;
  font-size: 0.85rem;
}
.order-items li {
  display: flex;
  align-items: center;
  gap: 10px;
}
.order-items img,
.order-thumb {
  width: 40px;
  height: 40px;
  border-radius: 6px;
  object-fit: cover;
  background: var(--bg-soft);
  flex: none;
}
.order-items li span:nth-child(2) {
  flex: 1;
}
.rating-line {
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 650;
  margin: 0 0 8px;
}
.quote {
  margin: 0;
  padding: 8px 12px;
  border-left: 3px solid var(--gold);
  background: var(--gold-tint);
  font-family: var(--font-body);
  font-size: 0.95rem;
}

/* Admin */
.admin-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.6fr) minmax(300px, 1fr);
  gap: 16px;
  align-items: start;
}
.admin-grid .card + .card {
  margin-top: 0;
}
.invite-card {
  margin-bottom: 16px;
  border-color: #eadfc6;
  background: var(--gold-tint);
}
.copy-row {
  display: flex;
  gap: 8px;
}
.copy-row input {
  font-family: ui-monospace, Menlo, monospace;
  font-size: 0.82rem !important;
}
.role {
  font-size: 0.75rem;
  font-weight: 650;
  padding: 3px 8px;
  border-radius: 6px;
  white-space: nowrap;
}
.role-admin {
  background: var(--black);
  color: var(--gold);
}
.role-manager {
  background: var(--gold-soft);
  color: var(--gold-dark);
}
.role-agent {
  background: var(--bg-soft);
  color: var(--ink-2);
  border: 1px solid var(--line);
}
.tag-ok,
.tag-warn {
  font-size: 0.78rem;
  font-weight: 600;
  border-radius: 6px;
  padding: 2px 8px;
}
.tag-ok {
  background: #e8f5ed;
  color: #1d6f39;
}
.tag-warn {
  background: #fff5df;
  color: #8a5a00;
}
.role-picker {
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.radio-card {
  display: flex;
  gap: 10px;
  align-items: flex-start;
  padding: 10px 12px;
  border: 1.5px solid var(--line);
  border-radius: 10px;
  cursor: pointer;
}
.radio-card:has(input:checked) {
  border-color: var(--black);
  background: var(--gold-tint);
}
.radio-card input {
  margin-top: 3px;
}
.radio-card span {
  display: flex;
  flex-direction: column;
}
.radio-card small {
  color: var(--muted);
  font-size: 0.8rem;
}

.fb-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: 20px;
  align-items: start;
}
.fb-col .card + .card {
  margin-top: 16px;
}
.fb-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.fb-field {
  border: 1px solid var(--line);
  border-radius: 12px;
  background: #fff;
  transition:
    box-shadow 0.15s,
    border-color 0.15s;
}
.fb-field.inactive {
  background: var(--bg-soft);
}
.fb-field.inactive .fb-summary strong {
  color: var(--muted);
  text-decoration: line-through;
}
.fb-field.dragging {
  opacity: 0.5;
}
.fb-field.drag-over {
  border-color: var(--gold);
  box-shadow: 0 -3px 0 var(--gold);
}
.fb-row {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 12px;
}
.fb-grip {
  color: var(--muted-2);
  cursor: grab;
}
.fb-summary {
  flex: 1;
  display: flex;
  flex-direction: column;
  min-width: 0;
}
.fb-summary strong {
  font-size: 0.92rem;
}
.fb-meta {
  font-size: 0.76rem;
  color: var(--muted);
}
.fb-move {
  display: flex;
  gap: 4px;
}
.fb-edit {
  border-top: 1px solid var(--line-2);
}
.fb-edit summary {
  padding: 8px 12px;
  font-size: 0.8rem;
  color: var(--gold-dark);
  font-weight: 600;
  cursor: pointer;
}
.fb-edit form {
  padding: 4px 12px 14px;
}
.fb-edit input,
.fb-edit select,
.fb-edit textarea {
  padding: 8px 10px;
  font-size: 0.88rem;
}
.fb-preview {
  position: sticky;
  top: calc(var(--staff-header-h) + 16px + var(--top-clear));
}
.preview-frame {
  border-radius: 16px;
  overflow: hidden;
  border: 1px solid var(--line);
  box-shadow: var(--shadow);
  background: #fff;
}
.preview-bar {
  display: flex;
  align-items: center;
  gap: 6px;
  background: var(--black);
  color: var(--gold);
  font-size: 0.72rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  padding: 10px 14px;
}
.preview-bar span {
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: #333;
}
.preview-body {
  padding: 24px;
  max-height: calc(100dvh - 160px - var(--top-clear));
  overflow-y: auto;
}
.preview-title {
  font-size: 1.4rem;
  margin-bottom: 18px;
}
.preview-body .tiles {
  grid-template-columns: 1fr;
}

.choice-cards {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
  margin-bottom: 14px;
}
.choice-card {
  cursor: pointer;
  position: relative;
}
.choice-card input {
  position: absolute;
  opacity: 0;
}
.choice-body {
  display: flex;
  flex-direction: column;
  gap: 6px;
  height: 100%;
  padding: 16px;
  border: 1.5px solid var(--line);
  border-radius: 12px;
  transition: 0.15s;
}
.choice-body small {
  color: var(--muted);
  font-size: 0.82rem;
}
.choice-card input:checked + .choice-body {
  border-color: var(--black);
  background: var(--gold-tint);
  box-shadow: inset 0 0 0 1px var(--black);
}
.choice-card input:focus-visible + .choice-body {
  box-shadow: 0 0 0 3px rgb(179 147 79 / 0.35);
}
.choice-icon {
  display: grid;
  place-items: center;
  width: 40px;
  height: 40px;
  border-radius: 10px;
  background: var(--black);
  color: var(--gold);
}
.settings-form .card {
  margin-bottom: 16px;
}
.settings-form .card + .card {
  margin-top: 0;
}
.settings-form .check {
  margin: 12px 0;
}
.sticky-save {
  position: sticky;
  bottom: calc(12px + env(safe-area-inset-bottom));
  display: flex;
  justify-content: flex-end;
  margin-bottom: 16px;
}
.sticky-save .btn {
  box-shadow: var(--shadow);
}
.health {
  list-style: none;
  padding: 0;
  margin: 0 0 18px;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 10px;
}
.health li {
  display: flex;
  gap: 12px;
  align-items: flex-start;
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 12px;
}
.health li span:last-child {
  display: flex;
  flex-direction: column;
  font-size: 0.88rem;
}
.health small {
  color: var(--muted);
  font-size: 0.8rem;
  overflow-wrap: anywhere;
}
.health-icon {
  display: grid;
  place-items: center;
  width: 26px;
  height: 26px;
  border-radius: 50%;
  font-weight: 800;
  flex: none;
}
.health li.ok .health-icon {
  background: #e8f5ed;
  color: #1d6f39;
}
.health li.warn .health-icon {
  background: #fff5df;
  color: #8a5a00;
}
.log-status {
  font-size: 0.76rem;
  font-weight: 650;
  padding: 2px 8px;
  border-radius: 6px;
  text-transform: capitalize;
}
.log-sent,
.log-processed {
  background: #e8f5ed;
  color: #1d6f39;
}
.log-failed {
  background: #fdecec;
  color: var(--danger);
}
.log-logged,
.log-ignored {
  background: var(--bg-soft);
  color: var(--muted);
}
.canned-list {
  list-style: none;
  margin: 0;
  padding: 0;
}
.canned-list li + li {
  border-top: 1px solid var(--line-2);
}
.canned-list summary {
  list-style: none;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 12px 4px;
  cursor: pointer;
}
.canned-list summary::-webkit-details-marker {
  display: none;
}
.canned-list summary > span:first-child {
  display: flex;
  flex-direction: column;
  min-width: 0;
}
.canned-list summary small {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.canned-list summary:hover .edit-hint {
  opacity: 1;
}
.canned-list form {
  padding: 0 4px 14px;
}
.canned-body {
  white-space: pre-wrap;
  font-family: inherit;
  font-size: 0.9rem;
  background: var(--bg-soft);
  border-radius: 8px;
  padding: 12px;
}

/* ------------------------------------------------------------ passkeys */
.passkey-glyph {
  display: grid;
  place-items: center;
  width: 64px;
  height: 64px;
  border-radius: 18px;
  background: var(--black);
  color: var(--gold);
  margin-bottom: 16px;
  box-shadow: 0 0 0 4px var(--gold-tint);
}
.pk-username {
  font-size: 0.92rem !important;
}
.enroll-tips {
  margin: 18px 0 0;
  padding-left: 1.1em;
  font-size: 0.85rem;
  color: var(--muted);
}
.enroll-tips li + li {
  margin-top: 6px;
}
.passkey-list {
  list-style: none;
  margin: 0 0 14px;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.passkey-list li {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 10px 12px;
  border: 1px solid var(--line);
  border-radius: 10px;
  font-size: 0.88rem;
}
.passkey-list li > .icon {
  color: var(--gold-dark);
}
.passkey-list li > span {
  flex: 1;
  display: flex;
  flex-direction: column;
  min-width: 0;
}
.passkey-list small {
  color: var(--muted);
}
.passkey-list.compact li {
  padding: 8px 10px;
}
.card-head h2 .icon {
  color: var(--gold-dark);
  margin-right: 4px;
}

/* ------------------------------------------------------------ notifications */
.push-panel .row-gap {
  margin-top: 10px;
}
.ios-install {
  background: var(--gold-tint);
  border: 1px solid #ecdfc2;
  border-radius: 10px;
  padding: 12px 14px;
  font-size: 0.86rem;
  margin: 8px 0;
}
.ios-install ol {
  margin: 8px 0 0;
  padding-left: 1.2em;
}
.welcome-card,
.push-prompt {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-bottom: 18px;
  flex-wrap: wrap;
}
.welcome-card h2 {
  margin: 0 0 4px;
  font-size: 1.1rem;
}
.welcome-card p {
  margin: 0;
}
.welcome-card > div:nth-child(2) {
  flex: 1 1 260px;
}
.push-prompt {
  padding: 14px 18px;
  background: var(--black);
  color: #fff;
  border-color: var(--black);
}
.push-prompt .icon {
  color: var(--gold);
}
.push-prompt span {
  flex: 1 1 200px;
}
.push-prompt .btn-primary {
  --btn-bg: var(--gold);
  --btn-border: var(--gold);
  --btn-fg: #000;
}

/* ------------------------------------------------------------ overdue (no reply in 36h+) */
.snav-count.danger {
  background: var(--danger);
  color: #fff;
}
.stat-danger {
  background: #fff5f5;
  border-color: #f3c8c8;
}
.stat-danger .stat-label,
.stat-danger .stat-label .icon,
.stat-danger .stat-value {
  color: var(--danger);
}
.ticket-table tr.overdue {
  background: #fff7f7;
}
.ticket-table tr.overdue:hover {
  background: #ffeeee;
}
.ticket-table tr.overdue td:first-child {
  box-shadow: inset 4px 0 0 var(--danger);
}
.overdue-badge {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  padding: 2px 8px;
  border-radius: 6px;
  font-family: var(--font-ui);
  font-size: 0.72rem;
  font-weight: 700;
  color: #fff;
  background: var(--danger);
  white-space: nowrap;
}
.overdue-banner {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  padding: 12px 14px;
  margin-bottom: 16px;
  border-radius: 12px;
  background: #fdecec;
  border: 1px solid #f3c8c8;
  color: #8b1414;
  font-size: 0.9rem;
}
.overdue-banner .icon {
  margin-top: 2px;
}
.mini-list a.is-overdue .mini-time {
  color: var(--danger);
  font-weight: 700;
}
.mini-list a.is-overdue {
  box-shadow: inset 3px 0 0 var(--danger);
  padding-left: 10px;
}

/* ------------------------------------------------------------ customer: time zone note, "My tickets" */
.tz-note {
  display: flex;
  align-items: center;
  gap: 6px;
  font-family: var(--font-ui);
  font-size: 0.8rem;
  color: var(--muted);
  margin: -6px 0 18px;
}
.my-tickets {
  padding-top: 36px;
  padding-bottom: 72px;
  max-width: 880px;
}
.page-intro h1 {
  font-size: clamp(1.4rem, 3vw, 1.9rem);
  overflow-wrap: anywhere;
}
.list-heading {
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--muted);
  margin: 28px 0 10px;
}
.my-ticket-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.my-ticket {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 16px 18px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius-card);
  text-decoration: none;
  box-shadow: var(--shadow-sm);
  transition:
    border-color 0.15s,
    box-shadow 0.15s;
}
.my-ticket:hover {
  border-color: var(--ink-2);
  box-shadow: var(--shadow);
}
.my-ticket-main {
  display: flex;
  flex-direction: column;
  gap: 4px;
  min-width: 0;
}
.my-ticket-main strong {
  font-family: var(--font-heading);
  font-size: 1.02rem;
  overflow-wrap: anywhere;
}
.my-ticket-num {
  font-family: var(--font-ui);
  font-size: 0.76rem;
  font-weight: 650;
  letter-spacing: 0.08em;
  color: var(--gold-dark);
}
.my-ticket-meta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
  font-family: var(--font-ui);
}
.my-ticket-side {
  display: flex;
  align-items: center;
  gap: 10px;
  flex: none;
}
.chev-right {
  transform: rotate(-90deg);
  color: var(--muted);
}
.muted-list .my-ticket {
  background: var(--bg-soft);
  box-shadow: none;
}
.my-tickets-foot {
  margin-top: 28px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 16px;
}
.my-tickets-foot .tz-note {
  margin: 0;
}
.turnstile-row {
  margin: 0 0 16px;
}

@media (max-width: 600px) {
  .my-ticket {
    flex-direction: column;
    align-items: flex-start;
  }
  .my-ticket-side {
    width: 100%;
    justify-content: space-between;
  }
}

/* ------------------------------------------------------------ responsive */
@media (max-width: 1100px) {
  .ticket-detail {
    grid-template-columns: minmax(0, 1fr);
  }
  .detail-side {
    position: static;
    max-height: none;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  }
  .fb-layout {
    grid-template-columns: 1fr;
  }
  .fb-preview {
    position: static;
  }
}
@media (max-width: 960px) {
  .contact-layout,
  .ticket-grid,
  .admin-grid {
    grid-template-columns: minmax(0, 1fr);
  }
  .contact-aside {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  }
  .staff-shell {
    grid-template-columns: 1fr;
  }
  .staff-nav {
    position: fixed;
    top: calc(var(--staff-header-h) + var(--top-clear));
    left: 0;
    bottom: 0;
    padding-left: max(12px, env(safe-area-inset-left));
    padding-bottom: calc(18px + env(safe-area-inset-bottom));
    width: 260px;
    height: auto;
    z-index: 45;
    transform: translateX(-100%);
    transition: transform 0.2s;
    box-shadow: var(--shadow-lg);
  }
  body.nav-open .staff-nav {
    transform: none;
  }
  .staff-nav-toggle {
    display: inline-grid;
    place-items: center;
    margin-left: 0;
    flex: none;
  }
  .staff-main {
    padding: 20px 16px 48px;
  }
  .staff-brand-label,
  .user-menu-name {
    display: none;
  }
}
@media (max-width: 860px) {
  .wrap {
    padding: 0 16px;
  }
  .header-row {
    min-height: 76px;
    flex-wrap: wrap;
    gap: 12px;
  }
  .site-logo img {
    height: 52px;
  }
  .header-row {
    gap: 12px;
  }
  .header-cta {
    padding: 9px 12px;
    font-size: 0.84rem;
  }
  .hero-inner {
    padding-top: 36px;
    padding-bottom: 96px;
  }
  .form-card {
    padding: 22px 18px;
  }
  .form-grid {
    grid-template-columns: 1fr;
  }
  .field-half {
    grid-column: 1 / -1;
  }
  .tiles {
    grid-template-columns: 1fr;
  }
  .ticket-head {
    flex-direction: column;
    align-items: stretch;
  }
  .stepper {
    justify-content: space-between;
  }
  .stepper li {
    flex: 1;
    width: auto;
  }
  .success-banner {
    flex-direction: column;
    text-align: center;
  }
  .staff-search {
    display: none;
  }
  .choice-cards,
  .two-col {
    grid-template-columns: 1fr;
  }
  /* Ticket table → stacked cards */
  .ticket-table thead {
    display: none;
  }
  .ticket-table,
  .ticket-table tbody,
  .ticket-table tr,
  .ticket-table td {
    display: block;
    width: 100%;
  }
  .ticket-table tr {
    position: relative;
    padding: 12px 12px 12px 44px;
    border-bottom: 1px solid var(--line-2);
  }
  .ticket-table td {
    padding: 2px 0;
    border: 0;
  }
  .ticket-table td.col-check {
    position: absolute;
    left: 14px;
    top: 14px;
    width: auto;
  }
  .ticket-table td.col-time {
    text-align: left;
    font-size: 0.78rem;
  }
  .ticket-table .col-ticket {
    min-width: 0;
  }
  .ticket-table td:nth-child(4),
  .ticket-table td:nth-child(5) {
    display: inline-block;
    width: auto;
    margin: 6px 10px 0 0;
  }
  .bubble {
    max-width: 92%;
  }
  .bubble-row.theirs .avatar {
    display: none;
  }
  .composer {
    position: static;
  }
  .canned-picker {
    margin-left: 0;
    width: 100%;
  }
  .canned-picker select {
    width: 100%;
  }
  .workload li {
    grid-template-columns: 28px 1fr auto;
  }
  .workload-bar {
    grid-column: 2 / -1;
  }
}
@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation: none !important;
    transition: none !important;
  }
}
