/* 1klyQ shared visual language.
   Values transcribed from the public site's stylesheet so every subdomain uses
   the same rhythm. Nothing here links back to the public site - the numbers are
   copied, not referenced. */

*, *::before, *::after { box-sizing: border-box; }
html, body { margin: 0; padding: 0; }

body {
  font-family: var(--ui, system-ui, sans-serif);
  background: var(--charcoal, #FAFAF7);
  color: var(--white, #15171B);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}

/* ---------------------------------------------------------------- layout --- */

.wrap {
  max-width: var(--max, 1280px);
  margin: 0 auto;
  padding-left: var(--pad, clamp(24px, 5vw, 64px));
  padding-right: var(--pad, clamp(24px, 5vw, 64px));
}

.wrap.tight { max-width: 720px; }
.wrap.slim  { max-width: 460px; }

section {
  position: relative;
  padding-top: var(--sec-top, clamp(77px, 9.6vw, 140px));
  padding-bottom: var(--sec-bottom, clamp(61px, 7.7vw, 112px));
}

/* ---------------------------------------------------------------- header --- */

body.app .site-header { position: fixed; left: 0; right: 0; }

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: var(--charcoal, #FAFAF7);
  border-bottom: 1px solid var(--well, rgba(26,29,33,.08));
}

.site-header .wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  height: var(--header-h, 76px);
}

.brand {
  display: flex;
  align-items: center;
  gap: var(--brand-gap, 14px);
  text-decoration: none;
  color: inherit;
}

.mark {
  display: block;
  width: auto;
  height: var(--logo-h, 26px);
}

.brand .logo-svg,
.brand img {
  display: block;
  width: auto;
  height: var(--logo-h, 26px);
}

.brand .tag {
  font-family: var(--mono, ui-monospace,SFMono-Regular,Menlo,monospace);
  font-size: 11px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--dim-2, rgba(26,29,33,.40));
}

.header-right {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-left: auto;
}

/* --------------------------------------------------------------- buttons --- */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 4px;
  padding: 10px 18px;
  border-radius: var(--radius-pill, 999px);
  font-family: var(--mono, ui-monospace,SFMono-Regular,Menlo,monospace);
  font-size: 13px;
  letter-spacing: 0.02em;
  white-space: normal;
  max-width: 100%;
  text-align: center;
  text-decoration: none;
  cursor: pointer;
  border: 1px solid var(--k-offline, rgba(26,29,33,.14));
  background: none;
  color: var(--white, #15171B);
  transition: transform 0.1s var(--ease-out, cubic-bezier(0.22, 1, 0.36, 1));
}
.btn:active { transform: scale(0.98); }

.btn-primary { background: var(--lime, #BFF06E); border-color: var(--lime, #BFF06E); color: #15171B; font-weight: 500; }
.btn-ghost   { color: var(--dim, rgba(26,29,33,.60)); }
.btn-danger  { color: var(--red, #EE3F3A); border-color: rgba(238, 63, 58, 0.35); }
.btn-block   { width: 100%; }

/* ----------------------------------------------------------------- type --- */

h1, h2, h3, h4 { margin: 0; font-weight: 400; line-height: 1.2; }
h1 { font-family: var(--display, Georgia,serif); font-size: clamp(28px, 4vw, 40px);letter-spacing:var(--track-title) }
h2 { font-size: 22px; }
h3 { font-size: 17px; font-weight: 500; }
p  { margin: 0; }

.label {
  font-family: var(--mono, ui-monospace,SFMono-Regular,Menlo,monospace);
  font-size: 10px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--dim-2, rgba(26,29,33,.40));
}

.lede { color: var(--dim, rgba(26,29,33,.60)); font-size: 15px; }

/* ---------------------------------------------------------------- panels --- */

.panel {
  background: var(--card, #FFFFFF);
  border: 1px solid var(--well, rgba(26,29,33,.08));
  border-radius: var(--radius-lg, 8px);
  padding: 18px;
}

a { color: var(--ink-cyan, var(--cyan, #47D3DA)); }

/* --------------------------------------------------------------- footer --- */

.site-footer {
  border-top: 1px solid var(--well, rgba(26,29,33,.08));
  padding-top: 22px;
  margin-top: 50px;
  font-size: 12.5px;
  color: var(--dim-2, rgba(26,29,33,.40));
}

/* ------------------------------------------------------- shared surfaces --- */

.pageH { margin-bottom: 26px; }
.pageH h1 { font-family: var(--display, Georgia,serif); font-size: clamp(26px, 4vw, 34px);letter-spacing:var(--track-title) }
.pageH .sub { margin-top: 8px; font-size: 13.5px; color: var(--dim-2, rgba(26,29,33,.40)); line-height: 1.6; }

.cards {
  display: grid;
  gap: var(--card-gap, 12px);
  grid-template-columns: repeat(2, minmax(0, 1fr));
  margin-bottom: 22px;
}

@media (min-width: 620px) {
  .cards { grid-template-columns: repeat(auto-fit, minmax(var(--card-min, 184px), 1fr)); }
}

.cards.wide  { --card-min: 250px; }
.cards.tight { --card-min: 150px; }

.card {
  --tone: var(--dim, var(--dim, rgba(26,29,33,.60)));
  position: relative;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  gap: 12px;
  min-height: 106px;
  padding: 15px 15px 14px;
  background: var(--card, #FFFFFF);
  border: 1px solid var(--well, rgba(26,29,33,.08));
  border-radius: var(--radius-lg, 8px);
  transition: border-color .18s var(--ease-out, cubic-bezier(0.22,1,0.36,1));
}

.card::before { content: ""; position: absolute; top: 0; bottom: 0; left: 0; width: 2px; background: var(--tone); }
.card::after  { content: ""; position: absolute; inset: 0; pointer-events: none; opacity: .07; background: var(--tone); }
.card > * { position: relative; z-index: 1; }
.card:hover { border-color: var(--tone); }

.card .k {
  font-family: var(--mono, ui-monospace,SFMono-Regular,Menlo,monospace);
  font-size: 8.5px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--dim-2, rgba(26,29,33,.40));
  display: block;
  line-height: 1.5;
}

.card .v {
  font-family: var(--figure, var(--display, Georgia,serif));
  font-size: clamp(23px, 5vw, 30px);
  line-height: 1;
  color: var(--tone);
  margin-top: auto;
  overflow-wrap: anywhere;
}

.card .m {
  font-family: var(--mono, ui-monospace,SFMono-Regular,Menlo,monospace);
  font-size: 9px;
  letter-spacing: 0.1em;
  color: var(--dim-2, rgba(26,29,33,.40));
  line-height: 1.5;
}

.card.lime   { --tone: var(--ink-lime, var(--lime)); }
.card.cyan   { --tone: var(--ink-cyan, var(--cyan)); }
.card.orange { --tone: var(--ink-orange, var(--orange)); }
.card.red    { --tone: var(--ink-red, var(--red)); }
.card.gray   { --tone: var(--dim, var(--dim, rgba(26,29,33,.60))); }
.card.gray .v { color: var(--white, #15171B); }

a.card { text-decoration: none; color: inherit; }

.rowset {
  background: var(--card, #FFFFFF);
  border: 1px solid var(--well, rgba(26,29,33,.08));
  border-radius: var(--radius-lg, 8px);
  overflow: hidden;
  margin-bottom: 14px;
}

.rowset .hd {
  font-family: var(--mono, ui-monospace,SFMono-Regular,Menlo,monospace);
  font-size: 9px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--dim-2, rgba(26,29,33,.40));
  padding: 14px 15px 11px;
  border-bottom: 1px solid var(--well, rgba(26,29,33,.08));
}

.rowset .rw {
  display: flex;
  align-items: center;
  gap: 11px;
  padding: 13px 15px;
  border-bottom: 1px solid var(--well, rgba(26,29,33,.08));
  text-decoration: none;
  color: inherit;
}

.rowset .rw:last-child { border-bottom: 0; }
.rowset a.rw:hover { background: var(--well, #EFEFEC); }
.rowset .rw .t { flex: 1; min-width: 0; font-size: 13.5px; word-break: break-word; }

.rowset .rw .go {
  font-family: var(--mono, ui-monospace,SFMono-Regular,Menlo,monospace);
  font-size: 8.5px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--dim-2, rgba(26,29,33,.40));
  flex: none;
}

.kv { display: flex; gap: 12px; padding: 8px 0; border-bottom: 1px solid var(--well, rgba(26,29,33,.08)); font-size: 13px; }
.kv:last-of-type { border-bottom: 0; }

.kv .k {
  flex: 0 0 116px;
  font-family: var(--mono, ui-monospace,SFMono-Regular,Menlo,monospace);
  font-size: 8.5px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--dim-2, rgba(26,29,33,.40));
  padding-top: 3px;
}

.kv .v { flex: 1; word-break: break-word; }

.chips { display: flex; flex-wrap: wrap; gap: 6px; }

.chips a, .chip {
  display: inline-block;
  font-family: var(--mono, ui-monospace,SFMono-Regular,Menlo,monospace);
  font-size: 8.5px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--dim-2, rgba(26,29,33,.40));
  text-decoration: none;
  border: 1px solid var(--k-offline, rgba(26,29,33,.14));
  border-radius: var(--radius-pill, 999px);
  padding: 7px 12px;
}

.chips a.on { color: var(--ink-cyan, var(--cyan)); border-color: var(--ink-cyan, var(--cyan)); }
.chip.ok   { color: var(--ink-lime, var(--lime)); border-color: currentColor; }
.chip.warn { color: var(--ink-orange, var(--orange)); border-color: currentColor; }
.chip.bad  { color: var(--ink-red, var(--red)); border-color: currentColor; }

.flash { border-radius: var(--radius-md, 6px); padding: 12px 15px; font-size: 13px; margin-bottom: 16px; line-height: 1.55; }
.flash.ok { border: 1px solid var(--ink-lime, var(--lime)); color: var(--ink-lime, var(--lime)); background: none; }
.flash.no { border: 1px solid var(--ink-red, var(--red)); color: var(--ink-red, var(--red)); background: none; }

.none { color: var(--dim-2, rgba(26,29,33,.40)); font-size: 13px; padding: 14px 2px; }

/* ------------------------------------------------------------ drag rows --- */

.dragRow {
  display: flex;
  align-items: center;
  gap: 11px;
  padding: 11px 12px;
  background: var(--well, #EFEFEC);
  border: 1px solid var(--well, rgba(26,29,33,.08));
  border-radius: var(--radius-md, 6px);
  touch-action: pan-y;
  transition: border-color .16s var(--ease-out, cubic-bezier(0.22,1,0.36,1)),
              opacity .16s var(--ease-out, cubic-bezier(0.22,1,0.36,1)),
              transform .16s var(--ease-out, cubic-bezier(0.22,1,0.36,1));
}

.dragRow .grip {
  flex: none;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 30px;
  height: 30px;
  margin: -6px 0 -6px -6px;
  cursor: grab;
  touch-action: none;
  color: var(--dim-2, rgba(26,29,33,.40));
}

.dragRow .grip:active { cursor: grabbing; color: var(--ink-cyan, var(--cyan)); }
.dragRow.hold { border-color: var(--ink-cyan, var(--cyan)); }

.dragRow.drag {
  opacity: .6;
  border-color: var(--ink-cyan, var(--cyan));
  transform: scale(1.01);
  box-shadow: 0 10px 24px rgba(0, 0, 0, .28);
  cursor: grabbing;
}

.dragging .dragRow { touch-action: none; }

/* --------------------------------------------------------- colour picker --- */

.pkSwatch {
  width: 34px;
  height: 30px;
  flex: none;
  padding: 0;
  cursor: pointer;
  border-radius: var(--radius-sm, 4px);
  border: 1px solid var(--k-offline, rgba(26,29,33,.14));
  background-clip: padding-box;
}

input[type="color"][data-pk] { position: absolute; width: 1px; height: 1px; opacity: 0; pointer-events: none; }

.pkWrap { position: fixed; inset: 0; z-index: 200; display: flex; align-items: center; justify-content: center; padding: 20px; background: rgba(0,0,0,.55); }
.pkWrap[hidden] { display: none; }

.pkBox {
  width: 100%;
  max-width: 340px;
  background: var(--card, #FFFFFF);
  border: 1px solid var(--k-offline, rgba(26,29,33,.14));
  border-radius:var(--radius-lg,8px);
  padding: 14px;
}

.pkField { position: relative; width: 100%; aspect-ratio: 1.35; border-radius: var(--radius-md, 6px); touch-action: none; cursor: crosshair; }
.pkHue { position: relative; height: 16px; margin-top: 14px; border-radius: var(--radius-pill, 999px); touch-action: none; cursor: pointer; background: linear-gradient(to right,#f00,#ff0,#0f0,#0ff,#00f,#f0f,#f00); }

.pkDot { position: absolute; top: 50%; left: 0; width: 18px; height: 18px; margin: -9px 0 0 -9px; border-radius: 50%; border: 2px solid #fff; box-shadow: 0 0 0 1px rgba(0,0,0,.45); pointer-events: none; }
.pkField .pkDot { top: 0; }

.pkFoot { display: flex; align-items: center; gap: 9px; margin-top: 14px; }
.pkChip { width: 34px; height: 34px; flex: none; border-radius: var(--radius-md, 6px); border: 1px solid var(--k-offline, rgba(26,29,33,.14)); }

.pkHex {
  flex: 1;
  min-width: 0;
  background: var(--well, #EFEFEC);
  border: 1px solid var(--k-offline, rgba(26,29,33,.14));
  border-radius: var(--radius-md, 6px);
  color: var(--white, #15171B);
  font-family: var(--mono, ui-monospace,SFMono-Regular,Menlo,monospace);
  font-size: 13px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  padding: 10px 11px;
  outline: none;
}

.pkHex:focus { border-color: var(--ink-cyan, var(--cyan)); }

.pkDone {
  flex: none;
  background: var(--lime, #BFF06E);
  border: 1px solid var(--lime, #BFF06E);
  color: #0E0F11;
  font-family: var(--mono, ui-monospace,SFMono-Regular,Menlo,monospace);
  font-size: 9.5px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  font-weight: 700;
  border-radius: var(--radius-md, 6px);
  padding: 11px 15px;
  cursor: pointer;
}


/* ------------------------------------------------------ shared controls --- */

.site-header .wrap{display:flex;align-items:center;justify-content:space-between;gap:16px}

.wordmark{
  font-family: var(--brand, "Comfortaa", sans-serif);
  font-weight: 900;
  font-size: 17px;
  letter-spacing: 0.09em;
  color: var(--white);
  display: inline-flex;
  align-items: baseline;
  line-height: 1;
}
.wordmark .prompt{color: var(--ink-lime, var(--lime))}
.wordmark .slash{color: var(--ink-cyan, var(--cyan)); margin-right: 0.2em}
.wordmark .one{color: var(--ink-lime, var(--lime))}
.wordmark .que{color: var(--ink-red, var(--red))}
.wordmark .cursor{
  display: inline-block;
  margin-left: 0.1em;
  color: var(--ink-red, var(--red));
  font-weight: 700;
  animation: wmBlink 1.1s steps(2) infinite;
}
.wordmark .cursor::before{content: "_"}
.wordmark .b1{letter-spacing:.09em}
.wordmark .b2{font-weight:600;letter-spacing:0;margin-left:.3em}

@keyframes wmBlink{50%{opacity: 0}}

select{
  -webkit-appearance: none;
  appearance: none;
  padding-right: 38px;
  background-image: linear-gradient(45deg, transparent 50%, currentColor 50%),
                    linear-gradient(135deg, currentColor 50%, transparent 50%);
  background-position: calc(100% - 20px) 54%, calc(100% - 15px) 54%;
  background-size: 5px 5px, 5px 5px;
  background-repeat: no-repeat;
}

input:focus, select:focus, textarea:focus{
  outline: none;
  border-color: var(--ink-orange, var(--orange));
  box-shadow: 0 0 0 1px var(--ink-orange, var(--orange));
}

input:focus-visible, select:focus-visible, textarea:focus-visible,
button:focus-visible, a:focus-visible{
  outline: 2px solid var(--ink-orange, var(--orange));
  outline-offset: 2px;
}

.pick{
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  font-family: var(--mono, ui-monospace,monospace);
  font-size: 9.5px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  font-weight: 700;
  padding: 13px 18px;
  border-radius: var(--radius-md, 6px);
  background: var(--orange);
  border: 1px solid var(--orange);
  color: #0E0F11;
}
.pick:hover{filter: brightness(1.06)}
.pick input{position: absolute; inset: 0; opacity: 0; width: 100%; height: 100%; cursor: pointer}


/* --------------------------------------------------------- date picker --- */

.calField{cursor: pointer; width: 100%}

.calWrap2{position: fixed; inset: 0; z-index: 210; display: flex; align-items: center;
  justify-content: center; padding: 20px; background: rgba(0,0,0,.58)}
.calWrap2[hidden]{display: none}

.calWrap2,.pkWrap{-webkit-user-select:none;user-select:none}
.calBox,.pkBox{-webkit-user-select:text;user-select:text;overflow:visible}

.calBox{position: relative; width: 100%; max-width: 330px;
  background: var(--card, #FFFFFF);
  border: 1px solid var(--k-offline, rgba(26,29,33,.14));
  border-radius: 16px; padding: 18px 16px 16px}

.calX{position: absolute; top: -13px; right: -13px; z-index: 40; width: 32px; height: 32px;
  display: flex; align-items: center; justify-content: center; border-radius: 999px;
  background: var(--red); border: 2px solid var(--card, #FFFFFF); color: #0E0F11;
  font-size: 19px; line-height: 1; cursor: pointer; padding: 0}

.calHd{display: flex; align-items: center; justify-content: space-between;
  gap: 10px; margin-bottom: 16px}
.calTtl{font-family: var(--display, Georgia,serif); font-size: 18px; line-height: 1}
.calArr{width: 34px; height: 34px; display: flex; align-items: center; justify-content: center;
  border-radius: 999px; border: 1px solid var(--k-offline, rgba(26,29,33,.14));
  background: none; color: var(--white); font-size: 17px; line-height: 1; cursor: pointer}
.calArr:hover{border-color: var(--ink-orange, var(--orange)); color: var(--ink-orange, var(--orange))}

.calDow2{display: grid; grid-template-columns: repeat(7,1fr); gap: 4px; margin-bottom: 6px}
.calDow2 span{text-align: center; font-family: var(--mono, monospace); font-size: 8px;
  letter-spacing: .12em; text-transform: uppercase; color: var(--dim-2)}

.calGrid2{display: grid; grid-template-columns: repeat(7,1fr); gap: 4px}
.cD2{aspect-ratio: 1; display: flex; align-items: center; justify-content: center;
  border-radius: var(--radius-md, 6px); border: 1px solid transparent;
  background: var(--well, #EFEFEC); color: var(--white);
  font-family: var(--mono, monospace); font-size: 11.5px; cursor: pointer; padding: 0}
.cD2.pad{background: none; border: 0; cursor: default}
.cD2:hover{border-color: var(--ink-orange, var(--orange))}
.cD2.now{border-color: var(--ink-cyan, var(--cyan))}
.cD2.on{background: var(--orange); border-color: var(--orange); color: #0E0F11; font-weight: 700}

.calFoot{display: flex; gap: 8px; margin-top: 16px}
.calGhost{flex: 1; background: none; border: 1px solid var(--k-offline, rgba(26,29,33,.14));
  color: var(--white); font-family: var(--mono, monospace); font-size: 9px;
  letter-spacing: .14em; text-transform: uppercase; font-weight: 700;
  padding: 11px; border-radius: var(--radius-pill, 999px); cursor: pointer}
.calGhost:hover{border-color: var(--ink-orange, var(--orange)); color: var(--ink-orange, var(--orange))}

.pkBox,.calBox{padding:18px}

/* Standing rules for fields, on every site.
   - Fields have rounded corners, never pill ends: every box you type into,
     every drop-down, and the boxes that hold one. Search boxes are the one
     exception: they are pills.
   - Every drop-down shows one arrow: a single drawn triangle (two gradients
     meeting show a seam), quiet grey; a picked, orange picker's is dark; a
     list head's is small, before its label, orange once it filters.
   - Checkboxes and radios are drawn by the page, never the browser: a
     rounded square (a circle for a radio); checked, cyan with a dark tick.
   - Something added to a list is removed with an X in a rounded square.
   - On a phone, a phone number or an email field takes a whole line of its
     own, one under the other, with room between them. */
:where(input:not([type=checkbox]):not([type=radio]):not([type=range]):not([type=color]):not([type=file]):not([type=submit]):not([type=button]):not([type=reset]):not([type=image]),
  textarea,select,.perFyW,.fldW,.fldPick){border-radius:var(--r,8px) !important}
.srchBox,input[type=search],input[data-live],.sFind,.kMenu .kF input{border-radius:999px !important}

select:not([multiple]):not([size]):not(.fldSel):not(.perFy){-webkit-appearance:none !important;appearance:none !important;
  background-image:url("data:image/svg+xml;charset=utf8,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 10 6'%3E%3Cpath d='M1.4 1.2h7.2L5 5z' fill='%2376777A' stroke='%2376777A' stroke-width='1.6' stroke-linejoin='round'/%3E%3C/svg%3E") !important;
  background-repeat:no-repeat !important;background-size:10px 6px !important;background-position:calc(100% - var(--selIn,15px)) 50% !important}
/* A drop-down's arrow sits as far in from its right edge as its words sit
   from its left (--selIn: where this site's fields start their words), and
   the words always stop 10px short of the arrow, however long. */
:root{--selIn:12px}
select:not([multiple]):not([size]):not(.fldSel):not(.lhSel){padding-left:var(--selIn,15px) !important;
  padding-right:calc(var(--selIn,15px) + 20px) !important}
:where(select:not([multiple]):not([size]):not(.fldSel):not(.perFy):not(.lhSel)){padding-right:36px}
select.set:not([multiple]):not([size]):not(.fldSel):not(.perFy){
  background-image:url("data:image/svg+xml;charset=utf8,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 10 6'%3E%3Cpath d='M1.4 1.2h7.2L5 5z' fill='%23F6AE45' stroke='%23F6AE45' stroke-width='1.6' stroke-linejoin='round'/%3E%3C/svg%3E") !important}
.rowset .lHead select.lhSel:not([multiple]):not([size]){background-size:7px 4px !important;background-position:0 55% !important}
.rowset .lHead select.lhSel.on:not([multiple]):not([size]){
  background-image:url("data:image/svg+xml;charset=utf8,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 10 6'%3E%3Cpath d='M1.4 1.2h7.2L5 5z' fill='%23F6AE45' stroke='%23F6AE45' stroke-width='1.6' stroke-linejoin='round'/%3E%3C/svg%3E") !important}

input[type=checkbox],input[type=radio]{-webkit-appearance:none !important;appearance:none !important;flex:none;
  box-sizing:border-box !important;width:18px !important;height:18px !important;min-width:18px;min-height:0 !important;
  margin:0;padding:0 !important;border:1.5px solid var(--dim-2,rgba(245,247,250,.62)) !important;border-radius:5px !important;
  background:transparent no-repeat center / 11px 11px !important;cursor:pointer;vertical-align:middle;accent-color:auto;
  transition:background-color .15s ease,border-color .15s ease}
input[type=radio]{border-radius:50% !important}
input[type=checkbox]:checked{background-color:var(--cyan,#55DCE2) !important;border-color:var(--cyan,#55DCE2) !important;
  background-image:url("data:image/svg+xml;charset=utf8,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 12'%3E%3Cpath d='M2.4 6.3l2.4 2.4 4.8-5.2' fill='none' stroke='%230E0F11' stroke-width='1.9' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") !important}
input[type=radio]:checked{border-color:var(--cyan,#55DCE2) !important;
  background-image:radial-gradient(circle,var(--cyan,#55DCE2) 0 4px,transparent 4.6px) !important;background-size:100% 100% !important}
input[type=checkbox]:disabled,input[type=radio]:disabled{opacity:.45;cursor:not-allowed}
input[type=checkbox]:focus-visible,input[type=radio]:focus-visible{outline:2px solid var(--ink-orange,#F6AE45);outline-offset:2px}

.xSq{position:relative;flex:none;display:inline-flex;align-items:center;justify-content:center;
  width:32px !important;height:32px !important;min-height:0 !important;margin:0 !important;padding:0 !important;
  border:1px solid color-mix(in srgb,var(--ink-red,#EE3F3A) 45%,transparent) !important;border-radius:8px !important;
  background:none !important;color:var(--ink-red,#EE3F3A) !important;cursor:pointer;font-size:0 !important;
  transition:background-color .15s ease,border-color .15s ease}
.xSq::before,.xSq::after{content:"";position:absolute;left:50%;top:50%;width:13px;height:1.6px;margin:-.8px 0 0 -6.5px;
  border-radius:1px;background:currentColor}
.xSq::before{transform:rotate(45deg)}
.xSq::after{transform:rotate(-45deg)}
.xSq:hover{background:color-mix(in srgb,var(--ink-red,#EE3F3A) 12%,transparent) !important;border-color:var(--ink-red,#EE3F3A) !important}

@media(max-width:620px){
  :is(.fr,.gr,.fRow) > :is(div,label,.fldBox):has(.telW,.mailW,input:is([type=tel],[type=email],[inputmode=tel],[inputmode=email])),
  :is(.fr,.gr,.fRow) > input:is([type=tel],[type=email],[inputmode=tel],[inputmode=email]){
    flex:1 1 100% !important;width:100% !important;max-width:none !important;grid-column:1 / -1 !important}
  :is(.fr,.gr,.fRow):has(> :is(div,label,.fldBox,input) :is(.telW,.mailW,input[type=tel],input[type=email],input[inputmode=tel],input[inputmode=email])),
  :is(.fr,.gr,.fRow):has(> input:is([type=tel],[type=email],[inputmode=tel],[inputmode=email])){row-gap:20px !important}
}

/* Back, at the top left of a page: the cyan chevron alone, at the page's
   edge, with just room enough around it to tap. */
a.back.chev{display:inline-flex !important;align-items:center;justify-content:flex-start;min-width:28px;min-height:40px;
  padding:0 !important;border:0 !important;background:none !important;color:var(--ink-cyan,var(--cyan,#55DCE2)) !important;
  font-size:0 !important;letter-spacing:0 !important;text-decoration:none}
a.back.chev i{display:block;width:7px;height:7px;margin-left:1.5px;border-left:1.5px solid currentColor;
  border-bottom:1.5px solid currentColor;transform:rotate(45deg)}
a.back.chev:hover{opacity:.8}

/* Labels and fields, in every form: a label sits 6px over its own field and
   the next label starts 20px clear of that field, so each label reads with
   the field it names, never with the one above it. */
:is(.set,.foldIn,.add,.mdBox,.sheet,.magEdit) .fr{row-gap:20px !important;margin-bottom:20px !important}
:where(div,form,fieldset):has(> div > label + :is(input,select,textarea,.fldBox,.fldW,.perFyW,.ro)){row-gap:20px !important}
:is(.set,.foldIn,.mdBox,.sheet,.magEdit) .fr > div > label:not(:has(input[type=checkbox],input[type=radio])){margin-bottom:6px !important}
.add .fr > div{gap:6px !important}
.add .fr > div > label:not(:has(input[type=checkbox],input[type=radio])){margin-bottom:0 !important}
.efGrid{row-gap:20px !important}
.ef label{margin-bottom:6px !important}
.fld{margin-bottom:20px !important}
.fld > .lblRow,.fld > .lbl,.fld > label{margin-bottom:6px !important}
.lblRow .lbl{margin-bottom:0 !important}

/* Scrollbars: the console's quiet style (see admin assets/styles.css): a 3px
   thumb in the hairline colour, no track, no arrows, ends kept clear of
   rounded corners. Firefox gets its thin bar in the same colour. */
::-webkit-scrollbar { width: 7px; height: 7px; background: transparent; }
::-webkit-scrollbar-track { background: transparent; margin: 10px; }
::-webkit-scrollbar-thumb { min-height: 24px; min-width: 24px; background: var(--k-offline, rgba(26,29,33,.14));
  border-radius: 99px; border: 2px solid transparent; background-clip: content-box; }
::-webkit-scrollbar-thumb:hover { background-color: var(--dim-2, rgba(26,29,33,.40)); }
::-webkit-scrollbar-button { display: none; width: 0; height: 0; }
::-webkit-scrollbar-corner { background: transparent; }
@supports not selector(::-webkit-scrollbar) {
  * { scrollbar-width: thin; scrollbar-color: var(--k-offline, rgba(26,29,33,.14)) transparent; }
}

/* Back: the chevron where it always sits, and the word Back beside it with
   room between them; no outline. */
.rpBack > span,a.back.chev > span{display:block;margin-left:14px;font-family:var(--mono,monospace);font-size:9.5px;
  font-weight:700;letter-spacing:.16em;text-transform:uppercase;line-height:1;color:currentColor;white-space:nowrap}

/* A button's words stay on one line, wherever buttons stand side by side:
   a button is never narrower than its words, and a row too narrow for all
   of them moves the next button down instead of breaking a label. */
:where(button, input[type=submit], input[type=button], [role=button], a.cmpBtn, a.rchB, a.lfB, a.lnkBtn, a.btn,
  .qa > a, .qa > form > button, label.pick, .shareB){white-space:nowrap}
:where(.docAdd, .qa, .custBtns, .refAct, .soBtns, .rqF){flex-wrap:wrap}
