:root {
  color-scheme: light;
  --ink: #252735;
  --muted: #898b9c;
  --faint: #a7a9b5;
  --border: #ededf1;
  --surface: #fff;
  --canvas: #f7f8fa;
  --purple: #6c57da;
  --purple-dark: #5842c2;
  --green: #238966;
  font-family: "DM Sans", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-synthesis: none;
  text-rendering: optimizeLegibility;
}

* { box-sizing: border-box; }

body {
  min-width: 360px;
  margin: 0;
  background: var(--canvas);
  color: var(--ink);
  font-size: 13px;
  -webkit-font-smoothing: antialiased;
}

button, input, select { font: inherit; }
button { color: inherit; }
button:focus-visible, a:focus-visible, input:focus-visible, select:focus-visible {
  outline: 3px solid #bcb2ff;
  outline-offset: 2px;
}

.app-shell { min-height: 100vh; }

.sidebar {
  position: fixed;
  inset: 0 auto 0 0;
  z-index: 2;
  display: flex;
  width: 252px;
  flex-direction: column;
  padding: 25px 17px 15px;
  border-right: 1px solid #edeef2;
  background: #fff;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  align-self: flex-start;
  margin: 0 0 33px 4px;
  color: #292a38;
  font-family: "Manrope", sans-serif;
  font-size: 20px;
  font-weight: 750;
  letter-spacing: -1.05px;
  text-decoration: none;
}

.brand-mark { display: grid; width: 30px; height: 30px; place-items: center; border-radius: 9px; background: #eeeaff; }
.brand-mark svg { width: 21px; stroke: #705cdb; stroke-linecap: round; stroke-linejoin: round; stroke-width: 1.8; }
.brand-period { color: #7663e0; }
.nav-section-label { color: #a0a1ae; font-size: 10px; font-weight: 700; letter-spacing: .95px; }
.profile-copy { display: flex; min-width: 0; flex: 1; flex-direction: column; gap: 2px; }
.profile-copy strong { color: #383947; font-size: 12px; font-weight: 600; }
.profile-copy > span { color: #989aa7; font-size: 11px; }
.navigation { margin-top: 0; }
.nav-section-label { display: block; padding: 0 9px; margin-bottom: 9px; }
.nav-item { display: flex; min-height: 38px; align-items: center; gap: 10px; padding: 0 9px; border-radius: 7px; color: #555664; font-size: 12px; font-weight: 500; text-decoration: none; }
.nav-item[aria-current="page"] { background: #f0edff; color: #5e4dca; font-weight: 600; }
.nav-item svg { width: 17px; fill: none; stroke: currentColor; stroke-linecap: round; stroke-linejoin: round; stroke-width: 1.45; }
.nav-count { display: grid; min-width: 21px; height: 20px; place-items: center; margin-left: auto; border: 1px solid #e8e4fc; border-radius: 6px; background: #fff; color: #7365c7; font-size: 10px; }
.sidebar-bottom { margin-top: auto; }
.profile-button { display: flex; width: 100%; align-items: center; gap: 9px; padding: 9px 5px; border: 0; border-top: 1px solid #efeff2; background: transparent; text-align: left; }
.avatar { display: inline-grid; width: 32px; height: 32px; flex: 0 0 32px; place-items: center; border-radius: 50%; font-size: 10px; font-weight: 650; letter-spacing: .1px; }
.avatar-plum { background: #f0e9f4; color: #795b82; }
.avatar-lavender { background: #efeaff; color: #6956c6; }
.avatar-peach { background: #faece4; color: #a96340; }
.avatar-mint { background: #e7f3eb; color: #498064; }
.avatar-blue { background: #e7eef9; color: #5273a2; }
.avatar-rose { background: #f7e9ed; color: #a85f74; }
.avatar-sand { background: #f5efe2; color: #947a43; }
.avatar-lilac { background: #f0e9f5; color: #825d91; }
.avatar-sage { background: #eaf0e7; color: #627d56; }
.profile-copy strong { font-size: 11px; }
.profile-copy > span { font-size: 10px; }
.profile-more { width: 18px; fill: #a6a7b0; }

.main-content { min-height: calc(100vh - 61px); margin-left: 252px; }
.app-topbar { position: sticky; top: 0; z-index: 1; display: flex; height: 61px; align-items: center; justify-content: space-between; gap: 18px; padding: 0 42px; margin-left: 252px; border-bottom: 1px solid #eceef2; background: #fff; }
.topbar-context { overflow: hidden; flex: 1 1 auto; min-width: 0; }
.topbar-tools, .breadcrumbs { display: flex; align-items: center; }
.breadcrumbs { gap: 10px; color: #9698a5; font-size: 11px; white-space: nowrap; }
.breadcrumbs svg { flex: 0 0 auto; width: 13px; fill: none; stroke: #b6b7c0; stroke-linecap: round; stroke-linejoin: round; stroke-width: 1.5; }
.breadcrumbs strong { overflow: hidden; color: #393a48; font-size: 11px; font-weight: 600; text-overflow: ellipsis; }
.topbar-tools { flex: 0 0 auto; gap: 16px; }
.sync-status { display: flex; align-items: center; gap: 6px; color: #898b97; font-size: 10.5px; }
.sync-dot { width: 6px; height: 6px; border-radius: 50%; background: #68bc91; }
.sync-status.is-offline .sync-dot { background: #d2788a; }
.icon-button { display: grid; width: 30px; height: 30px; place-items: center; border: 1px solid #ececf0; border-radius: 7px; background: #fff; color: #676977; cursor: pointer; }
.icon-button:hover { border-color: #d7d2ef; background: #faf9ff; color: #6654ce; }
.icon-button svg { width: 16px; fill: none; stroke: currentColor; stroke-linecap: round; stroke-linejoin: round; stroke-width: 1.4; }
.condominium-switcher { display: flex; max-width: 100%; min-width: 0; align-items: center; gap: 8px; }
.switcher-label { color: #9a9ba6; font-size: 9.5px; font-weight: 650; letter-spacing: .5px; text-transform: uppercase; white-space: nowrap; }
.switcher-control { position: relative; display: flex; min-width: 0; align-items: center; }
.condominium-switcher select { width: 206px; max-width: 100%; height: 32px; padding: 0 27px 0 10px; border: 1px solid #e9e9ee; border-radius: 7px; background: #fcfcfd; color: #3a3b49; cursor: pointer; font-size: 11px; font-weight: 550; text-overflow: ellipsis; white-space: nowrap; appearance: none; }
.condominium-switcher select:hover:not(:disabled) { border-color: #ddd7f5; background: #faf9ff; }
.condominium-switcher select:disabled { color: #9a9ba6; cursor: default; }
.language-switcher select { width: 118px; }
.switcher-chevron { position: absolute; right: 9px; width: 12px; fill: none; pointer-events: none; stroke: #999aa7; stroke-linecap: round; stroke-linejoin: round; stroke-width: 1.5; }
.page-content { width: min(1054px, 100%); padding: 38px 42px 28px; margin: 0 auto; }
.page-heading { display: flex; align-items: center; justify-content: space-between; margin-bottom: 27px; }
.eyebrow { display: flex; align-items: center; gap: 7px; margin-bottom: 8px; color: #8d8e9b; font-size: 9px; font-weight: 700; letter-spacing: 1px; }
.eyebrow-dot { width: 6px; height: 6px; border-radius: 2px; background: #9988ef; transform: rotate(45deg); }
h1, h2, p { margin-top: 0; }
h1 { margin-bottom: 5px; color: #262735; font-family: "Manrope", sans-serif; font-size: 25px; font-weight: 700; letter-spacing: -.75px; line-height: 1.25; }
.page-heading p { margin: 0; color: #888a98; font-size: 12px; }
.page-heading .condominium-link { color: #6b58d2; font-weight: 600; text-decoration: none; }
.page-heading .condominium-link:hover { text-decoration: underline; }
.primary-button { display: inline-flex; min-height: 35px; align-items: center; justify-content: center; gap: 7px; padding: 0 13px; border: 1px solid var(--purple); border-radius: 7px; background: var(--purple); box-shadow: 0 1px 2px #5842c21a; color: white; cursor: pointer; font-size: 11px; font-weight: 600; transition: background .15s, transform .15s; }
.primary-button:hover { border-color: var(--purple-dark); background: var(--purple-dark); }
.primary-button:active { transform: translateY(1px); }
.primary-button svg { width: 15px; fill: none; stroke: currentColor; stroke-linecap: round; stroke-width: 1.7; }

.stats-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 13px; margin-bottom: 23px; }
.stat-card { min-width: 0; padding: 15px 16px 13px; border: 1px solid #ededef; border-radius: 9px; background: #fff; box-shadow: 0 2px 6px #28293b05; }
.stat-top { display: flex; align-items: center; justify-content: space-between; color: #777987; font-size: 11px; font-weight: 500; }
.stat-icon { display: grid; width: 27px; height: 27px; place-items: center; border-radius: 7px; }
.stat-icon svg { width: 15px; fill: none; stroke: currentColor; stroke-linecap: round; stroke-linejoin: round; stroke-width: 1.45; }
.lavender { background: #f0edff; color: #7661d6; }
.mint { background: #e6f5ee; color: #388c69; }
.amber { background: #fbf3e5; color: #bf8738; }
.rose { background: #f9edf0; color: #b5677b; }
.stat-number { margin: 8px 0 7px; font-family: "Manrope", sans-serif; font-size: 24px; font-weight: 700; letter-spacing: -.8px; line-height: 1.2; }
.stat-foot { display: flex; min-height: 13px; align-items: center; gap: 5px; }
.stat-note { color: #999aa5; font-size: 9.5px; }
.status-pip { width: 5px; height: 5px; border-radius: 50%; }
.active-pip { background: #62bb8c; }
.invited-pip { background: #daa646; }

.directory-card { overflow: hidden; border: 1px solid #ededef; border-radius: 9px; background: #fff; box-shadow: 0 2px 7px #28293b05; }
.directory-heading { display: flex; align-items: center; justify-content: space-between; padding: 18px 19px 14px; }
.directory-title-row { display: flex; align-items: center; gap: 8px; }
.directory-title-row h2 { margin: 0; font-family: "Manrope", sans-serif; font-size: 13px; font-weight: 700; letter-spacing: -.15px; }
.total-pill { display: inline-grid; min-width: 20px; height: 19px; place-items: center; padding: 0 5px; border: 1px solid #eeedf3; border-radius: 6px; background: #fafafd; color: #797b88; font-size: 10px; font-weight: 500; }
.directory-heading p { margin: 4px 0 0; color: #9a9ba6; font-size: 10.5px; }
.text-button { padding: 4px; border: 0; background: transparent; color: #6b58d2; cursor: pointer; font-size: 10.5px; font-weight: 600; }
.text-button:hover { color: #4936b5; text-decoration: underline; }
.toolbar { display: flex; align-items: center; justify-content: flex-start; gap: 12px; padding: 11px 19px; border-top: 1px solid #f1f1f4; border-bottom: 1px solid #f1f1f4; }
.search-box { display: flex; width: min(262px, 100%); height: 31px; align-items: center; gap: 8px; padding: 0 8px; border: 1px solid #ededf1; border-radius: 6px; background: #fff; }
.search-box:focus-within { border-color: #aa9be9; box-shadow: 0 0 0 2px #9b88ee20; }
.search-box svg { width: 14px; flex: 0 0 14px; fill: none; stroke: #999aa7; stroke-linecap: round; stroke-linejoin: round; stroke-width: 1.5; }
.search-box input { width: 100%; min-width: 0; padding: 0; border: 0; outline: 0; background: transparent; color: #373845; font-size: 10.5px; }
.search-box input::placeholder { color: #a7a8b2; }
.search-box input:focus-visible { outline: 0; }
.search-box kbd { display: grid; width: 16px; height: 17px; flex: 0 0 16px; place-items: center; border: 1px solid #ededf1; border-radius: 4px; color: #aaaab5; font-family: inherit; font-size: 10px; }
.search-box input:not(:placeholder-shown) ~ kbd { display: none; }

/* ---------- charges filters ---------- */
.charges-toolbar { flex-wrap: wrap; align-items: flex-end; gap: 10px 14px; }
.filter-field { display: flex; min-width: 150px; flex: 1 1 150px; flex-direction: column; gap: 4px; }
.filter-field label { color: #8b8c99; font-size: 9px; font-weight: 650; letter-spacing: .5px; text-transform: uppercase; }
.filter-field select, .filter-field input { width: 100%; height: 32px; padding: 0 9px; border: 1px solid #e9e9ee; border-radius: 6px; background: #fff; color: #3a3b49; font-size: 11px; }
.filter-field select { appearance: none; padding-right: 26px; background: #fff url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 16 16'%3E%3Cpath d='m4 6 4 4 4-4' fill='none' stroke='%23999aa7' stroke-linecap='round' stroke-linejoin='round' stroke-width='1.5'/%3E%3C/svg%3E") right 8px center / 11px no-repeat; }
.charges-toolbar .text-button { align-self: center; margin-left: auto; }
.filter-error { margin: 0; padding: 0 19px 10px; }

@media (max-width: 720px) {
  .charges-toolbar { flex-direction: column; align-items: stretch; }
  .charges-toolbar .filter-field { flex: 0 0 auto; width: 100%; }
  .charges-toolbar .text-button { align-self: flex-start; margin-left: 0; }
  .filter-error { padding: 0 13px 10px; }
}

.table-scroll { position: relative; overflow-x: auto; }
table { width: 100%; border-collapse: collapse; text-align: left; white-space: nowrap; }
thead { height: 34px; background: #fcfcfd; }
th { padding: 0 13px; color: #9b9ca7; font-size: 8.5px; font-weight: 650; letter-spacing: .65px; }
th:first-child, td:first-child { padding-left: 19px; }
th:last-child, td:last-child { padding-right: 17px; }
.owner-column { width: 45%; }
tbody tr { height: 57px; border-top: 1px solid #f1f1f4; }
tbody tr:hover { background: #fcfcfe; }
td { padding: 6px 13px; color: #646674; font-size: 10.5px; }
.owner-cell { display: flex; align-items: center; gap: 10px; }
.owner-cell .avatar { width: 31px; height: 31px; flex-basis: 31px; }
.owner-copy { display: flex; min-width: 0; flex-direction: column; gap: 2px; }
.owner-name { overflow: hidden; max-width: 205px; color: #3a3b49; font-size: 10.5px; font-weight: 600; text-overflow: ellipsis; }
.owner-email { overflow: hidden; max-width: 205px; color: #9a9ba6; font-size: 9.5px; text-overflow: ellipsis; }
.owner-receipt { max-width: 260px; }
.owner-address, .owner-tax { display: block; overflow: hidden; max-width: 250px; text-overflow: ellipsis; }
.owner-address { color: #666774; font-size: 10px; }
.owner-tax { margin-top: 2px; color: #9a9ba6; font-size: 9.5px; }
.last-active, .phone-cell { color: #8b8c99; font-size: 10px; }
.spinner { width: 20px; height: 20px; border: 2px solid #e6e3f5; border-top-color: #7a66dc; border-radius: 50%; animation: spin .8s linear infinite; }
@keyframes spin { to { transform: rotate(360deg); } }
.actions-heading { width: 40px; }
.row-actions { position: relative; text-align: right; }
.row-menu-button { display: grid; width: 28px; height: 28px; place-items: center; margin-left: auto; border: 1px solid transparent; border-radius: 6px; background: transparent; color: #9798a4; cursor: pointer; font-size: 17px; line-height: 1; }
.row-menu-button:hover, .row-menu-button[aria-expanded="true"] { border-color: #edebf5; background: #f8f7fc; color: #6554c9; }
.row-menu { position: absolute; z-index: 1; top: 35px; right: 15px; width: 142px; padding: 4px; border: 1px solid #ececf0; border-radius: 7px; background: white; box-shadow: 0 7px 22px #29273b18; }
.row-menu button { display: flex; width: 100%; align-items: center; padding: 8px 9px; border: 0; border-radius: 4px; background: transparent; color: #555664; cursor: pointer; font-size: 10px; text-align: left; }
.row-menu button:hover, .row-menu a:hover { background: #f6f5fb; }
.row-menu a { display: flex; width: 100%; align-items: center; padding: 8px 9px; border-radius: 4px; color: #555664; font-size: 10px; text-decoration: none; }
.row-menu button.danger-menu-item { color: #b54d5e; }
.empty-state { display: flex; min-height: 210px; flex-direction: column; align-items: center; justify-content: center; gap: 7px; color: #9495a1; font-size: 10.5px; }
.empty-state[hidden] { display: none; }
.empty-state strong { margin-top: 3px; color: #494a57; font-size: 12px; font-weight: 600; }
.empty-icon { display: grid; width: 36px; height: 36px; place-items: center; border: 1px solid #eeeef2; border-radius: 10px; background: #fafafd; }
.empty-icon svg { width: 18px; fill: none; stroke: #9a91c6; stroke-linecap: round; stroke-width: 1.5; }
.empty-state .text-button { margin-top: 2px; }
.table-footer { display: flex; min-height: 41px; align-items: center; justify-content: space-between; padding: 0 19px; border-top: 1px solid #f0f0f3; color: #999aa6; font-size: 9.5px; }
.table-footer strong { color: #656673; font-weight: 600; }
.footer-note { display: flex; align-items: center; gap: 5px; color: #a2a3ad; font-size: 9px; }
.footer-lock { display: grid; width: 11px; height: 11px; place-items: center; border: 1px solid #aeb0b9; border-radius: 50%; font-size: 6px; }
.page-footnote { margin: 15px 0 0; color: #afb0b9; font-size: 9px; text-align: center; }
.visually-hidden { position: absolute; overflow: hidden; width: 1px; height: 1px; clip: rect(0, 0, 0, 0); white-space: nowrap; clip-path: inset(50%); }

.form-dialog, .confirm-dialog { width: min(440px, calc(100vw - 32px)); padding: 0; overflow: visible; border: 1px solid #edecf1; border-radius: 12px; background: white; box-shadow: 0 16px 60px #25213c26; color: var(--ink); }
.form-dialog::backdrop, .confirm-dialog::backdrop { background: #24233359; backdrop-filter: blur(2px); }
.form-dialog form, .confirm-dialog form { padding: 24px; }
.dialog-header { position: relative; }
.dialog-icon { display: grid; width: 34px; height: 34px; place-items: center; margin-bottom: 15px; border: 1px solid #eae6ff; border-radius: 9px; background: #f3f0ff; color: #6b58d3; }
.dialog-icon svg { width: 17px; fill: none; stroke: currentColor; stroke-linecap: round; stroke-width: 1.5; }
.dialog-close { position: absolute; top: -9px; right: -8px; display: grid; width: 27px; height: 27px; place-items: center; border: 1px solid #eeeef2; border-radius: 7px; background: white; color: #858693; cursor: pointer; font-size: 18px; line-height: 1; }
.dialog-header h2, .confirm-content h2 { margin: 0 0 5px; font-family: "Manrope", sans-serif; font-size: 17px; font-weight: 700; letter-spacing: -.35px; }
.dialog-header > p, .confirm-content p { max-width: 350px; margin: 0; color: #8d8e9b; font-size: 11px; line-height: 1.55; }
.form-fields { display: flex; flex-direction: column; gap: 7px; margin-top: 22px; }
.form-fields > label, .form-field > label { color: #555663; font-size: 10px; font-weight: 600; }
.form-fields > input, .form-field input, .form-field select { width: 100%; height: 35px; padding: 0 10px; border: 1px solid #e9e9ee; border-radius: 6px; background: white; color: #383945; font-size: 11px; }
.form-fields input::placeholder { color: #adaeb7; }
.form-fields > label:not(:first-child) { margin-top: 7px; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; margin-top: 7px; }
.form-field { display: flex; flex-direction: column; gap: 7px; }
.form-field select { appearance: none; background: white url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 16 16'%3E%3Cpath d='m4 6 4 4 4-4' fill='none' stroke='%23999aa7' stroke-linecap='round' stroke-linejoin='round' stroke-width='1.5'/%3E%3C/svg%3E") right 10px center / 12px no-repeat; }
.dialog-actions { display: flex; justify-content: flex-end; gap: 8px; margin-top: 23px; padding-top: 15px; border-top: 1px solid #f0f0f3; }
.secondary-button, .danger-button { min-height: 32px; padding: 0 12px; border: 1px solid #e9e9ee; border-radius: 6px; background: #fff; color: #5f606d; cursor: pointer; font-size: 10.5px; font-weight: 550; }
.secondary-button:hover { background: #f9f9fb; }
.dialog-actions .primary-button { min-height: 32px; font-size: 10.5px; }
.danger-button { border-color: #c44e5f; background: #c44e5f; color: #fff; }
.danger-button:hover { border-color: #ad3e4f; background: #ad3e4f; }
/* ---------- expense wizard and invoice ---------- */
.wizard-dialog { width: min(520px, calc(100vw - 32px)); }
.wizard-steps { display: flex; gap: 8px; margin-top: 18px; }
.wizard-step { display: grid; width: 24px; height: 24px; place-items: center; border-radius: 50%; background: #f1f0f6; color: #8d8e9b; font-size: 10px; font-weight: 700; }
.wizard-step.is-active, .wizard-step.is-done { background: var(--purple); color: #fff; }
.wizard-panel { display: flex; flex-direction: column; gap: 10px; margin-top: 18px; }
.wizard-panel[hidden] { display: none; }
.wizard-note { margin: 0; color: #8d8e9b; font-size: 11px; line-height: 1.55; }
.wizard-choice { display: flex; gap: 18px; color: #555663; font-size: 11px; font-weight: 600; }
.wizard-choice label { display: flex; align-items: center; gap: 6px; cursor: pointer; }
.wizard-match { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; margin-top: 9px; padding: 9px 11px; border: 1px solid #e8e4fc; border-radius: 7px; background: #f7f5ff; color: #4b3fa3; font-size: 10.5px; }
.wizard-file { margin: 0; color: #555663; font-size: 10.5px; }
.wizard-actions { flex-wrap: wrap; }
.field-with-action { display: flex; align-items: center; gap: 8px; }
.field-with-action select { flex: 1; }
.form-field input[type="file"] { height: auto; padding: 7px 9px; font-size: 10.5px; }
.expense-invoice-box { margin-top: 14px; padding-top: 12px; border-top: 1px solid #f0f0f3; }
.expense-invoice-box p { margin: 0 0 6px; color: #555663; font-size: 10.5px; }
.expense-invoice-actions { display: flex; gap: 10px; margin-bottom: 10px; }


.confirm-dialog { width: min(392px, calc(100vw - 32px)); }
.confirm-dialog form { padding: 20px 22px 18px; }
.confirm-content { display: flex; flex-direction: column; align-items: flex-start; }
.confirm-icon { display: grid; width: 32px; height: 32px; place-items: center; margin-bottom: 13px; border-radius: 8px; background: #f9edf0; color: #ae4c5d; }
.confirm-icon svg { width: 17px; fill: none; stroke: currentColor; stroke-linecap: round; stroke-linejoin: round; stroke-width: 1.4; }
.confirm-icon.year-icon { background: #f0edff; color: #6b58d3; }
.confirm-dialog .dialog-actions { margin-top: 18px; }
.toast { position: fixed; z-index: 5; right: 22px; bottom: 22px; padding: 11px 15px; border: 1px solid #dedbe9; border-radius: 8px; background: #fff; box-shadow: 0 5px 22px #27243d1a; color: #414250; font-size: 11px; opacity: 0; pointer-events: none; transform: translateY(6px); transition: opacity .18s, transform .18s; }
.toast.is-visible { opacity: 1; transform: translateY(0); }
.toast.is-error { border-color: #efcdd2; color: #a84454; }

@media (min-width: 1440px) {
  .page-content { padding-top: 44px; }
  .stats-grid { gap: 16px; }
  .stat-card { padding: 17px 18px 15px; }
  tbody tr { height: 60px; }
}

@media (max-width: 1050px) {
  .sidebar { width: 218px; padding-right: 14px; padding-left: 14px; }
  .main-content { margin-left: 218px; }
  .app-topbar { margin-left: 218px; padding-right: 28px; padding-left: 28px; }
  .page-content { padding-right: 28px; padding-left: 28px; }
  .owner-column { width: 39%; }
}

@media (max-width: 720px) {
  .sidebar { position: static; width: 100%; height: auto; padding: 12px 17px; border-right: 0; border-bottom: 1px solid #edeef2; }
  .brand { margin: 0; font-size: 18px; }
  .brand-mark { width: 27px; height: 27px; }
  .main-content { min-height: calc(100vh - 135px); margin-left: 0; }
  .app-topbar { height: 48px; padding: 0 19px; margin-left: 0; }
  .switcher-label { display: none; }
  .condominium-switcher select { width: 168px; }
  .language-switcher select { width: 104px; }
  .page-content { padding: 26px 18px 22px; }
  .page-heading { align-items: flex-end; gap: 10px; margin-bottom: 20px; }
  .page-heading p { max-width: 230px; line-height: 1.5; }
  h1 { font-size: 23px; }
  .primary-button { min-height: 33px; padding: 0 10px; white-space: nowrap; }
  .stats-grid { gap: 9px; margin-bottom: 17px; }
  .stat-card { padding: 12px; }
  .directory-heading { padding-right: 13px; padding-left: 13px; }
  .toolbar { align-items: stretch; padding: 10px 13px; }
  .search-box { flex: 1; }
        .table-scroll { margin: 0; }
  table { min-width: 480px; }
  .table-footer { padding-right: 13px; padding-left: 13px; }
}

@media (max-width: 470px) {
  .topbar-tools { gap: 9px; }
  .condominium-switcher select { width: 132px; }
  .language-switcher select { width: 92px; }
  .sync-status { font-size: 9px; }
  .page-content { padding-right: 13px; padding-left: 13px; }
  .stats-grid { gap: 7px; }
  .stat-card { padding: 10px; }
  .stat-number { font-size: 21px; }
  .stat-top { font-size: 10px; }
  .stat-icon { width: 24px; height: 24px; }
  .stat-foot { display: none; }
  .toolbar { flex-direction: column; }
  .search-box { width: 100%; }
        .footer-note { max-width: 135px; text-align: right; }
}

/* ---------- the report map ---------- */

.check-field { display: flex; align-items: center; gap: 6px; color: #4b4c5a; font-size: 11px; font-weight: 500; }
.check-field input { width: 13px; height: 13px; margin: 0; accent-color: var(--purple); }
.map-toolbar .filter-field { justify-content: flex-start; }
.map-scroll { max-width: 100%; }
.map-table { min-width: 1080px; font-size: 11px; }
.map-table th, .map-table td { padding: 5px 9px; }
.map-table th.map-label, .map-table td.map-label {
  position: sticky;
  left: 0;
  z-index: 1;
  min-width: 195px;
  background: var(--surface);
  text-align: left;
  white-space: nowrap;
}
.map-table thead th.map-label { background: #fcfcfd; }
.map-table thead th.map-amount { vertical-align: bottom; text-align: right; white-space: normal; line-height: 1.25; }
.map-table .map-amount { text-align: right; white-space: nowrap; font-variant-numeric: tabular-nums; }
.map-table tbody tr { height: 32px; }
.map-section th { padding-top: 14px; color: var(--muted); font-size: 9px; letter-spacing: .6px; text-transform: uppercase; }
.map-total-row th, .map-total-row td { border-top: 1px solid #e3e1ef; background: #f5f4fa; font-weight: 650; }
.map-balance th, .map-balance td { border-top: 1px dashed #e3e1ef; background: #f5f4fa; font-weight: 650; }
.map-balance th.map-label { text-align: right; }
/* The rows of totals keep their band while the pointer is over them. */
.map-table tbody tr.map-total-row:hover, .map-table tbody tr.map-balance:hover { background: #f5f4fa; }
.map-table tbody tr.map-total-row th.map-label, .map-table tbody tr.map-balance th.map-label { background: #f5f4fa; }
.map-table tbody tr.map-total-row:hover th.map-label, .map-table tbody tr.map-balance:hover th.map-label { background: #f5f4fa; }
.map-exempt { color: var(--muted); font-size: 10px; font-style: italic; }
.map-location { display: block; color: var(--muted); font-size: 10px; font-weight: 400; }
.map-expense-row .map-location { padding-left: 14px; color: #6b6c7a; }
.settings-actions { display: flex; align-items: center; gap: 8px; margin-top: 14px; }

@media (prefers-reduced-motion: reduce) {
  .spinner { animation-duration: 2s !important; }
  *, *::before, *::after { scroll-behavior: auto !important; transition-duration: .01ms !important; }
}

/* ---------- sign in ---------- */
[hidden] { display: none !important; }
.login-view { display: grid; min-height: 100vh; place-items: center; padding: 24px; }
.login-card { display: flex; width: min(360px, 100%); flex-direction: column; padding: 30px 28px 26px; border: 1px solid #ededef; border-radius: 12px; background: #fff; box-shadow: 0 8px 30px #28293b0d; }
.login-card .brand { margin: 0 0 24px; }
.exemption-list { display: flex; flex-direction: column; gap: 8px; margin: 0; padding: 0; list-style: none; }
.exemption-item { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 9px 0; border-bottom: 1px solid #f4f3f7; color: #555663; font-size: 11px; }
.exemption-item:last-child { border-bottom: 0; }
.exemption-item .table-actions { display: flex; flex: 0 0 auto; gap: 8px; }
.year-exemptions { margin: 10px 0 0; padding-left: 18px; color: #555663; font-size: 10.5px; line-height: 1.65; }
.year-exemptions li { margin: 2px 0; }

.login-card h1 { font-size: 21px; }
.login-intro { margin: 0; color: #888a98; font-size: 12px; }
.login-card .form-fields { margin-top: 20px; }
.login-card .form-fields > label { font-size: 11px; }
.login-card .form-fields > input { height: 38px; font-size: 13px; }
.login-card .primary-button { min-height: 38px; margin-top: 20px; }
.form-error { margin: 14px 0 0; color: #a84454; font-size: 11.5px; line-height: 1.5; }

/* ---------- navigation and profile ---------- */
.nav-section-gap { margin-top: 22px; }
.profile-button .text-button { flex: 0 0 auto; }
.breadcrumbs a { color: #6b58d2; font-weight: 600; text-decoration: none; }
.breadcrumbs a:hover { text-decoration: underline; }

/* ---------- condominium settings ---------- */
.page-heading .secondary-button, .directory-heading .secondary-button { flex: 0 0 auto; white-space: nowrap; }
.settings-card { margin-bottom: 18px; }
.settings-card .directory-heading { gap: 16px; }
.settings-card .table-scroll { border-top: 1px solid #f1f1f4; }
.settings-body { padding: 15px 19px 18px; border-top: 1px solid #f1f1f4; }
.settings-empty { margin: 0 0 12px; color: #9495a1; font-size: 10.5px; }

/* ---------- condominium details ---------- */
.condo-details { margin-bottom: 18px; }
.detail-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px 28px; padding: 0 19px 20px; margin: 0; }
.detail-field { min-width: 0; }
.detail-field dt { color: #9a9ba6; font-size: 9px; font-weight: 650; letter-spacing: .6px; text-transform: uppercase; }
.detail-field dd { margin: 4px 0 0; color: #3a3b49; font-size: 11.5px; font-weight: 550; overflow-wrap: anywhere; }
.detail-field dd.is-muted { color: #a7a8b2; font-weight: 500; }

/* ---------- settings area ---------- */
.settings-tabs { display: flex; gap: 22px; overflow-x: auto; padding: 0 19px; border-bottom: 1px solid #f1f1f4; }
.settings-tab { display: inline-flex; flex: 0 0 auto; min-height: 40px; align-items: center; gap: 7px; padding: 0; border: 0; border-bottom: 2px solid transparent; background: transparent; color: #858693; cursor: pointer; font-size: 11px; font-weight: 600; }
.settings-tab:hover { color: #5842c2; }
.settings-tab[aria-selected="true"] { color: #5842c2; border-bottom-color: #6c57da; }
.settings-tab .total-pill { height: 18px; min-width: 19px; }
.settings-panel-head { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 15px 19px; }
.settings-panel-head p { flex: 1 1 auto; min-width: 0; margin: 0; color: #9a9ba6; font-size: 10.5px; }
.settings-panel-head .secondary-button { flex: 0 0 auto; white-space: nowrap; }
.empty-state.compact { min-height: 120px; padding: 0 19px; text-align: center; }
.row-link { color: #3a3b49; font-weight: 600; text-decoration: none; }
.row-link:hover { color: #5842c2; text-decoration: underline; }
.cell-strong { color: #3a3b49; font-weight: 600; }
.table-actions { text-align: right; white-space: nowrap; }
.table-actions .text-button { margin-left: 8px; text-decoration: none; }
.danger-text { color: #b54d5e; }
.danger-text:hover { color: #96384a; }
.chip-list { display: flex; flex-wrap: wrap; gap: 7px; padding: 0; margin: 0 0 14px; list-style: none; }
.chip { display: inline-flex; align-items: center; gap: 4px; min-height: 28px; padding: 0 4px 0 11px; border: 1px solid #e8e4fc; border-radius: 14px; background: #f7f5ff; color: #4b3fa3; font-size: 11px; font-weight: 600; }
.chip button { display: grid; width: 20px; height: 20px; place-items: center; padding: 0; border: 0; border-radius: 50%; background: transparent; color: #8679cf; cursor: pointer; font-size: 14px; line-height: 1; }
.chip button:hover { background: #e6e0ff; color: #4936b5; }
.inline-form { display: flex; gap: 8px; }
.inline-form input { width: min(280px, 100%); height: 32px; padding: 0 10px; border: 1px solid #e9e9ee; border-radius: 6px; background: #fff; color: #383945; font-size: 11px; }
.inline-form input::placeholder { color: #adaeb7; }
.form-hint { margin: 8px 0 0; color: #a2a3ad; font-size: 10px; }
.checkbox-field { display: flex; align-items: center; gap: 8px; margin-top: 10px; color: #555663; cursor: pointer; font-size: 11px; font-weight: 500; }
.checkbox-field input { width: 15px; height: 15px; margin: 0; accent-color: var(--purple); }
.form-dialog .dialog-header > .dialog-close { top: -9px; }
.confirm-content h2 { margin-top: 0; }


/* ---------- apartments ---------- */
.heading-actions { display: flex; flex: 0 0 auto; gap: 8px; }
.form-row-3 { grid-template-columns: 1fr 1fr 1.4fr; margin-top: 0; }
.muted-cell { color: #b0b1bb; }
.text-button:disabled { color: #b9bac4; cursor: not-allowed; text-decoration: none; }
.summary-warning { color: #a8742a; }
.summary-done { color: #238966; }
.suggest-dialog { width: min(520px, calc(100vw - 32px)); }
.suggest-tools { display: flex; align-items: center; justify-content: space-between; margin-top: 18px; color: #6f7080; font-size: 11px; font-weight: 600; }
.suggest-list { overflow-y: auto; max-height: min(46vh, 380px); margin-top: 8px; border: 1px solid #ededf1; border-radius: 8px; }
.suggest-group { padding: 10px 12px 12px; }
.suggest-group + .suggest-group { border-top: 1px solid #f1f1f4; }
.suggest-group h3 { margin: 0 0 8px; color: #555663; font-size: 10px; font-weight: 700; letter-spacing: .6px; text-transform: uppercase; }
.suggest-floor { display: flex; align-items: center; gap: 6px; padding: 3px 0; }
.suggest-floor-name { flex: 0 0 46px; color: #8b8c99; font-size: 10.5px; font-weight: 600; }
.suggest-options { display: flex; flex-wrap: wrap; gap: 6px; }
.suggest-option { display: inline-flex; align-items: center; gap: 6px; min-height: 26px; padding: 0 9px 0 7px; border: 1px solid #e9e9ee; border-radius: 6px; background: #fff; color: #4a4b58; cursor: pointer; font-size: 11px; }
.suggest-option:has(input:checked) { border-color: #d5cdfb; background: #f7f5ff; color: #4b3fa3; }
.suggest-option input { width: 13px; height: 13px; margin: 0; accent-color: var(--purple); }

@media (max-width: 720px) {
  .settings-card .directory-heading { flex-wrap: wrap; }
  .form-row-3 { grid-template-columns: 1fr 1fr; }
  .detail-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px 18px; padding: 0 13px 16px; }
  .settings-tabs { gap: 16px; padding: 0 13px; }
  .settings-panel-head { flex-wrap: wrap; padding: 13px; }
}

@media (max-width: 470px) {
  .detail-grid { grid-template-columns: 1fr; }
}

.page-heading p + p { margin-top: 3px; }

/* ---------- contributions ---------- */
.cell-note { display: block; margin-top: 2px; color: #9a9ba6; font-size: 9.5px; }
.tier-amounts { display: flex; flex-direction: column; gap: 8px; margin-top: 14px; padding-top: 14px; border-top: 1px solid #f0f0f3; }
.tier-amount { display: grid; grid-template-columns: 1fr 130px; align-items: center; gap: 12px; }
.tier-amount label { color: #3a3b49; font-size: 11px; font-weight: 600; }
.tier-amount label span { display: block; margin-top: 2px; color: #9a9ba6; font-size: 9.5px; font-weight: 500; }
.tier-amount input { width: 100%; height: 35px; padding: 0 10px; border: 1px solid #e9e9ee; border-radius: 6px; background: #fff; color: #383945; font-size: 11px; text-align: right; }
.dialog-body { padding: 24px; }
.history-list { overflow-y: auto; max-height: min(50vh, 360px); padding: 0; margin: 18px 0 0; border: 1px solid #ededf1; border-radius: 8px; list-style: none; }
.history-list li { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 11px 12px; }
.history-list li + li { border-top: 1px solid #f1f1f4; }
.history-main { color: #3a3b49; font-size: 11.5px; font-weight: 600; }
.history-main .badge { margin-left: 6px; padding: 1px 6px; border-radius: 9px; background: #e6f5ee; color: #238966; font-size: 9px; font-weight: 700; letter-spacing: .3px; vertical-align: 1px; }
.history-main .badge.upcoming { background: #fbf3e5; color: #a8742a; }
.history-note { display: block; margin-top: 2px; color: #9a9ba6; font-size: 9.5px; font-weight: 500; }

/* ---------- apartment overview ---------- */
.link-button { display: inline-flex; flex: 0 0 auto; align-items: center; text-decoration: none; white-space: nowrap; }
.overview-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 13px; margin-bottom: 18px; }
.overview-card { padding: 16px 18px 17px; }
.overview-card h2 { margin: 0 0 12px; font-family: "Manrope", sans-serif; font-size: 13px; font-weight: 700; letter-spacing: -.15px; }
.overview-card-head { display: flex; align-items: baseline; justify-content: space-between; gap: 10px; margin-bottom: 12px; }
.overview-card-head h2 { margin: 0; }
.detail-list { display: grid; grid-template-columns: auto 1fr; gap: 7px 14px; margin: 0; }
.detail-list dt { color: #9a9ba6; font-size: 10.5px; }
.detail-list dd { overflow-wrap: anywhere; margin: 0; color: #3a3b49; font-size: 11px; font-weight: 600; text-align: right; }
.detail-list dd .cell-note { font-weight: 500; }
.overview-empty { margin: 0; color: #9495a1; font-size: 10.5px; line-height: 1.55; }
.status-pill { display: inline-block; padding: 2px 8px; border-radius: 10px; font-size: 9.5px; font-weight: 700; letter-spacing: .2px; }
.status-pill.paid { background: #e6f5ee; color: #238966; }
.status-pill.outstanding { background: #f9edf0; color: #ae4c5d; }
.status-pill.difference { background: #fbf3e5; color: #a8742a; }
.status-pill.ready { background: #eef0ff; color: #5842c2; }
.status-pill.blocked { background: #fbf3e5; color: #a8742a; }
.year-fix-link { color: #6b58d2; font-size: 9.5px; font-weight: 600; text-decoration: none; white-space: nowrap; }
.year-fix-link:hover { text-decoration: underline; }

/* ---------- bank statements and reconciliation ---------- */
.status-chip { display: inline-flex; align-items: center; min-height: 20px; padding: 0 8px; border-radius: 999px; font-size: 9.5px; font-weight: 650; white-space: nowrap; }
.status-chip.is-open { background: #fdf3e3; color: #9a6b1e; }
.status-chip.is-done, .status-chip.is-credit { background: #eaf6ee; color: #2f7a4d; }
.status-chip.is-muted { background: #f1f0f6; color: #7a7b88; }
.status-chip.is-warning, .status-chip.is-debit { background: #fdeaea; color: #a84454; }
.amount-cell.is-credit { color: #2f7a4d; }
.amount-cell.is-debit { color: #a84454; }
.reconciled-label { color: #858693; font-size: 9.5px; }
.statement-chips { display: flex; flex-wrap: wrap; gap: 8px; padding: 14px 18px 18px; }
.statement-preview { margin-top: 16px; }
.statement-preview-heading { display: flex; justify-content: space-between; gap: 10px; margin-bottom: 6px; color: #555663; font-size: 10.5px; }
.statement-preview-heading span { color: #9c9daa; }
.statement-preview .table-scroll { max-height: 220px; overflow: auto; border: 1px solid #f0f0f3; border-radius: 7px; }
.statement-preview-table { width: 100%; border-collapse: collapse; font-size: 10px; }
.statement-preview-table th, .statement-preview-table td { max-width: 220px; padding: 5px 7px; overflow: hidden; border-bottom: 1px solid #f0f0f3; text-align: left; text-overflow: ellipsis; vertical-align: top; white-space: nowrap; }
.statement-preview-table th { background: #faf9fc; color: #8d8e9b; font-size: 9px; letter-spacing: .3px; }
.statement-skipped { margin: 0; padding-left: 18px; color: #8d8e9b; font-size: 10.5px; line-height: 1.6; }
.form-row-4 { grid-template-columns: repeat(4, 1fr); }

/* The upload wizard holds a table of movements: it is wider than a form
   dialog, and its body scrolls while the header and the buttons stay in
   place, so the content never runs out of the modal or off the screen. */
#statement-upload-dialog { width: min(920px, calc(100vw - 32px)); max-width: calc(100vw - 32px); }
#statement-upload-dialog form { display: flex; flex-direction: column; max-height: calc(100vh - 48px); overflow: hidden; }
#statement-upload-dialog #statement-file-panel { flex: 0 0 auto; }
#statement-upload-dialog #statement-layout-panel {
  flex: 1 1 auto;
  min-height: 0;
  overflow-y: auto;
  overscroll-behavior: contain;
  padding-right: 4px;
}
#statement-upload-dialog #statement-layout-panel > * { flex: 0 0 auto; }
#statement-upload-dialog .form-field { min-width: 0; }
#statement-upload-dialog .form-field input, #statement-upload-dialog .form-field select { min-width: 0; width: 100%; }
/* One vertical scroll area only: the panel scrolls, the tables keep their
   horizontal scroll for wide statement files. */
#statement-upload-dialog .statement-preview .table-scroll {
  max-height: none;
  overflow-x: auto;
  overflow-y: hidden;
}
#statement-upload-dialog .dialog-actions, #statement-upload-dialog .form-error { flex: 0 0 auto; }
@media (max-width: 760px) {
  #statement-upload-dialog .form-row-4, #statement-upload-dialog .form-row-3 { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 560px) {
  #statement-upload-dialog .form-row-4, #statement-upload-dialog .form-row-3 { grid-template-columns: 1fr; }
}

@media (max-width: 1050px) {
  .overview-grid { grid-template-columns: 1fr; }
}

/* ---------- legal links and the public legal pages ---------- */

.legal-links, .legal-links nav { display: flex; flex-wrap: wrap; justify-content: center; gap: 4px 14px; }
.legal-links a { color: #888a98; font-size: 11px; text-decoration: none; }
.legal-links a:hover { color: #6b58d2; text-decoration: underline; }
.login-legal { margin-top: 18px; }
.sidebar-legal { padding: 8px 5px 0; }
.sidebar-legal nav { justify-content: flex-start; }

.legal-page { display: flex; min-height: 100vh; flex-direction: column; }
.legal-header, .legal-content { width: min(760px, calc(100% - 32px)); margin: 0 auto; }
.legal-header { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 24px 0 14px; }
.legal-header .brand { margin: 0; color: inherit; text-decoration: none; }
.legal-languages { display: flex; gap: 6px; }
.legal-languages .text-button { font-size: 12px; color: #888a98; }
.legal-languages .text-button[aria-pressed="true"] { color: #6b58d2; text-decoration: underline; }
.legal-content { padding: 28px 32px 32px; border: 1px solid #ededef; border-radius: 12px; background: #fff; box-shadow: 0 8px 30px #28293b0d; }
.legal-content h1 { margin: 0; font-size: 24px; }
.legal-content h2 { margin: 26px 0 8px; font-size: 15px; }
.legal-content p, .legal-content li { color: #3f4150; font-size: 14px; line-height: 1.65; }
.legal-content ul { padding-left: 20px; }
.legal-content a { color: #6b58d2; }
.legal-content code { padding: 1px 4px; border-radius: 4px; background: #f3f2fb; font-size: 12.5px; }
.legal-date { margin: 6px 0 0; color: #888a98; font-size: 12px !important; }
.legal-footer { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px 18px; padding: 24px 16px 32px; }
.legal-footer a { color: #888a98; font-size: 12px; text-decoration: none; }
.legal-footer a:hover { color: #6b58d2; text-decoration: underline; }

@media (max-width: 560px) {
  .legal-content { padding: 22px 18px; }
  .legal-header { flex-wrap: wrap; }
}

/* ---------- the menu on small screens ----------
   The sidebar becomes a band across the top, and the menu folds away behind
   a button, so it never runs off the screen. Opened, it shows every item in
   a column, with the profile, the sign-out button and the legal links. */

.nav-toggle, .sidebar-selectors { display: none; }

@media (max-width: 720px) {
  .sidebar { flex-direction: row; flex-wrap: wrap; align-items: center; justify-content: space-between; }
  .nav-toggle { display: inline-flex; width: 38px; height: 38px; align-items: center; justify-content: center; padding: 0; border: 1px solid #ececf0; border-radius: 8px; background: #fff; color: #555664; cursor: pointer; }
  .nav-toggle svg { width: 20px; fill: none; stroke: currentColor; stroke-linecap: round; stroke-width: 1.7; }
  .nav-toggle .icon-close, .sidebar.nav-open .nav-toggle .icon-open { display: none; }
  .sidebar.nav-open .nav-toggle .icon-close { display: block; }
  .sidebar .navigation, .sidebar .sidebar-bottom { display: none; flex-basis: 100%; }
  .sidebar.nav-open .navigation { display: flex; flex-direction: column; gap: 2px; margin: 12px 0 0; }
  .sidebar.nav-open .nav-section-label { display: block; margin: 12px 0 4px; }
  .sidebar.nav-open .sidebar-selectors { display: flex; flex-basis: 100%; flex-direction: column; gap: 10px; margin-top: 12px; padding-top: 14px; border-top: 1px solid #efeff2; }
  .sidebar-selectors .condominium-switcher { flex-direction: column; align-items: stretch; gap: 5px; }
  .sidebar-selectors .switcher-label { display: block; }
  .sidebar-selectors .condominium-switcher select { width: 100%; height: 40px; font-size: 13px; }
  .sidebar.nav-open .sidebar-bottom { display: block; margin-top: 12px; }
  .nav-item { width: 100%; min-height: 40px; }
}

/* ---------- the owners table on small screens ----------
   Only the owner (name and email) and the actions fit: the phone, the
   receipt details and the date added are hidden, and the table no longer
   needs the width every other table keeps. */

@media (max-width: 720px) {
  .owners-table { min-width: 0; }
  .owners-table .owner-column { width: auto; }
  .owners-table .phone-column, .owners-table .phone-cell,
  .owners-table .receipt-column, .owners-table .owner-receipt,
  .owners-table .added-column, .owners-table .last-active { display: none; }
}

/* ---------- the expenses table on small screens ----------
   The category, the payment form and the invoice are hidden, and the row's
   actions, with its invoice, move into a menu like the owners table's. */

.expense-menu-button { display: none; }

@media (max-width: 720px) {
  .expenses-table { min-width: 0; }
  .expenses-table .category-column, .expenses-table .category-cell,
  .expenses-table .form-column, .expenses-table .form-cell,
  .expenses-table .invoice-column, .expenses-table .invoice-cell,
  .expenses-table .expense-inline-actions { display: none; }
  .expenses-table .table-actions { position: relative; }
  .expenses-table .expense-menu-button { display: grid; }
}

/* ---------- the apartments screen on small screens ----------
   The fraction, the building and the permillage are hidden; the floor and
   the letter, which together name the apartment, the owner and the link to
   the overview stay. */

@media (max-width: 720px) {
  .apartments-list-table { min-width: 0; }
  .apartments-list-table .fraction-column, .apartments-list-table .fraction-cell,
  .apartments-list-table .building-column, .apartments-list-table .building-cell,
  .apartments-list-table .permillage-column, .apartments-list-table .permillage-cell { display: none; }
}
