:root {
  --bg: #f6f6f4;
  --surface: #ffffff;
  --surface-2: #faf9f7;
  --border: #e4e2db;
  --text: #26261f;
  --muted: #6c6b63;
  --accent: #2f6f4f;
  --accent-bg: #e6f1ea;
  --danger: #a3352d;
  --danger-bg: #fbeae8;
  --amber: #8a5a09;
  --amber-bg: #fbf0da;
  --blue: #1c5a97;
  --blue-bg: #e7f0fa;
  --border-strong: #cfcdc4;
  --toast-bg: #26261f;
  --radius: 10px;
  --shadow: 0 1px 2px rgba(0,0,0,0.04);
}

html.dark {
  --bg: #191a17;
  --surface: #232420;
  --surface-2: #2b2c27;
  --border: #383a33;
  --text: #ece9e0;
  --muted: #9b9a8f;
  --accent: #58b487;
  --accent-bg: #1e3529;
  --danger: #e28579;
  --danger-bg: #3a2521;
  --amber: #d3a250;
  --amber-bg: #372c19;
  --blue: #6ba7de;
  --blue-bg: #1d2a37;
  --border-strong: #4a4c43;
  --toast-bg: #3a3c34;
  --shadow: 0 1px 2px rgba(0,0,0,0.25);
}

* { box-sizing: border-box; }
body {
  margin: 0;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  background: var(--bg);
  color: var(--text);
  font-size: 15px;
  line-height: 1.5;
}

header.app {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 14px 20px;
  background: var(--surface);
  border-bottom: 1px solid var(--border);
  position: sticky;
  top: 0;
  z-index: 5;
}
header.app h1 { font-size: 18px; font-weight: 600; margin: 0; }
header.app .who { margin-left: auto; color: var(--muted); font-size: 13px; }

nav.tabs { display: flex; gap: 2px; padding: 0 16px; background: var(--surface); border-bottom: 1px solid var(--border); overflow-x: auto; }
nav.tabs button {
  display: inline-flex; align-items: center; gap: 7px; white-space: nowrap;
  background: none; border: none; padding: 12px 14px; font-size: 14px; color: var(--muted);
  cursor: pointer; border-bottom: 2px solid transparent; font-family: inherit;
}
nav.tabs button .ic { opacity: .75; }
nav.tabs button:hover { color: var(--text); }
nav.tabs button.active { color: var(--accent); border-bottom-color: var(--accent); font-weight: 500; }
nav.tabs button.active .ic { opacity: 1; }

.brand { display: flex; align-items: center; gap: 9px; }
.brand-mark { display: inline-flex; color: var(--accent); }
.brand-tory { color: var(--accent); }
.ic { display: inline-block; vertical-align: -0.15em; flex: none; }
.header-right { margin-left: auto; display: flex; align-items: center; gap: 14px; }
.icon-btn { display: inline-flex; align-items: center; justify-content: center; width: 34px; height: 34px; border: 1px solid var(--border); border-radius: 8px; background: var(--surface); color: var(--muted); cursor: pointer; }
.icon-btn:hover { color: var(--text); background: var(--surface-2); }

.avatar { display: inline-flex; align-items: center; justify-content: center; border-radius: 10px; font-weight: 600; flex: none; }
.item-main { min-width: 0; }

main { max-width: 860px; margin: 0 auto; padding: 20px; }

.toolbar { display: flex; align-items: center; gap: 10px; margin-bottom: 16px; flex-wrap: wrap; }
.toolbar input.search { flex: 1; min-width: 160px; }
.check { display: flex; align-items: center; gap: 6px; font-size: 13px; color: var(--muted); white-space: nowrap; }
.check input { width: auto; }

.cat-head { font-size: 13px; font-weight: 600; color: var(--muted); text-transform: uppercase; letter-spacing: .04em; margin: 18px 2px 8px; }
.cat-head span { font-weight: 400; opacity: .7; }

.loc-meta { color: var(--muted); font-size: 13px; margin-left: auto; }

.loc-card { display: flex; align-items: center; gap: 12px; padding: 12px 14px; margin-bottom: 8px; }
.loc-card .loc-ic { color: var(--muted); display: inline-flex; flex: none; }
.loc-card .loc-main { flex: 1; display: flex; flex-direction: column; min-width: 0; }
.loc-card .loc-name { font-weight: 500; }
.loc-card .loc-sub { font-size: 12px; color: var(--muted); }
.loc-card .loc-actions { display: flex; gap: 6px; flex: none; }
.loc-card .feed-chev { color: var(--muted); display: inline-flex; flex: none; }
.loc-card.clickable:hover { border-color: var(--border-strong); }
.loc-card .loc-chev { color: var(--muted); display: inline-flex; flex: none; }
/* the expand/collapse toggle — obvious, and a big tap target for mobile */
.loc-toggle { display: inline-flex; align-items: center; justify-content: center; width: 38px; height: 38px; margin: -4px 2px -4px -2px; flex: none; border: 1px solid var(--border); border-radius: 9px; background: var(--surface-2); color: var(--muted); cursor: pointer; font: inherit; }
.loc-toggle:hover { background: var(--accent-bg); color: var(--accent); border-color: var(--border-accent, var(--accent)); }
.loc-toggle:active { transform: scale(0.93); }
.loc-ic-lg { color: var(--accent); display: inline-flex; flex: none; margin-top: 2px; }

/* collapsed parent: child boxes tucked underneath with bottoms peeking, stacked */
/* isolate so the peek z-indexes stay local and never paint over the sticky header */
.loc-tuck { margin-bottom: 8px; cursor: pointer; isolation: isolate; }
.loc-tuck > .loc-card { position: relative; z-index: 20; margin-bottom: 0; }
.loc-tuck:hover > .loc-card { border-color: var(--border-strong); }
.loc-peek { position: relative; height: 16px; background: var(--surface-2); border: 1px solid var(--border); border-top: none; border-radius: 0 0 11px 11px; }

@keyframes locReveal { from { opacity: 0; transform: translateY(-6px); } to { opacity: 1; transform: none; } }
.loc-reveal { animation: locReveal .18s ease; }

input, select, button { font-family: inherit; font-size: 14px; }
input[type=text], input[type=number], select {
  padding: 8px 10px; border: 1px solid var(--border); border-radius: 8px; background: var(--surface);
  color: var(--text); width: 100%;
}
input:focus, select:focus { outline: 2px solid var(--accent-bg); border-color: var(--accent); }

button.btn {
  padding: 8px 14px; border-radius: 8px; border: 1px solid var(--border); background: var(--surface);
  color: var(--text); cursor: pointer;
}
button.btn:hover { background: var(--surface-2); }
button.btn.primary { background: var(--accent); border-color: var(--accent); color: #fff; }
button.btn.primary:hover { filter: brightness(1.05); }
button.btn.sm { padding: 5px 10px; font-size: 13px; }

.card {
  background: var(--surface); border: 1px solid var(--border); border-radius: 12px;
  padding: 14px 16px; margin-bottom: 12px; box-shadow: var(--shadow);
}
.item-head { display: flex; align-items: flex-start; gap: 12px; }
.item-title { font-weight: 600; }
.item-sub { color: var(--muted); font-size: 13px; }
.item-stock { margin-left: auto; text-align: right; }
.item-stock .qty { font-size: 20px; font-weight: 600; }
.item-stock .qty.low { color: var(--danger); }
.item-actions { display: flex; gap: 8px; margin-top: 12px; flex-wrap: wrap; }

.badges { display: flex; gap: 6px; margin-top: 4px; flex-wrap: wrap; }
.badge { font-size: 11px; padding: 2px 8px; border-radius: 20px; font-weight: 500; }
.badge.fungible { background: var(--blue-bg); color: var(--blue); }
.badge.instanced { background: var(--amber-bg); color: var(--amber); }
.badge.mode { background: var(--surface-2); color: var(--muted); border: 1px solid var(--border); }
.badge.cat { background: var(--accent-bg); color: var(--accent); }
.pill-low { display: inline-block; font-size: 11px; padding: 2px 8px; border-radius: 20px; background: var(--danger-bg); color: var(--danger); font-weight: 500; }
.pill-arch { display: inline-block; font-size: 11px; padding: 2px 8px; border-radius: 20px; background: var(--surface-2); color: var(--muted); border: 1px solid var(--border); font-weight: 500; }
.card.archived { opacity: .62; }
.card.archived .item-stock .qty { color: var(--muted); }
button.btn.danger-btn { color: var(--danger); border-color: var(--danger-bg); }
button.btn.danger-btn:hover { background: var(--danger-bg); }

.instances { margin-top: 10px; border-top: 1px solid var(--border); padding-top: 10px; }
.inst-row { display: flex; align-items: center; gap: 10px; font-size: 13px; padding: 4px 0; }
.inst-row .lbl { font-weight: 500; }
.inst-row .rem { color: var(--muted); }
.inst-row .inst-actions { margin-left: auto; }

table.ledger { width: 100%; border-collapse: collapse; background: var(--surface); border: 1px solid var(--border); border-radius: 12px; overflow: hidden; }
table.ledger th, table.ledger td { text-align: left; padding: 9px 12px; border-bottom: 1px solid var(--border); font-size: 13px; }
table.ledger th { background: var(--surface-2); color: var(--muted); font-weight: 500; }
table.ledger tr:last-child td { border-bottom: none; }
.delta.pos { color: var(--accent); font-weight: 500; }
.delta.neg { color: var(--danger); font-weight: 500; }
.delta.neutral { color: var(--muted); font-weight: 500; }
.mtype { text-transform: capitalize; }

.empty { text-align: center; color: var(--muted); padding: 40px; }

/* modal */
.modal-bg {
  position: fixed; inset: 0; background: rgba(30,30,25,0.35);
  display: flex; align-items: center; justify-content: center; z-index: 20; padding: 20px;
}
.modal {
  background: var(--surface); border-radius: 14px; padding: 20px; width: 100%; max-width: 440px;
  box-shadow: 0 10px 40px rgba(0,0,0,0.2); max-height: 90vh; overflow: auto;
}
.modal h2 { margin: 0 0 14px; font-size: 17px; }
.field { margin-bottom: 12px; }
.field label { display: block; font-size: 13px; color: var(--muted); margin-bottom: 4px; }
.row2 { display: flex; gap: 10px; }
.row2 > .field { flex: 1; }
.modal-actions { display: flex; justify-content: flex-end; gap: 8px; margin-top: 16px; }
.hint { font-size: 12px; color: var(--muted); margin-top: 4px; }

/* count day */
.scope-grid { display: flex; flex-wrap: wrap; gap: 6px 16px; }
.count-topbar .ct-row { display: flex; align-items: flex-start; gap: 12px; }
.count-topbar .ct-actions { margin-left: auto; display: flex; gap: 8px; }
.progress { height: 6px; background: var(--surface-2); border-radius: 20px; margin: 12px 0; overflow: hidden; }
.progress span { display: block; height: 100%; background: var(--accent); border-radius: 20px; transition: width .2s; }
.counter-pick { display: flex; align-items: center; gap: 8px; }
.counter-pick select { width: auto; min-width: 120px; }
.claim-holder { color: var(--amber); }

.count-lines { margin-top: 6px; }
.count-line { display: flex; align-items: center; gap: 12px; padding: 8px 0; border-top: 1px solid var(--border); }
.count-line:first-child { border-top: none; }
.count-line.counted { background: var(--accent-bg); margin: 0 -16px; padding: 8px 16px; }
.cl-name { display: flex; flex-direction: column; min-width: 0; flex: 1; }
.cl-name .lbl { font-weight: 500; }
.cl-sub { font-size: 12px; color: var(--muted); }
.cl-mid { min-width: 120px; text-align: right; font-size: 13px; }
.cl-exp { color: var(--muted); }
.cl-by { color: var(--accent); font-size: 13px; }
.cl-by i { font-style: normal; }
.cl-input { width: 90px; text-align: right; }
.variance.pos { color: var(--blue); font-weight: 500; }
.variance.neg { color: var(--danger); font-weight: 500; }
.variance.zero { color: var(--muted); }

.recon-scroll { max-height: 46vh; overflow: auto; margin-bottom: 4px; }
table.recon { font-size: 13px; }
table.recon .num { text-align: right; }
.modal:has(.recon) { max-width: 580px; }

/* auth gate */
#auth-gate, #cloud-gate { position: fixed; inset: 0; background: var(--bg); display: flex; align-items: center; justify-content: center; z-index: 50; padding: 20px; }

/* cloud landing / sign-in */
.cloud-brand { display: flex; align-items: center; justify-content: center; gap: 10px; margin: 4px 0 6px; }
.cloud-word { font-size: 26px; font-weight: 600; letter-spacing: -0.01em; }
.gate-divider { display: flex; align-items: center; gap: 10px; color: var(--muted); font-size: 12px; margin: 16px 0 12px; }
.gate-divider::before, .gate-divider::after { content: ''; flex: 1; border-top: 1px solid var(--border); }
.gate-links { display: flex; justify-content: center; gap: 16px; margin-top: 14px; font-size: 13px; flex-wrap: wrap; }
.gate-links a { color: var(--accent); cursor: pointer; }
.gate-links a:hover { text-decoration: underline; }

/* team / invites */
.invite-code { font-family: monospace; font-size: 18px; text-align: center; background: var(--surface-2); border: 1px dashed var(--border-strong); border-radius: 10px; padding: 14px; margin: 10px 0 4px; word-break: break-all; user-select: all; }
.gate-card { background: var(--surface); border: 1px solid var(--border); border-radius: 14px; padding: 28px; width: 100%; max-width: 380px; box-shadow: 0 10px 40px rgba(0,0,0,0.08); }
.gate-card h2 { margin: 0 0 4px; font-size: 20px; }
.gate-card code { background: var(--surface-2); padding: 1px 6px; border-radius: 6px; }

.user-box { display: flex; align-items: center; gap: 12px; }
.user-meta { display: flex; flex-direction: column; line-height: 1.2; text-align: right; }
.u-name { font-weight: 500; color: var(--text); font-size: 14px; }
.u-role { font-size: 12px; color: var(--muted); }

/* roles editor */
.caps { margin: 8px 0; }
.cap-group { border-top: 1px solid var(--border); padding: 10px 0; }
.cap-group:first-child { border-top: none; }
.cap-group-name { font-size: 12px; font-weight: 600; color: var(--muted); text-transform: uppercase; letter-spacing: .04em; margin-bottom: 6px; }
.check.cap { display: flex; align-items: center; gap: 8px; padding: 4px 0; font-size: 14px; color: var(--text); white-space: normal; }

/* feature toggles */
.switch-row { display: flex; align-items: center; gap: 16px; padding: 14px 0; border-top: 1px solid var(--border); cursor: pointer; }
.switch-text { flex: 1; display: flex; flex-direction: column; gap: 2px; }
.switch-name { font-weight: 500; }
.switch-desc { font-size: 13px; color: var(--muted); }
.switch { position: relative; width: 42px; height: 24px; flex: none; }
.switch input { position: absolute; opacity: 0; width: 0; height: 0; }
.slider { position: absolute; inset: 0; background: var(--border-strong, #cfcdc4); border-radius: 20px; transition: background .2s; }
.slider::before { content: ''; position: absolute; width: 18px; height: 18px; left: 3px; top: 3px; background: #fff; border-radius: 50%; transition: transform .2s; box-shadow: 0 1px 2px rgba(0,0,0,.25); }
.switch input:checked + .slider { background: var(--accent); }
.switch input:checked + .slider::before { transform: translateX(18px); }

/* dashboard + detail */
.metrics { display: grid; grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); gap: 12px; margin-bottom: 16px; }
.metric { background: var(--surface); border: 1px solid var(--border); border-radius: 12px; padding: 14px 16px; }
.metric.accent { background: var(--accent-bg); border-color: transparent; }
.m-label { font-size: 13px; color: var(--muted); }
.m-value { font-size: 26px; font-weight: 600; margin-top: 2px; line-height: 1.2; }
.metric.accent .m-value { color: var(--accent); }

.card-head { display: flex; align-items: center; justify-content: space-between; font-weight: 600; margin-bottom: 10px; }
.card-head > span:first-child { display: inline-flex; align-items: center; gap: 7px; }
.card-head .ic { color: var(--muted); }
.muted { color: var(--muted); font-weight: 400; }
.banner { display: flex; align-items: center; gap: 12px; }
.banner .feed-ic { color: var(--accent); }

.feed { display: flex; flex-direction: column; }
.feed-row { display: flex; align-items: center; gap: 12px; padding: 9px 0; border-top: 1px solid var(--border); }
.feed-row:first-child { border-top: none; }
.feed-ic { display: inline-flex; color: var(--muted); flex: none; }
.feed-main { flex: 1; display: flex; flex-direction: column; min-width: 0; }
.feed-item { font-weight: 500; }
.feed-meta { font-size: 12px; color: var(--muted); text-transform: capitalize; }
.feed-chev { color: var(--muted); display: inline-flex; flex: none; }
.clickable { cursor: pointer; }
.feed-row.clickable:hover .feed-item { color: var(--accent); }
.item-head.clickable { cursor: pointer; }
.item-head.clickable:hover .item-title { color: var(--accent); }

.bar-row { display: flex; align-items: center; gap: 12px; padding: 5px 0; font-size: 13px; }
.bar-label { width: 110px; flex: none; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.bar-track { flex: 1; height: 8px; background: var(--surface-2); border-radius: 6px; overflow: hidden; }
.bar-fill { display: block; height: 100%; background: var(--accent); border-radius: 6px; }
.bar-val { width: 92px; text-align: right; flex: none; color: var(--muted); }

.back-link { margin-bottom: 12px; }
.spark { display: block; }
table.ledger td.num, table.ledger th.num { text-align: right; }

/* toasts */
#toasts { position: fixed; bottom: 22px; left: 50%; transform: translateX(-50%); display: flex; flex-direction: column; align-items: center; gap: 8px; z-index: 60; pointer-events: none; }
.toast { display: flex; align-items: center; gap: 8px; background: var(--toast-bg); color: #fff; padding: 9px 16px; border-radius: 24px; font-size: 14px; box-shadow: 0 4px 16px rgba(0,0,0,.18); opacity: 0; transform: translateY(10px); transition: opacity .25s, transform .25s; }
.toast.show { opacity: 1; transform: translateY(0); }
.toast .ic { color: #7dd1a8; }
.toast-undo { background: none; border: none; color: #7dd1a8; cursor: pointer; font-family: inherit; font-weight: 500; padding: 0 0 0 8px; }
.toast-undo:hover { text-decoration: underline; }

.link-btn { background: none; border: none; color: var(--accent); cursor: pointer; font-family: inherit; font-size: 13px; padding: 2px 0; margin: 2px 0 10px; }
.link-btn:hover { text-decoration: underline; }

.chips { display: flex; flex-wrap: wrap; gap: 6px; margin-bottom: 6px; }
.chip { font-size: 12px; padding: 4px 10px; border: 1px solid var(--border); border-radius: 20px; background: var(--surface-2); color: var(--muted); cursor: pointer; font-family: inherit; }
.chip:hover { border-color: var(--accent); color: var(--accent); }

/* reorder + import */
.reorder-foot { display: flex; align-items: center; justify-content: space-between; margin-top: 10px; }
.foot-btns { display: flex; gap: 8px; }
.reorder-tbl input.order-q { text-align: right; padding: 5px 8px; }
.link { color: var(--accent); cursor: pointer; }
.link:hover { text-decoration: underline; }
.empty-state { text-align: center; color: var(--muted); padding: 28px; display: flex; flex-direction: column; align-items: center; gap: 8px; }
.empty-state .ic { color: var(--accent); }
.empty-state p { margin: 0; }

.modal:has(.import-grid) { max-width: 620px; }
.map-list { display: grid; grid-template-columns: 1fr 1fr; gap: 8px 16px; margin: 10px 0 14px; }
.map-row { display: flex; align-items: center; gap: 8px; }
.map-label { flex: 1; font-size: 13px; color: var(--muted); }
.map-row select { width: auto; min-width: 130px; flex: none; }
.req { color: var(--danger); }
.preview-wrap { max-height: 230px; overflow: auto; border: 1px solid var(--border); border-radius: 8px; margin-bottom: 6px; }
#imp-preview { font-size: 12px; }
#imp-preview th, #imp-preview td { padding: 6px 8px; }

/* page intros + sample badge */
.page-intro { display: flex; align-items: flex-start; gap: 10px; background: var(--surface); border: 1px solid var(--border); border-radius: 10px; padding: 11px 13px; color: var(--muted); font-size: 13.5px; margin: 0 0 16px; }
.page-intro .pi-ic { color: var(--accent); flex: none; display: inline-flex; margin-top: 1px; }
.page-intro .pi-text { flex: 1; line-height: 1.55; }
.intro-x { background: none; border: none; color: var(--muted); cursor: pointer; padding: 2px; display: inline-flex; border-radius: 6px; flex: none; }
.intro-x:hover { background: var(--surface-2); color: var(--text); }

.global-search { position: relative; flex: 1; min-width: 0; max-width: 340px; margin: 0 16px; }
.global-search input { width: 100%; height: 36px; }
.gsearch-results { position: absolute; top: 42px; left: 0; right: 0; background: var(--surface); border: 1px solid var(--border); border-radius: 10px; box-shadow: 0 8px 24px rgba(0,0,0,.14); z-index: 40; overflow: hidden; display: none; }
.gsearch-item { display: flex; align-items: center; gap: 10px; padding: 8px 12px; cursor: pointer; }
.gsearch-item:hover { background: var(--surface-2); }
.gs-main { display: flex; flex-direction: column; min-width: 0; }
.gs-name { font-weight: 500; }
.gs-sub { font-size: 12px; color: var(--muted); }
.gsearch-empty { padding: 12px; color: var(--muted); font-size: 13px; }
@media (max-width: 620px) { .global-search { margin: 0 8px; } }
.pill-sample { display: inline-block; font-size: 11px; padding: 2px 8px; border-radius: 20px; background: var(--blue-bg); color: var(--blue); font-weight: 500; }

/* setup wizard */
#setup-gate { position: fixed; inset: 0; background: var(--bg); display: flex; align-items: flex-start; justify-content: center; z-index: 50; padding: 24px 20px; overflow: auto; }
.setup-card { max-width: 480px; margin: auto; }
.setup-head { display: flex; gap: 12px; align-items: flex-start; margin-bottom: 4px; }
.setup-head .ic { color: var(--accent); margin-top: 3px; flex: none; }
.setup-head > svg { margin-top: 2px; flex: none; }
.setup-head h2 { margin: 0; font-size: 20px; }
.setup-section { border-top: 1px solid var(--border); padding-top: 14px; margin-top: 14px; }
.setup-label { font-size: 12px; font-weight: 600; color: var(--muted); text-transform: uppercase; letter-spacing: .04em; margin-bottom: 8px; }
.setup-card #w-finish { margin-top: 18px; }
.choice-row { display: flex; flex-direction: column; gap: 8px; }
.choice { display: block; border: 1px solid var(--border); border-radius: 10px; padding: 10px 12px; cursor: pointer; }
.choice input { margin-right: 4px; }
.choice-title { font-weight: 500; }
.choice-desc { display: block; font-size: 13px; color: var(--muted); margin: 2px 0 0 20px; }
.choice:has(input:checked) { border-color: var(--accent); background: var(--accent-bg); }

/* mobile */
@media (max-width: 600px) {
  header.app { padding: 12px 14px; }
  header.app h1 { font-size: 16px; }
  .header-right { gap: 8px; }
  main { padding: 14px 12px; }
  nav.tabs { padding: 0 10px; }
  .row2 { flex-direction: column; gap: 0; }
  .map-list { grid-template-columns: 1fr; }
  .modal { padding: 16px; }
  .metrics { grid-template-columns: repeat(auto-fit, minmax(130px, 1fr)); gap: 8px; }
  .m-value { font-size: 22px; }
  .item-stock .qty { font-size: 18px; }
  .btn { padding: 9px 14px; }
  .btn.sm { padding: 7px 11px; }
  /* let wide tables scroll instead of overflowing the card */
  table.ledger { display: block; overflow-x: auto; white-space: nowrap; }
  .toolbar .btn, .toolbar .btn.primary { flex: 1; justify-content: center; }
}

/* print — purchase lists, count sheets, audit */
@media print {
  html { --bg: #fff; --surface: #fff; --surface-2: #fff; --text: #000; --muted: #444; --border: #bbb; }
  header.app, nav.tabs, .toolbar, #toasts, #theme-toggle, .item-actions, .foot-btns, .back-link { display: none !important; }
  body { background: #fff; }
  main { max-width: none; padding: 0; }
  .card { box-shadow: none; border: 1px solid #bbb; break-inside: avoid; }
  a[href], .link { color: #000; text-decoration: none; }
}
