/* STS Connect, in the Sagar Tech identity: ink and violet on cool paper, saffron as the one accent. */
@font-face { font-family: 'Outfit'; font-style: normal; font-weight: 300 800; font-display: swap; src: url(fonts/outfit.woff2) format('woff2'); }
@font-face { font-family: 'IBM Plex Mono'; font-style: normal; font-weight: 400; font-display: swap; src: url(fonts/plex-mono-400.woff2) format('woff2'); }

:root {
  --ink: #16135A;
  --violet: #5446FF;
  --violet-deep: #3E31E6;
  --mist: #EEEDFF;
  --mist-2: #F6F5FF;
  --saffron: #FF8A1F;
  --saffron-tint: #FFF1E3;
  --bg: #F7F7FC;
  --surface: #FFFFFF;
  --text: #16135A;
  --muted: #615D7D;
  --line: #E3E0F4;
  --line-strong: #CFCBEA;
  --green: #2F7A55;
  --green-tint: #E7F4EC;
  --red: #AE3140;
  --red-tint: #FBEBED;
  --radius: 16px;
  --radius-sm: 12px;
  --shadow: 0 10px 30px rgba(22, 19, 90, .06);
  --shadow-sm: 0 4px 14px rgba(22, 19, 90, .05);
  --font: 'Outfit', 'Mukta', 'Noto Sans Devanagari', system-ui, sans-serif;
  --mono: 'IBM Plex Mono', ui-monospace, monospace;
  color-scheme: light;
}

* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-padding-top: 90px; }
body { margin: 0; background: var(--bg); color: var(--text); font-family: var(--font); font-size: 16.5px; line-height: 1.6; overflow-x: clip; }
html[lang='mr'] body { font-size: 17px; }
img { max-width: 100%; }
a { color: var(--violet); text-underline-offset: 3px; }
a:hover { color: var(--violet-deep); }
h1, h2, h3 { color: var(--ink); font-weight: 600; line-height: 1.2; margin: 0 0 .5rem; letter-spacing: -.025em; }
h1 { font-size: 1.85rem; }
h2 { font-size: 1.3rem; }
h3 { font-size: 1.08rem; letter-spacing: -.01em; }
html[lang='mr'] h1, html[lang='mr'] h2, html[lang='mr'] h3 { letter-spacing: 0; }
p { margin: 0 0 1rem; }
:focus-visible { outline: 3px solid var(--violet); outline-offset: 3px; border-radius: 6px; }
[hidden] { display: none !important; }
.sr-only { position: absolute; width: 1px !important; height: 1px !important; padding: 0 !important; margin: -1px; border: 0 !important; min-height: 0 !important; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.muted { color: var(--muted); }
.small { font-size: .9rem; }
.wrap { max-width: 1080px; margin: 0 auto; padding: 0 16px; }
.skip { position: fixed; left: 12px; top: -60px; z-index: 99; background: var(--ink); color: #fff; padding: 10px 16px; border-radius: 8px; }
.skip:focus { top: 10px; }

/* ---------------------------------------------------------------- header */
.site-header { position: sticky; top: 0; z-index: 30; background: rgba(255, 255, 255, .94); backdrop-filter: blur(12px); border-bottom: 1px solid var(--line); }
.site-header .wrap { display: flex; align-items: center; gap: 14px; height: 64px; }
.brand { display: flex; align-items: center; gap: 10px; text-decoration: none; color: var(--ink); flex: none; }
.brand img { width: 32px; height: 32px; display: block; }
.brand-words { display: flex; flex-direction: column; line-height: 1; }
.brand-name { font-size: 1.28rem; font-weight: 600; letter-spacing: -.035em; color: var(--ink); }
.brand-name span { color: var(--violet); font-weight: 500; }
.brand-tag { font-size: .7rem; color: var(--muted); margin-top: 4px; letter-spacing: .01em; }
.topnav { display: none; gap: 2px; margin-left: auto; align-items: center; }
.topnav a { position: relative; text-decoration: none; color: var(--ink); padding: 7px 12px; border-radius: 10px; font-weight: 500; font-size: .95rem; }
.topnav a:hover { background: var(--mist-2); color: var(--ink); }
.topnav a[aria-current='page'] { background: var(--mist); color: var(--ink); }
.header-actions { display: flex; align-items: center; gap: 8px; margin-left: auto; }
.topnav + .header-actions { margin-left: 8px; }
.lang-toggle { background: var(--surface); border: 1px solid var(--line); border-radius: 10px; padding: 6px 12px; font: inherit; font-size: .9rem; cursor: pointer; color: var(--ink); min-height: 38px; }
.lang-toggle:hover { border-color: var(--line-strong); }
.btn.nav-post { display: none; }
.count { display: inline-grid; place-items: center; min-width: 19px; height: 19px; padding: 0 5px; border-radius: 999px; background: var(--saffron); color: #fff; font-size: .72rem; font-weight: 700; line-height: 1; margin-left: 4px; vertical-align: 1px; }

/* bottom nav on phones */
.bottomnav { position: fixed; bottom: 0; left: 0; right: 0; z-index: 30; background: rgba(255, 255, 255, .97); backdrop-filter: blur(12px); border-top: 1px solid var(--line);
  display: grid; grid-template-columns: repeat(5, 1fr); padding: 4px 4px calc(4px + env(safe-area-inset-bottom)); }
.bottomnav a { position: relative; text-decoration: none; color: var(--muted); font-size: .74rem; text-align: center; padding: 6px 2px 4px; font-weight: 500; line-height: 1.2; border-radius: 12px; }
.bottomnav a svg { display: block; margin: 0 auto 3px; width: 23px; height: 23px; stroke: currentColor; fill: none; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.bottomnav a[aria-current='page'] { color: var(--violet); }
.bottomnav a.post { color: var(--ink); font-weight: 600; }
.bottomnav a.post svg { width: 44px; height: 44px; margin-top: -20px; padding: 10px; border-radius: 50%; background: var(--violet); color: #fff; stroke: #fff; stroke-width: 2.2; box-shadow: 0 6px 18px rgba(84, 70, 255, .35); }
.bottomnav .count { position: absolute; top: 2px; left: calc(50% + 6px); margin: 0; }
main { padding: 22px 0 104px; min-height: 70vh; }
@media (min-width: 820px) {
  .topnav { display: flex; }
  .btn.nav-post { display: inline-flex; }
  .bottomnav { display: none; }
  main { padding: 32px 0 56px; }
  h1 { font-size: 2.2rem; }
  h2 { font-size: 1.45rem; }
}

/* ---------------------------------------------------------------- buttons and forms */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; font: inherit; font-weight: 600; font-size: 1rem;
  padding: 10px 20px; border-radius: var(--radius-sm); border: 1.5px solid var(--violet); background: var(--violet); color: #fff;
  cursor: pointer; text-decoration: none; min-height: 46px; transition: background .15s, border-color .15s; }
.btn:hover { background: var(--violet-deep); border-color: var(--violet-deep); color: #fff; }
.btn.secondary { background: var(--surface); color: var(--ink); border-color: var(--line-strong); }
.btn.secondary:hover { background: var(--mist-2); border-color: var(--violet); color: var(--ink); }
.btn.quiet { background: transparent; border-color: transparent; color: var(--violet); padding-left: 10px; padding-right: 10px; }
.btn.quiet:hover { background: var(--mist-2); color: var(--violet-deep); }
.btn.danger { background: var(--surface); border-color: var(--red); color: var(--red); }
.btn.danger:hover { background: var(--red-tint); }
.btn.green { background: var(--green); border-color: var(--green); }
.btn.green:hover { background: #24603f; border-color: #24603f; }
.btn.small { min-height: 36px; padding: 5px 14px; font-size: .92rem; border-radius: 10px; }
.btn.block { width: 100%; }
.btn[disabled] { opacity: .55; cursor: wait; }
.btn svg { width: 18px; height: 18px; stroke: currentColor; fill: none; stroke-width: 2; }
.btn-row { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; }

form .field, .field { margin-bottom: 16px; }
label, .label { display: block; font-weight: 600; margin-bottom: 5px; color: var(--ink); }
.hint { display: block; font-weight: 400; color: var(--muted); font-size: .88rem; margin-top: 4px; }
input[type=text], input[type=email], input[type=tel], input[type=password], input[type=url], input[type=number], input[type=date], input[type=search], select, textarea {
  width: 100%; font: inherit; font-size: 1rem; padding: 10px 13px; border: 1.5px solid var(--line-strong); border-radius: var(--radius-sm);
  background: var(--surface); color: var(--text); min-height: 48px; transition: border-color .15s, box-shadow .15s; }
textarea { min-height: 104px; resize: vertical; }
input:focus, select:focus, textarea:focus { outline: none; border-color: var(--violet); box-shadow: 0 0 0 4px rgba(84, 70, 255, .14); }
input::placeholder, textarea::placeholder { color: #9a96b5; }
.check { display: flex; gap: 10px; align-items: flex-start; font-weight: 400; margin-bottom: 10px; cursor: pointer; }
.check input { width: 20px; height: 20px; margin-top: 3px; flex: none; accent-color: var(--violet); }
.grid2 { display: grid; gap: 0 16px; }
@media (min-width: 640px) { .grid2 { grid-template-columns: 1fr 1fr; } }
fieldset { border: 0; padding: 0; margin: 0 0 16px; min-width: 0; }
legend { font-weight: 600; margin-bottom: 8px; padding: 0; color: var(--ink); }
.chips-pick { display: flex; flex-wrap: wrap; gap: 8px; }
.chips-pick label { display: inline-flex; gap: 6px; align-items: center; font-weight: 400; border: 1.5px solid var(--line); background: var(--surface);
  border-radius: 999px; padding: 6px 14px; margin: 0; cursor: pointer; font-size: .95rem; transition: border-color .15s, background .15s; }
.chips-pick label:hover { border-color: var(--line-strong); }
.chips-pick input { accent-color: var(--violet); }
.chips-pick label:has(input:checked) { background: var(--mist); border-color: var(--violet); color: var(--ink); }
.opt { font-weight: 400; color: var(--muted); font-size: .86em; }
h2[tabindex='-1']:focus { outline: none; }
.label-small { font-weight: 500; font-size: .92rem; margin: 12px 0 5px; }
.form-sub { margin: 26px 0 4px; padding-top: 18px; border-top: 1px solid var(--line); }

/* profile steps */
.stepper { list-style: none; display: grid; grid-template-columns: repeat(3, 1fr); gap: 6px; padding: 0; margin: 4px 0 18px; counter-reset: none; }
.stepper li { display: flex; align-items: center; gap: 8px; padding: 10px 12px 12px; border-bottom: 3px solid var(--line); color: var(--muted); font-weight: 500; font-size: .95rem; cursor: pointer; line-height: 1.25; }
.stepper .n { flex: none; display: grid; place-items: center; width: 26px; height: 26px; border-radius: 50%; background: var(--mist); color: var(--ink); font-weight: 700; font-size: .85rem; }
.stepper li.current { color: var(--ink); border-color: var(--violet); }
.stepper li.current .n { background: var(--violet); color: #fff; }
.stepper li.done { color: var(--ink); border-color: var(--green); }
.stepper li.done .n { background: var(--green); color: #fff; }
@media (max-width: 520px) { .stepper li { flex-direction: column; align-items: flex-start; gap: 4px; padding: 8px 4px 10px; font-size: .84rem; } }
.form-actions { position: sticky; bottom: 0; z-index: 5; display: flex; align-items: center; gap: 10px; flex-wrap: wrap; padding: 12px 0 calc(12px + env(safe-area-inset-bottom));
  background: linear-gradient(to top, var(--bg) 70%, rgba(247, 247, 252, 0)); }
.form-actions #st-next, .form-actions #st-save { margin-left: auto; min-width: 150px; }
@media (max-width: 819px) { .form-actions { bottom: 64px; } }

/* machines: name with suggestions, quantity stepper, make, size */
.machine-row { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr) auto 40px; grid-template-areas: 'name name qty rm' 'make det det det'; gap: 8px;
  padding: 12px; margin-bottom: 10px; border: 1px solid var(--line); border-radius: var(--radius-sm); background: var(--mist-2); }
.machine-row > * { min-width: 0; }
.machine-row .m-name-box { grid-area: name; }
.machine-row .qty { grid-area: qty; }
.machine-row .m-rm { grid-area: rm; }
.machine-row .m-make-box { grid-area: make; }
.machine-row .m-det { grid-area: det; }
@media (max-width: 560px) { .machine-row { grid-template-columns: auto minmax(0, 1fr) 40px; grid-template-areas: 'name name rm' 'qty make make' 'det det det'; } }
.m-auto { color: var(--green); font-weight: 500; margin: 2px 0 10px; }
.machine-row.flash { animation: flash .9s ease-out; }
@keyframes flash { from { box-shadow: 0 0 0 4px rgba(84, 70, 255, .35); background: var(--mist); } to { box-shadow: 0 0 0 0 rgba(84, 70, 255, 0); } }
@media (prefers-reduced-motion: reduce) { .machine-row.flash { animation: none; } }
.qty { display: flex; align-items: stretch; border: 1.5px solid var(--line-strong); border-radius: var(--radius-sm); background: var(--surface); overflow: hidden; }
.qty input[type=number] { width: 52px; min-height: 44px; border: 0; border-radius: 0; text-align: center; padding: 6px 2px; -moz-appearance: textfield; }
.qty input::-webkit-outer-spin-button, .qty input::-webkit-inner-spin-button { -webkit-appearance: none; margin: 0; }
.qty input:focus { box-shadow: none; }
.qty button { width: 38px; border: 0; background: var(--mist); color: var(--ink); font: inherit; font-size: 1.2rem; font-weight: 600; cursor: pointer; }
.qty button:hover { background: var(--line); }
.m-rm { border: 0; background: transparent; color: var(--muted); font-size: 1.5rem; line-height: 1; border-radius: 10px; cursor: pointer; min-height: 44px; }
.m-rm:hover { background: var(--red-tint); color: var(--red); }
.combo { position: relative; }
.suggest { position: absolute; z-index: 20; left: 0; right: 0; top: calc(100% + 4px); list-style: none; margin: 0; padding: 6px; background: var(--surface);
  border: 1px solid var(--line-strong); border-radius: var(--radius-sm); box-shadow: 0 14px 34px rgba(22, 19, 90, .14); max-height: 320px; overflow-y: auto; }
.suggest li { padding: 9px 12px; border-radius: 9px; cursor: pointer; line-height: 1.3; }
.suggest li span { display: block; font-size: .82rem; color: var(--muted); }
.suggest li:hover, .suggest li[aria-selected='true'] { background: var(--mist); }

/* location */
.loc-box { display: flex; flex-wrap: wrap; align-items: center; gap: 10px 14px; }
.loc-state { display: flex; flex-wrap: wrap; align-items: center; gap: 4px 12px; font-size: .95rem; }
.loc-state .pinned { display: inline-flex; align-items: center; gap: 6px; color: var(--green); font-weight: 600; }
.loc-state .pinned svg { width: 18px; height: 18px; stroke: currentColor; fill: none; stroke-width: 2.4; }
.loc-state .coords { font-family: var(--mono); font-size: .85rem; color: var(--muted); font-weight: 400; }

/* map picker: full screen on a phone, a large window on a computer */
html.modal-open, html.modal-open body { overflow: hidden; }
.map-dialog { padding: 0; border: 0; margin: 0; width: 100%; height: 100%; max-width: 100%; max-height: 100%;
  background: var(--surface); color: var(--text); display: flex; flex-direction: column; overflow: hidden; }
.map-dialog:not([open]) { display: none; }
.map-dialog::backdrop { background: rgba(22, 19, 90, .45); }
@media (min-width: 820px) {
  .map-dialog { margin: auto; width: min(960px, 92vw); height: min(720px, 88vh); border-radius: var(--radius); box-shadow: 0 24px 60px rgba(22, 19, 90, .25); }
}
.map-head { display: flex; align-items: flex-start; justify-content: space-between; gap: 12px; padding: calc(14px + env(safe-area-inset-top)) 16px 12px; border-bottom: 1px solid var(--line); }
.map-head h2 { font-size: 1.15rem; margin: 0 0 2px; }
.map-head p { margin: 0; font-size: .92rem; color: var(--muted); line-height: 1.45; }
.map-x { flex: none; width: 40px; height: 40px; border-radius: 10px; border: 1px solid var(--line-strong); background: var(--surface);
  color: var(--ink); font: inherit; font-size: 1.5rem; line-height: 1; cursor: pointer; }
.map-x:hover { background: var(--mist-2); border-color: var(--violet); }
.map-stage { position: relative; flex: 1; min-height: 0; background: var(--mist-2); }
.pick-map { position: absolute; inset: 0; font: inherit; }
.pick-map:focus-visible { outline: 3px solid var(--violet); outline-offset: -3px; }
.map-pin { position: absolute; left: 50%; top: 50%; width: 36px; height: 48px; margin: -48px 0 0 -18px; z-index: 600; pointer-events: none;
  filter: drop-shadow(0 3px 4px rgba(22, 19, 90, .35)); transition: transform .15s ease-out; }
.map-dot { position: absolute; left: 50%; top: 50%; width: 10px; height: 4px; margin: -2px 0 0 -5px; border-radius: 50%;
  background: rgba(22, 19, 90, .45); z-index: 599; pointer-events: none; }
.map-dialog.moving .map-pin { transform: translateY(-8px); }
@media (prefers-reduced-motion: reduce) { .map-pin { transition: none; } .map-dialog.moving .map-pin { transform: none; } }
.map-msg { position: absolute; left: 50%; top: 16px; transform: translateX(-50%); z-index: 700; margin: 0; max-width: calc(100% - 32px);
  padding: 8px 14px; border-radius: 10px; background: var(--surface); border: 1px solid var(--line-strong); font-size: .92rem; box-shadow: var(--shadow-sm); }
.map-foot { display: flex; flex-wrap: wrap; align-items: center; gap: 10px 12px; padding: 12px 16px calc(12px + env(safe-area-inset-bottom)); border-top: 1px solid var(--line); }
.map-note { flex: 1 1 160px; font-size: .92rem; color: var(--muted); }
.map-note:empty { display: none; }
.map-foot .map-use { margin-left: auto; }
.map-foot .map-use[disabled] { cursor: not-allowed; }
@media (max-width: 519px) {
  .map-note { order: -1; flex-basis: 100%; }
  .map-foot .btn { flex: 1 1 auto; white-space: nowrap; padding-left: 12px; padding-right: 12px; }
}
.pick-map .leaflet-control-attribution { font-size: 11px; }
.pick-map .leaflet-bar a { width: 36px; height: 36px; line-height: 36px; font-size: 20px; color: var(--ink); }
table.machines th { text-align: left; font-size: .85rem; color: var(--muted); font-weight: 600; }
input[type="file"] { font: inherit; font-size: .95rem; max-width: 100%; padding: 10px; border: 1.5px dashed var(--line-strong); border-radius: var(--radius-sm); background: var(--mist-2); width: 100%; }

.panel { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 20px; margin-bottom: 16px; box-shadow: var(--shadow-sm); }
.panel h2:first-child, .panel h3:first-child { margin-top: 0; }
.section { margin: 36px 0; }
.section-head { display: flex; align-items: baseline; justify-content: space-between; gap: 12px; margin-bottom: 14px; }
.section-head h2 { margin: 0; }

/* ---------------------------------------------------------------- home */
.hero { padding: 18px 0 6px; }
.eyebrow { font-family: var(--mono); font-size: .78rem; letter-spacing: .06em; color: var(--muted); margin: 0 0 14px; display: flex; align-items: center; gap: 8px; }
.eyebrow::before { content: ''; width: 8px; height: 8px; border-radius: 50%; background: var(--saffron); }
.hero-sentence { font-size: clamp(2rem, 7.2vw, 3.6rem); font-weight: 600; line-height: 1.22; margin: 0 0 16px; letter-spacing: -.04em; color: var(--ink); }
html[lang='mr'] .hero-sentence { letter-spacing: -.01em; line-height: 1.35; }
.blank { display: inline-block; position: relative; }
.blank select {
  font: inherit; color: var(--violet); background-color: transparent; border: 0; box-shadow: none; min-height: 0;
  border-bottom: 5px solid var(--saffron); padding: 0 30px 0 2px; appearance: none; -webkit-appearance: none; letter-spacing: inherit;
  cursor: pointer; max-width: 84vw; border-radius: 0; line-height: 1.15;
  background-image: linear-gradient(45deg, transparent 50%, var(--violet) 50%), linear-gradient(135deg, var(--violet) 50%, transparent 50%);
  background-position: calc(100% - 13px) 58%, calc(100% - 5px) 58%; background-size: 8px 8px; background-repeat: no-repeat;
}
.blank select:focus { box-shadow: none; outline: 3px solid var(--violet); outline-offset: 4px; }
/* the same blank, but typed: the lists behind it are far too long to scroll */
.blank input[type='text'] {
  font: inherit; color: var(--violet); background-color: transparent; border: 0; box-shadow: none; min-height: 0;
  border-bottom: 5px solid var(--saffron); padding: 0 30px 0 2px; appearance: none; -webkit-appearance: none;
  letter-spacing: inherit; max-width: 84vw; border-radius: 0; line-height: 1.15; text-overflow: ellipsis;
  background-image: linear-gradient(45deg, transparent 50%, var(--violet) 50%), linear-gradient(135deg, var(--violet) 50%, transparent 50%);
  background-position: calc(100% - 13px) 58%, calc(100% - 5px) 58%; background-size: 8px 8px; background-repeat: no-repeat;
}
.blank input[type='text']:focus { box-shadow: none; outline: 3px solid var(--violet); outline-offset: 4px; }
.blank input[type='text']::placeholder { color: var(--muted); opacity: .7; }
/* a button that reads as a link: the second way in on the sign-in screen */
.linkish { background: none; border: 0; padding: 0; min-height: 0; font: inherit; color: var(--violet);
  text-decoration: underline; cursor: pointer; box-shadow: none; }
.linkish:hover { color: var(--ink); }
.linkish:focus-visible { outline: 3px solid var(--violet); outline-offset: 3px; border-radius: 3px; }
/* roles: each one says plainly what it means, so a trader does not have to call itself a supplier */
.roles-pick { display: grid; gap: 10px; }
@media (min-width: 640px) { .roles-pick { grid-template-columns: 1fr 1fr; } }
.roles-pick label { display: flex; gap: 10px; align-items: flex-start; padding: 12px 14px; border: 1px solid var(--line);
  border-radius: var(--radius-sm); cursor: pointer; background: var(--surface); }
.roles-pick label:hover { border-color: var(--violet); }
.roles-pick input { margin-top: 3px; flex: none; }
.roles-pick b { display: block; font-weight: 600; }
.roles-pick span span { display: block; font-size: .85rem; color: var(--muted); line-height: 1.35; margin-top: 2px; }
.roles-pick label:has(input:checked) { border-color: var(--violet); background: var(--mist); }
/* a warning that has to be read before a number is made public */
.hint.warn { color: #8A4B00; background: var(--saffron-tint); border-radius: var(--radius-sm); padding: 9px 12px; margin: 6px 0 10px; }
/* the suggestion list must drop out of the big headline type back to normal reading size */
.blank .suggest { min-width: 17rem; width: max-content; max-width: min(84vw, 26rem); right: auto;
  font-size: 1rem; font-weight: 400; line-height: 1.3; letter-spacing: normal; color: var(--text); text-align: left; }
.hero-sub { font-size: 1.15rem; color: var(--muted); max-width: 40rem; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 10px; margin: 20px 0 10px; }

/* "what do you want to do" tiles */
.tiles { display: grid; gap: 12px; }
@media (min-width: 700px) { .tiles { grid-template-columns: repeat(3, 1fr); } }
.tile { display: flex; gap: 14px; align-items: flex-start; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 18px; text-decoration: none; color: var(--text); box-shadow: var(--shadow-sm); transition: border-color .15s, transform .15s, box-shadow .15s; }
.tile:hover { border-color: var(--violet); color: var(--text); box-shadow: var(--shadow); }
.tile-icon { flex: none; width: 46px; height: 46px; border-radius: 14px; display: grid; place-items: center; background: var(--mist); color: var(--violet); }
.tile-icon svg { width: 24px; height: 24px; stroke: currentColor; fill: none; stroke-width: 1.9; stroke-linecap: round; stroke-linejoin: round; }
.tile.saffron .tile-icon { background: var(--saffron-tint); color: #C25E00; }
.tile.green .tile-icon { background: var(--green-tint); color: var(--green); }
.tile b { display: block; font-size: 1.08rem; font-weight: 600; color: var(--ink); margin-bottom: 2px; }
.tile span { font-size: .92rem; color: var(--muted); }

/* signed-in dashboard */
.dash-head { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 12px; margin-bottom: 18px; }
.dash-head h1 { margin: 0; }
.dash-grid { display: grid; gap: 16px; }
@media (min-width: 900px) { .dash-grid { grid-template-columns: 1.6fr 1fr; align-items: start; } }
.meter { display: flex; align-items: center; gap: 16px; }
.ring { --p: 0; flex: none; width: 74px; height: 74px; border-radius: 50%; display: grid; place-items: center;
  background: conic-gradient(var(--violet) calc(var(--p) * 1%), var(--mist) 0); }
.ring span { width: 58px; height: 58px; border-radius: 50%; background: var(--surface); display: grid; place-items: center; font-weight: 700; color: var(--ink); font-size: 1.05rem; }
.checklist { list-style: none; padding: 0; margin: 14px 0 0; display: grid; gap: 8px; }
.checklist li { display: flex; align-items: center; gap: 10px; font-size: .95rem; }
.checklist li::before { content: ''; flex: none; width: 20px; height: 20px; border-radius: 50%; border: 2px solid var(--line-strong); }
.checklist li.done { color: var(--muted); }
.checklist li.done::before { background: var(--green) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='3.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12l5 5L19 7'/%3E%3C/svg%3E") center / 12px no-repeat; border-color: var(--green); }
.checklist a { font-weight: 600; }
.alert-strip { display: flex; align-items: center; justify-content: space-between; gap: 12px; flex-wrap: wrap; background: var(--saffron-tint); border: 1px solid #FFD2A6; border-radius: var(--radius); padding: 14px 18px; margin-bottom: 16px; }
.alert-strip b { color: var(--ink); }

/* how it works: a real sequence, so numbered */
.steps { list-style: none; padding: 0; margin: 0; display: grid; gap: 14px; counter-reset: s; }
@media (min-width: 760px) { .steps { grid-template-columns: repeat(3, 1fr); } }
.steps li { counter-increment: s; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 18px 18px 6px; }
.steps li::before { content: counter(s); width: 34px; height: 34px; border-radius: 10px; background: var(--ink); color: #fff; font-weight: 700; display: grid; place-items: center; margin-bottom: 12px; }
.supplier-band { background: var(--ink); color: #fff; border-radius: 22px; padding: 26px; display: grid; gap: 16px; position: relative; overflow: hidden; }
.supplier-band::after { content: ''; position: absolute; right: -60px; top: -60px; width: 220px; height: 220px; border-radius: 50%; background: var(--violet); opacity: .35; }
.supplier-band > * { position: relative; z-index: 1; }
.supplier-band h2 { color: #fff; }
.supplier-band p { color: #D9D6FF; margin: 0; }
.supplier-band .btn { background: var(--saffron); border-color: var(--saffron); color: var(--ink); justify-self: start; }
.supplier-band .btn:hover { background: #FF9C42; border-color: #FF9C42; }
@media (min-width: 760px) { .supplier-band { grid-template-columns: 1fr auto; align-items: center; padding: 32px 36px; } }
.areas-list { display: flex; flex-wrap: wrap; gap: 8px; }

/* ---------------------------------------------------------------- filters and segmented tabs */
.filters { display: grid; gap: 8px; margin-bottom: 16px; }
@media (min-width: 760px) { .filters { grid-template-columns: 1fr 1fr 1fr 1.3fr; } .filters.units { grid-template-columns: 1fr 1fr auto auto; align-items: center; } }
.filters .check { margin: 0; }
.seg { display: inline-flex; gap: 4px; padding: 4px; background: var(--mist); border-radius: 14px; margin-bottom: 16px; max-width: 100%; overflow-x: auto; }
.seg a, .seg button { font: inherit; font-weight: 600; font-size: .95rem; border: 0; background: transparent; color: var(--muted); padding: 8px 16px; border-radius: 10px; cursor: pointer; text-decoration: none; white-space: nowrap; }
.seg [aria-selected='true'], .seg [aria-current='page'] { background: var(--surface); color: var(--ink); box-shadow: var(--shadow-sm); }

/* ---------------------------------------------------------------- cards */
.cards { display: grid; gap: 12px; }
@media (min-width: 900px) { .cards.two { grid-template-columns: 1fr 1fr; } }
.cards > .empty { grid-column: 1 / -1; }
.job { position: relative; display: block; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 16px 18px 14px 22px; text-decoration: none; color: var(--text); box-shadow: var(--shadow-sm); transition: border-color .15s, box-shadow .15s; overflow: hidden; }
.job::before { content: ''; position: absolute; left: 0; top: 0; bottom: 0; width: 5px; background: var(--violet); }
.job:hover { border-color: var(--line-strong); box-shadow: var(--shadow); color: var(--text); }
.job.kind-raw_material::before { background: var(--saffron); }
.job.kind-service::before { background: #2F7FA8; }
.job.kind-manpower::before { background: var(--ink); }
.job.kind-machine_spare::before { background: #8A80FF; }
.job.kind-other::before { background: #A9A5C2; }
.job.kind-spare_capacity::before { background: var(--green); }
.job-top { display: flex; flex-wrap: wrap; align-items: center; gap: 6px 12px; font-size: .88rem; color: var(--muted); margin-bottom: 4px; }
.kind-tag { font-family: var(--mono); font-size: .74rem; letter-spacing: .05em; text-transform: uppercase; color: var(--ink); }
html[lang='mr'] .kind-tag { font-family: var(--font); text-transform: none; letter-spacing: 0; font-size: .86rem; font-weight: 600; }
.job.kind-spare_capacity .kind-tag { color: var(--green); }
.job-title { font-weight: 600; font-size: 1.12rem; margin: 0 0 6px; color: var(--ink); letter-spacing: -.01em; }
.job-meta { display: flex; flex-wrap: wrap; gap: 4px 16px; font-size: .9rem; color: var(--muted); }
.job-meta .replies { color: var(--violet); font-weight: 600; }
.job .mine-flag { position: absolute; right: 14px; top: 14px; }

.unit { display: block; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 16px 18px; text-decoration: none; color: var(--text); box-shadow: var(--shadow-sm); transition: border-color .15s, box-shadow .15s; }
.unit:hover { border-color: var(--line-strong); box-shadow: var(--shadow); color: var(--text); }
.unit-name { font-weight: 600; font-size: 1.1rem; color: var(--ink); }
.chip { display: inline-block; font-size: .84rem; background: var(--mist-2); border: 1px solid var(--line); border-radius: 999px; padding: 1px 10px; margin: 4px 4px 0 0; color: var(--ink); text-decoration: none; }
a.chip:hover { border-color: var(--violet); color: var(--ink); }
.badge { display: inline-flex; align-items: center; gap: 4px; font-size: .8rem; font-weight: 600; border-radius: 999px; padding: 2px 10px; white-space: nowrap; }
.badge.v { background: var(--mist); color: var(--violet-deep); }
.badge.v1 { background: var(--surface); color: var(--muted); border: 1px solid var(--line); }
.badge.zed { background: var(--saffron-tint); color: #9A4A00; border: 1px solid #FFD2A6; }
.badge.zed.claimed { background: var(--surface); }
.badge svg { width: 13px; height: 13px; }

/* ---------------------------------------------------------------- detail pages */
.detail-head { margin-bottom: 16px; }
.detail-head h1 { margin-top: 8px; }
.facts { display: grid; grid-template-columns: max-content 1fr; gap: 6px 18px; margin: 0 0 16px; }
.facts dt { color: var(--muted); }
.facts dd { margin: 0; font-weight: 600; color: var(--ink); }
.desc { white-space: pre-wrap; }
.note { background: var(--mist-2); border: 1px solid var(--line); border-radius: var(--radius-sm); padding: 12px 14px; font-size: .95rem; }
.note.good { background: var(--green-tint); border-color: #BFE0CC; }
.note.warn { background: var(--saffron-tint); border-color: #FFD2A6; }
.response { border-top: 1px solid var(--line); padding: 14px 0; }
.response:first-of-type { border-top: 0; padding-top: 4px; }
.quote { display: flex; flex-wrap: wrap; gap: 6px 16px; margin: 6px 0; }
.quote span { background: var(--mist-2); border: 1px solid var(--line); border-radius: 10px; padding: 3px 10px; font-size: .92rem; }
.quote b { color: var(--ink); }
.contact-line { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 10px; }
.status-pill { display: inline-block; font-size: .8rem; font-weight: 600; border-radius: 999px; padding: 2px 10px; background: var(--mist-2); border: 1px solid var(--line); color: var(--ink); white-space: nowrap; }
.status-pill.accepted, .status-pill.open, .status-pill.found_here { background: var(--green-tint); border-color: #BFE0CC; color: var(--green); }
.status-pill.pending { background: var(--saffron-tint); border-color: #FFD2A6; color: #9A4A00; }
.status-pill.declined, .status-pill.cancelled, .status-pill.expired, .status-pill.withdrawn, .status-pill.found_elsewhere { color: var(--muted); }

/* post: choose what to post, then quick picks */
.mode-pick { display: grid; gap: 10px; margin-bottom: 18px; }
@media (min-width: 640px) { .mode-pick { grid-template-columns: 1fr 1fr; } }
.mode-pick label { display: flex; gap: 12px; align-items: flex-start; border: 1.5px solid var(--line); border-radius: var(--radius); padding: 16px; cursor: pointer; background: var(--surface); margin: 0; font-weight: 400; }
.mode-pick label:has(input:checked) { border-color: var(--violet); background: var(--mist-2); box-shadow: 0 0 0 3px rgba(84, 70, 255, .12); }
.mode-pick input { accent-color: var(--violet); width: 20px; height: 20px; margin-top: 3px; flex: none; }
.mode-pick b { display: block; color: var(--ink); font-size: 1.05rem; }
.mode-pick span { color: var(--muted); font-size: .92rem; }
.quick { display: flex; gap: 8px; overflow-x: auto; padding-bottom: 4px; margin: 0 0 18px; scrollbar-width: thin; }
.quick button { flex: none; font: inherit; font-size: .92rem; border: 1px dashed var(--line-strong); background: var(--surface); color: var(--ink); border-radius: 999px; padding: 6px 14px; cursor: pointer; }
.quick button:hover { border-style: solid; border-color: var(--violet); }

/* tabs */
.tabs { display: flex; gap: 4px; border-bottom: 1px solid var(--line); margin-bottom: 16px; overflow-x: auto; }
.tabs button { font: inherit; font-weight: 600; background: none; border: 0; border-bottom: 3px solid transparent; padding: 9px 14px; cursor: pointer; color: var(--muted); white-space: nowrap; }
.tabs button[aria-selected='true'] { color: var(--ink); border-bottom-color: var(--violet); }

/* ---------------------------------------------------------------- admin */
.stats { display: grid; grid-template-columns: repeat(2, 1fr); gap: 10px; margin-bottom: 18px; }
@media (min-width: 760px) { .stats { grid-template-columns: repeat(4, 1fr); } }
.stat { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius-sm); padding: 12px 14px; }
.stat b { display: block; font-size: 1.6rem; line-height: 1.1; color: var(--ink); }
.stat span { font-size: .85rem; color: var(--muted); }
.admin-row { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius-sm); padding: 14px; margin-bottom: 10px; }
.admin-row .btn-row { margin-top: 8px; }
.table-wrap { overflow-x: auto; position: relative; } /* keeps hidden labels inside it, so a wide table never widens the page */
table { border-collapse: collapse; width: 100%; font-size: .92rem; background: var(--surface); }
th, td { text-align: left; padding: 8px 10px; border-bottom: 1px solid var(--line); vertical-align: top; }
th { font-weight: 600; color: var(--ink); }

/* ---------------------------------------------------------------- photos and drawings */
.files { display: grid; grid-template-columns: repeat(auto-fill, minmax(124px, 1fr)); gap: 10px; margin: 10px 0 14px; }
.file { display: flex; flex-direction: column; gap: 4px; min-width: 0; }
.file img { display: block; width: 100%; aspect-ratio: 4 / 3; object-fit: cover; border-radius: var(--radius-sm); border: 1px solid var(--line); background: var(--surface); }
.file-pdf { display: flex; align-items: center; justify-content: center; aspect-ratio: 4 / 3; padding: 8px; text-align: center; font-weight: 600;
  border: 1.5px dashed var(--violet); border-radius: var(--radius-sm); background: var(--mist-2); color: var(--violet-deep); text-decoration: none; }

/* ---------------------------------------------------------------- toast, footer, misc */
.toast { position: fixed; left: 50%; bottom: 92px; transform: translateX(-50%); background: var(--ink); color: #fff; padding: 11px 18px;
  border-radius: 12px; z-index: 60; max-width: calc(100% - 32px); font-size: .95rem; box-shadow: var(--shadow); }
.toast.error { background: var(--red); }
@media (min-width: 820px) { .toast { bottom: 28px; } }

.footer { background: var(--ink); color: #D9D6FF; margin-top: 24px; padding: 34px 0 112px; font-size: .92rem; }
.footer a { color: #fff; text-decoration: none; }
.footer a:hover { color: #fff; text-decoration: underline; }
.footer-grid { display: grid; gap: 22px; }
@media (min-width: 760px) { .footer-grid { grid-template-columns: 1.4fr 1fr 1fr; } .footer { padding-bottom: 34px; } }
.footer .brand img { background: #fff; border-radius: 9px; padding: 4px; width: 36px; height: 36px; }
.footer .brand-name { color: #fff; }
.footer .brand-name span { color: #A9A1FF; }
.footer h3 { color: #fff; font-size: .95rem; margin-bottom: 10px; }
.footer ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 6px; }
.footer .legal { border-top: 1px solid #2E2A7A; margin-top: 26px; padding-top: 16px; color: #A9A5D6; font-size: .85rem; }
.loading { color: var(--muted); padding: 20px 0; }
.empty { padding: 20px; background: var(--surface); border: 1.5px dashed var(--line-strong); border-radius: var(--radius); }
.empty p { margin-bottom: 12px; }
.install { display: none; }
.install.show { display: flex; }
#installbar { padding-top: 12px; }
#installbar .install.slim { padding: 12px 14px; margin-bottom: 0; }
#installbar .install.slim { flex-wrap: nowrap !important; gap: 10px !important; padding: 10px 6px 10px 12px; }
#installbar .install.slim .tile-icon { width: 36px; height: 36px; }
#installbar .install.slim > div { min-width: 0 !important; }
#installbar .install.slim p { font-size: .82rem; line-height: 1.35; }
#installbar .install.slim .btn { flex: none; }
.install-x { flex: none; width: 34px; height: 34px; display: grid; place-items: center; border: 0; border-radius: 10px; background: none; color: var(--muted, #6b6b80); cursor: pointer; }
.install-x:hover { background: var(--mist); }
.install-x svg { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
@media (max-width: 380px) { #installbar .install.slim .tile-icon { display: none; } }

@media (prefers-reduced-motion: no-preference) {
  .toast { animation: rise .2s ease-out; }
  @keyframes rise { from { opacity: 0; transform: translate(-50%, 8px); } to { opacity: 1; transform: translate(-50%, 0); } }
  .tile:hover { transform: translateY(-2px); }
}

/* ---------------------------------------------------------------- built-in assistant */
.ask-box { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 16px; margin: 0 0 20px; box-shadow: var(--shadow-sm); }
.ask-box.page { margin-top: 4px; }
.ask-label { display: flex; align-items: center; gap: 8px; font-weight: 600; margin-bottom: 8px; color: var(--ink); }
.ask-label svg { width: 20px; height: 20px; stroke: var(--violet); fill: var(--mist); stroke-width: 1.6; stroke-linejoin: round; flex: none; }
.ask-row { display: flex; gap: 8px; }
.ask-row input { flex: 1; min-width: 0; }
.ask-ex { display: flex; gap: 8px; overflow-x: auto; margin-top: 10px; padding-bottom: 2px; scrollbar-width: thin; }
.ask-ex.wrap { flex-wrap: wrap; overflow: visible; margin-top: 4px; }
.ask-ex button { flex: none; font: inherit; font-size: .88rem; border: 1px solid var(--line); background: var(--mist-2); color: var(--ink); border-radius: 999px; padding: 5px 12px; cursor: pointer; }
.ask-ex button:hover { border-color: var(--violet); }
.ask-privacy { margin: 12px 0 0; }
.ask-help { margin: 0; padding-left: 20px; line-height: 1.9; }
.answer-head { margin-top: 4px; }
.term h2 { font-size: 1.6rem; margin-bottom: 6px; }
.term-main { font-size: 1.06rem; color: var(--ink); margin-bottom: 8px; }
.why { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 10px; }
.why span { font-size: .78rem; line-height: 1.5; padding: 2px 9px; border-radius: 999px; background: var(--mist-2); color: var(--muted); border: 1px solid var(--line); }
.why .good { background: var(--green-tint); color: var(--green); border-color: transparent; }
.why .near { background: var(--mist); color: var(--violet-deep); border-color: transparent; }
.why .urgent { background: var(--saffron-tint); color: #9a4a00; border-color: transparent; }

/* approval: what a unit that is not live yet sees */
.review-box { display: flex; gap: 14px; align-items: flex-start; border-radius: var(--radius); padding: 16px 18px; margin: 0 0 16px;
  background: var(--saffron-tint); border: 1px solid #FFD2A6; }
.review-box > svg { flex: none; width: 28px; height: 28px; margin-top: 2px; stroke: #9A4A00; fill: none; stroke-width: 2; }
.review-box h2 { font-size: 1.1rem; margin: 0 0 4px; }
.review-box p { margin: 0 0 8px; }
.review-box.changes { background: var(--red-tint); border-color: #F0C6CC; }
.review-box.changes > svg { stroke: var(--red); }
.review-box .reason { background: var(--surface); border: 1px solid #F0C6CC; border-radius: 10px; padding: 8px 12px; }
.review-box .reason span { display: block; font-size: .8rem; font-weight: 600; color: var(--red); }

/* admin: approvals */
.stat.hot { background: var(--saffron-tint); border-color: #FFD2A6; }
.stat.hot b { color: #9A4A00; }
.tab-n:not(:empty) { display: inline-block; margin-left: 6px; min-width: 20px; padding: 0 6px; border-radius: 999px; background: var(--saffron); color: #fff; font-size: .78rem; line-height: 20px; text-align: center; }
.status-pill.rejected, .status-pill.suspended { background: var(--red-tint); border-color: #F0C6CC; color: var(--red); }
.status-pill.active { background: var(--green-tint); border-color: #BFE0CC; color: var(--green); }
.status-pill.hidden { color: var(--muted); }
.adm-bar { display: flex; flex-wrap: wrap; gap: 10px 16px; align-items: center; justify-content: space-between; margin-bottom: 4px; }
.filter-chips { display: flex; flex-wrap: wrap; gap: 6px; margin-bottom: 10px; }
.fchip { font: inherit; font-size: .9rem; font-weight: 600; border: 1px solid var(--line-strong); background: var(--surface); color: var(--ink);
  border-radius: 999px; padding: 5px 12px; cursor: pointer; min-height: 36px; }
.fchip span { color: var(--muted); font-weight: 500; margin-left: 2px; }
.fchip[aria-pressed='true'] { background: var(--ink); border-color: var(--ink); color: #fff; }
.fchip[aria-pressed='true'] span { color: #CFCBEA; }
.adm-find { display: flex; gap: 8px; flex: 1 1 280px; max-width: 460px; margin: 0 0 10px; }
.adm-find input { flex: 1; min-width: 0; }
.adm-unit { background: var(--surface); border: 1px solid var(--line); border-left: 4px solid var(--line-strong); border-radius: var(--radius-sm);
  padding: 16px 18px; margin-bottom: 14px; }
.adm-unit.pending { border-left-color: var(--saffron); }
.adm-unit.rejected, .adm-unit.suspended { border-left-color: var(--red); }
.adm-unit.active { border-left-color: var(--green); }
.adm-top { display: flex; flex-wrap: wrap; gap: 8px 16px; justify-content: space-between; align-items: flex-start; }
.adm-top h3 { margin: 0 0 2px; font-size: 1.15rem; }
.adm-top p { margin: 0; }
.adm-tags { display: flex; flex-wrap: wrap; gap: 6px; align-items: center; }
.adm-contact { display: flex; flex-wrap: wrap; gap: 8px 12px; align-items: center; margin: 12px 0 6px; }
.adm-contact .btn svg { width: 16px; height: 16px; }
.adm-sub { font-size: .95rem; margin: 14px 0 6px; }
.warn-count { display: inline-block; margin-left: 4px; padding: 0 7px; border-radius: 999px; background: var(--saffron-tint); color: #9A4A00; border: 1px solid #FFD2A6; font-size: .8rem; }
.ck-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 6px; }
.ck-list li { display: flex; gap: 10px; align-items: flex-start; font-size: .94rem; line-height: 1.45; }
.ck-list li.warn { color: #7A3B00; }
.ck-list li.none { color: var(--muted); }
.ck-i { flex: none; width: 22px; height: 22px; border-radius: 50%; display: inline-grid; place-items: center; font-weight: 700; font-size: .8rem; }
.ck-i.ok { background: var(--green-tint); color: var(--green); }
.ck-i.warn { background: var(--saffron); color: #fff; }
.ck-i.none { background: var(--mist-2); color: var(--muted); border: 1px solid var(--line); }
.mono { font-family: var(--mono); font-size: .88em; }
.adm-more { margin: 12px 0 0; }
.adm-more summary { cursor: pointer; font-weight: 600; color: var(--violet); }
.adm-more-body { padding: 10px 0 0; }
.adm-photos:empty { display: none; }
.adm-decide { border-top: 1px solid var(--line); margin-top: 14px; padding-top: 12px; }
.adm-did { margin: 0 0 8px; }
.adm-did .check { margin: 2px 0; }
.adm-decide .field { margin-bottom: 10px; }
.adm-table td, .adm-table th { vertical-align: top; }
.adm-log { list-style: none; margin: 0; padding: 0; }
.adm-log li { display: grid; grid-template-columns: 150px 1fr; gap: 4px 14px; padding: 10px 0; border-bottom: 1px solid var(--line); }
@media (max-width: 559px) { .adm-log li { grid-template-columns: 1fr; } }
.take-off { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; margin-top: 8px; }
.take-off label { flex-basis: 100%; }
.take-off input { flex: 1 1 200px; }
.more-stats { grid-column: 1 / -1; }
.more-stats summary { cursor: pointer; font-weight: 600; color: var(--violet); padding: 2px 0; }
.more-stats .stats { margin: 10px 0 0; }
.adm-done { background: var(--green-tint); border: 1px solid #BFE0CC; border-radius: var(--radius-sm); padding: 12px 14px; }
.adm-done p { margin: 0; }
.adm-done .btn svg { width: 16px; height: 16px; }
.wa-steps { margin: 6px 0 12px; padding-left: 22px; display: grid; gap: 8px; }
.wa-steps li { line-height: 1.5; }
.warn-text{color:#9A4A00;font-weight:600}

/* ---------------------------------------------------------------- hardware shops, the dictionary, weak network */
.bottomnav { grid-template-columns: repeat(var(--n, 5), 1fr); }
.lead { font-size: 1.08rem; color: var(--muted); max-width: 46rem; }
.picked { color: var(--green); font-weight: 500; margin: 6px 0 0; }
.hw-note { margin-top: 10px; display: flex; gap: 8px; align-items: flex-start; }
.hw-note svg, .note.hs svg, .outbox > svg, .qr-welcome > svg, .join-shop > svg, .au-done > svg, .sc-where svg, .ah-kicker svg {
  flex: none; width: 20px; height: 20px; stroke: currentColor; fill: none; stroke-width: 1.9; stroke-linecap: round; stroke-linejoin: round; }
.note.hs { display: flex; gap: 8px; align-items: flex-start; margin: 12px 0; }
.saved-note { background: var(--mist-2); border: 1px dashed var(--line-strong); border-radius: var(--radius-sm); padding: 8px 12px; margin: 0 0 12px; }
.outbox { display: flex; gap: 12px; align-items: flex-start; margin-bottom: 14px; border-color: var(--line-strong); }
.outbox ul { list-style: none; margin: 6px 0 8px; padding: 0; }
.outbox li { display: flex; flex-wrap: wrap; gap: 4px 10px; align-items: center; padding: 4px 0; border-bottom: 1px solid var(--line); }
.tile.ink .tile-icon { background: var(--ink); color: #fff; }
.badge.shop { background: var(--ink); color: #fff; }
.badge.done { background: var(--green-tint); color: var(--green); }
.good-text { color: var(--green); font-weight: 600; }
.shop-fields { border: 1.5px dashed var(--line-strong); border-radius: var(--radius-sm); padding: 14px 16px 6px; background: var(--mist-2); }
.shop-fields legend { display: flex; gap: 6px; align-items: center; padding: 0 6px; margin-left: -6px; }
.shop-fields legend svg { width: 18px; height: 18px; stroke: currentColor; fill: none; stroke-width: 1.9; }

/* the shops page: one search row, then cards nearest first */
.shop-search { display: grid; gap: 0 14px; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 16px 16px 4px; margin-bottom: 14px; box-shadow: var(--shadow-sm); }
@media (min-width: 760px) { .shop-search { grid-template-columns: 1.6fr 1fr; } .sf-from { grid-column: 1 / -1; } }
.sf-from { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 6px 12px; margin: -4px 0 10px; }
.sf-from .btn svg { width: 16px; height: 16px; }
.sf-ask { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 10px 16px; padding: 12px 16px;
  background: var(--ink); color: #fff; border-radius: var(--radius); margin-bottom: 14px; }
.sf-ask p { margin: 0; display: flex; flex-direction: column; }
.sf-ask b { color: #fff; font-size: 1.05rem; }
.sf-ask .muted { color: #C9C5F4; }
.sf-ask .btn { background: var(--saffron); border-color: var(--saffron); color: var(--ink); }
.sf-ask .btn:hover { background: #FF9C42; border-color: #FF9C42; color: var(--ink); }
.shop-card { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 16px 18px; box-shadow: var(--shadow-sm); }
.shop-card .btn-row { margin-top: 10px; }
.sc-head { display: flex; justify-content: space-between; gap: 10px; align-items: baseline; }
.sc-head a { text-decoration: none; }
.sc-where { display: flex; flex-wrap: wrap; gap: 2px 6px; align-items: center; color: var(--muted); margin: 4px 0 8px; }
.sc-where svg { width: 16px; height: 16px; }
.sc-where b { color: var(--ink); }
.sc-matches { list-style: none; margin: 0 0 8px; padding: 8px 10px; background: var(--mist-2); border-radius: var(--radius-sm); }
.sc-matches li, .cat-items li { display: flex; justify-content: space-between; gap: 10px; align-items: baseline; padding: 4px 0; font-size: .95rem; }
.sc-matches li + li, .cat-items li + li { border-top: 1px solid var(--line); }
.ci-meta { display: inline-flex; flex-wrap: wrap; gap: 4px 10px; align-items: baseline; justify-content: flex-end; text-align: right; font-size: .9rem; color: var(--muted); }
.ci-meta b { color: var(--ink); }
.stock { font-size: .78rem; font-weight: 600; border-radius: 999px; padding: 0 8px; white-space: nowrap; }
.stock.in { background: var(--green-tint); color: var(--green); }
.stock.out { background: var(--mist-2); color: var(--muted); border: 1px solid var(--line); }
.join-shop { display: flex; gap: 14px; align-items: flex-start; border-style: dashed; border-color: var(--line-strong); margin-top: 18px; }
.join-shop > svg { width: 30px; height: 30px; color: var(--violet); }
.join-shop p { color: var(--muted); }

/* a shop's catalog: on its page, and the page where the shop manages it */
.cat-group { font-size: .98rem; margin: 16px 0 4px; display: flex; gap: 8px; align-items: baseline; }
.cat-items { list-style: none; margin: 0; padding: 0; }
#cat-q, #ci-q { margin-bottom: 6px; }
.cat-add { display: grid; gap: 0 12px; align-items: end; }
@media (min-width: 760px) { .cat-add { grid-template-columns: 2fr 1fr 1fr auto auto; } .cat-add .check { margin-bottom: 26px; } .cat-add .btn { margin-bottom: 16px; } }
.pk-tools { margin: 6px 0 8px; }
.pk-items { display: grid; gap: 4px 14px; max-height: 360px; overflow-y: auto; padding: 8px 10px; border: 1px solid var(--line); border-radius: var(--radius-sm); margin-bottom: 12px; }
@media (min-width: 640px) { .pk-items { grid-template-columns: 1fr 1fr; } }
@media (min-width: 960px) { .pk-items { grid-template-columns: 1fr 1fr 1fr; } }
.pk-items label { display: flex; gap: 8px; align-items: flex-start; font-weight: 400; margin: 0; padding: 3px 0; line-height: 1.35; cursor: pointer; }
.pk-items input { accent-color: var(--violet); margin-top: 3px; flex: none; }
.pk-items label.have { color: var(--muted); }
.cat-table td { vertical-align: middle; }
.cat-table input[type=text] { min-height: 38px; padding: 6px 10px; min-width: 7em; }
.cat-table input[type=checkbox] { width: 20px; height: 20px; accent-color: var(--violet); }
.cat-table tr.flash { animation: flash .9s ease-out; }
@media (prefers-reduced-motion: reduce) { .cat-table tr.flash { animation: none; } }

/* the shop's QR code and the welcome a customer sees after scanning it */
.qr-wrap { display: grid; gap: 16px; align-items: start; }
@media (min-width: 640px) { .qr-wrap { grid-template-columns: auto 1fr; } }
.qr-box { background: #fff; border: 1px solid var(--line); border-radius: var(--radius-sm); padding: 10px; width: max-content; min-width: 120px; min-height: 120px; }
.qr-svg { display: block; }
.shop-tools h2 { display: flex; gap: 8px; align-items: center; }
.shop-tools h2 svg { width: 22px; height: 22px; stroke: currentColor; fill: none; stroke-width: 1.9; }
.qr-welcome { display: flex; gap: 14px; align-items: flex-start; background: var(--saffron-tint); border: 1.5px solid #FFD2A6; border-radius: var(--radius); padding: 16px 18px; margin-bottom: 16px; }
.qr-welcome > svg { width: 30px; height: 30px; color: #C25E00; }
.qr-welcome h2 { margin-bottom: 4px; }
.qr-welcome p { margin-bottom: 10px; }

/* quick reply for hardware: two taps and a price */
.qr-set { margin-bottom: 14px; }
.seg-pick { display: flex; flex-wrap: wrap; gap: 8px; }
.seg-pick label { position: relative; margin: 0; font-weight: 500; cursor: pointer; }
.seg-pick input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.seg-pick span { display: inline-block; border: 1.5px solid var(--line-strong); border-radius: 999px; padding: 7px 16px; background: var(--surface); }
.seg-pick input:checked + span { background: var(--ink); border-color: var(--ink); color: #fff; }
.seg-pick input:focus-visible + span { outline: 3px solid var(--violet); outline-offset: 2px; }
.seg-pick input:disabled + span { opacity: .55; }

/* ---------------------------------------------------------------- the admin portal: same site, its own look */
body.admin-mode { --bg: #ECEEF5; }
body.admin-mode .site-header { background: var(--ink); border-bottom: 0; box-shadow: inset 0 4px 0 var(--saffron); }
body.admin-mode .brand-name { color: #fff; }
body.admin-mode .brand-name span { color: #A9A1FF; }
body.admin-mode .brand img { background: #fff; border-radius: 9px; padding: 3px; }
body.admin-mode .brand-tag { color: var(--saffron); font-weight: 600; }
body.admin-mode .topnav a { color: #D9D6FF; }
body.admin-mode .topnav a:hover { background: rgba(255, 255, 255, .08); color: #fff; }
body.admin-mode .topnav a[aria-current='page'] { background: rgba(255, 255, 255, .14); color: #fff; }
body.admin-mode .lang-toggle { background: transparent; color: #fff; border-color: rgba(255, 255, 255, .3); }
body.admin-mode .btn.nav-post { background: transparent; border-color: rgba(255, 255, 255, .45); color: #fff; }
body.admin-mode .btn.nav-post:hover { background: rgba(255, 255, 255, .1); }
body.admin-mode .bottomnav { background: var(--ink); border-top: 0; }
body.admin-mode .bottomnav a { color: #B9B4F0; }
body.admin-mode .bottomnav a[aria-current='page'] { color: #fff; }
body.admin-mode .bottomnav a[aria-current='page'] svg { stroke: var(--saffron); }
body.admin-mode .bottomnav a.post { color: #fff; }
body.admin-mode .footer { display: none; }
.back-admin { position: fixed; z-index: 40; right: 14px; bottom: calc(76px + env(safe-area-inset-bottom)); font: inherit; font-weight: 600; font-size: .9rem;
  background: var(--ink); color: #fff; border: 0; border-radius: 999px; padding: 10px 16px; box-shadow: 0 0 0 3px var(--saffron), var(--shadow); cursor: pointer; }
@media (min-width: 820px) { .back-admin { bottom: 20px; } }

.ah-head { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: flex-end; gap: 14px 24px; margin-bottom: 18px; }
.ah-head h1 { margin-bottom: 2px; }
.ah-head p { margin: 0; }
.ah-kicker { display: flex; gap: 6px; align-items: center; color: #9A4A00; font-weight: 600; font-size: .92rem; margin: 0 0 4px !important; }
.ah-actions { display: flex; flex-wrap: wrap; gap: 8px; }
.ah-tiles { display: grid; grid-template-columns: repeat(2, 1fr); gap: 10px; margin-bottom: 18px; }
@media (min-width: 760px) { .ah-tiles { grid-template-columns: repeat(4, 1fr); } }
.ah-tile { display: flex; flex-direction: column; gap: 2px; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius-sm); padding: 12px 14px; text-decoration: none; color: var(--muted); font-size: .88rem; line-height: 1.3; }
.ah-tile b { font-size: 1.7rem; line-height: 1.1; color: var(--ink); font-weight: 600; }
.ah-tile:hover { border-color: var(--violet); color: var(--muted); }
.ah-tile.hot { background: var(--saffron-tint); border-color: #FFB46B; }
.ah-tile.hot b { color: #9A4A00; }
.ah-grid { display: grid; gap: 0 16px; }
@media (min-width: 900px) { .ah-grid { grid-template-columns: 1fr 1fr; } }
.ah-list { list-style: none; margin: 0; padding: 0; }
.ah-list li { display: flex; flex-direction: column; padding: 8px 0; border-bottom: 1px solid var(--line); }
.ah-list li:last-child { border-bottom: 0; }
.ah-wa h2 { display: flex; gap: 8px; align-items: center; }
.ah-wa h2 svg { width: 22px; height: 22px; stroke: currentColor; fill: none; stroke-width: 1.8; }
.ah-wa .btn-row input { flex: 1 1 12em; }
.ah-links { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 4px; }
.ah-links a { text-decoration: none; background: var(--surface); border: 1px solid var(--line); border-radius: 999px; padding: 6px 14px; color: var(--ink); font-weight: 500; font-size: .92rem; }
.ah-links a:hover { border-color: var(--violet); }
.add-unit .note { margin-bottom: 14px; }
.au-procs { margin: 4px 0 16px; }
.au-procs summary { cursor: pointer; font-weight: 600; color: var(--ink); padding: 6px 0; }
.au-done { display: flex; gap: 14px; align-items: flex-start; border-color: #BFE0CC; background: var(--green-tint); }
.au-done > svg { width: 30px; height: 30px; color: var(--green); stroke-width: 2.4; }
.adm-login { background: var(--saffron-tint); border: 1px solid #FFD2A6; border-radius: var(--radius-sm); padding: 8px 12px; margin: 8px 0; }
.adm-login p { margin: 0 0 6px; }
.adm-login input { flex: 1 1 14em; min-height: 40px; }
/* on a phone each catalog row is a small card: the item on top, brand and price side by side, stock and remove */
@media (max-width: 599px) {
  .ci-table thead { display: none; }
  .ci-table, .ci-table tbody { display: block; }
  .ci-table tr { display: grid; grid-template-columns: 1fr 1fr auto auto; gap: 6px 8px; align-items: center; padding: 10px 0; border-bottom: 1px solid var(--line); }
  .ci-table td { display: block; padding: 0; border: 0; }
  .ci-table td:first-child { grid-column: 1 / -1; }
  .ci-table input[type=text] { min-width: 0; }
}
.badge.shop svg { stroke: currentColor; fill: none; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
@media (min-width: 820px) { #ah-view { display: none; } }
/* the top menu stays on one line on small laptops; the admin's Accounts and WhatsApp move to the More page there */
.topnav a, .btn.nav-post { white-space: nowrap; }
@media (min-width: 820px) and (max-width: 1099px) {
  .topnav a { padding: 7px 8px; font-size: .9rem; }
  .topnav a.wide { display: none; }
}

/* ---------------------------------------------------------------- map search, shop hours, Excel upload */
.map-search { display: flex; gap: 8px; padding: 10px 16px; border-bottom: 1px solid var(--line); background: var(--surface); }
.map-search input { flex: 1 1 auto; min-height: 42px; }
.map-results { position: absolute; z-index: 1100; left: 12px; right: 12px; top: 10px; max-height: 60%; overflow-y: auto; list-style: none; margin: 0; padding: 6px;
  background: var(--surface); border: 1px solid var(--line-strong); border-radius: var(--radius-sm); box-shadow: var(--shadow); }
.map-results button { display: block; width: 100%; text-align: left; font: inherit; background: none; border: 0; border-radius: 9px; padding: 8px 10px; cursor: pointer; color: var(--ink); line-height: 1.3; }
.map-results button:hover, .map-results button:focus-visible { background: var(--mist); }
.map-results button span { display: block; font-size: .82rem; color: var(--muted); }
.map-results .none { padding: 8px 10px; color: var(--muted); font-size: .92rem; }
.hours-pick { display: grid; gap: 0 12px; }
@media (min-width: 560px) { .hours-pick { grid-template-columns: 1fr 1fr 1.2fr; } }
.open-pill { display: inline-block; font-size: .76rem; font-weight: 600; border-radius: 999px; padding: 1px 9px; white-space: nowrap; vertical-align: 1px; }
.open-pill.open { background: var(--green-tint); color: var(--green); }
.open-pill.shut { background: var(--red-tint); color: var(--red); }
.file-btn { cursor: pointer; }
.file-btn svg { width: 18px; height: 18px; stroke: currentColor; fill: none; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
#xl-file:focus-visible + .file-btn, .file-btn:has(+ #xl-file:focus-visible) { outline: 3px solid var(--violet); outline-offset: 3px; }

/* 30 Oct 2026: sector first, then what exactly (profile, admin "Add a unit") */
.q-n { display: inline-grid; place-items: center; width: 22px; height: 22px; border-radius: 50%; background: var(--violet); color: #fff;
  font-size: .78rem; font-weight: 700; margin-right: 4px; vertical-align: 1px; }
.sector-pick { display: grid; grid-template-columns: repeat(auto-fill, minmax(190px, 1fr)); gap: 8px; }
.sector-pick label { position: relative; display: flex; gap: 10px; align-items: flex-start; margin: 0; padding: 11px 12px; cursor: pointer;
  border: 1.5px solid var(--line); border-radius: var(--radius-sm); background: var(--surface); font-weight: 400; transition: border-color .15s, background .15s; }
.sector-pick label:hover { border-color: var(--line-strong); }
.sector-pick input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.sector-pick label:has(input:focus-visible) { outline: 3px solid rgba(84, 70, 255, .35); outline-offset: 2px; }
.sector-pick label:has(input:checked) { border-color: var(--violet); background: var(--mist); box-shadow: 0 0 0 2px rgba(84, 70, 255, .12); }
.sector-pick label:has(input:checked)::after { content: '✓'; position: absolute; top: 6px; right: 8px; color: var(--violet); font-weight: 700; font-size: .9rem; }
.sp-ic { flex: none; display: grid; place-items: center; width: 34px; height: 34px; border-radius: 10px; background: var(--mist-2); color: var(--violet); }
.sector-pick label:has(input:checked) .sp-ic { background: var(--violet); color: #fff; }
.sp-ic svg, .sd-ic svg { width: 20px; height: 20px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.sp-t { min-width: 0; line-height: 1.25; padding-right: 10px; }
.sp-t b { display: block; font-weight: 600; color: var(--ink); font-size: .93rem; }
.sp-t span { display: block; font-size: .8rem; color: var(--muted); margin-top: 2px; }
@media (max-width: 560px) {
  .sector-pick { grid-template-columns: 1fr 1fr; }
  .sector-pick label { flex-direction: column; gap: 6px; padding: 10px; }
  .sp-ic { width: 30px; height: 30px; } .sp-ic svg { width: 18px; height: 18px; }
  .sp-t { padding-right: 0; }
  .sp-t span { display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
}
.sector-drops { display: grid; gap: 8px; margin-top: 12px; }
.sector-drops:not(:has(.sec-drop:not([hidden]))) { margin-top: 0; }
.sec-drop { border: 1.5px solid var(--violet); border-radius: var(--radius-sm); background: var(--surface); }
.sec-drop.empty { border-color: var(--saffron); }
.sec-drop > summary { display: flex; align-items: center; gap: 10px; padding: 10px 12px; cursor: pointer; list-style: none; font-weight: 600; color: var(--ink); }
.sec-drop > summary::-webkit-details-marker { display: none; }
.sec-drop > summary::after { content: ''; margin-left: 6px; width: 8px; height: 8px; border-right: 2px solid var(--muted); border-bottom: 2px solid var(--muted);
  transform: rotate(45deg); transition: transform .15s; flex: none; }
.sec-drop[open] > summary::after { transform: rotate(-135deg); }
.sd-ic { color: var(--violet); display: grid; }
.sd-name { flex: 1; min-width: 0; }
.sd-n { font-size: .82rem; font-weight: 500; color: var(--green); white-space: nowrap; }
.sec-drop.empty .sd-n { color: #A85A00; }
.sec-drop .chips-pick { padding: 2px 12px 12px; }
.mach-box { margin-top: 16px; border: 1px solid var(--line); border-radius: var(--radius-sm); padding: 4px 12px 12px; background: var(--mist-2); }
.mach-box > summary { cursor: pointer; padding: 8px 0; color: var(--ink); }
.mach-box > summary .mb-later { display: block; margin: 2px 0 0 30px; font-weight: 400; }
.mach-box[open] > summary .mb-later { display: none; }
.shop-fields { margin-top: 16px; }

/* Shops and suppliers: type chips and the type tag on a card */
.type-pick { display: flex; flex-wrap: wrap; gap: 6px; margin: 0 0 12px; grid-column: 1 / -1; }
.type-pick label { margin: 0; cursor: pointer; font-weight: 500; }
.type-pick input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.type-pick span { display: inline-block; padding: 6px 14px; border-radius: 999px; border: 1.5px solid var(--line-strong); background: var(--surface); font-size: .92rem; color: var(--ink); }
.type-pick input:checked + span { background: var(--ink); border-color: var(--ink); color: #fff; }
.type-pick input:focus-visible + span { outline: 3px solid rgba(84, 70, 255, .35); outline-offset: 2px; }
.type-tag { display: inline-block; font-size: .76rem; font-weight: 600; letter-spacing: .02em; padding: 1px 8px; border-radius: 6px; background: var(--mist); color: var(--ink); }
.type-tag.trader { background: var(--saffron-tint); color: #8A4A00; }
.type-tag.maker { background: var(--green-tint); color: var(--green); }
.sc-procs { margin: 6px 0 0; }

/* 30 Oct 2026 (2): create account / sign in, and the "new version" bar */
.auth-doors { display: grid; gap: 12px; margin-top: 8px; }
.auth-door { display: flex; gap: 14px; align-items: flex-start; text-align: left; width: 100%; padding: 18px; cursor: pointer; font: inherit; color: var(--ink);
  background: var(--surface); border: 1.5px solid var(--line-strong); border-radius: var(--radius); box-shadow: var(--shadow-sm); transition: border-color .15s, background .15s; }
.auth-door:hover { border-color: var(--violet); background: var(--mist-2); }
.auth-door.new { border-color: var(--violet); background: var(--mist-2); }
.auth-door svg { flex: none; width: 30px; height: 30px; fill: none; stroke: var(--violet); stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; margin-top: 2px; }
.auth-door b { display: block; font-size: 1.08rem; font-weight: 600; }
.auth-door span span { display: block; color: var(--muted); font-size: .92rem; margin-top: 3px; line-height: 1.35; }
.stepper.four { grid-template-columns: repeat(4, 1fr); }
.auth .stepper li { cursor: default; }
.auth .btn.block { width: 100%; }
.update-bar { position: fixed; left: 12px; right: 12px; bottom: calc(76px + env(safe-area-inset-bottom)); z-index: 60; display: flex; align-items: center;
  justify-content: space-between; gap: 12px; max-width: 520px; margin: 0 auto; padding: 10px 12px 10px 16px; border-radius: 14px;
  background: var(--ink); color: #fff; box-shadow: 0 12px 30px rgba(22, 19, 90, .25); }
@media (min-width: 820px) { .update-bar { bottom: 20px; } }

/* 30 Oct 2026 (3): company logos, "add your own" */
.logo { width: var(--s, 44px); height: var(--s, 44px); flex: none; border-radius: 12px; object-fit: contain; background: #fff; border: 1px solid var(--line); }
.logo.initials { display: inline-grid; place-items: center; color: var(--ink); font-weight: 700; font-size: calc(var(--s, 44px) * .38); letter-spacing: -.02em; }
.unit-title { display: inline-flex; align-items: center; gap: 10px; min-width: 0; text-decoration: none; }
.unit-title .unit-name { min-width: 0; }
.unit-head { display: flex; align-items: center; gap: 14px; margin-top: 8px; }
.unit-head h1 { margin: 0 0 4px; }
.unit-head p { margin: 0; }
.dash-who { display: flex; align-items: center; gap: 14px; }
.dash-who .add-logo { display: inline-block; margin-top: 2px; }
.logo-edit { display: flex; align-items: center; gap: 14px; }
.logo-edit .hint { margin: 6px 0 0; }
.bottomnav .logo { width: 22px; height: 22px; border-radius: 6px; margin: 0 auto 2px; display: block; }
.bottomnav .logo.initials { display: grid; font-size: .58rem; }
.own-chip { display: inline-flex; align-items: center; gap: 6px; border: 1.5px solid var(--violet); background: var(--mist); color: var(--ink);
  border-radius: 999px; padding: 5px 6px 5px 12px; font-size: .95rem; }
.own-chip svg { width: 14px; height: 14px; fill: none; stroke: var(--violet); stroke-width: 3; stroke-linecap: round; stroke-linejoin: round; }
.own-rm { border: 0; background: transparent; color: var(--muted); font-size: 1.1rem; line-height: 1; cursor: pointer; padding: 2px 6px; border-radius: 50%; }
.own-rm:hover { background: var(--line); color: var(--ink); }
.own-add { display: flex; gap: 8px; padding: 0 12px 12px; }
.own-add input { flex: 1; min-width: 0; padding: 8px 12px; }
.chip.own { border-style: dashed; }
