:root {
  color-scheme: light;
  font-family: "Segoe UI", system-ui, sans-serif;
  font-size: 15px;
  line-height: 1.55;
  --ink: #14263d;
  --muted: #52657e;
  --background: #f3f6fa;
  --line: #d9e3ef;
  --navy: #101f36;
  --blue: #2056bd;
  --blue-dark: #173e8c;
  --green: #17644e;
  --amber: #815109;
  --red: #a92338;
  --radius: 12px;
}

* { box-sizing: border-box; }
body { margin: 0; color: var(--ink); background: var(--background); }
h1, h2, h3 { margin: 0; line-height: 1.2; letter-spacing: -.025em; }
h1 { font-size: clamp(1.8rem, 2.9vw, 2.5rem); }
h2 { font-size: 1.14rem; }
h3 { font-size: 1rem; }
p { margin: .45rem 0 .9rem; }
a { color: #164aa4; text-underline-offset: .18em; }
a:hover { text-decoration-thickness: 2px; }
:focus-visible { outline: 3px solid #3e79ed; outline-offset: 3px; }
[hidden] { display: none !important; }

.shell {
  display: grid;
  min-height: 100vh;
  grid-template-columns: 230px minmax(0, 1fr);
}

.sidebar {
  position: sticky;
  top: 0;
  height: 100vh;
  height: 100svh;
  overflow: auto;
  padding: 23px 16px;
  background: linear-gradient(166deg, #102743, var(--navy) 62%);
  color: #edf4ff;
}

.brand { display: flex; align-items: center; gap: 11px; min-width: 0; }
.brand-mark {
  display: grid;
  width: 42px;
  height: 42px;
  flex: 0 0 42px;
  place-items: center;
  border: 1px solid #8dd7ff52;
  border-radius: 10px;
  background: #153853;
  color: #f4faff;
  font-size: 1.05rem;
  font-weight: 800;
  letter-spacing: -.045em;
}
.sidebar .brand { margin: 0 5px 22px; }
.brand strong, .brand small { display: block; }
.brand strong { margin-bottom: 1px; font-size: .99rem; }
.brand small { color: #b4c9e3; font-size: .74rem; }
.nav { display: flex; flex-direction: column; gap: 5px; }
.nav a {
  min-width: 0;
  padding: 10px 12px;
  border: 1px solid transparent;
  border-radius: 8px;
  color: #d9e6f7;
  font-size: .89rem;
  font-weight: 650;
  text-decoration: none;
}
.nav a:hover { color: white; background: #ffffff13; }
.nav a[aria-current="page"] { border-color: #9ccfff33; background: #2b5594; color: #fff; }

.workspace, .content { min-width: 0; }
.topbar {
  display: flex;
  flex-wrap: wrap;
  min-height: 66px;
  justify-content: space-between;
  align-items: center;
  gap: 10px 16px;
  padding: 10px clamp(16px, 3.5vw, 40px);
  border-bottom: 1px solid var(--line);
  background: #fff;
}
.breadcrumbs { color: #314b70; font-size: .88rem; font-weight: 750; }
.content { max-width: 1540px; margin: 0 auto; padding: 26px clamp(16px, 3.5vw, 40px) 46px; }
.page-head {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-end;
  justify-content: space-between;
  gap: 14px 22px;
  margin: 0 0 22px;
}
.page-head p { margin: 7px 0 0; }
.muted { color: var(--muted); }
.empty { padding: 18px 0; }

.panel {
  min-width: 0;
  margin: 0 0 15px;
  padding: clamp(15px, 2.2vw, 23px);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #fff;
  box-shadow: 0 2px 6px #14376606;
}
.panel h2 + :is(p,form,dl,ul,details,pre,.button-row,.table-scroll) { margin-top: 12px; }
.panel > :last-child { margin-bottom: 0; }
.grid, .split, .form-grid { display: grid; gap: 13px; }
.grid { grid-template-columns: repeat(auto-fit, minmax(min(100%, 230px), 1fr)); }
.split { grid-template-columns: repeat(2, minmax(0, 1fr)); align-items: start; }
.form-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.grid > *, .split > *, .form-grid > * { min-width: 0; }

button, input, select, textarea { font: inherit; color: inherit; }
input:not([type="checkbox"], [type="radio"], [type="hidden"]), select, textarea {
  display: block;
  width: 100%;
  min-width: 0;
  min-height: 42px;
  padding: 8px 10px;
  border: 1px solid #bfcfe2;
  border-radius: 7px;
  background: #fff;
  color: var(--ink);
}
textarea { min-height: 100px; resize: vertical; }
input[type="file"] { padding: 6px; }
input:is([type="radio"], [type="checkbox"]) { accent-color: var(--blue); width: 17px; height: 17px; margin: 0; }
.field { display: grid; min-width: 0; align-content: start; gap: 5px; }
.field span { font-size: .86rem; font-weight: 660; }
.check { display: inline-flex; align-items: center; gap: 8px; min-height: 30px; font-size: .91rem; }
.check input { flex: 0 0 auto; }
.actions, .toolbar, .button-row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px 10px;
  min-width: 0;
}
.toolbar { align-items: flex-end; margin-bottom: 14px; }
.toolbar > .field { flex: 1 1 145px; }
.button-row { margin-top: 14px; }
.topbar .actions form { margin: 0; }

.btn {
  display: inline-flex;
  min-height: 41px;
  justify-content: center;
  align-items: center;
  gap: 6px;
  padding: 7px 13px;
  border: 1px solid #c5d2e5;
  border-radius: 8px;
  background: #fff;
  color: #203857;
  font-size: .88rem;
  font-weight: 690;
  line-height: 1.35;
  text-align: center;
  text-decoration: none;
  cursor: pointer;
}
.btn:not(:disabled):hover { border-color: #a8c0e0; background: #edf4ff; }
.btn.primary { border-color: var(--blue); background: var(--blue); color: #fff; }
.btn.primary:not(:disabled):hover { border-color: var(--blue-dark); background: var(--blue-dark); }
.btn:disabled { opacity: .55; cursor: not-allowed; }

.table-scroll { overflow-x: auto; max-width: 100%; }
table { width: 100%; min-width: 520px; border-collapse: collapse; text-align: left; font-size: .9rem; }
td, th { padding: 10px 11px; border-bottom: 1px solid #e4ebf4; vertical-align: top; }
th { background: #eef3f9; color: #354b68; font-size: .81rem; font-weight: 720; }
tbody tr:hover { background: #f8fbff; }
td a { font-weight: 670; }
td p { margin: 0; }
.mail-origin { font-weight: 650; }

.flash {
  margin: 0 0 16px;
  padding: 10px 13px;
  border: 1px solid #a5d8c5;
  border-radius: 8px;
  color: var(--green);
  background: #e9f8f1;
}
.flash.error, .flash.danger { border-color: #ebbec6; color: var(--red); background: #fdeff2; }
.flash.warning { border-color: #e5ce9e; color: var(--amber); background: #fff6e3; }
.badge, .status {
  display: inline-block;
  padding: 2px 8px;
  border-radius: 999px;
  color: #314b70;
  background: #e9eff7;
  font-size: .79rem;
  font-weight: 710;
}
.status.valid, .status.success, .status.sent { color: var(--green); background: #e6f6ed; }
.status.warning, .status.warnings, .status.pending { color: var(--amber); background: #fff2db; }
.status.invalid, .status.error, .status.failed { color: var(--red); background: #fcecf0; }

.facts {
  display: grid;
  grid-template-columns: minmax(100px, .7fr) minmax(0, 1fr);
  gap: 8px 12px;
  margin: 12px 0;
}
.facts dt { font-size: .86rem; font-weight: 690; color: var(--muted); }
.facts dd { margin: 0; overflow-wrap: anywhere; }
fieldset { min-width: 0; margin: 0 0 13px; padding: 12px; border: 1px solid var(--line); border-radius: 8px; }
legend { padding: 0 6px; font-weight: 700; }
.permission-set .form-grid { margin-top: 10px; }
pre {
  max-width: 100%;
  max-height: 440px;
  overflow: auto;
  padding: 11px 13px;
  border: 1px solid var(--line);
  border-radius: 7px;
  background: #f5f8fc;
  font-size: .82rem;
  white-space: pre-wrap;
  overflow-wrap: anywhere;
}
summary { cursor: pointer; font-weight: 700; }

.invoice-editor { min-width: 0; }
.line-editor {
  display: grid;
  grid-template-columns: minmax(150px, 2.3fr) repeat(4, minmax(72px, .8fr)) auto;
  gap: 9px;
  align-items: end;
  margin: 0 0 10px;
  padding: 10px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #f7faff;
}
.customer-search { position: relative; }
.suggestions {
  display: grid;
  margin: 5px 0 0;
  padding: 4px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #f3f7fd;
}
.suggestions button { padding: 7px; text-align: left; }
.inline-customer { margin-top: 12px; }

.sign-in {
  display: grid;
  min-height: 100vh;
  min-height: 100svh;
  place-items: center;
  padding: 22px 16px;
  background: radial-gradient(ellipse at 70% 0%, #204b7a, #0a1c33 72%);
}
.auth-card {
  width: min(100%, 445px);
  padding: clamp(19px, 4.4vw, 33px);
  border: 1px solid #d7e2f1;
  border-radius: 16px;
  background: #fff;
  box-shadow: 0 12px 32px #020d1f42;
}
.auth-card .brand { margin-bottom: 23px; }
.auth-card .brand small { color: var(--muted); }
.auth-card .page-head { margin-bottom: 16px; }
.auth-card h1 { font-size: 1.7rem; }
.auth-card .form-grid { grid-template-columns: 1fr; }
.auth-card .field + .field { margin-top: 10px; }
.auth-card .form-grid .field + .field { margin-top: 0; }

@media (max-width: 1100px) {
  .line-editor { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .line-editor > .field:first-child { grid-column: span 2; }
}
@media (max-width: 830px) {
  .shell { grid-template-columns: minmax(0, 1fr); }
  .sidebar { position: static; height: auto; padding: 11px 14px 9px; }
  .sidebar .brand { margin: 0 0 9px; }
  .sidebar .brand-mark { width: 34px; height: 34px; flex-basis: 34px; }
  .nav { flex-direction: row; overflow-x: auto; padding: 4px; margin: -4px; }
  .nav a { flex: 0 0 auto; padding: 8px 10px; white-space: nowrap; }
  .topbar { min-height: 52px; }
  .content { padding-top: 20px; }
}
@media (max-width: 610px) {
  .split, .form-grid { grid-template-columns: minmax(0, 1fr); }
  .topbar .actions { flex-wrap: wrap; }
  .topbar .actions > .muted { max-width: min(100%, 170px); overflow-wrap: anywhere; }
  .line-editor { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .line-editor > .field:first-child { grid-column: 1 / -1; }
  .facts { grid-template-columns: minmax(72px, .8fr) minmax(0, 1fr); }
}
@media print {
  body, .panel { background: #fff; }
  .shell { display: block; }
  .sidebar, .topbar, .page-head .actions, .button-row, .toolbar, .flash { display: none !important; }
  .content { padding: 0; }
  .panel { box-shadow: none; }
}


/* Rechnungseingang */
.content:has(.receipt-table) { max-width: 1780px; }
.status.good { color: #176245; background: #e1f4e9; }
.status.warn { color: #754c00; background: #fff1ca; }
.status.bad { color: #a12639; background: #fce9eb; }
.status.info { color: #174893; background: #e9f1ff; }
.btn.danger { color: var(--red); border-color: #e5b5be; }
.btn.danger:not(:disabled):hover { color: var(--red); background: #fce9eb; border-color: #d78394; }
.btn.small { min-height: 32px; padding: 4px 9px; font-size: .84rem; }
.flash.intake { color: #174893; background: #e9f1ff; border-color: #c6dafe; }
.inbox-scopes, .inbox-modes { display: flex; gap: 8px; flex-wrap: wrap; align-items: center; }
.inbox-scopes { margin-bottom: 14px; }
.inbox-modes { justify-content: space-between; }
.inbox-filter > .field { min-width: min(100%, 180px); }
.inbox-actions { margin: 0 0 13px; }
.receipt-table { padding-inline: 17px; }
.receipt-table table { min-width: 1140px; }
.receipt-table :is(td,th) { padding-inline: 8px; }
.receipt-table th:nth-child(n+7):nth-child(-n+9) { text-align: right; }
.receipt-table :is(th,td):is(:nth-child(2),:nth-child(5),:nth-child(6)) { overflow-wrap: anywhere; }
.receipt-table td:nth-child(2) { min-width: 120px; }
.receipt-table td:nth-child(10) { min-width: 96px; }
.receipt-table td:nth-child(11) { min-width: 109px; }
.receipt-table .status { white-space: nowrap; }
.receipt-table td:nth-child(12) { min-width: 90px; }
.receipt-table input[type=checkbox] { min-height: auto; }
.cell-note { display: block; color: var(--muted); margin-top: 2px; font-size: .8rem; }
.amount { display: block; text-align: right; font-variant-numeric: tabular-nums; white-space: nowrap; }
.receipt-kpis { display: grid; gap: 12px; grid-template-columns: repeat(4,minmax(0,1fr)); margin-bottom: 15px; }
.receipt-kpis .receipt-kpi { margin: 0; display: grid; gap: 3px; padding: 15px 18px; }
.receipt-kpi > span { color: var(--muted); font-weight: 600; font-size: .91rem; }
.receipt-kpi > strong { font-size: clamp(1.25rem,2.1vw,1.88rem); font-variant-numeric: tabular-nums; overflow-wrap: anywhere; }
.receipt-kpi.payable { color: #174893; background: #e9f1ff; }
.receipt-detail { display: grid; align-items: start; gap: 14px; grid-template-columns: minmax(0,1.7fr) minmax(0,1fr); }
.receipt-fields { margin: 12px 0; display: grid; gap: 9px 14px; grid-template-columns: repeat(auto-fit,minmax(min(100%,145px),1fr)); }
.receipt-fields div { min-width: 0; }
.receipt-fields dt, .receipt-party > small { font-weight: 650; color: var(--muted); font-size: .85rem; }
.receipt-fields dd, .receipt-totals dd { margin: 0; overflow-wrap: anywhere; }
.receipt-parties, .receipt-tax-split { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 12px; margin-top: 12px; }
.receipt-party { border: 1px solid var(--line); background: #f3f7fb; border-radius: 8px; padding: 11px 13px; overflow-wrap: anywhere; }
.receipt-party > h3 { margin-top: 3px; }
.receipt-party > p { font-size: .88rem; margin-block: 4px; }
.receipt-detail details > summary { font-weight: 630; color: #174893; cursor: pointer; }
.receipt-more { margin-top: 12px; }
.receipt-totals { margin: 0; font-variant-numeric: tabular-nums; }
.receipt-totals div { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; border-bottom: 1px solid var(--line); padding: 5px 0; }
.receipt-totals div:last-child { font-weight: 700; border-bottom: 0; }
.invoice-note { white-space: pre-wrap; overflow-wrap: anywhere; }
.validation-engine { display: inline-block; margin: 0 0 0 7px; font-size: .86rem; overflow-wrap: anywhere; }
.validation-message { padding: 12px 14px; margin: 12px 0; border: 1px solid var(--line); border-radius: 8px; background: #f4f7fc; overflow-wrap: anywhere; }
.validation-message.bad { background: #fff3f4; border-color: #ebbec6; }
.validation-message.warn { background: #fffaed; border-color: #ead7a2; }
.validation-message p { margin: .35em 0 .55em; }
.validation-location { display: block; margin-top: 6px; color: var(--muted); }
.xml-branch { margin: 3px 0 3px 10px; overflow-wrap: anywhere; }
.xml-leaf { display: grid; grid-template-columns: minmax(100px,1fr) minmax(0,2fr); gap: 9px; margin: 0 0 0 10px; border-bottom: 1px solid var(--line); padding: 3px 2px; }
.xml-value { white-space: pre-wrap; overflow-wrap: anywhere; }
.folder-picker > button { margin-top: 7px; }
.folder-picker [data-folder-status]:empty { display: none; }
.folder-picker details > summary { margin-top: 7px; }
@media (max-width: 1180px) {
  .receipt-detail { grid-template-columns: minmax(0,1fr); }
}
@media (max-width: 650px) {
  .receipt-kpis { grid-template-columns: repeat(2,minmax(0,1fr)); }
  .receipt-parties, .receipt-tax-split { grid-template-columns: minmax(0,1fr); }
  .xml-leaf { grid-template-columns: minmax(0,1fr); gap: 2px; }
}


/* Invoice lists */
.content:has(.grouped-inbox) { max-width: 1690px; }
.tenant-switch .field { display: flex; align-items: center; gap: 8px; margin: 0; }
.tenant-switch .field > span { font-size: .85rem; color: var(--muted); }
.tenant-switch select { min-width: 10rem; width: auto; max-width: min(62vw,19rem); }
.list-heading { display: flex; justify-content: space-between; align-items: center; gap: 12px; flex-wrap: wrap; margin-bottom: 14px; }
.list-heading .inbox-actions { margin: 0; }
.grouped-inbox { padding: clamp(14px,2vw,22px); }
.grouped-inbox table { min-width: 740px; }
.grouped-inbox :is(td,th) { padding-inline: 10px; text-align: left; }
.grouped-inbox th:nth-child(7) { text-align: right; }
.grouped-inbox td { padding-block: 17px; vertical-align: middle; min-width: auto; }
.grouped-inbox td:nth-child(2) { min-width: 123px; }
.grouped-inbox td:nth-child(3) { min-width: 150px; max-width: 315px; }
.grouped-inbox td:nth-child(4) { min-width: 134px; }
.grouped-inbox td:nth-child(5) { min-width: 104px; }
.grouped-inbox td:nth-child(6) { min-width: 112px; }
.grouped-inbox td:last-child, .out-list td:last-child { text-align: right; }
.grouped-inbox tr:has(input:checked) { background: #eff5ff; }
.grouped-inbox tr:hover, .out-list tr:hover { background: #f6f9fd; }
.grouped-inbox .cell-note { margin-top: 4px; font-size: .84rem; }
.inbox-gross { color: var(--ink); font-size: 1.19rem; font-variant-numeric: tabular-nums; white-space: nowrap; }
.inbox-breakdown { display: flex; flex-wrap: wrap; gap: 0 8px; }
.inbox-breakdown > span { white-space: nowrap; }
.archive-mark { margin-top: 6px; }
/* Accessible row actions, including inside scrollable tables. */
.row-menu { display: inline-block; position: relative; text-align: left; }
.row-menu > summary { display: grid; place-items: center; min-width: 36px; min-height: 36px; list-style: none; cursor: pointer; border: 1px solid var(--line); border-radius: 8px; background: #fff; color: var(--ink); font-weight: 800; }
.row-menu > summary::-webkit-details-marker { display: none; }
.row-menu-items { min-width: 174px; padding: 5px; border: 1px solid var(--line); border-radius: 8px; background: #fff; box-shadow: 0 5px 19px #10233d24; }
.row-menu[data-menu-ready] > .row-menu-items { position: fixed; left: var(--menu-left,0); top: var(--menu-top,0); z-index: 25; }
.row-menu-items :is(a,button) { display: block; width: 100%; min-height: 36px; padding: 6px 8px; border: 0; border-radius: 5px; background: transparent; color: var(--ink); font: inherit; text-decoration: none; text-align: left; cursor: pointer; white-space: nowrap; }
.row-menu-items :is(a,button):hover { background: #edf4ff; }
.row-menu-items :is(.danger,.text-danger), .text-danger { color: var(--red); }
.receipt-amounts { padding-bottom: 18px; }
.sum-line { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: baseline; column-gap: 8px; padding: 9px 0; border-bottom: 1px solid var(--line); font-variant-numeric: tabular-nums; }
.sum-line :is(span,strong) { overflow-wrap: anywhere; }
.sum-line.net, .sum-line.gross, .sum-line.tax { font-size: 1.05rem; }
.sum-line.supplementary { color: var(--muted); font-size: .89rem; }
.sum-line.payable { padding: 12px; margin-top: 10px; color: #174893; background: #e9f1ff; border: 1px solid #cfe0fc; border-radius: 8px; }
.sum-line.payable strong { font-size: clamp(1.21rem,2.1vw,1.64rem); }
.tax-rates { margin: 3px 0 5px; padding: 0 clamp(3px,1.2vw,10px); }
.tax-rates table { min-width: 0; table-layout: fixed; }
.tax-rates :is(th,td) { padding: 7px; overflow-wrap: anywhere; }
.tax-rates :is(th,td):first-child { width: 25%; }
.tax-rates :is(th,td):not(:first-child) { text-align: right; }
.detail-parties .receipt-parties { grid-template-columns: minmax(0,1fr); }
.receipt-mail { scroll-margin-top: 15px; }
.receipt-mail .message { margin-top: 13px; padding: 13px 0 0; border-top: 1px solid var(--line); }
.message-body { white-space: pre-wrap; overflow-wrap: anywhere; padding: 13px 16px; border-radius: 8px; border: 1px solid var(--line); background: #f4f7fc; line-height: 1.65; }
.message > p:last-child { margin-bottom: 0; }
.out-list table { min-width: 655px; }
.out-list :is(td,th) { padding-block: 12px; vertical-align: middle; }
.out-list th:nth-child(4) { text-align: right; }
.quiet-primary { background: #e9f1ff; color: var(--blue-dark); }
.outgoing-editor { display: grid; grid-template-columns: minmax(0,1.9fr) minmax(14rem,1fr); align-items: start; gap: 14px; }
.outgoing-editor section, .outgoing-editor details.panel { min-width: 0; }
.outgoing-editor .inline-customer { margin: 7px 0 12px; }
.outgoing-editor .line-editor { display: grid; grid-template-columns: minmax(7rem,2fr) minmax(3rem,.6fr) minmax(4rem,.7fr) minmax(4rem,.8fr) minmax(4rem,.65fr) minmax(3.5rem,.7fr) auto; align-items: end; gap: 7px; }
.outgoing-editor .line-editor :is(input,select) { min-width: 0; width: 100%; padding-left: 7px; }
.outgoing-editor .line-editor .field { margin: 0; }
.outgoing-editor .line-net { display: grid; justify-items: end; min-width: 0; color: var(--muted); font-size: .83rem; font-variant-numeric: tabular-nums; }
.outgoing-editor .line-net strong { color: var(--ink); min-height: 39px; display: flex; align-items: center; overflow-wrap: anywhere; text-align: right; }
.outgoing-editor .editor-extra > summary { font-weight: 650; cursor: pointer; }
.outgoing-editor .editor-extra > :not(summary) { margin-top: 11px; }
.invoice-summary { position: sticky; top: 16px; }
.invoice-summary > .field, .invoice-summary > .btn { margin-top: 11px; width: 100%; }
.invoice-due { display: grid; margin: 14px 0 6px; }
.invoice-due small { color: var(--muted); }
.confirm-delete { max-width: 720px; }
@media (max-width: 1320px) {
  .outgoing-editor .line-editor { grid-template-columns: repeat(3,minmax(0,1fr)); align-items: end; }
  .outgoing-editor .line-editor > :first-child { grid-column: 1 / -1; }
}
@media (max-width: 960px) {
  .outgoing-editor { grid-template-columns: minmax(0,1fr); }
  .invoice-summary { position: static; }
}
@media (max-width: 650px) {
  .tenant-switch .field { flex-wrap: wrap; }
  .tenant-switch .field > span { display: none; }
  .grouped-inbox :is(td,th) { padding-inline: 7px; }
  .tax-rates :is(th,td) { padding-inline: 4px; font-size: .78rem; }
  .invoice-summary { padding: 13px; }
}

.nav-inbox > a { display: block; }
.inbox-tenant-list { display: grid; gap: 2px; margin: 4px 0 7px 11px; padding: 0 0 0 6px;
  border-left: 1px solid #ffffff22; list-style: none; }
.nav .inbox-tenant-list a { display: flex; gap: 6px; align-items: center; justify-content: space-between;
  padding: 6px 7px; font-size: .81rem; font-weight: 550; color: #c7dbf1; line-height: 1.25; }
.inbox-tenant-list a > span:first-child { min-width: 0; overflow-wrap: anywhere; }
.nav .inbox-tenant-list a[aria-current="location"] { background: #ffffff15; color: #fff; }
.tenant-unread { flex: 0 0 auto; min-width: 20px; padding: 2px 4px; border-radius: 10px;
  background: #e0edff; color: #092f61; text-align: center; font-size: .71rem; font-weight: 750; }
.inbox-notice-option { max-width: 340px; margin-top: 12px; }
@media (max-width: 900px) {
  .nav-inbox { flex: 0 0 auto; }
  .nav .inbox-tenant-list { margin-bottom: 2px; }
  .nav .inbox-tenant-list a { white-space: normal; }
}
