/* iGel Beauty Partners. Colors follow igelbeauty.com: white, a blush band, soft pink cards,
   a pink-to-lavender ring and the gold logo. Jost stands in for their licensed Futura PT. */
@font-face {
  font-family: "Jost";
  src: url("jost.woff2") format("woff2");
  font-weight: 400 700;
  font-display: swap;
}

:root {
  --pink: #eb4c89;
  --pink-hover: #d93d79;
  --pink-text: #b8296a;
  --blush: #fff5f8;
  --blush-2: #fdeef4;
  --pink-card: #f9dfe9;
  --line: #f6dbe6;
  --ring-a: #ec8cc6;
  --ring-b: #c7a6f2;
  --lavender: #f4eefd;
  --lavender-text: #6a3fb5;
  --gold-wash: #fff6e0;
  --gold-text: #8a5d00;
  --text: #2b2b2b;
  --muted: #6b6470;
  --radius: 16px;
  --shadow: 0 1px 2px rgba(150, 60, 100, .05), 0 6px 20px rgba(150, 60, 100, .06);
  --ring: linear-gradient(135deg, var(--ring-a), var(--ring-b));
}

* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: #fff;
  color: var(--text);
  font: 400 16px/1.5 "Jost", "Futura PT", Futura, "Century Gothic", "Trebuchet MS", sans-serif;
  -webkit-font-smoothing: antialiased;
}
svg:not(.chip):not(.dot-chip):not(.chip-dot) { width: 20px; height: 20px; fill: none; stroke: currentColor; stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; flex: none; }
a { color: var(--pink-text); text-underline-offset: 2px; }
h1, h2, h3 { color: #1f1a22; }
.visually-hidden { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.muted { color: var(--muted); }
.small { font-size: 14px; }
.warn { color: var(--pink-text); }
.mt { margin-top: 18px; }
:focus-visible { outline: 2px solid var(--pink-text); outline-offset: 2px; }

/* Sign-in pages */
.public { background: #fff; }
.band { height: 64px; background: var(--blush); border-bottom: 1px solid var(--line); }
.auth { max-width: 420px; margin: -40px auto 48px; padding: 0 16px; text-align: center; }
/* The white oval sits behind the logo (on the link), so the logo itself is never cropped (2026-11-19: the oval cut off the left of "iGel"). */
.auth-logo { display: block; width: fit-content; margin: 0 auto; background: #fff; border-radius: 50%; padding: 22px 32px; }
.auth-logo img { width: 150px; height: auto; display: block; }
.auth-kicker { margin: 2px 0 18px; letter-spacing: .28em; text-transform: uppercase; font-size: 13px; color: var(--muted); }
.auth-card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); box-shadow: var(--shadow); padding: 28px; text-align: left; }
.auth-card h1 { margin: 0 0 6px; font-size: 24px; font-weight: 600; }
.auth-card > p { margin: 0 0 18px; }
.auth-foot { text-align: center; margin: 16px 0 0; }

/* Sign-in page: photo on the left on wide screens, a short strip above the form on phones. */
.auth-split { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(380px, 1fr); min-height: 100vh; }
.auth-art { position: relative; overflow: hidden; background: var(--blush); }
.auth-art img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 20% center; }
.auth-art-line {
  position: absolute; right: 32px; bottom: 32px; margin: 0 0 0 32px; padding: 14px 20px; max-width: 360px;
  background: rgba(255, 255, 255, .82); backdrop-filter: blur(8px); border-radius: 14px;
  font-size: 18px; font-weight: 500; color: #3d3640;
}
.auth-side { display: flex; flex-direction: column; background: #fff; }
.auth-side .auth { margin-top: -40px; }

/* Application form (the front page) */
.apply-split { display: grid; grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr); min-height: 100vh; }
.apply-art { position: sticky; top: 0; height: 100vh; overflow: hidden; background: var(--blush); }
.apply-art img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 20% center; }
.apply-art-text {
  position: absolute; left: 28px; right: 28px; bottom: 28px; padding: 20px 22px; border-radius: 16px;
  background: rgba(255, 255, 255, .84); backdrop-filter: blur(8px); color: #3d3640;
}
.apply-art-text p { margin: 0; }
.apply-art-title { font-size: 22px; font-weight: 600; color: #1f1a22; margin: 4px 0 10px !important; }
.apply-art-text ul { margin: 0; padding-left: 18px; display: flex; flex-direction: column; gap: 4px; font-size: 15px; }
.apply-art-text li::marker { color: var(--pink); }
.apply-side { background: #fff; display: flex; flex-direction: column; min-width: 0; }
.apply-top { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 14px 32px; background: var(--blush); border-bottom: 1px solid var(--line); font-size: 14px; color: var(--muted); }
.apply-top img { width: 92px; height: auto; display: block; }
.apply-main { padding: 28px 32px 56px; max-width: 760px; width: 100%; margin: 0 auto; display: flex; flex-direction: column; gap: 16px; }
.apply-head h1 { margin: 0 0 6px; font-size: 28px; font-weight: 600; line-height: 1.2; }
.apply-head p { margin: 0; }
.apply-card {
  position: relative; background: #fff; border: 1px solid var(--line); border-radius: 20px; box-shadow: var(--shadow);
  padding: 26px 28px; display: flex; flex-direction: column; gap: 14px; overflow: hidden;
}
.apply-card::before { content: ""; position: absolute; left: 0; right: 0; top: 0; height: 5px; background: var(--ring); }
.apply-group { border: 0; padding: 0 0 6px; margin: 0; }
.apply-group + .apply-group { border-top: 1px solid #f6e4ec; padding-top: 16px; }
.apply-group legend { font-size: 16px; font-weight: 600; color: #1f1a22; margin-bottom: 12px; }
.req { color: var(--pink-text); font-weight: 600; }
.field-error { font-size: 13px; font-weight: 400; color: #a3123f; }
input[aria-invalid="true"], textarea[aria-invalid="true"] { border-color: #e7a4b9; background: #fff7fa; }
.check.has-error { color: #a3123f; }
.apply-note { display: flex; gap: 12px; padding: 14px 16px; border-radius: 14px; background: var(--lavender); color: #3d3640; }
.apply-note svg { color: var(--lavender-text); margin-top: 2px; }
.apply-note p { margin: 2px 0 0; font-size: 14px; }
.apply-submit { margin-top: 6px; min-height: 50px; font-size: 16px; }
.trap { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.applied { align-items: center; text-align: center; padding: 44px 28px; }
.applied h1 { margin: 0; font-size: 26px; }
.applied p { margin: 0; max-width: 460px; }
.applied-icon { width: 56px !important; height: 56px !important; color: var(--pink); stroke-width: 1.6 !important; }
.application .facts { grid-template-columns: 110px 1fr; }

/* Site editor (admins only, while editing) */
.edit-bar {
  position: sticky; top: 0; z-index: 60; display: flex; align-items: center; gap: 14px; flex-wrap: wrap;
  padding: 10px 20px; background: #2f0f1b; color: #fbe3ee; font-size: 14px;
}
.edit-bar-dot { width: 10px; height: 10px; border-radius: 50%; background: var(--pink); box-shadow: 0 0 0 4px rgba(235, 76, 137, .3); flex: none; }
.edit-bar-text { flex: 1; min-width: 220px; }
.edit-bar-text strong { color: #fff; }
.edit-bar-as { display: block; color: #f3c9da; font-size: 13px; }
.edit-bar a.edit-bar-link { color: #fbe3ee; }
.edit-bar form { margin: 0; }
.edit-bar-ghost { background: transparent; color: #fbe3ee; border: 1px solid rgba(251, 227, 238, .45); border-radius: 999px; padding: 7px 14px; font: inherit; cursor: pointer; }
.edit-bar-ghost:hover { background: rgba(251, 227, 238, .12); }
.live-edit { margin: 0 0 0 12px; }
.live-edit-push { margin-left: auto; }
.topbar .demo-tag + .live-edit { margin-left: 0; }
.live-edit-switch {
  display: inline-flex; align-items: center; gap: 8px; padding: 6px 12px 6px 6px; border-radius: 999px;
  border: 1px solid var(--line); background: #fff; color: #3d3640; font: inherit; font-size: 14px; font-weight: 500; cursor: pointer;
}
.live-edit-switch:hover { border-color: var(--ring-a); }
.live-edit-track { width: 36px; height: 20px; border-radius: 999px; background: #e3d6dd; position: relative; transition: background-color .15s ease; }
.live-edit-knob { position: absolute; top: 2px; left: 2px; width: 16px; height: 16px; border-radius: 50%; background: #fff; box-shadow: 0 1px 3px rgba(0, 0, 0, .2); transition: transform .15s ease; }
.live-edit-switch[aria-checked="true"] .live-edit-track { background: var(--pink); }
.live-edit-switch[aria-checked="true"] .live-edit-knob { transform: translateX(16px); }
.nav-form { margin: 6px 0 0; padding-top: 6px; border-top: 1px solid var(--line); }
.back-admin { margin: 0 0 10px; padding: 0; border-top: 0; }
.back-admin .nav-button { background: #2f0f1b; color: #fbe3ee; justify-content: flex-start; }
.back-admin .nav-button:hover { background: #4a1a2d; color: #fff; }
.nav-button {
  display: flex; align-items: center; gap: 12px; width: 100%; padding: 10px 14px; border: 0; border-radius: 12px; background: none;
  color: #3d3640; font: inherit; font-size: 15px; font-weight: 500; cursor: pointer; text-align: left;
}
.nav-button:hover { background: var(--blush-2); color: var(--pink-text); }
.edit-bar-done { background: var(--pink); color: #fff; border: 0; border-radius: 999px; padding: 8px 18px; font: inherit; font-weight: 600; cursor: pointer; }
.edit-bar-done:hover { background: var(--pink-hover); }
body.editing .cms-edit { outline: 1.5px dashed rgba(235, 76, 137, .6); outline-offset: 2px; border-radius: 4px; cursor: text; }
body.editing .cms-edit:hover { background: rgba(251, 219, 232, .55); }
body.editing .cms-edit:focus { outline: 2px solid var(--pink); background: #fff; color: #1f1a22; }
body.editing .btn .cms-edit:focus, body.editing .nav a[aria-current="page"] .cms-edit:focus { color: #1f1a22; }
.cms-saving { opacity: .55; }
.cms-photo { position: relative; }
.apply-art.cms-photo { position: sticky; }
.cms-photo-button {
  position: absolute; top: 14px; right: 14px; z-index: 5; border: 0; border-radius: 999px; padding: 9px 16px;
  background: rgba(47, 15, 27, .82); color: #fff; font: inherit; font-size: 14px; font-weight: 600; cursor: pointer;
  box-shadow: 0 4px 14px rgba(0, 0, 0, .2);
}
.cms-photo-button:hover { background: #2f0f1b; }
.edit-toast {
  position: fixed; left: 50%; bottom: 24px; transform: translateX(-50%); z-index: 70; padding: 10px 18px; border-radius: 999px;
  background: #1f6b47; color: #fff; font-size: 14px; font-weight: 500; box-shadow: 0 6px 20px rgba(0, 0, 0, .18);
}
.edit-toast-bad { background: #a3123f; border-radius: 14px; max-width: min(92vw, 520px); text-align: center; }
.edit-panel {
  position: fixed; right: 18px; bottom: 18px; z-index: 55; width: min(360px, calc(100vw - 36px)); max-height: 60vh; overflow: auto;
  background: #fff; border: 1px solid var(--line); border-radius: 14px; box-shadow: var(--shadow); padding: 12px 16px;
}
.edit-panel summary { margin: 0; color: var(--pink-text); }
.edit-panel[open] summary { margin-bottom: 8px; }
.edit-panel label { margin-top: 10px; font-size: 13px; color: var(--muted); }
.site-pages { list-style: none; margin: 12px 0 0; padding: 0; display: flex; flex-direction: column; }
.site-pages li { display: flex; align-items: center; justify-content: space-between; gap: 10px; padding: 9px 0; border-bottom: 1px solid #f8e8ee; }
.site-pages li:last-child { border-bottom: 0; }
.site-pages form { margin: 0; }
.site-partner label { margin-top: 4px; }
.site-thumb { width: 72px; height: 48px; object-fit: cover; border-radius: 8px; display: block; }

/* Welcome banners */
.hello {
  display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.4fr); align-items: stretch;
  border-radius: var(--radius); overflow: hidden; background: linear-gradient(120deg, #fde6ef, #f1e8fd);
  border: 1px solid var(--line); min-height: 170px;
}
.hello-text { padding: 26px 28px; display: flex; flex-direction: column; justify-content: center; }
.hello-text h2 { margin: 2px 0 6px; font-size: 26px; font-weight: 600; }
.hello-text p { margin: 0; color: #4b4350; }
.hello-kicker { font-size: 12px !important; letter-spacing: .2em; text-transform: uppercase; color: var(--pink-text) !important; font-weight: 500; }
.hello img { width: 100%; height: 100%; object-fit: cover; display: block; min-height: 170px; }
.hello-cover { display: block; position: relative; min-height: 210px; }
.hello-cover img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: right center; }
.hello-cover .hello-text { position: relative; z-index: 1; max-width: 46%; min-height: 210px; }
/* A wide 3:1 banner shown whole, the greeting in its empty left part. */
.hello-wide { aspect-ratio: 3 / 1; min-height: 0; }
.hello-wide img { object-position: center; }
.hello-wide { container-type: inline-size; }
.hello-wide .hello-text { max-width: 31%; min-height: 0; height: 72%; padding: 0 0 0 4cqi; }
.hello-wide .hello-text h2 { font-size: clamp(18px, 2.7cqi, 30px); margin: .15em 0 .25em; }
.hello-wide .hello-text p { font-size: clamp(12px, 1.45cqi, 16px); }
.hello-wide .hello-kicker { font-size: clamp(9px, 1.05cqi, 12px) !important; }
.hello-package { grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr); }
.rate-field { display: inline-flex; align-items: center; gap: 4px; white-space: nowrap; }
.rate-input { width: 76px; }
/* My Products */
.picked-tag { font-size: 11px; font-weight: 600; color: var(--pink-text); background: #fde6ef; border-radius: 999px; padding: 1px 8px; }
.hello-package img { max-height: 220px; }
.demo-tag { white-space: nowrap; font-size: 12px; font-weight: 600; padding: 3px 10px; border-radius: 999px; background: var(--gold-wash); color: var(--gold-text); border: 1px solid #f3dfa8; margin-right: 14px; }
.topbar .demo-tag { margin-left: auto; }
.topbar .top-links .demo-tag { margin-left: 0; }
.topbar .top-tag-near { margin-left: 0; }

/* Layout */
.shell { display: flex; min-height: 100vh; }
.sidebar {
  width: 248px;
  flex: none;
  background: var(--blush);
  border-right: 1px solid var(--line);
  display: flex;
  flex-direction: column;
  padding: 22px 14px;
  position: sticky;
  top: 0;
  height: 100vh;
  overflow-y: auto;
}
.brand { text-align: center; padding-bottom: 18px; margin-bottom: 14px; border-bottom: 1px solid var(--line); }
.brand img { width: 124px; height: auto; display: block; margin: 0 auto 10px; }
.who { display: flex; flex-direction: column; gap: 2px; }
.who .name { font-weight: 600; color: #1f1a22; }
.who .status, .who .role { display: inline-flex; align-items: center; justify-content: center; gap: 6px; font-size: 13px; color: var(--muted); }
.who .dot { width: 8px; height: 8px; border-radius: 50%; background: #b9b2bd; }
.who .status-active .dot { background: #3aa877; }

.nav { display: flex; flex-direction: column; gap: 2px; }
.nav a, .logout {
  position: relative;
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 10px 14px;
  border-radius: 12px;
  color: #3d3640;
  text-decoration: none;
  font-size: 15px;
  font-weight: 500;
  transition: background-color .15s ease, color .15s ease;
}
.nav a:hover { background: var(--blush-2); color: var(--pink-text); }
/* Assignments in the menu opens a dropdown: All assignments and Submissions. */
.nav-group > summary { list-style: none; position: relative; display: flex; align-items: center; gap: 12px; padding: 10px 14px; border-radius: 12px;
  color: #3d3640; font-size: 15px; font-weight: 500; cursor: pointer; transition: background-color .15s ease, color .15s ease; }
.nav-group > summary::-webkit-details-marker { display: none; }
.nav-group > summary:hover { background: var(--blush-2); color: var(--pink-text); }
.nav-group > summary.is-here { color: var(--pink-text); }
.nav-group > summary:focus-visible { outline: 2px solid var(--ring-a); outline-offset: 2px; }
.nav-caret { margin-left: auto; width: 7px; height: 7px; border-right: 2px solid currentColor; border-bottom: 2px solid currentColor;
  transform: translateY(-2px) rotate(45deg); opacity: .55; transition: transform .15s ease; flex: none; }
.nav-group[open] > summary .nav-caret { transform: translateY(2px) rotate(-135deg); }
.nav-group > summary .count + .nav-caret { margin-left: 8px; }
.nav-sub { display: flex; flex-direction: column; gap: 2px; padding: 2px 0 4px 30px; }
.nav-sub a { padding: 8px 12px; font-size: 14px; }
/* Submissions page: the facts under each submission. */
.sub-facts { display: flex; flex-wrap: wrap; gap: 4px 18px; margin: 8px 0 0; font-size: 13px; }
.sub-facts div { display: flex; gap: 6px; }
.sub-facts dt { color: var(--muted); }
.sub-facts dd { margin: 0; font-weight: 500; }
.sub-list .post-list { margin-top: 10px; }
.nav a[aria-current="page"] { background: linear-gradient(90deg, #fbe1ed, #f1e8fd); color: var(--pink-text); }
.nav a[aria-current="page"]::before { content: ""; position: absolute; left: 0; top: 9px; bottom: 9px; width: 3px; border-radius: 3px; background: var(--ring); }
.nav .count, .threads .count, .nav-tabs .count {
  margin-left: auto;
  min-width: 22px;
  height: 22px;
  padding: 0 6px;
  border-radius: 999px;
  background: var(--pink);
  color: #fff;
  font-size: 12px;
  font-weight: 600;
  display: inline-grid;
  place-items: center;
  font-variant-numeric: tabular-nums;
}
.logout-form { margin-top: auto; padding-top: 12px; }
.logout { width: 100%; background: none; border: 0; font-family: inherit; cursor: pointer; }
.logout:hover { background: var(--blush-2); }

.main { flex: 1; min-width: 0; display: flex; flex-direction: column; background: #fffbfc; }
.topbar { display: flex; align-items: center; gap: 14px; padding: 16px 32px; background: #fff; border-bottom: 1px solid var(--line); }
.topbar h1 { margin: 0; font-size: 21px; font-weight: 600; }
.top-links { margin-left: auto; font-size: 14px; display: flex; align-items: center; gap: 14px; flex-wrap: nowrap; white-space: nowrap; }
.top-links .demo-tag { margin-right: 0; }
.top-links .live-edit { margin: 0; }
.top-links a { display: inline-flex; align-items: center; gap: 6px; color: var(--muted); text-decoration: none; }
.top-links a:hover { color: var(--pink-text); }
.top-links svg { width: 17px !important; height: 17px !important; }
.top-tag { margin-left: auto; font-size: 13px; padding: 4px 12px; border-radius: 999px; background: var(--lavender); color: var(--lavender-text); font-weight: 500; }
.menu { display: none; background: none; border: 0; padding: 6px; margin: -6px 0 -6px -6px; color: #1f1a22; cursor: pointer; border-radius: 8px; }
.menu svg { width: 24px !important; height: 24px !important; }
.content { padding: 26px 32px 56px; max-width: 1180px; width: 100%; display: flex; flex-direction: column; gap: 20px; }

/* Cards and blocks */
.card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); box-shadow: var(--shadow); padding: 22px 26px; min-width: 0; }
.card h2 { margin: 0 0 12px; font-size: 18px; font-weight: 600; display: flex; align-items: center; flex-wrap: wrap; gap: 8px; }
.card h2.tab { display: inline-block; font-size: 15px; font-weight: 500; color: var(--pink-text); padding-bottom: 8px; margin-bottom: 20px; border-bottom: 2px solid transparent; border-image: var(--ring) 1; }
.card h2.mt { margin-top: 24px; }
.card-head { display: flex; align-items: center; justify-content: space-between; gap: 12px; flex-wrap: wrap; margin-bottom: 12px; }
.card-head h2 { margin: 0; }
.grid-2 { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px; }
.small-head { font-size: 15px; margin: 18px 0 8px; }
.empty { margin: 0; color: var(--muted); }
.empty.warn { color: var(--pink-text); }
.note { margin: 12px 0 0; font-size: 14px; color: var(--muted); }
.brief { white-space: normal; line-height: 1.6; margin: 8px 0 0; }
.address { margin: 0; line-height: 1.6; }
.more { display: inline-block; margin-top: 12px; font-weight: 500; }
.hint {
  display: inline-grid; place-items: center; width: 18px; height: 18px; border-radius: 50%;
  border: 1px solid var(--ring-a); color: var(--pink-text); font-size: 11px; font-weight: 600; cursor: help;
}

.notice { display: flex; align-items: center; gap: 18px; padding: 16px 22px; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); box-shadow: var(--shadow); }
.notice-icon { width: 46px !important; height: 40px !important; color: var(--pink); stroke-width: 2.2 !important; }
.notice p { margin: 0; flex: 1; }
.notice-soft { background: var(--blush); box-shadow: none; }
.notice-soft .notice-icon { width: 34px !important; height: 34px !important; color: var(--lavender-text); stroke-width: 1.6 !important; }

.flash { padding: 12px 16px; border-radius: 12px; border: 1px solid; font-size: 15px; margin: 0; }
.flash p { margin: 0 0 8px; }
.flash-ok { background: #eff8f3; border-color: #cfe9db; color: #1f5c40; }
.flash-error { background: #fdeef3; border-color: #f6c9d8; color: #9c1e52; }
.flash-warn { background: var(--gold-wash); border-color: #f3dfa8; color: #6f4b00; }
.auth-card .flash { margin-bottom: 16px; }
.copy-row { display: flex; gap: 8px; }
.copy-row input { flex: 1; min-width: 0; }

/* Buttons */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  min-height: 44px; padding: 0 24px; border: 1px solid var(--pink); border-radius: 999px;
  background: var(--pink); color: #fff; font-family: inherit; font-size: 15px; font-weight: 600; line-height: 1;
  text-decoration: none; cursor: pointer; white-space: nowrap;
  transition: background-color .15s ease, border-color .15s ease, color .15s ease, transform .1s ease;
}
.btn:hover { background: var(--pink-hover); border-color: var(--pink-hover); }
.btn:active { transform: scale(.97); }
.btn:disabled { opacity: .5; cursor: not-allowed; transform: none; }
.btn-ghost { background: #fff; color: var(--pink-text); border-color: #f0b8cf; }
.btn-ghost:hover { background: var(--blush-2); color: var(--pink-text); border-color: var(--pink); }
.btn-danger { background: #fff; color: #a3123f; border-color: #e7a4b9; }
.btn-danger:hover { background: #fdeef3; color: #a3123f; }
.btn-small { min-height: 36px; padding: 0 16px; font-size: 14px; }
.btn-block { width: 100%; }
.button-row { display: flex; flex-wrap: wrap; gap: 8px; }
.button-row form { margin: 0; }
.link-button { background: none; border: 0; padding: 0; font: inherit; font-size: 12px; color: var(--muted); cursor: pointer; text-decoration: underline; }
.link-button:hover { color: #a3123f; }

/* Forms */
.form { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px 18px; align-items: start; }
.form h2 { margin: 10px 0 0; }
.form h2:first-of-type { margin-top: 0; }
.form-row { grid-template-columns: repeat(auto-fit, minmax(180px, 1fr)); align-items: end; }
.span-2 { grid-column: 1 / -1; }
.stack { display: flex; flex-direction: column; gap: 14px; }
label { display: flex; flex-direction: column; gap: 6px; font-size: 14px; font-weight: 500; color: #3d3640; }
label.check { flex-direction: row; align-items: center; gap: 8px; font-weight: 400; font-size: 15px; }
input[type="text"], input[type="email"], input[type="password"], input[type="tel"], input[type="url"], input[type="number"], input[type="date"], input[type="search"], select, textarea {
  font: inherit; font-size: 16px; font-weight: 400; color: var(--text);
  padding: 10px 12px; border: 1px solid #ead0db; border-radius: 12px; background: #fff; width: 100%;
  transition: border-color .15s ease, box-shadow .15s ease;
}
input:focus, select:focus, textarea:focus { outline: none; border-color: var(--ring-a); box-shadow: 0 0 0 3px rgba(236, 140, 198, .25); }
input:disabled { background: var(--blush); color: var(--muted); }
input[type="color"] { width: 64px; height: 44px; padding: 4px; border: 1px solid #ead0db; border-radius: 12px; background: #fff; }
input[type="checkbox"], input[type="radio"] { accent-color: var(--pink); width: 18px; height: 18px; }
textarea { resize: vertical; }
.hint-text { font-weight: 400; font-size: 13px; color: var(--muted); }
fieldset { border: 0; padding: 0; margin: 0; min-width: 0; display: flex; flex-direction: column; gap: 8px; }
legend { font-size: 14px; font-weight: 500; color: #3d3640; padding: 0; margin-bottom: 8px; }
details summary { cursor: pointer; color: var(--pink-text); font-weight: 500; margin: 6px 0 14px; }
.people-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(200px, 1fr)); gap: 8px; padding: 4px 0 8px; }
.form-inline { display: flex; gap: 8px; align-items: center; }
.form-inline select { width: auto; min-width: 220px; }

/* Commission numbers */
.stats { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px; text-align: center; }
.stat { padding: 18px 8px; border-radius: 14px; }
.stat .amount { display: block; font-size: 28px; font-weight: 600; line-height: 1.2; font-variant-numeric: tabular-nums; }
.stat .label { display: block; font-size: 16px; font-weight: 500; margin-top: 4px; }
.stat.pending { background: var(--gold-wash); color: var(--gold-text); }
.stat.approved { background: var(--blush-2); color: var(--pink-text); }
.stat.paid { background: var(--lavender); color: var(--lavender-text); }
.stats-small .amount { font-size: 22px; }
.stat.sold { background: #fff; border: 1px solid var(--line); color: var(--text); }
.sales-line { margin: 16px 0 0; display: flex; flex-wrap: wrap; align-items: center; gap: 8px; font-size: 14px; }
.sales-bit { padding: 6px 12px; border-radius: 999px; background: var(--blush); white-space: nowrap; }
.sales-line .more { margin-left: auto; }
.stats-small { margin-bottom: 18px; }

.tiles { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; }
.tile { display: flex; flex-direction: column; gap: 2px; padding: 18px 20px; border-radius: var(--radius); background: var(--pink-card); color: #1f1a22; text-decoration: none; transition: transform .15s ease; }
.tile:nth-child(2n) { background: var(--lavender); }
.tile:hover { transform: translateY(-2px); }
.tile-num { font-size: 30px; font-weight: 600; font-variant-numeric: tabular-nums; }
.tile-label { font-size: 14px; color: #4b4350; }

/* Codes */
.codes { display: flex; flex-direction: column; gap: 10px; }
.code-chip { display: flex; align-items: center; gap: 14px; flex-wrap: wrap; padding: 12px 16px; border-radius: 14px; background: var(--blush); border: 1px dashed var(--ring-a); }
.code-text { font-size: 20px; font-weight: 700; letter-spacing: .08em; color: var(--pink-text); }
.code-meta { color: var(--muted); font-size: 14px; flex: 1; }
/* Your codes (influencer Commission page): the code on top, its numbers in equal columns underneath. */
.code-cards { display: flex; flex-direction: column; gap: 12px; }
.code-card { border: 1px solid var(--line); border-radius: 14px; background: #fff; overflow: hidden; }
.code-card.is-paused { opacity: .7; }
.code-card-head { display: flex; align-items: center; gap: 12px; flex-wrap: wrap; padding: 14px 16px; background: var(--blush); border-bottom: 1px solid var(--line); }
.code-card-head .btn { margin-left: auto; }
.code-facts { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); margin: 0; }
.code-facts > div { padding: 14px 16px; border-left: 1px solid var(--line); min-width: 0; }
.code-facts > div:first-child { border-left: 0; }
.code-facts dt { font-size: 12px; font-weight: 500; text-transform: uppercase; letter-spacing: .05em; color: var(--muted); white-space: nowrap; }
.code-facts dd { margin: 4px 0 0; font-size: 18px; font-weight: 600; font-variant-numeric: tabular-nums; overflow-wrap: anywhere; }
@media (max-width: 700px) {
  .code-facts { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .code-facts > div { border-left: 0; border-top: 1px solid var(--line); }
  .code-facts > div:nth-child(even) { border-left: 1px solid var(--line); }
  .code-facts > div:nth-child(-n+2) { border-top: 0; }
  .code-facts > div:last-child:nth-child(odd) { grid-column: 1 / -1; }
}

/* Tables */
.table-wrap { overflow-x: auto; position: relative; } /* relative: hidden screen-reader labels inside stay in the scroll box instead of widening the page on phones */
table { width: 100%; border-collapse: collapse; font-size: 15px; }
th { text-align: left; font-weight: 500; color: var(--muted); font-size: 12px; text-transform: uppercase; letter-spacing: .05em; padding: 10px 12px; border-bottom: 1px solid var(--line); white-space: nowrap; }
td { padding: 12px; border-bottom: 1px solid #f8e8ee; vertical-align: top; }
td.empty { text-align: center; padding: 26px 12px; }
td form { margin: 0; }
.num { text-align: right; font-variant-numeric: tabular-nums; }
tr.dim td { opacity: .55; }
tfoot td { border-bottom: 0; }

.badge { display: inline-flex; align-items: center; padding: 2px 10px; border-radius: 999px; font-size: 12px; font-weight: 500; white-space: nowrap; background: #f1edf3; color: #4b4350; }
.badge-active, .badge-approved, .badge-delivered { background: #e9f6ef; color: #1f6b47; }
.badge-pending, .badge-preparing, .badge-assigned, .badge-requested { background: var(--gold-wash); color: var(--gold-text); }
.badge-choosing { background: var(--lavender); color: var(--lavender-text); }
.badge-submitted, .badge-shipped, .badge-open { background: var(--lavender); color: var(--lavender-text); }
.badge-changes, .badge-paused { background: var(--blush-2); color: var(--pink-text); }
.badge-paid { background: #e8f1fd; color: #1d4f91; }
.badge-closed, .badge-cancelled, .badge-void { background: #f1edf3; color: #5d5562; }

.pills { display: flex; gap: 6px; flex-wrap: wrap; }
.pills a { padding: 6px 14px; border-radius: 999px; font-size: 14px; text-decoration: none; color: var(--muted); border: 1px solid var(--line); }
.pills a[aria-current="page"] { background: var(--blush-2); color: var(--pink-text); border-color: var(--ring-a); }

.facts { display: grid; grid-template-columns: 130px 1fr; gap: 8px 12px; margin: 0; font-size: 15px; }
.facts dt { color: var(--muted); }
.facts dd { margin: 0; overflow-wrap: anywhere; }

.list { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; }
.list li { display: flex; align-items: center; flex-wrap: wrap; gap: 6px 10px; padding: 10px 0; border-bottom: 1px solid #f8e8ee; }
.list li:last-child { border-bottom: 0; }

/* Colors */
.collection { font-size: 15px; font-weight: 600; margin: 18px 0 10px; color: #4b4350; }
.swatches { display: grid; grid-template-columns: repeat(auto-fill, minmax(112px, 1fr)); gap: 16px 12px; }
.swatches-small { grid-template-columns: repeat(auto-fill, minmax(96px, 1fr)); }
.swatch-cell { display: flex; flex-direction: column; align-items: center; gap: 2px; }
.swatch-cell[hidden] { display: none; }
.swatch-link { font-size: 12px; color: var(--muted); }
.swatch-link:hover { color: var(--pink-text); }
.search { max-width: 420px; margin-bottom: 4px; }
.search-small { width: 220px; padding: 8px 12px; font: inherit; font-size: 15px; border: 1px solid #ead0db; border-radius: 999px; }
.hex-form { display: inline; margin: 0; }
.count-pill { display: inline-grid; place-items: center; min-width: 22px; height: 22px; padding: 0 6px; border-radius: 999px; background: var(--pink); color: #fff; font-size: 12px; font-weight: 600; margin-left: 6px; }
.request-row { display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: 12px 20px; padding: 14px 0; border-bottom: 1px solid #f8e8ee; }
.request-who { display: flex; flex-direction: column; gap: 2px; }
.request-form { display: flex; flex-wrap: wrap; align-items: flex-end; gap: 10px; margin: 0; }
.request-form label { font-size: 13px; }
.request-form input { width: 120px; padding: 8px 10px; font-size: 15px; }
.request-form input[name="note"] { width: 200px; }
.defaults-form { margin-top: 16px; padding-top: 16px; border-top: 1px dashed var(--line); }
.code-request { margin-top: 18px; padding-top: 6px; border-top: 1px solid #f8e8ee; }
.code-request .code-text { font-size: 18px; }
.code-request-form input { max-width: 220px; text-transform: uppercase; }
.code-request-form input::placeholder { text-transform: none; }
.assign-form { display: flex; gap: 6px; align-items: center; margin: 0; }
.assign-form select { width: auto; min-width: 140px; padding: 6px 10px; font-size: 14px; }
.hex-form input[type="color"] { width: 30px; height: 30px; padding: 0; border: 0; border-radius: 50%; vertical-align: middle; margin-right: 8px; cursor: pointer; background: none; }
tr[hidden] { display: none; }
.swatch { position: relative; align-items: center; text-align: center; gap: 4px; cursor: pointer; font-weight: 400; }
.swatch input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.ring { display: grid; place-items: center; width: 76px; height: 76px; border-radius: 50%; padding: 3px; background: #f1e6ec; transition: background .15s ease, transform .15s ease; }
.swatches-small .ring { width: 60px; height: 60px; }
.chip { width: 100%; height: 100%; border-radius: 50%; border: 3px solid #fff; display: block; }
.swatch:hover .ring { transform: scale(1.04); }
.swatch input:checked + .ring { background: var(--ring); }
.swatch input:checked + .ring::after { content: "✓"; position: absolute; top: 0; right: calc(50% - 40px); width: 22px; height: 22px; border-radius: 50%; background: var(--pink); color: #fff; font-size: 13px; display: grid; place-items: center; }
.swatch input:focus-visible + .ring { outline: 2px solid var(--pink-text); outline-offset: 2px; }
.swatch-name { font-size: 14px; color: var(--text); line-height: 1.3; }
.swatch-code { font-size: 12px; color: var(--muted); }
/* Shades with the store's real photo: a rounded square picture with the shade's colour dot in the corner. */
.ring-photo { position: relative; width: 108px; height: 108px; border-radius: 20px; padding: 3px; }
.swatches-small .ring-photo { width: 88px; height: 88px; border-radius: 18px; }
.shade-photo { display: block; width: 100%; height: 100%; object-fit: cover; border-radius: 17px; border: 2px solid #fff; background: #fbf4f7; }
.chip-dot { position: absolute; left: 9px; bottom: 9px; width: 20px; height: 20px; border-radius: 50%; border: 2px solid #fff; box-shadow: 0 1px 4px rgba(60, 20, 40, .25); }
.swatch input:checked + .ring-photo::after { top: 8px; right: 8px; }
.ring-product .shade-photo { object-fit: contain; background: #fff; padding: 6px; }
/* Product categories in the pickers: jump links, then one block per category. */
.cat-jump { display: flex; flex-wrap: wrap; gap: 8px; margin: 12px 0 4px; }
.cat-chip { display: inline-block; line-height: 32px; max-width: 100%; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; min-height: 34px; padding: 0 14px; border-radius: 999px; background: #fff; border: 1px solid #f0cddb; color: var(--pink-text); font-size: 14px; text-decoration: none; }
.cat-chip:hover { background: var(--blush-2); border-color: var(--pink); }
.cat-chip .muted { font-size: 12px; }
.cat-group { scroll-margin-top: 90px; }
.cat-group[hidden] { display: none; }
.cat-group + .cat-group { margin-top: 8px; }
.cat-sep { color: var(--muted); font-weight: 400; margin: 0 2px; }
.cat-tree { list-style: none; margin: 0; padding: 0; }
.cat-tree > li { padding: 12px 0; border-bottom: 1px solid #f8e8ee; }
.cat-tree > li:last-child { border-bottom: 0; }
.cat-tree ul { list-style: none; margin: 8px 0 0 22px; padding: 0; display: flex; flex-direction: column; gap: 8px; }
.cat-row { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; }
.cat-row form { display: contents; }
.cat-row .btn { margin: 0; }
.cat-row input[type="text"] { width: auto; flex: 1 1 150px; max-width: 250px; }
.cat-row select { max-width: 190px; }
.cat-row select { width: auto; }
.cat-row .count { font-size: 13px; color: var(--muted); min-width: 80px; }
.input-tiny { width: 72px !important; flex: none !important; }
.select-small { width: auto; max-width: 260px; min-height: 36px; padding-top: 4px; padding-bottom: 4px; font-size: 14px; }
.product-cell { white-space: nowrap; }
.product-cell .item-photo { width: 34px; height: 34px; }
.choice-box { padding: 16px; border-radius: 14px; background: var(--blush); }
.choice-count { display: flex; align-items: center; flex-wrap: wrap; gap: 8px; }
.choice-line { margin: 0 0 14px; }
.row-actions { display: flex; flex-wrap: nowrap; justify-content: flex-end; align-items: center; gap: 6px; }
.row-actions form { margin: 0; }
.row-actions .btn { margin: 0; }
.view-bar { background: #3a2a3d; }
.view-dot { background: #b9a4ff !important; box-shadow: none !important; }
.choice-box > legend { font-size: 16px; font-weight: 600; color: var(--text); }
.limit-list { display: flex; flex-direction: column; gap: 10px; }
.limit-group { background: #fff; border: 1px solid var(--line); border-radius: 12px; padding: 4px 16px; }
.limit-row { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 10px 0; }
.limit-sub { padding-left: 22px; border-top: 1px dashed #f3dbe5; }
.limit-name { flex: 1; font-weight: 400; margin: 0; display: block; }
.limit-input { display: inline-flex; align-items: center; gap: 8px; font-size: 14px; color: var(--muted); white-space: nowrap; }
.limit-input input { width: 76px; text-align: center; }
.covered-note { display: none; font-size: 12px; color: var(--muted); }
.limit-sub.is-covered .covered-note { display: inline; }
.limit-sub.is-covered .limit-name > :not(.covered-note), .limit-sub.is-covered .limit-input { opacity: .45; }
.limit-group details { padding: 0 0 12px; }
.choice-total { margin: 4px 0 0; font-size: 15px; }
.choice-groups { margin: 0 0 14px; padding-left: 20px; }
.choice-groups li { margin: 2px 0; }
.choose-group { padding: 6px 0 14px; border-top: 1px solid var(--line); }
.choose-group:first-child { border-top: 0; }
.choose-head { display: flex; align-items: baseline; justify-content: space-between; gap: 12px; flex-wrap: wrap; margin-top: 10px; }
.choose-head h3 { margin: 0; font-size: 16px; }
.choose-count { font-size: 14px; color: var(--muted); margin-left: auto; }
.choose-left { font-size: 13px; font-weight: 600; padding: 3px 10px; border-radius: 999px; background: var(--blush-2); color: var(--pink-text); white-space: nowrap; }
.choose-left.is-full { background: #e3f4ea; color: #24724a; }
/* The floating pick tray: slots fill with each chosen product. */
.pick-tray { align-items: center; flex-wrap: wrap; }
.tray-groups { display: flex; flex-wrap: wrap; gap: 10px 22px; flex: 1; min-width: 0; }
.tray-group { display: flex; align-items: center; flex-wrap: wrap; gap: 6px 10px; }
.tray-label { font-size: 13px; font-weight: 600; color: var(--text); }
.tray-slots { display: flex; flex-wrap: wrap; gap: 5px; }
.tray-slot { width: 38px; height: 38px; padding: 0; border-radius: 10px; border: 1.5px dashed #e3b3c7; background: #fff; overflow: hidden; display: grid; place-items: center; cursor: default; }
.tray-slot.is-filled { border: 2px solid var(--pink); cursor: pointer; position: relative; }
.tray-slot.is-filled:hover::after { content: "×"; position: absolute; inset: 0; display: grid; place-items: center; background: rgba(60, 20, 40, .55); color: #fff; font-size: 20px; }
.tray-slot img { width: 100%; height: 100%; object-fit: cover; display: block; }
.tray-slot img.is-product { object-fit: contain; padding: 3px; background: #fff; }
.tray-slot svg { width: 24px !important; height: 24px !important; border-radius: 50%; }
.tray-left { font-size: 13px; font-weight: 600; color: var(--pink-text); white-space: nowrap; }
.tray-group.is-full .tray-left { color: #24724a; }
.cat-choice { display: grid; grid-template-columns: repeat(auto-fill, minmax(230px, 1fr)); gap: 10px; }
.cat-choice-group { display: flex; flex-direction: column; gap: 6px; padding: 12px 14px; background: #fff; border: 1px solid var(--line); border-radius: 12px; }
.cat-choice-sub { padding-left: 24px; }
.collection .link-button { margin-left: 10px; font-weight: 500; }
.notice-choose { background: var(--lavender); box-shadow: none; }
.nowrap { white-space: nowrap; }
.order-items { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 4px; min-width: 180px; }
.order-items li { display: flex; align-items: center; gap: 8px; font-size: 13px; }
.order-items .item-photo { width: 30px; height: 30px; border-radius: 8px; margin-right: 0; }
.order-items .dot-chip { margin-right: 0; }
.top-sold { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(110px, 1fr)); gap: 14px 12px; }
.top-sold li { display: flex; flex-direction: column; align-items: center; gap: 4px; text-align: center; }
.top-sold-photo .ring-photo { width: 92px; height: 92px; }
.top-sold-qty { font-size: 12px; font-weight: 600; color: var(--pink-text); }
.role-card .form .perm-grid, .role-card .form .button-row { grid-column: 1 / -1; }
.perm-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 10px 20px; margin: 4px 0 16px; }
.perm-grid label.check { align-items: flex-start; }
.perm-grid label.check input { margin-top: 2px; flex: none; }
.perm-grid .perm-note { display: block; color: var(--muted, #6b6470); font-size: 13px; }
.role-card { border-top: 1px solid rgba(0, 0, 0, .08); padding: 12px 0 4px; }
.role-card summary { display: flex; flex-wrap: wrap; align-items: baseline; gap: 8px; margin: 0 0 8px; }
.role-card summary .muted { font-weight: 400; color: inherit; opacity: .7; }
.role-row { display: flex; align-items: center; gap: 8px; margin: 0; }
.role-row select { min-width: 140px; }
.history-filters { display: grid; grid-template-columns: repeat(auto-fill, minmax(170px, 1fr)); gap: 10px 14px; align-items: end; }
.history-table td { vertical-align: top; }
.history-table .detail { max-width: 380px; overflow-wrap: anywhere; }
.pager { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-top: 14px; flex-wrap: wrap; }
.your-order { border: 1.5px solid var(--pink); border-radius: 14px; padding: 14px 16px; margin: 6px 0 16px; background: #fff; }
.your-order-head { display: flex; flex-wrap: wrap; align-items: baseline; justify-content: space-between; gap: 4px 12px; margin-bottom: 10px; }
.your-order-head h3 { margin: 0; }
.order-list { list-style: none; margin: 0 0 12px; padding: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(min(250px, 100%), 1fr)); gap: 8px; }
.order-list li { display: flex; align-items: center; gap: 10px; padding: 6px 8px; border-radius: 12px; background: var(--blush); }
.order-list li .item-photo { width: 40px; height: 40px; border-radius: 10px; flex: none; }
.order-list .order-name { flex: 1; min-width: 0; font-size: 14px; }
.order-list form, .order-list .badge { margin: 0; flex: none; }
.your-order .button-row form { margin: 0; }
details.picker > summary { font-size: 15px; }
.tray-slot.is-filled::before { content: "×"; position: absolute; top: 0; right: 0; width: 14px; height: 14px; background: var(--pink); color: #fff; font-size: 12px; line-height: 13px; text-align: center; border-bottom-left-radius: 6px; z-index: 1; }
.track-row { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 14px; }
[hidden] { display: none !important; }
.push-card { padding-top: 14px; padding-bottom: 14px; }
.push-card p { margin: 0 0 8px; }
.bell { position: relative; display: inline-grid; place-items: center; width: 40px; height: 40px; border-radius: 12px; color: var(--text); flex: none; }
.bell:hover, .bell[aria-current] { background: var(--blush); }
.bell-push { margin-left: auto; }
.bell + .live-edit, .bell + .top-tag { margin-left: 0; }
.bell svg { width: 22px; height: 22px; }
.bell .count { position: absolute; top: 2px; right: 0; min-width: 18px; height: 18px; padding: 0 5px; border-radius: 999px; background: var(--pink); color: #fff; font-size: 11px; font-weight: 600; line-height: 18px; text-align: center; }
.note-list { list-style: none; margin: 0; padding: 0; }
.note-list li { border-top: 1px solid var(--line); }
.note-list li:first-child { border-top: 0; }
.note-list a { display: grid; grid-template-columns: auto 1fr auto; gap: 4px 12px; padding: 12px 6px; color: inherit; text-decoration: none; border-radius: 10px; }
.note-list a:hover { background: var(--blush); }
.note-list .note-dot { width: 8px; height: 8px; border-radius: 50%; margin-top: 7px; background: transparent; }
.note-list .is-new .note-dot { background: var(--pink); }
.note-list .note-title { font-weight: 600; }
.note-list .note-body { grid-column: 2; color: #5f5866; font-size: 14px; overflow-wrap: anywhere; }
.note-list .note-when { font-size: 13px; color: #8a8290; white-space: nowrap; }
.undo-bar { display: flex; align-items: center; justify-content: space-between; gap: 12px; flex-wrap: wrap; }
.undo-bar form { margin: 0; }
.push-right { margin: 0 0 0 auto; }
.kit-summary { list-style: none; margin: 0 0 16px; padding: 0; display: flex; flex-wrap: wrap; gap: 8px; }
.kit-summary li { display: flex; align-items: center; padding: 4px 12px 4px 4px; border-radius: 999px; background: var(--blush); font-size: 14px; }
.kit-summary li .item-photo { width: 32px; height: 32px; border-radius: 50%; margin-right: 8px; }
.kit-summary li .dot-chip { margin-left: 8px; }
.item-photo { width: 40px; height: 40px; border-radius: 10px; object-fit: cover; vertical-align: middle; margin-right: 10px; box-shadow: 0 0 0 1px rgba(0, 0, 0, .06); }
.dot-chip { width: 16px; height: 16px; border-radius: 50%; vertical-align: -3px; margin-right: 6px; box-shadow: 0 0 0 1px rgba(0, 0, 0, .08); }
.sticky-save { position: sticky; bottom: 0; display: flex; align-items: center; justify-content: space-between; gap: 12px; margin: 22px -26px -22px; padding: 14px 26px; background: rgba(255, 255, 255, .94); border-top: 1px solid var(--line); border-radius: 0 0 var(--radius) var(--radius); backdrop-filter: blur(6px); }
.pick-count { font-weight: 500; color: var(--muted); }
.pick-count.over { color: #a3123f; }

.items { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 8px; }
.items li { display: flex; align-items: center; }
.timeline { list-style: none; display: flex; margin: 6px 0 16px; padding: 0; counter-reset: step; }
.timeline li { flex: 1; position: relative; padding-top: 28px; font-size: 14px; color: var(--muted); text-align: center; }
.timeline li::before { content: ""; position: absolute; top: 6px; left: 50%; transform: translateX(-50%); width: 14px; height: 14px; border-radius: 50%; background: #efe3ea; z-index: 1; }
.timeline li::after { content: ""; position: absolute; top: 12px; left: -50%; width: 100%; height: 2px; background: #efe3ea; }
.timeline li:first-child::after { display: none; }
.timeline li.done { color: var(--pink-text); font-weight: 500; }
.timeline li.done::before { background: var(--ring); }
.timeline li.done::after { background: var(--ring-a); }

.steps { margin: 0; padding-left: 22px; display: flex; flex-direction: column; gap: 12px; }
.steps li::marker { color: var(--pink); font-weight: 600; }

.send-card { display: flex; align-items: center; justify-content: space-between; gap: 18px; flex-wrap: wrap; border-color: var(--ring-a); background: linear-gradient(120deg, #fff, var(--blush)); }
.send-card h2 { margin-bottom: 4px; }
.send-card p { margin: 0; }
.send-card .flash { margin-top: 10px; }

/* Assignments review */
.review-list { display: flex; flex-direction: column; }
/* Assignments list: the title opens that assignment's submissions under its row. */
.subs-toggle { all: unset; cursor: pointer; display: inline-flex; flex-wrap: wrap; align-items: center; gap: 4px 8px; color: var(--pink-text); }
.subs-toggle:hover strong, .subs-toggle:focus-visible strong { text-decoration: underline; }
.subs-toggle:focus-visible { outline: 2px solid var(--ring-a); outline-offset: 3px; border-radius: 6px; }
.subs-toggle::after { content: "▾"; font-size: 12px; color: var(--muted); transition: transform .15s; }
.subs-toggle[aria-expanded="true"]::after { transform: rotate(180deg); }
.subs-count { font-size: 12px; font-weight: 500; padding: 1px 9px; border-radius: 999px; background: var(--lavender); color: var(--lavender-text); }
.subs-count.has-new { background: var(--pink); color: #fff; }
.subs-row > td { padding: 0 0 12px; border-top: 0; }
.subs-panel { margin: 0 4px; padding: 4px 16px; border-radius: 14px; background: var(--blush); border: 1px solid var(--line); }
.subs-panel .review { border-bottom-color: var(--line); }
.subs-panel > .muted { margin: 10px 0; }
/* Calendar: the automatic schedule. */
/* Calendar page, compact: month and stats on one line, the automatic schedule as a slim bar, tighter days, tabs below. */
.cal-top { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 8px 16px; margin-bottom: 10px; }
.cal-top .cal-head { display: flex; align-items: center; gap: 8px; }
.cal-top .cal-head h2 { margin: 0 4px; min-width: 8.5em; font-size: 20px; text-align: center; }
.cal-top .cal-stats { margin: 0; gap: 4px 16px; font-size: 14px; }
.auto-bar { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 12px; padding: 8px 12px; margin-bottom: 10px;
  border-radius: 12px; background: var(--blush); border: 1px solid var(--line); }
.auto-sum { flex: 1 1 300px; color: var(--text); }
.auto-actions { display: flex; align-items: center; gap: 8px; margin-left: auto; }
.auto-actions form { margin: 0; }
.auto-settings { margin: -2px 0 12px; padding: 12px 14px; border: 1px solid var(--line); border-radius: 12px; }
.auto-form, .fill-form { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 10px 14px; margin: 0; }
.auto-form .span-all, .fill-form .span-all { grid-column: 1 / -1; }
.auto-save { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; }
.auto-how { margin-top: 8px; }
.auto-how p { margin: 6px 0 0; }
.cal-card .cal-grid { gap: 4px; }
.cal-card .cal-day { min-height: 74px; padding: 4px 5px; gap: 3px; border-radius: 10px; }
.cal-card .cal-date { font-size: 13px; }
.cal-card .cal-chip { font-size: 11px; padding: 2px 5px; border-radius: 6px; }
.cal-card .cal-none { font-size: 11px; }
.cal-card .cal-legend { margin-top: 8px; }
.cal-tab-bar { margin-bottom: 12px; }
.cal-tab-bar button { padding: 6px 14px; border-radius: 999px; font: inherit; font-size: 14px; color: var(--muted); background: #fff;
  border: 1px solid var(--line); cursor: pointer; }
.cal-tab-bar button:hover { color: var(--pink-text); }
.cal-tab-bar button[aria-selected="true"] { background: var(--blush-2); color: var(--pink-text); border-color: var(--ring-a); }
.cal-panel > p.muted:first-child { margin-top: 0; }
table.compact th, table.compact td { padding-top: 7px; padding-bottom: 7px; }
table.compact input[type="date"] { width: auto; padding: 6px 8px; min-height: 36px; }
table.compact select { width: auto; padding-top: 6px; padding-bottom: 6px; min-height: 36px; }
.fill-who { display: flex; flex-wrap: wrap; gap: 6px 18px; border: 0; padding: 0; margin: 0; }
.fill-who legend { width: 100%; padding: 0; margin-bottom: 4px; font-size: 14px; font-weight: 500; }
@media (max-width: 800px) { .auto-form, .fill-form { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
.review { padding: 14px 0; border-bottom: 1px solid #f8e8ee; }
.review:last-child { border-bottom: 0; }
.review-head { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; }
.review p { margin: 6px 0 0; overflow-wrap: anywhere; }
.review-form { display: flex; gap: 8px; flex-wrap: wrap; margin-top: 10px; }
.review-form input { flex: 1 1 260px; }
.inline-form { margin-top: 14px; padding-top: 14px; border-top: 1px solid #f8e8ee; }

/* Messages */
.chat { display: flex; flex-direction: column; padding-bottom: 18px; }
.chat-intro { margin: 0; }
.chat-log { display: flex; flex-direction: column; gap: 12px; max-height: 60vh; min-height: 240px; overflow-y: auto; padding: 16px; margin: 0 -10px; background: #fffbfc; border: 1px solid #f8e8ee; border-radius: 14px; }
.chat-empty { margin: auto; }
.msg { max-width: 78%; align-self: flex-start; padding: 10px 14px; border-radius: 4px 16px 16px 16px; background: #fff; border: 1px solid var(--line); }
.msg-team { background: var(--lavender); border-color: #e3d6fa; }
.msg-mine { align-self: flex-end; border-radius: 16px 4px 16px 16px; background: var(--pink-card); border-color: #f3c9da; }
.msg-meta { font-size: 12px; color: var(--muted); margin-bottom: 2px; }
.msg-meta strong { color: #1f1a22; font-weight: 600; font-size: 13px; }
.team-tag { display: inline-block; padding: 0 7px; border-radius: 999px; background: #fff; color: var(--lavender-text); font-size: 11px; font-weight: 600; margin-left: 2px; }
.msg-body { overflow-wrap: anywhere; line-height: 1.45; }
.msg-removed { font-style: italic; color: var(--muted); }
.msg-remove { margin: 4px 0 0; text-align: right; }
.chat-form { display: flex; gap: 10px; align-items: flex-end; margin-top: 14px; }
.chat-form textarea { flex: 1; min-height: 48px; max-height: 180px; }
.chat-write { flex: 1; display: flex; flex-direction: column; gap: 4px; min-width: 0; }
.chat-write textarea { width: 100%; }
.chat-file { margin: 0; font-size: 13px; color: var(--muted); overflow-wrap: anywhere; }
.chat-photo { padding: 0 14px; cursor: pointer; }
.chat-photo:focus-within { outline: 2px solid var(--pink-text); outline-offset: 2px; }
/* Phones: the message box gets its own full row, the photo and Send buttons sit under it on the right. */
@media (max-width: 520px) {
  .chat-form { flex-wrap: wrap; justify-content: flex-end; }
  .chat-write { flex: 1 0 100%; }
}
.msg-photo-link { display: block; margin: 6px 0 4px; }
.msg-photo { display: block; max-width: min(100%, 320px); max-height: 360px; width: auto; height: auto; border-radius: 12px; border: 1px solid var(--line); background: #faf5f7; }
.msg-body a { color: var(--pink-text); text-decoration: underline; overflow-wrap: anywhere; }
.msg-mine .msg-body a { color: inherit; }

.threads { list-style: none; margin: 0; padding: 0; }
.threads a { display: grid; grid-template-columns: 1fr auto; gap: 2px 12px; padding: 12px 8px; border-bottom: 1px solid #f8e8ee; text-decoration: none; color: var(--text); border-radius: 10px; }
.threads a:hover { background: var(--blush); }
.thread-name { font-weight: 600; display: flex; align-items: center; gap: 8px; }
.threads .count { margin-left: 0; }
.thread-time { font-size: 13px; color: var(--muted); grid-row: 1; grid-column: 2; }
.thread-last { grid-column: 1 / -1; color: var(--muted); font-size: 14px; }
.threads .unread .thread-last { color: var(--text); }

.scrim { position: fixed; inset: 0; background: rgba(60, 30, 50, .35); z-index: 20; }

@media (max-width: 980px) {
  .tiles { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .auth-split { grid-template-columns: 1fr; }
  .apply-split { grid-template-columns: 1fr; }
  .apply-art { position: relative; height: 200px; }
  /* Small screens: the logo bar (with Sign in) comes first, then the photo, then the form. */
  .apply-side { display: contents; }
  .apply-top { order: -1; }
  .apply-main { background: #fff; }
  .apply-art-text { display: none; }
  .apply-top { padding: 10px 16px; }
  .apply-main { padding: 20px 16px 40px; }
  .apply-head h1 { font-size: 24px; }
  .apply-card { padding: 22px 16px; }
  .auth-art { height: 180px; }
  .auth-art-line { display: none; }
  .auth-side .band { display: none; }
  .auth-side .auth { margin-top: -54px; }
  .hello, .hello-package { grid-template-columns: 1fr; }
  .hello img { order: -1; max-height: 140px; min-height: 0; }
  .hello-cover { display: flex; flex-direction: column; }
  .hello-cover img { position: static; height: 140px; object-position: 70% center; }
  .hello-cover .hello-text { max-width: none; min-height: 0; }
  .hello-wide { aspect-ratio: auto; }
  .hello-wide img { height: auto; max-height: none; aspect-ratio: 3 / 1; }
  .hello-wide .hello-text { max-width: none; height: auto; padding: 14px 18px 18px; }
  .hello-wide .hello-text h2 { font-size: 22px; }
  .hello-wide .hello-text p { font-size: inherit; }
  .hello-wide .hello-kicker { font-size: 12px !important; }
  .hello-text { padding: 18px 18px 20px; }
  .hello-text h2 { font-size: 22px; }
}

/* Phones and small tablets: the menu slides in from the left. */
@media (max-width: 860px) {
  .sidebar { position: fixed; left: 0; top: 0; z-index: 30; transform: translateX(-100%); transition: transform .22s ease; box-shadow: 0 0 40px rgba(60, 30, 50, .15); }
  .sidebar.open { transform: none; }
  .menu { display: inline-flex; }
  .topbar { padding: 12px 16px; gap: 10px; }
  .topbar .demo-tag, .top-links .demo-tag { font-size: 11px; padding: 2px 8px; margin-right: 0; }
  .live-edit { margin-left: 0; }
  .live-edit-switch { padding: 4px 10px 4px 6px; gap: 6px; font-size: 13px; white-space: nowrap; }
  .top-links { gap: 10px; }
  .top-link-text { display: none; }
  .cat-row input[type="text"] { flex: 1 1 100%; max-width: none; }
  .row-actions { flex-wrap: wrap; }
  .limit-row { flex-wrap: wrap; }
  .topbar h1 { font-size: 18px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
  .content { padding: 16px 16px 40px; gap: 16px; }
  .card { padding: 18px 16px; }
  .grid-2, .form { grid-template-columns: 1fr; }
  .notice { flex-wrap: wrap; gap: 12px; padding: 16px; }
  .notice p { flex-basis: calc(100% - 64px); }
  .notice .btn { width: 100%; }
  .stats { gap: 8px; }
  .stat { padding: 14px 4px; }
  .stat .amount { font-size: 20px; }
  .stat .label { font-size: 14px; }
  .sticky-save { margin: 18px -16px -18px; padding: 12px 16px; }
  .pick-tray .btn { width: 100%; }
  .tray-groups { flex-direction: column; gap: 8px; width: 100%; }
  .tray-slot { width: 34px; height: 34px; }
  .tray-group { display: grid; grid-template-columns: 1fr auto; grid-template-areas: "label left" "slots slots"; gap: 6px 10px; width: 100%; }
  .tray-label { grid-area: label; }
  .tray-left { grid-area: left; }
  .tray-slots { grid-area: slots; }
  .swatches, .swatches-small { grid-template-columns: repeat(auto-fill, minmax(86px, 1fr)); gap: 14px 6px; }
  .ring, .swatches-small .ring { width: 62px; height: 62px; }
  .swatch input:checked + .ring::after { right: calc(50% - 34px); }
  .ring-photo, .swatches-small .ring-photo { width: 84px; height: 84px; border-radius: 16px; }
  .shade-photo { border-radius: 13px; }
  .swatch input:checked + .ring-photo::after { top: 6px; right: 6px; }
  .swatch-name { font-size: 13px; }
  .msg { max-width: 90%; }
  .chat-log { margin: 0 -6px; padding: 12px; }
  .facts { grid-template-columns: 110px 1fr; }
  .form-inline { width: 100%; }
  .form-inline select { flex: 1; min-width: 0; }
  .auth-card { padding: 22px 18px; }
}

@media (prefers-reduced-motion: reduce) {
  * { transition: none !important; scroll-behavior: auto !important; }
}

/* Phones and tablets (2026-11-14 device check): phones zoom into any form field whose text is under 16px, so fields are 16px
   on touch screens; small links get a taller tap area; nothing may widen the page sideways. */
@media (pointer: coarse), (max-width: 860px) {
  input:not([type="checkbox"]):not([type="radio"]):not([type="file"]):not([type="range"]), select, textarea { font-size: 16px !important; }
}
@media (pointer: coarse) {
  .swatch-link { display: inline-block; padding: 6px 4px; }
}
.items li .muted { margin-left: 8px; }

/* Phones: table rows become cards, each value under its column's name (labels come from app.js). */
@media (max-width: 640px) {
  .table-wrap { overflow-x: visible; }
  .table-wrap table.stack, .table-wrap table.stack tbody, .table-wrap table.stack tfoot, .table-wrap table.stack tr { display: block; width: 100%; }
  .table-wrap table.stack thead { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
  .table-wrap table.stack tr { border: 1px solid #f3dbe5; border-radius: 14px; padding: 6px 14px; margin: 0 0 10px; background: #fff; }
  .table-wrap table.stack td { display: block; position: relative; padding: 8px 0 8px calc(36% + 10px); min-height: 34px;
    border-bottom: 1px solid #f8e8ee; text-align: left; overflow-wrap: anywhere; }
  .table-wrap table.stack tr > td:last-child { border-bottom: 0; }
  .table-wrap table.stack td::before { content: attr(data-label); position: absolute; left: 0; top: 10px; width: 36%;
    font-size: 12px; font-weight: 500; text-transform: uppercase; letter-spacing: .05em; color: var(--muted); overflow-wrap: normal; }
  .table-wrap table.stack td[data-label=""] { padding-left: 0; min-height: 0; }
  .table-wrap table.stack td[data-label=""]::before { display: none; }
  .table-wrap table.stack td.empty { text-align: center; }
  .table-wrap table.stack td, .table-wrap table.stack td * { white-space: normal; }
  .table-wrap table.stack td > * { max-width: 100%; }
  .table-wrap table.stack td.row-actions { display: flex; flex-wrap: wrap; justify-content: flex-start; gap: 8px; }
  .table-wrap table.stack .row-actions { flex-wrap: wrap; justify-content: flex-start; }
  .table-wrap table.stack td.num { text-align: left; }
  .table-wrap table.stack td > select, .table-wrap table.stack td > input:not([type="checkbox"]):not([type="radio"]) { width: 100%; }
  .table-wrap table.stack td form { display: flex; flex-wrap: wrap; align-items: center; gap: 6px; min-width: 0; }
  .table-wrap table.stack td form select { flex: 1 1 140px; min-width: 0; width: auto; }
  .kit-give { flex-wrap: wrap; }
  .kit-give select { flex: 1 1 100%; }
}
.apply-group > p { margin: 0; }
/* PR Package banner fade (2026-11-14): the photo shows the whole row of bottles and melts into the banner's background. */
.hello-fade { grid-template-columns: minmax(0, 1fr) minmax(0, 1.3fr); }
.hello-fade img { max-height: 240px; min-height: 0; object-position: center;
  -webkit-mask-image: linear-gradient(to right, transparent 0, #000 22%); mask-image: linear-gradient(to right, transparent 0, #000 22%); }
@media (max-width: 1200px) {
  .hello-fade { grid-template-columns: 1fr; }
  .hello-fade img { order: -1; height: auto; max-height: none; aspect-ratio: 1280 / 546;
    -webkit-mask-image: linear-gradient(to bottom, #000 70%, transparent 100%); mask-image: linear-gradient(to bottom, #000 70%, transparent 100%); }
  .hello-fade .hello-text { padding-top: 4px; }
}
/* Orders with your code (influencer Commission page) */
.sales-list { border: 1px solid var(--line); border-radius: 14px; overflow: hidden; background: #fff; }
.sales-row { display: grid; grid-template-columns: 1.2fr 1fr 1fr 1fr 1fr; gap: 12px; align-items: center; padding: 12px 16px; border-top: 1px solid var(--line); font-variant-numeric: tabular-nums; }
.sales-row > span { min-width: 0; }
.sales-head { border-top: 0; background: var(--blush); font-size: 12px; font-weight: 500; text-transform: uppercase; letter-spacing: .05em; color: var(--muted); padding-top: 10px; padding-bottom: 10px; }
.sales-label { display: none; }
.sales-empty { margin: 0; padding: 26px 16px; text-align: center; border-top: 1px solid var(--line); }
.sales-empty .muted { display: block; font-size: 14px; margin-top: 4px; }
@media (max-width: 700px) {
  .sales-head { display: none; }
  .sales-row { grid-template-columns: 1fr 1fr; gap: 10px 14px; }
  .sales-row:nth-child(2) { border-top: 0; }
  .sales-label { display: block; font-size: 11px; font-weight: 500; text-transform: uppercase; letter-spacing: .05em; color: var(--muted); }
  .sales-empty { border-top: 0; }
}
/* Assignment templates */
.template-pick label { display: flex; flex-direction: column; gap: 4px; margin: 0; }
.template-pick select { min-width: 220px; }
.template-list { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; }
.template-list li { padding: 12px 0; border-top: 1px solid var(--line); }
.template-row { display: flex; align-items: center; gap: 16px; }
.template-view { margin-top: 10px; padding: 12px 14px; border-radius: 12px; background: var(--blush); }
.template-view p { margin: 0 0 6px; }
.template-form { margin-top: 10px; padding: 12px 14px; border-radius: 12px; border: 1px solid var(--line); }
.template-add { margin-bottom: 10px; }
.template-add > summary { list-style: none; display: inline-flex; cursor: pointer; }
.template-add > summary::-webkit-details-marker { display: none; }
.template-add[open] > summary { margin-bottom: 4px; }
.template-list li:first-child { border-top: 0; }
.template-text { flex: 1; min-width: 0; }
.template-text p { margin: 2px 0 0; }
.template-list .button-row { flex: none; margin: 0; }
@media (max-width: 700px) {
  .template-row { flex-direction: column; align-items: stretch; gap: 8px; }
  .template-pick select { min-width: 0; width: 100%; }
}
/* Accepting assignments */
.badge-new { background: var(--blush-2); color: var(--pink-text); }
.badge-accepted { background: #e9f6ef; color: #1f6b47; }
.ok-text { color: #1f6b47; }
.card.to-accept { border-color: var(--pink); box-shadow: 0 0 0 1px var(--pink); }
.accept-row { display: flex; align-items: center; gap: 12px; flex-wrap: wrap; margin-top: 12px; }
.attach-assignment { display: flex; flex-direction: column; gap: 4px; }
/* Content calendar */
.cal-head { justify-content: flex-start; gap: 10px; }
.cal-head h2 { margin: 0 6px; min-width: 9em; text-align: center; }
.cal-stats { display: flex; flex-wrap: wrap; gap: 6px 22px; margin: 4px 0 14px; color: var(--muted); }
.cal-stats strong { color: var(--text); font-variant-numeric: tabular-nums; }
.cal-grid { display: grid; grid-template-columns: repeat(7, minmax(0, 1fr)); gap: 6px; }
.cal-weekday { font-size: 12px; font-weight: 500; text-transform: uppercase; letter-spacing: .05em; color: var(--muted); padding: 0 6px 2px; }
.cal-day { min-height: 104px; border: 1px solid var(--line); border-radius: 12px; background: #fff; padding: 6px; display: flex; flex-direction: column; gap: 4px; min-width: 0; }
.cal-day.cal-blank { border: 0; background: transparent; }
.cal-day.is-empty:not(.is-past) { border: 1.5px dashed var(--pink); background: #fff7fa; }
.cal-day.is-past { background: #fbf9fc; }
.cal-day.is-today { box-shadow: 0 0 0 2px var(--pink); }
.cal-date { display: flex; align-items: center; gap: 4px; font-weight: 600; font-size: 14px; }
.cal-weekday-inline { display: none; }
.cal-count { margin-left: auto; font-size: 11px; font-weight: 600; color: var(--muted); }
.cal-none { font-size: 12px; color: var(--pink-text); }
.cal-chip { display: block; font-size: 12px; line-height: 1.3; padding: 3px 6px; border-radius: 8px; text-decoration: none; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.cal-legend .cal-chip, td .cal-chip { display: inline-block; }
.cal-chip.is-planned { background: var(--lavender); color: var(--lavender-text); }
.cal-chip.is-posted { background: #e9f6ef; color: #1f6b47; }
.cal-chip.is-missed { background: #f1edf3; color: #5d5562; text-decoration: line-through; }
.cal-kind { font-weight: 600; }
.cal-legend { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; margin: 12px 0 0; }
.cal-move { display: flex; flex-wrap: wrap; gap: 6px; align-items: center; }
.cal-move input[type="date"] { width: auto; }
@media (max-width: 760px) {
  .cal-grid { grid-template-columns: 1fr; }
  .cal-weekday, .cal-day.cal-blank { display: none; }
  .cal-day { min-height: 0; flex-direction: row; flex-wrap: wrap; align-items: center; }
  .cal-date { flex: 0 0 100%; }
  .cal-weekday-inline { display: inline; color: var(--muted); font-weight: 500; }
  .cal-chip { display: inline-block; }
}
/* Influencer posting schedule */
.schedule-list { list-style: none; margin: 0; padding: 0; }
.schedule-list li { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 14px; padding: 12px 0; border-top: 1px solid var(--line); }
.schedule-list li:first-child { border-top: 0; }
.schedule-when { display: flex; flex-direction: column; flex: 1 1 200px; min-width: 0; }
.schedule-form { display: flex; gap: 8px; flex: 1 1 280px; }
.schedule-form input { flex: 1; min-width: 0; }
/* Language switch (influencer pages) and the Translate link under words people typed */
.lang-switch { margin: 0; }
.lang-switch select { width: auto; min-height: 34px; padding: 4px 28px 4px 10px; font-size: 14px; border-radius: 999px; }
.translate-link { display: inline-block; font-size: 12px; font-weight: 500; color: var(--pink-text); margin-top: 4px; }
.msg .translate-link { margin-top: 2px; }
@media (max-width: 700px) { .lang-switch select { font-size: 16px; padding-right: 24px; } }
/* Language switch on the sign-in pages: top right of the white side, above the logo. */
.auth { position: relative; }
.auth-lang { position: absolute; top: 0; right: 16px; z-index: 2; }
@media (max-width: 980px) { .auth-lang { top: -44px; } }
/* Language switch on the apply page, beside "Already a partner? Sign in". */
.apply-top-right { display: flex; align-items: center; gap: 8px 14px; flex-wrap: wrap; justify-content: flex-end; }
/* Long links wrap */
.brief, .note, .flash, .msg-body, .card p.small, .schedule-when, .review p { overflow-wrap: anywhere; }
.schedule-fix summary { cursor: pointer; color: var(--pink-text); }

/* Assignment posts: one row per post (source, description, link), and the sent list. */
.post-form { display: grid; gap: 10px; margin-top: 6px; }
.post-form-title { margin: 6px 0 0; font-size: 16px; }
.post-form > .muted { margin: 0; }
.post-rows { display: grid; gap: 10px; }
.post-row { display: grid; grid-template-columns: minmax(130px, 160px) minmax(140px, 190px) minmax(0, 1fr) auto; gap: 10px 12px; align-items: end;
  padding: 12px 14px; border: 1px solid var(--line); border-radius: 14px; background: var(--blush); }
.post-row select, .post-row input { height: 46px; }
.post-remove { padding: 0 2px 12px; color: var(--muted); }
.post-remove:hover { color: var(--pink-text); }
.post-actions { display: flex; gap: 10px; flex-wrap: wrap; justify-content: space-between; align-items: center; }
.post-list { list-style: none; padding: 0; margin: 6px 0 10px; display: grid; gap: 6px; }
.post-list li { display: flex; gap: 8px; align-items: baseline; flex-wrap: wrap; font-size: 14px; }
.post-list a { word-break: break-all; }
.post-source { font-size: 12px; font-weight: 500; padding: 2px 10px; border-radius: 999px; background: var(--lavender); color: var(--lavender-text); }
@media (max-width: 700px) {
  .post-row { grid-template-columns: 1fr 1fr; }
  .post-row .post-link { grid-column: 1 / -1; }
  .post-remove { justify-self: start; padding: 0; }
}

/* Assignment briefs, laid out (brief_html): headings, bullet lists, numbered steps and section titles. */
.brief-rich { line-height: 1.6; }
.brief-rich > :first-child { margin-top: 0; }
.brief-rich p { margin: 0 0 10px; }
.brief-h { font-size: 19px; margin: 20px 0 6px; line-height: 1.35; }
.brief-sub { font-size: 15px; font-weight: 600; margin: 14px 0 6px; line-height: 1.4; }
.brief-sub + .brief-sub { margin-top: 0; }
.brief-list { margin: 0 0 12px; padding-left: 22px; display: grid; gap: 4px; }
.brief-list li::marker { color: var(--pink); }
.brief-steps { list-style: none; margin: 4px 0 12px; padding: 0; display: grid; gap: 8px; }
.brief-steps li { display: flex; gap: 10px; align-items: flex-start; padding: 10px 12px; border-radius: 12px; background: var(--lavender); }
.brief-num { flex: none; width: 26px; height: 26px; border-radius: 50%; background: var(--pink-card); color: var(--pink-text);
  font-weight: 600; font-size: 13px; line-height: 1; display: inline-flex; align-items: center; justify-content: center; }
.brief-steps li > span:last-child { padding-top: 1px; }
.brief-step-head { display: flex; gap: 10px; align-items: center; font-weight: 600; font-size: 16px; margin: 20px 0 8px;
  padding-top: 14px; border-top: 1px solid var(--line); }
.brief-rich > .brief-step-head:first-child { padding-top: 0; border-top: 0; }
.brief-rule { border: 0; border-top: 1px solid var(--line); margin: 18px 0; }
/* Sign-in and apply photos rotate (2026-11-16): slides fade every 6 s; dots pick one. Each slide is its own Live edit photo. */
.slides { position: absolute; inset: 0; }
.slides .slide, .slides .slide.cms-photo { position: absolute; inset: 0; opacity: 0; visibility: hidden; transition: opacity 1.2s ease, visibility 0s linear 1.2s; }
.slides .slide.on { opacity: 1; visibility: visible; transition: opacity 1.2s ease; }
.slide-dots { position: absolute; top: 16px; left: 16px; z-index: 4; display: flex; gap: 2px; padding: 3px 6px; border-radius: 999px; background: rgba(255, 255, 255, .6); -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px); }
.slide-dots button { width: 22px; height: 22px; padding: 0; border: 0; background: none; cursor: pointer; display: flex; align-items: center; justify-content: center; }
.slide-dots button::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: rgba(60, 30, 50, .3); transition: background .2s, transform .2s; }
.slide-dots button[aria-current="true"]::before { background: var(--pink); transform: scale(1.15); }
@media (prefers-reduced-motion: reduce) { .slides .slide, .slides .slide.on { transition: none; } }

/* ---------- Growth (2026-11-17, views/team/growth.php) ---------- */
.back-link { color: var(--pink-text); font-size: 15px; text-decoration: none; }
.back-link:hover { text-decoration: underline; }
.badge-warn { background: #fff1e0; color: #9a4a00; }
.growth-bar { display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 10px 16px; margin-bottom: 16px; }
.growth-bar p { margin: 0; }
.growth-hello { margin-bottom: 18px; }
.gkpis { display: grid; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); gap: 14px; }
.gkpi { display: flex; flex-direction: column; gap: 2px; min-width: 0; padding: 16px 18px 12px; border-radius: var(--radius); background: #fff; border: 1px solid var(--line); box-shadow: var(--shadow); }
.gkpi-label { font-size: 13px; color: var(--muted); }
.gkpi-num { font-size: 28px; font-weight: 600; line-height: 1.2; color: #1f1a22; font-variant-numeric: tabular-nums; }
.gkpi-change { font-size: 13px; font-weight: 500; }
.gkpi-change.is-good { color: #1f6b47; }
.gkpi-change.is-bad { color: #a3123f; }
.gkpi-change .muted { font-weight: 400; }
.spark { display: block; width: 100%; height: 40px; margin-top: 8px; overflow: visible; }
.spark polyline { fill: none; stroke: var(--pink); stroke-width: 1.6; stroke-linejoin: round; stroke-linecap: round; vector-effect: non-scaling-stroke; }
.gtable { font-size: 14px; }
.gtable th, .gtable td { padding: 8px 8px; }
.gtable td:first-child { overflow-wrap: anywhere; min-width: 8em; }
.gtable td.num { white-space: nowrap; }
.gstats .amount { font-size: clamp(18px, 2vw, 26px); overflow-wrap: anywhere; }
.gstats .label { font-size: 13px; }
.card h3 { font-size: 15px; font-weight: 600; margin: 0 0 8px; }
.card h3.mt { margin-top: 20px; }
@media (max-width: 700px) {
  .gkpis { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
  .gkpi { padding: 12px 12px 10px; }
  .gkpi-num { font-size: 22px; }
  .gtable td:first-child { min-width: 0; }
}
/* Admin menu tabs (2026-11-17): one tab per part of the business (Influencer, Trade-ins, Support, Growth, Settings); the menu under it lists only that tab's pages. */
.nav-tabs { display: flex; flex-wrap: wrap; gap: 6px; margin: 0 0 14px; padding-bottom: 14px; border-bottom: 1px solid var(--line); }
.nav-tabs a { display: inline-flex; align-items: center; gap: 6px; padding: 6px 12px; border-radius: 999px; border: 1px solid var(--line); background: #fff;
  font-size: 13px; font-weight: 500; color: var(--muted); text-decoration: none; }
.nav-tabs a:hover { color: var(--pink-text); border-color: #f0b8cf; }
.nav-tabs a[aria-current="true"] { background: var(--pink); border-color: var(--pink); color: #fff; }
.nav-tabs a .count { margin-left: 0; }
.nav-tabs .count { min-width: 18px; height: 18px; padding: 0 5px; font-size: 11px; }
/* Same tab rows on every page (Bryan 2026-11-18): the number sits on the chip's corner, so a tab is equally wide with or
   without one (the current tab hides its number), and the chips stretch to fill each row. */
.nav-tabs { gap: 8px 6px; padding-top: 6px; }
.nav-tabs a { position: relative; flex: 1 1 auto; justify-content: center; white-space: nowrap; }
.nav-tabs a .count { position: absolute; top: -7px; right: -4px; margin: 0; min-width: 17px; height: 17px; padding: 0 4px; font-size: 10.5px;
  box-shadow: 0 0 0 2px #fff; }

/* ---------- Subscriptions (team/subs*.php) ---------- */
.sub-intro { display: flex; gap: 20px; align-items: flex-start; justify-content: space-between; flex-wrap: wrap; }
.sub-intro h2 { margin: 0 0 4px; }
.sub-intro p { margin: 0; }
.sub-billing { max-width: 420px; margin: 0; font-size: 14px; }
.sub-plans { display: grid; grid-template-columns: repeat(auto-fill, minmax(230px, 1fr)); gap: 16px; margin: 16px 0; }
.sub-plan-card { display: flex; flex-direction: column; gap: 6px; margin: 0; color: inherit; text-decoration: none; transition: transform .15s ease, box-shadow .15s ease; }
.sub-plan-card:hover { transform: translateY(-2px); box-shadow: var(--shadow); }
.sub-plan-card h3 { margin: 0; font-size: 17px; }
.sub-plan-card p { margin: 0; }
.sub-plan-top { display: flex; justify-content: space-between; align-items: center; gap: 8px; }
.sub-price { font-size: 22px; font-weight: 600; margin: 4px 0; color: var(--text); }
.sub-facts { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px 14px; margin: 6px 0 0; }
.sub-facts div { display: flex; flex-direction: column; }
.sub-facts dt { font-size: 12px; color: var(--muted); }
.sub-facts dd { margin: 0; font-weight: 600; }
.sub-open { margin-top: auto; padding-top: 8px; font-size: 14px; color: var(--pink-text); font-weight: 500; }
.sub-steps { margin: 0; padding-left: 20px; display: grid; gap: 8px; font-size: 14px; }
.sub-badge-live, .sub-badge-active, .sub-badge-open { background: #e9f6ef; color: #1f6b47; }
.sub-badge-draft, .sub-badge-planning { background: #f1edf3; color: #4b4350; }
.sub-badge-paused, .sub-badge-locked { background: var(--gold-wash); color: var(--gold-text); }
.sub-badge-cancelled { background: #f1edf3; color: #5d5562; }
.sub-badge-shipped { background: var(--blush-2); color: var(--pink-text); }
.sub-ship-waiting { background: var(--gold-wash); color: var(--gold-text); }
.sub-ship-ready { background: #e8f0fb; color: #23518f; }
.sub-ship-shipped { background: #e9f6ef; color: #1f6b47; }
.sub-ship-skipped { background: #f1edf3; color: #5d5562; }
.sub-head-top { display: flex; justify-content: space-between; align-items: flex-start; gap: 20px; flex-wrap: wrap; }
.sub-head h2 { margin: 0 0 4px; display: flex; align-items: center; gap: 10px; flex-wrap: wrap; }
.sub-head p { margin: 0 0 4px; }
.sub-head .sub-facts { min-width: 260px; }
.sub-head .button-row { margin-top: 12px; }
.sub-head .button-row form { margin: 0; }
.sub-month-bar { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; margin-bottom: 14px; }
.sub-box { border: 1px solid var(--line); border-radius: var(--radius); padding: 16px; margin-bottom: 18px; }
.sub-box-head { display: flex; justify-content: space-between; gap: 12px; align-items: flex-start; }
.sub-box h3, .sub-pack h3 { margin: 0; font-size: 16px; }
.sub-box-head p { margin: 2px 0 10px; }
.sub-theme { margin: 0 0 10px; font-size: 14px; }
.sub-items { list-style: none; margin: 0 0 10px; padding: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); gap: 8px; }
.sub-items li { display: flex; align-items: center; gap: 10px; padding: 6px 8px; border: 1px solid var(--line); border-radius: 12px; background: #fff; }
.sub-items img, .sub-items .sub-dot { width: 44px; height: 44px; border-radius: 10px; object-fit: cover; flex: none; background: var(--blush); }
.sub-item-name { flex: 1; min-width: 0; font-size: 14px; line-height: 1.3; }
.sub-item-name .muted { display: block; }
.sub-items form { margin: 0; }
.sub-box-forms { display: flex; gap: 12px; flex-wrap: wrap; align-items: flex-end; }
.sub-add { display: flex; gap: 10px; align-items: flex-end; flex-wrap: wrap; margin: 0; }
.sub-add label { flex: 1 1 240px; }
.sub-add .sub-qty { flex: 0 0 110px; }
.sub-box-edit { margin-top: 12px; }
.sub-box-edit summary { cursor: pointer; font-size: 14px; color: var(--pink-text); }
.sub-box-edit form { margin-top: 10px; max-width: 560px; }
.sub-pack .card-head { flex-wrap: wrap; gap: 10px; }
.sub-prepare { display: flex; gap: 12px; align-items: center; flex-wrap: wrap; margin: 0; }
.sub-counts { display: flex; gap: 8px; flex-wrap: wrap; margin: 0 0 10px; }
.sub-ship-form { display: flex; gap: 6px; align-items: center; margin: 0; }
.sub-ship-form input { width: 150px; padding: 6px 10px; }
.sub-settings, .sub-fields { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px 16px; }
.sub-settings .sub-wide, .sub-fields .sub-wide, .sub-settings .sub-freq { grid-column: 1 / -1; }
.sub-freq { border: 0; padding: 0; margin: 0; display: flex; gap: 14px; flex-wrap: wrap; }
.sub-freq legend { font-size: 14px; margin-bottom: 6px; }
.sub-add-member > summary { list-style: none; display: inline-flex; cursor: pointer; }
.sub-add-member > summary::-webkit-details-marker { display: none; }
.sub-member-form { margin-top: 12px; }
.sub-filter { display: flex; gap: 12px; align-items: flex-end; flex-wrap: wrap; }
.sub-filter label { flex: 1 1 180px; }
.sub-shades { display: grid; grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); gap: 8px; max-height: 460px; overflow-y: auto; padding: 4px; border: 1px solid var(--line); border-radius: 12px; }
.sub-shade { display: flex; align-items: center; gap: 8px; padding: 6px; border-radius: 10px; border: 1px solid transparent; cursor: pointer; font-size: 13px; line-height: 1.25; }
.sub-shade:hover { background: var(--blush); }
.sub-shade:has(input:checked) { border-color: var(--pink); background: var(--blush-2); }
.sub-shade img, .sub-shade .sub-dot { width: 40px; height: 40px; border-radius: 8px; object-fit: cover; flex: none; }
.sub-shade input { flex: none; }
@media (max-width: 1100px) { .sub-plans { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 640px) {
  .sub-plans, .sub-settings, .sub-fields { grid-template-columns: 1fr; }
  .sub-ship-form { flex-wrap: wrap; }
  .sub-ship-form input { width: 100%; }
}

/* Compact admin (2026-11-17): every team page, and since the same day the influencer side (body.is-partner),
   gets the Overview's density. Public pages keep their roomier look. Form controls only shrink on wide screens; phones keep 16px text (no iOS zoom)
   and full-size touch targets. */
:is(body.is-team, body.is-partner) .content { max-width: 1320px; padding: 18px 24px 40px; gap: 14px; }
:is(body.is-team, body.is-partner) .topbar { padding: 11px 24px; }
:is(body.is-team, body.is-partner) .topbar h1 { font-size: 19px; }
:is(body.is-team, body.is-partner) .card { padding: 16px 20px; }
:is(body.is-team, body.is-partner) .card h2 { font-size: 16px; margin-bottom: 10px; }
:is(body.is-team, body.is-partner) .card h2.tab { font-size: 14px; padding-bottom: 6px; margin-bottom: 14px; }
:is(body.is-team, body.is-partner) .card h2.mt { margin-top: 18px; }
:is(body.is-team, body.is-partner) .card h3 { font-size: 14px; }
:is(body.is-team, body.is-partner) .card-head { margin-bottom: 8px; }
:is(body.is-team, body.is-partner) .card > p, :is(body.is-team, body.is-partner) .card .muted, :is(body.is-team, body.is-partner) .card .hint { font-size: 13.5px; }
:is(body.is-team, body.is-partner) .card > p { margin: 0 0 10px; }
:is(body.is-team, body.is-partner) .grid-2 { gap: 14px; }
:is(body.is-team, body.is-partner) .stack { gap: 10px; }
:is(body.is-team, body.is-partner) table { font-size: 14px; }
:is(body.is-team, body.is-partner) th { padding: 7px 10px; font-size: 11px; }
:is(body.is-team, body.is-partner) td { padding: 8px 10px; }
:is(body.is-team, body.is-partner) td.empty { padding: 16px 10px; }
:is(body.is-team, body.is-partner) .list li { padding: 7px 0; font-size: 14px; }
:is(body.is-team, body.is-partner) .pills a { padding: 4px 12px; font-size: 13px; }
:is(body.is-team, body.is-partner) .tiles { gap: 10px; }
:is(body.is-team, body.is-partner) .tile { padding: 12px 16px; border-radius: 14px; }
:is(body.is-team, body.is-partner) .tile-num { font-size: 22px; }
:is(body.is-team, body.is-partner) .tile-label { font-size: 12.5px; }
:is(body.is-team, body.is-partner) .stats { gap: 10px; }
:is(body.is-team, body.is-partner) .stat { padding: 10px 8px; border-radius: 12px; }
:is(body.is-team, body.is-partner) .stat .amount { font-size: 21px; }
:is(body.is-team, body.is-partner) .stat .label { font-size: 13px; margin-top: 2px; }
:is(body.is-team, body.is-partner) .stats-small { margin-bottom: 12px; }
:is(body.is-team, body.is-partner) .stats-small .amount { font-size: 18px; }
/* Menu: same items, less height. */
:is(body.is-team, body.is-partner) .sidebar { padding: 16px 12px; }
:is(body.is-team, body.is-partner) .brand { padding-bottom: 12px; margin-bottom: 10px; }
:is(body.is-team, body.is-partner) .brand img { width: 96px; margin-bottom: 6px; }
:is(body.is-team, body.is-partner) .nav a, :is(body.is-team, body.is-partner) .logout, :is(body.is-team, body.is-partner) .nav-group > summary { padding: 7px 12px; font-size: 14px; gap: 10px; }
:is(body.is-team, body.is-partner) .nav-sub a { padding: 6px 12px; font-size: 13.5px; }
:is(body.is-team, body.is-partner) .nav a[aria-current="page"]::before { top: 7px; bottom: 7px; }
@media (min-width: 861px) {
  :is(body.is-team, body.is-partner) .form { gap: 10px 14px; }
  :is(body.is-team, body.is-partner) label { font-size: 13px; gap: 4px; }
  :is(body.is-team, body.is-partner) label.check { font-size: 14px; }
  :is(body.is-team, body.is-partner) input[type="text"], :is(body.is-team, body.is-partner) input[type="email"], :is(body.is-team, body.is-partner) input[type="password"], :is(body.is-team, body.is-partner) input[type="tel"],
  :is(body.is-team, body.is-partner) input[type="url"], :is(body.is-team, body.is-partner) input[type="number"], :is(body.is-team, body.is-partner) input[type="date"], :is(body.is-team, body.is-partner) input[type="search"],
  :is(body.is-team, body.is-partner) select, :is(body.is-team, body.is-partner) textarea { font-size: 14px; padding: 7px 10px; border-radius: 10px; }
  :is(body.is-team, body.is-partner) .btn { min-height: 36px; padding: 0 18px; font-size: 14px; }
  :is(body.is-team, body.is-partner) .btn-small { min-height: 30px; padding: 0 12px; font-size: 13px; }
}

/* Admin look from ChatGPT's two mockups, mixed (2026-11-17): Overview (team/home.php), search (team/search.php) and a
   few shared touches (initials, table heads, cards, top-bar search) that every admin and influencer page picks up. */
:is(body.is-team, body.is-partner) .card { border-radius: 14px; box-shadow: 0 1px 2px rgba(184, 41, 106, .05), 0 6px 18px -12px rgba(184, 41, 106, .18); }
:is(body.is-team, body.is-partner) thead th { background: #fdf5f8; border-bottom-color: #f6dbe6; }
:is(body.is-team, body.is-partner) thead th:first-child { border-radius: 8px 0 0 8px; }
:is(body.is-team, body.is-partner) thead th:last-child { border-radius: 0 8px 8px 0; }
:is(body.is-team, body.is-partner) .badge { font-size: 11.5px; padding: 2px 9px; }
.avatar { flex: none; display: inline-grid; place-items: center; width: 30px; height: 30px; border-radius: 50%; font-size: 11.5px; font-weight: 600; letter-spacing: .02em; }
.avatar-pink { background: #fde3ee; color: var(--pink-text); }
.avatar-lavender { background: var(--lavender); color: var(--lavender-text); }
.avatar-gold { background: var(--gold-wash); color: var(--gold-text); }
.top-search { position: relative; margin-left: auto; }
.top-search svg:not(.chip):not(.dot-chip):not(.chip-dot) { position: absolute; left: 10px; top: 50%; width: 16px; height: 16px; transform: translateY(-50%); fill: none; stroke: var(--muted); stroke-width: 2; stroke-linecap: round; pointer-events: none; }
:is(body.is-team, body.is-partner) .top-search input { width: 300px; height: 34px; padding: 6px 12px 6px 32px; border-radius: 10px; font-size: 13.5px; background: #fff; }
.topbar .top-search ~ .bell-push, .topbar .top-search ~ .live-edit-push { margin-left: 0; }
.topbar .demo-tag ~ .top-search { margin-left: 0; }

.ov-intro { display: flex; align-items: center; justify-content: space-between; gap: 12px; flex-wrap: wrap; margin-bottom: -2px; }
.ov-intro p { margin: 0; color: var(--muted); font-size: 13.5px; }
.ov-actions { display: flex; gap: 8px; flex-wrap: wrap; }

:is(body.is-team, body.is-partner) .ov-kpis { display: flex; flex-wrap: wrap; padding: 0; overflow: hidden; }
.ov-group { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); flex: 4 1 520px; }
.ov-money-wrap { flex: 3 1 400px; display: flex; flex-direction: column; border-left: 1px solid var(--line); background: #fffafc; }
.ov-group-label { padding: 10px 16px 0; font-size: 11px; font-weight: 600; letter-spacing: .05em; text-transform: uppercase; color: var(--muted); }
.ov-money { grid-template-columns: repeat(3, minmax(0, 1fr)); flex: 1; }
.ov-kpi { display: flex; flex-direction: column; gap: 2px; padding: 12px 16px 10px; color: var(--text); text-decoration: none; min-width: 0; transition: background .15s ease; }
.ov-group > .ov-kpi + .ov-kpi { border-left: 1px solid #fbeaf1; }
.ov-kpi:hover { background: var(--blush-2); }
.ov-label { font-size: 12px; color: var(--muted); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.ov-num { font-size: 23px; font-weight: 600; line-height: 1.15; font-variant-numeric: tabular-nums; }
.ov-note { font-size: 12px; color: var(--muted); margin-top: auto; padding-top: 6px; }
.ov-pink { color: var(--pink); }
.ov-pink .ov-num { color: var(--pink-text); }
.ov-lavender { color: #8b6ad6; }
.ov-lavender .ov-num { color: var(--lavender-text); }
.ov-gold { color: #c99a2e; }
.ov-gold .ov-num { color: var(--gold-text); }
.ov-plain { color: var(--muted); }
.ov-plain .ov-num { color: var(--text); }
svg.spark:not(.chip):not(.dot-chip):not(.chip-dot) { display: block; width: 100%; height: 26px; margin-top: 4px; overflow: visible; stroke: none; fill: none; }
.spark-line { fill: none; stroke: currentColor; stroke-width: 1.7; stroke-linejoin: round; vector-effect: non-scaling-stroke; }
.spark-area { fill: currentColor; opacity: .1; }

.ov-row { display: grid; grid-template-columns: minmax(0, 2fr) minmax(0, 1fr); gap: 14px; align-items: start; }
.ov-row-single { grid-template-columns: minmax(0, 1fr); }
.ov-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; align-items: start; }
.ov-head { display: flex; align-items: center; justify-content: space-between; gap: 8px 10px; margin-bottom: 8px; flex-wrap: wrap; }
:is(body.is-team, body.is-partner) .ov-head h2 { margin: 0; font-size: 15px; gap: 8px; }
.ov-pill { display: inline-grid; place-items: center; min-width: 22px; height: 20px; padding: 0 7px; border-radius: 999px; background: var(--blush-2); color: var(--pink-text); font-size: 11.5px; font-weight: 600; }
.ov-all { font-size: 12.5px; color: var(--pink-text); text-decoration: none; white-space: nowrap; }
.ov-all:hover { text-decoration: underline; }
.ov-range { display: inline-flex; padding: 2px; border: 1px solid var(--line); border-radius: 9px; background: #fff; }
.ov-range a { padding: 3px 10px; border-radius: 7px; font-size: 12px; color: var(--muted); text-decoration: none; white-space: nowrap; }
.ov-range a[aria-current] { background: var(--pink); color: #fff; }
.ov-chart-totals { display: flex; gap: 26px; flex-wrap: wrap; margin: 2px 0 6px; font-size: 12px; color: var(--muted); }
.ov-chart-totals div { display: flex; flex-direction: column; gap: 1px; }
.ov-chart-totals strong { font-size: 18px; font-weight: 600; color: var(--text); font-variant-numeric: tabular-nums; }
.ov-key { display: inline-block; width: 8px; height: 8px; border-radius: 50%; margin-right: 5px; }
.ov-key-sales { background: var(--pink); }
.ov-key-comm { background: #9b7be0; }
svg.chart:not(.chip):not(.dot-chip):not(.chip-dot) { display: block; width: 100%; height: auto; stroke: none; fill: none; }
.chart-grid { stroke: #f6e4ec; stroke-width: 1; }
.chart-axis { fill: var(--muted); font-size: 11px; font-family: inherit; }
.chart-area { fill: rgba(235, 76, 137, .1); }
.chart-sales { fill: none; stroke: var(--pink); stroke-width: 2.2; stroke-linejoin: round; }
.chart-comm { fill: none; stroke: #9b7be0; stroke-width: 2; stroke-linejoin: round; }
.chart-point rect { fill: transparent; }
.chart-point:hover rect { fill: rgba(235, 76, 137, .06); }
.dot-sales { fill: #fff; stroke: var(--pink); stroke-width: 2; }

.ov-list { list-style: none; margin: 0; padding: 0; }
.ov-list li { display: flex; align-items: center; gap: 10px; padding: 8px 0; border-bottom: 1px solid #f8e8ee; font-size: 14px; min-width: 0; }
.ov-list li:last-child { border-bottom: 0; }
.ov-who { display: flex; flex-direction: column; flex: 1; min-width: 0; line-height: 1.3; }
.ov-who a, .ov-person a { color: #1f1a22; font-weight: 600; text-decoration: none; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.ov-who a:hover, .ov-person a:hover { color: var(--pink-text); text-decoration: underline; }
.ov-meta { color: var(--muted); font-size: 12.5px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.ov-when { color: var(--muted); font-size: 12px; white-space: nowrap; font-variant-numeric: tabular-nums; }
.ov-day { flex: none; min-width: 52px; text-align: center; font-size: 12px; font-weight: 600; color: var(--pink-text); background: #fde8f0; border-radius: 8px; padding: 3px 8px; }
.ov-kind { font-size: 11.5px; color: var(--lavender-text); background: var(--lavender); border-radius: 999px; padding: 2px 9px; white-space: nowrap; }
.ov-empty, .ov-empty-state span { color: var(--muted); font-size: 13px; }
.ov-empty { margin: 8px 0 0; }
.ov-empty-state { display: flex; flex-direction: column; align-items: center; text-align: center; gap: 3px; padding: 14px 8px 10px; }
.ov-empty-state strong { font-size: 14px; color: var(--lavender-text); font-weight: 600; }
.ov-empty-state .ov-empty-icon { display: grid; place-items: center; width: 44px; height: 44px; margin-bottom: 4px; border-radius: 50%; background: var(--blush-2); color: var(--pink); }
.ov-empty-icon svg { width: 22px; height: 22px; fill: none; stroke: currentColor; stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; }
.ov-table td { vertical-align: middle; }
.ov-table .num { text-align: right; font-variant-numeric: tabular-nums; }
.ov-person { display: inline-flex; align-items: center; gap: 8px; max-width: 220px; }
.ov-code { font-size: 12px; font-weight: 600; letter-spacing: .03em; color: var(--lavender-text); background: #f7f2fd; border-radius: 6px; padding: 2px 7px; white-space: nowrap; }
.search-page { display: flex; gap: 8px; }
.search-page input { flex: 1; }

@media (max-width: 1100px) {
  .ov-row { grid-template-columns: minmax(0, 1fr); }
  :is(body.is-team, body.is-partner) .top-search input { width: 220px; }
}
@media (max-width: 860px) {
  .ov-group { grid-template-columns: repeat(2, minmax(0, 1fr)); flex-basis: 100%; }
  .ov-group:not(.ov-money) > .ov-kpi:nth-child(3) { border-left: 0; }
  .ov-group:not(.ov-money) > .ov-kpi:nth-child(n+3) { border-top: 1px solid #fbeaf1; }
  .ov-money-wrap { flex-basis: 100%; border-left: 0; border-top: 1px solid var(--line); }
  .ov-money { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .ov-num { font-size: 19px; }
  .ov-grid { grid-template-columns: minmax(0, 1fr); }
  .top-search { display: none; }
  .ov-when { display: none; }
}
/* Tables marked "stack" by app.js (phone card layout) also matched the .stack column utility, which made them flex boxes:
   on wider screens the columns shrank to their content instead of filling the table. Keep them real tables; the phone
   rules above (.table-wrap table.stack, more specific) still turn rows into cards. */
table.stack { display: table; gap: 0; }

/* Liquid glass admin theme (2026-11-17, Bryan picked ChatGPT's "Liquid glass" concept, igelpr/design/admin-concept-1-liquid-glass.png):
   frosted glass panels over a soft wash of the site's own colours (blush, pink card, lavender), with 18-20px corners and
   a light pink glow on the main buttons. Bryan asked for the same colours as the website, so every colour here is one of
   the :root tokens; only the glass is new. Admin pages (body.is-team) and, from the same day, the influencer side
   (body.is-partner); public pages are unchanged. */
:is(body.is-team, body.is-partner) {
  --glass: rgba(255, 255, 255, .55);
  --glass-strong: rgba(255, 255, 255, .74);
  --glass-line: rgba(255, 255, 255, .78);
  --glass-shadow: 0 1px 1px rgba(255, 255, 255, .6) inset, 0 10px 30px -14px rgba(176, 52, 120, .28), 0 2px 6px -2px rgba(150, 70, 140, .08);
  --glow: 0 6px 16px -8px rgba(235, 76, 137, .55);
  background:
    radial-gradient(900px 620px at 12% -8%, rgba(236, 140, 198, .42) 0%, rgba(236, 140, 198, 0) 62%),
    radial-gradient(820px 600px at 98% 4%, rgba(199, 166, 242, .40) 0%, rgba(199, 166, 242, 0) 62%),
    radial-gradient(900px 640px at 62% 104%, rgba(235, 76, 137, .20) 0%, rgba(235, 76, 137, 0) 60%),
    radial-gradient(760px 560px at -4% 96%, rgba(199, 166, 242, .30) 0%, rgba(199, 166, 242, 0) 60%),
    linear-gradient(135deg, var(--blush-2) 0%, var(--lavender) 50%, var(--pink-card) 100%);
  background-attachment: fixed;
}
:is(body.is-team, body.is-partner) .main { background: transparent; }

/* Frosted panels */
:is(body.is-team, body.is-partner) .card, :is(body.is-team, body.is-partner) .ov-kpi, :is(body.is-team, body.is-partner) .sidebar, :is(body.is-team, body.is-partner) .topbar .top-search input,
:is(body.is-team, body.is-partner) .bell, :is(body.is-team, body.is-partner) .live-edit-switch {
  -webkit-backdrop-filter: blur(18px) saturate(1.5); backdrop-filter: blur(18px) saturate(1.5);
}
:is(body.is-team, body.is-partner) .card { background: var(--glass); border: 1px solid var(--glass-line); border-radius: 20px; box-shadow: var(--glass-shadow); }
:is(body.is-team, body.is-partner) .card .card, :is(body.is-team, body.is-partner) .card .tile { background: rgba(255, 255, 255, .55); }

/* Sidebar floats as one glass panel on wide screens */
:is(body.is-team, body.is-partner) .sidebar { background: rgba(255, 255, 255, .5); border-right: 1px solid var(--glass-line); }
@media (min-width: 861px) {
  :is(body.is-team, body.is-partner) .sidebar { margin: 12px 0 12px 12px; height: calc(100vh - 24px); top: 12px; border: 1px solid var(--glass-line); border-radius: 22px; box-shadow: var(--glass-shadow); }
}
@media (max-width: 860px) {
  :is(body.is-team, body.is-partner) .sidebar { background: rgba(255, 252, 254, .92); }
}
:is(body.is-team, body.is-partner) .brand { border-bottom-color: rgba(214, 160, 196, .35); }
:is(body.is-team, body.is-partner) .nav a:hover, :is(body.is-team, body.is-partner) .nav-group > summary:hover { background: rgba(255, 255, 255, .7); }
:is(body.is-team, body.is-partner) .nav a[aria-current="page"] { box-shadow: 0 0 0 1px rgba(255, 255, 255, .8) inset, 0 4px 12px -8px rgba(235, 76, 137, .5); }
:is(body.is-team, body.is-partner) .nav-tabs { border-bottom-color: rgba(214, 160, 196, .35); }
:is(body.is-team, body.is-partner) .nav-tabs a { background: rgba(255, 255, 255, .6); border-color: var(--glass-line); }
:is(body.is-team, body.is-partner) .nav-tabs a[aria-current="true"] { background: var(--pink); border-color: var(--pink); box-shadow: var(--glow); }

/* Top bar: no white strip, glass search and controls */
:is(body.is-team, body.is-partner) .topbar { background: transparent; border-bottom: 0; padding-top: 16px; padding-bottom: 6px; }
:is(body.is-team, body.is-partner) .topbar h1 { font-size: 23px; font-weight: 600; letter-spacing: -.01em; }
:is(body.is-team, body.is-partner) .top-search input { background: rgba(255, 255, 255, .62); border: 1px solid var(--glass-line); border-radius: 999px; box-shadow: var(--glass-shadow); }
:is(body.is-team, body.is-partner) .top-search input:focus { background: rgba(255, 255, 255, .9); }
:is(body.is-team, body.is-partner) .bell { background: rgba(255, 255, 255, .6); border: 1px solid var(--glass-line); border-radius: 50%; box-shadow: var(--glass-shadow); }

/* Buttons and pills glow */
:is(body.is-team, body.is-partner) .btn:not(.btn-ghost):not(.btn-danger) { box-shadow: var(--glow); }
:is(body.is-team, body.is-partner) .btn-ghost, :is(body.is-team, body.is-partner) .btn-danger { background: rgba(255, 255, 255, .65); }
:is(body.is-team, body.is-partner) .pills a { background: rgba(255, 255, 255, .55); border-color: var(--glass-line); }
:is(body.is-team, body.is-partner) .pills a[aria-current="page"] { background: var(--blush-2); }

/* Tables and form fields sit on glass */
:is(body.is-team, body.is-partner) thead th { background: rgba(255, 255, 255, .55); border-bottom-color: rgba(214, 160, 196, .35); }
:is(body.is-team, body.is-partner) td { border-bottom-color: rgba(214, 160, 196, .22); }
:is(body.is-team, body.is-partner) input[type="text"], :is(body.is-team, body.is-partner) input[type="email"], :is(body.is-team, body.is-partner) input[type="password"], :is(body.is-team, body.is-partner) input[type="tel"],
:is(body.is-team, body.is-partner) input[type="url"], :is(body.is-team, body.is-partner) input[type="number"], :is(body.is-team, body.is-partner) input[type="date"], :is(body.is-team, body.is-partner) input[type="search"],
:is(body.is-team, body.is-partner) select, :is(body.is-team, body.is-partner) textarea { background: rgba(255, 255, 255, .72); border-color: rgba(222, 180, 205, .7); }
:is(body.is-team, body.is-partner) .ov-list li, :is(body.is-team, body.is-partner) .list li { border-bottom-color: rgba(214, 160, 196, .22); }

/* Overview: each number becomes its own glass tile, like the concept */
:is(body.is-team, body.is-partner) .ov-kpis.card { background: transparent; border: 0; box-shadow: none; -webkit-backdrop-filter: none; backdrop-filter: none; overflow: visible; gap: 10px; }
:is(body.is-team, body.is-partner) .ov-group { gap: 10px; }
:is(body.is-team, body.is-partner) .ov-money-wrap { background: transparent; border: 0; gap: 4px; }
:is(body.is-team, body.is-partner) .ov-money-wrap { position: relative; }
:is(body.is-team, body.is-partner) .ov-group-label { position: absolute; left: 6px; bottom: calc(100% + 3px); padding: 0; }
:is(body.is-team, body.is-partner) .ov-kpis.card { margin-top: 8px; }
:is(body.is-team, body.is-partner) .ov-group > .ov-kpi + .ov-kpi { border-left: 1px solid var(--glass-line); }
:is(body.is-team, body.is-partner) .ov-kpi { background: var(--glass); border: 1px solid var(--glass-line); border-radius: 18px; box-shadow: var(--glass-shadow); padding: 12px 14px 10px; }
:is(body.is-team, body.is-partner) .ov-kpi:hover { background: var(--glass-strong); transform: translateY(-1px); }
:is(body.is-team, body.is-partner) .ov-kpi { transition: background .15s ease, transform .15s ease; }
.ov-kpi-top { display: flex; align-items: center; gap: 7px; min-width: 0; }
.ov-kpi-icon { flex: none; display: grid; place-items: center; width: 24px; height: 24px; border-radius: 8px; background: rgba(255, 255, 255, .8); }
.ov-kpi-icon svg:not(.chip):not(.dot-chip):not(.chip-dot) { width: 15px; height: 15px; stroke: currentColor; }
:is(body.is-team, body.is-partner) .ov-pill { background: rgba(255, 255, 255, .8); box-shadow: 0 0 0 1px rgba(235, 76, 137, .18); }
:is(body.is-team, body.is-partner) .ov-range { background: rgba(255, 255, 255, .6); border-color: var(--glass-line); border-radius: 999px; }
:is(body.is-team, body.is-partner) .ov-range a { border-radius: 999px; }
:is(body.is-team, body.is-partner) .ov-range a[aria-current] { box-shadow: var(--glow); }
:is(body.is-team, body.is-partner) .ov-empty-state .ov-empty-icon { background: rgba(255, 255, 255, .75); box-shadow: 0 6px 16px -8px rgba(235, 76, 137, .5); }
:is(body.is-team, body.is-partner) .ov-day { background: rgba(255, 255, 255, .8); }
:is(body.is-team, body.is-partner) .chart-sales { filter: drop-shadow(0 3px 6px rgba(235, 76, 137, .45)); }
:is(body.is-team, body.is-partner) .chart-grid { stroke: rgba(214, 160, 196, .35); }

@media (prefers-reduced-transparency: reduce) {
  :is(body.is-team, body.is-partner) .card, :is(body.is-team, body.is-partner) .ov-kpi, :is(body.is-team, body.is-partner) .sidebar { background: #fffafd; -webkit-backdrop-filter: none; backdrop-filter: none; }
}
@media (max-width: 860px) {
  :is(body.is-team, body.is-partner) { background-attachment: scroll; }
  :is(body.is-team, body.is-partner) .topbar { background: rgba(255, 250, 253, .8); -webkit-backdrop-filter: blur(14px); backdrop-filter: blur(14px); }
  :is(body.is-team, body.is-partner) .ov-group { gap: 8px; }
  :is(body.is-team, body.is-partner) .ov-group:not(.ov-money) > .ov-kpi:nth-child(n+3) { border-top: 1px solid var(--glass-line); }
  :is(body.is-team, body.is-partner) .ov-group-label { position: static; margin: 6px 0 4px; }
}

/* Glass for the admin sections that bring their own stylesheet: Support (support-admin.css, kept by the Support work, so
   these are overrides from here and that file stays untouched) and Ads management (growth.css). Each rule outweighs the
   section's own white panel rule; tabs and buttons keep their own states. */
body.is-team .sp-scope { background: transparent; }
body.is-team .sp-scope :is(.sp-card, .sp-stat, .sp-topic-group, .sp-reach-card, .sp-topic) {
  background: var(--glass); border: 1px solid var(--glass-line); box-shadow: var(--glass-shadow);
  -webkit-backdrop-filter: blur(18px) saturate(1.5); backdrop-filter: blur(18px) saturate(1.5);
}
body.is-team .sp-scope .sp-msg:not(.sp-msg-team):not(.sp-msg-note) { background: var(--glass-strong); border-color: var(--glass-line); }
body.is-team :is(.gpart, .gfix) {
  background: var(--glass); border: 1px solid var(--glass-line); box-shadow: var(--glass-shadow);
  -webkit-backdrop-filter: blur(18px) saturate(1.5); backdrop-filter: blur(18px) saturate(1.5);
}
body.is-team .gchip { background: rgba(255, 255, 255, .6); border-color: var(--glass-line); }

/* Team access (2026-11-17, team/members.php): role chips (several, or Admin alone), each person as a card that opens to
   their roles and per-section overrides, and None / View only / Edit per section in each role. */
.role-field, .override-field { border: 0; margin: 0; padding: 0; min-width: 0; }
.role-field legend, .override-field legend { padding: 0; margin-bottom: 6px; font-size: 13px; font-weight: 500; color: #3d3640; }
.role-pick { display: flex; flex-wrap: wrap; gap: 6px; }
.role-chip { display: inline-flex; flex-direction: row; align-items: center; gap: 0; margin: 0; cursor: pointer; }
.role-chip input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.role-chip span { display: inline-flex; align-items: center; gap: 6px; padding: 5px 12px; border-radius: 999px; border: 1px solid var(--line);
  background: rgba(255, 255, 255, .7); color: #3d3640; font-size: 13.5px; font-weight: 500; transition: background .15s ease, border-color .15s ease, color .15s ease; }
.role-chip span::before { content: ""; display: inline-grid; place-items: center; width: 14px; height: 14px; border-radius: 4px; border: 1.5px solid #e2b8cb;
  background: #fff; flex: none; font-size: 10px; line-height: 1; color: #fff; font-weight: 700; }
.role-chip input:checked + span { background: var(--blush-2); border-color: var(--ring-a); color: var(--pink-text); }
.role-chip input:checked + span::before { content: "\2713"; background: var(--pink); border-color: var(--pink); }
.role-chip input:focus-visible + span { outline: 2px solid var(--ring-a); outline-offset: 2px; }
.role-chip-admin input:checked + span { background: var(--gold-wash); border-color: #e6c77e; color: var(--gold-text); }
.role-chip-admin input:checked + span::before { background: #c99a2e; border-color: #c99a2e; }

.member-list { display: flex; flex-direction: column; gap: 8px; }
.member-card { border: 1px solid var(--line); border-radius: 14px; background: rgba(255, 255, 255, .6); }
.member-card.dim { opacity: .6; }
.member-card > summary { list-style: none; display: grid; grid-template-columns: auto minmax(0, 1.4fr) minmax(0, 1.2fr) auto auto; align-items: center;
  gap: 12px; padding: 10px 14px; cursor: pointer; }
.member-card > summary::-webkit-details-marker { display: none; }
.member-card > summary::after { content: ""; width: 7px; height: 7px; border-right: 2px solid var(--muted); border-bottom: 2px solid var(--muted);
  transform: rotate(45deg); margin: -4px 4px 0 0; transition: transform .15s ease; grid-column: -1; grid-row: 1; justify-self: end; }
.member-card[open] > summary::after { transform: rotate(-135deg); margin-top: 4px; }
.member-card > summary { grid-template-columns: auto minmax(0, 1.4fr) minmax(0, 1.2fr) auto auto 14px; }
.member-who { display: flex; flex-direction: column; min-width: 0; line-height: 1.3; }
.member-who .muted { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.member-roles { font-size: 13.5px; font-weight: 500; color: var(--pink-text); min-width: 0; }
.member-body { padding: 4px 14px 14px; border-top: 1px solid var(--line); display: flex; flex-direction: column; gap: 12px; }
.member-form { display: flex; flex-direction: column; gap: 14px; padding-top: 10px; }
.member-actions { display: flex; gap: 8px; flex-wrap: wrap; }
.member-actions form { margin: 0; }

.access-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 6px 18px; }
.access-row { display: flex; align-items: center; justify-content: space-between; gap: 10px; padding: 6px 8px; border-radius: 10px; min-width: 0; }
.access-row:nth-child(4n+1), .access-row:nth-child(4n+2) { background: rgba(253, 238, 244, .55); }
.access-row.is-custom { box-shadow: inset 3px 0 0 var(--pink); background: var(--blush-2); }
.access-name { display: flex; flex-direction: column; min-width: 0; font-size: 13.5px; font-weight: 500; color: #2b2b2b; }
.access-name .perm-note { font-size: 11.5px; font-weight: 400; color: var(--muted); }
.access-row select { width: auto; min-width: 150px; flex: none; }
.level-pick { display: inline-flex; flex: none; padding: 2px; border: 1px solid var(--line); border-radius: 999px; background: rgba(255, 255, 255, .7); }
.level-opt { display: inline-flex; flex-direction: row; margin: 0; cursor: pointer; }
.level-opt input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.level-opt span { padding: 3px 10px; border-radius: 999px; font-size: 12px; font-weight: 500; color: var(--muted); white-space: nowrap; }
.level-opt input:checked + span { color: #fff; }
.level-none input:checked + span { background: #8e8593; }
.level-view input:checked + span { background: #8b6ad6; }
.level-edit input:checked + span { background: var(--pink); }
.level-opt input:focus-visible + span { outline: 2px solid var(--ring-a); outline-offset: 1px; }

.flash-read-only { background: var(--lavender); color: var(--lavender-text); border: 1px solid #ddd0f7; }
body[data-read-only] main form[method="post"]:not([action^="/team/site"]) button[type="submit"],
body[data-read-only] main form[method="post"]:not([action^="/team/site"]) .btn { opacity: .5; cursor: not-allowed; }

@media (max-width: 860px) {
  .member-card > summary { grid-template-columns: auto minmax(0, 1fr) 14px; }
  .member-card > summary .member-roles { grid-column: 2; }
  .member-card > summary .member-access, .member-card > summary .member-seen { display: none; }
  .member-card > summary::after { grid-row: 1; }
  .access-grid { grid-template-columns: minmax(0, 1fr); }
  .access-row:nth-child(4n+1), .access-row:nth-child(4n+2) { background: none; }
  .access-row:nth-child(odd) { background: rgba(253, 238, 244, .55); }
  .access-row { flex-wrap: wrap; }
}
.role-card .form > * { grid-column: 1 / -1; }
.role-card .form > label { max-width: 360px; }

/* Customers (2026-11-17, team/customers.php and team/customer.php). */
.cust-blocker { padding: 10px 14px; border-radius: 12px; background: var(--gold-wash); color: var(--gold-text); font-size: 13.5px; }
.cust-steps { margin-top: 6px; color: #3d3640; }
.cust-steps summary { cursor: pointer; color: var(--pink-text); font-weight: 500; }
.cust-steps ol { margin: 8px 0 0; padding-left: 20px; display: flex; flex-direction: column; gap: 4px; }
.cust-status { margin: 8px 0 0; }
.cust-error { color: #a3123f; }
.cust-filters { margin: 10px 0 6px; }
.cust-filters a .muted { font-size: 11.5px; }
.cust-head { display: flex; align-items: center; gap: 14px; flex-wrap: wrap; }
.cust-head .avatar { width: 44px; height: 44px; font-size: 15px; }
.cust-head .ov-who strong { font-size: 17px; }
.cust-stats { display: flex; gap: 22px; margin-left: auto; }
.cust-stats div { display: flex; flex-direction: column; }
.cust-stats strong { font-size: 17px; font-variant-numeric: tabular-nums; }
.cust-sync { display: flex; align-items: center; gap: 8px; }
.cust-head .cust-error { flex-basis: 100%; margin: 0; }
.cust-facts { margin: 0 0 8px; display: flex; flex-direction: column; gap: 6px; font-size: 13.5px; }
.cust-facts div { display: grid; grid-template-columns: 130px 1fr; gap: 8px; }
.cust-facts dt { color: var(--muted); }
.cust-facts dd { margin: 0; }
.pager { display: flex; align-items: center; justify-content: center; gap: 12px; margin-top: 12px; }
@media (max-width: 860px) { .cust-stats { margin-left: 0; } }

/* The sidebar keeps the same width on every tab (Bryan 2026-11-18): a thin scrollbar with its space always kept, on both
   sides so the menu stays centred, whether or not that tab's menu is long enough to scroll. */
:is(body.is-team, body.is-partner) .sidebar { padding-left: 6px; padding-right: 6px; scrollbar-gutter: stable both-edges; scrollbar-width: thin;
  scrollbar-color: rgba(214, 160, 196, .55) transparent; }
/* Assignments (a fold-out in the menu) sits the same distance from its neighbours as any other menu item. */
.nav-group > summary { margin: 0; }
.sub-billing-facts { grid-template-columns: repeat(4, minmax(0, 1fr)); margin-bottom: 12px; }
.sub-scopes { list-style: none; margin: 0; padding: 0; display: grid; gap: 6px; font-size: 14px; }
.sub-scopes code, .sub-setup code { font-size: 13px; background: var(--blush); padding: 1px 6px; border-radius: 6px; }
.sub-setup { margin: 0; padding-left: 22px; display: grid; gap: 16px; }
.sub-setup p { margin: 4px 0 0; font-size: 14px; }
.sub-setup-head { display: flex; gap: 10px; align-items: center; }
.sub-billing-form { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px 14px; margin-top: 8px; max-width: 640px; }
.sub-billing-form .button-row { grid-column: 1 / -1; }
.sub-reason { width: 100%; margin-top: 6px; font-size: 13px; }
@media (max-width: 640px) { .sub-billing-facts, .sub-billing-form { grid-template-columns: 1fr; } }
.sub-package-new { display: grid; grid-template-columns: 2fr 1fr 1fr; gap: 12px 14px; align-items: end; }
.sub-package-new .sub-wide { grid-column: 1 / -1; }
.sub-pkg-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)); gap: 16px; margin-top: 16px; }
.sub-pkg { display: flex; flex-direction: column; gap: 6px; margin: 0; color: inherit; text-decoration: none; transition: transform .15s ease; }
.sub-pkg:hover { transform: translateY(-2px); }
.sub-pkg h3 { margin: 0; font-size: 17px; }
.sub-pkg p { margin: 0; }
.sub-pkg-photo { aspect-ratio: 16 / 10; border-radius: 12px; overflow: hidden; background: var(--blush); }
.sub-pkg-photo img { width: 100%; height: 100%; object-fit: cover; display: block; }
.sub-badge-archived { background: #f1edf3; color: #5d5562; }
.sub-shopify .sub-billing-facts { margin: 10px 0; }
@media (max-width: 640px) { .sub-package-new { grid-template-columns: 1fr; } }
