@font-face {
  font-family: "Noto Sans Thaana";
  src: url("/NotoSansThaana.ttf") format("truetype");
  font-display: swap;
  unicode-range: U+0780-07BF;
}

:root {
  color-scheme: light;
  font-family: "Segoe UI", "Noto Sans Thaana", system-ui, sans-serif;
  font-synthesis: none;
  --navy: #112a38;
  --ink: #172c36;
  --muted: #54676f;
  --teal: #116b5e;
  --teal-dark: #0b564c;
  --mint: #b0ebd5;
  --mint-light: #e7f5ef;
  --canvas: #f4f7f8;
  --line: #dae4e6;
  --white: #fff;
  --shadow: 0 2px 10px rgb(16 42 56 / 5%), 0 18px 35px -30px rgb(16 42 56 / 35%);
}

*, *::before, *::after { box-sizing: border-box; }
body { margin: 0; background: var(--canvas); color: var(--ink); }
[hidden] { display: none !important; }
button, input, select { font: inherit; }
button { cursor: pointer; }
button:disabled { cursor: default; }
a { color: inherit; }
button:focus-visible, a:focus-visible, summary:focus-visible, input:focus-visible, select:focus-visible {
  outline: 3px solid #5abbb0;
  outline-offset: 3px;
}
h1, h2, p, dl, dd { margin: 0; }
h1:focus { outline: none; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }

.layout { min-height: 100vh; display: grid; grid-template-columns: 236px minmax(0, 1fr); }
.sidebar {
  position: sticky;
  top: 0;
  height: 100vh;
  display: flex;
  flex-direction: column;
  padding: 26px 17px 20px;
  background: var(--navy);
  color: #eaf4f5;
}
.brand { display: flex; gap: 12px; align-items: center; margin: 0 9px 45px; text-decoration: none; }
.brand-mark {
  width: 41px;
  height: 41px;
  flex: 0 0 auto;
  display: grid;
  place-items: center;
  border-radius: 12px;
  background: #a9e7d0;
  color: #194c45;
}
.brand-mark i { position: relative; width: 22px; height: 18px; border-bottom: 2px solid currentColor; }
.brand-mark i::before {
  content: "";
  position: absolute;
  width: 100%;
  height: 7px;
  background: currentColor;
  clip-path: polygon(50% 0, 100% 77%, 100% 100%, 0 100%, 0 77%);
}
.brand-mark i::after {
  content: "";
  position: absolute;
  top: 9px;
  left: 3px;
  width: 16px;
  height: 7px;
  background: repeating-linear-gradient(90deg, currentColor 0 2px, transparent 2px 7px);
}
.brand-name { font-size: 17px; font-weight: 720; line-height: 1.14; letter-spacing: -.025em; }
.brand-name > span { display: block; color: #bfd1d5; font-size: 13px; font-weight: 500; margin-top: 2px; letter-spacing: 0; }
.navigation { display: grid; align-content: start; gap: 8px; }
.nav-caption { display: block; margin: 0 11px 2px; color: #a4bdc4; font-size: 10px; font-weight: 730; letter-spacing: .12em; text-transform: uppercase; }
.nav-group { display: grid; gap: 8px; margin-top: 21px; }
.nav-link {
  display: flex;
  align-items: center;
  gap: 11px;
  min-height: 45px;
  padding: 9px 12px;
  border-radius: 8px;
  color: #daebed;
  font-size: 14px;
  font-weight: 600;
  text-decoration: none;
}
.nav-link:hover { background: #1b3949; }
.nav-link[aria-current="page"] { background: #254959; color: #e7fff7; }
.nav-link[aria-current="page"] .icon { color: var(--mint); }
.sidebar-footer { margin-top: auto; padding: 15px 9px 0; border-top: 1px solid #30505d; display: flex; align-items: center; gap: 8px; color: #adc2c8; font-size: 12px; }
.sidebar-footer i { width: 7px; height: 7px; border-radius: 50%; background: #8ddebf; }

.icon { position: relative; display: inline-block; width: 18px; height: 18px; flex: 0 0 18px; }
.icon-calculator { width: 15px; height: 18px; flex-basis: 15px; border: 1.5px solid currentColor; border-radius: 3px; }
.icon-calculator::before { content: ""; position: absolute; inset: 2px 2px auto; height: 4px; background: currentColor; border-radius: 1px; }
.icon-calculator::after { content: ""; position: absolute; top: 8px; left: 3px; width: 2px; height: 2px; background: currentColor; box-shadow: 5px 0, 0 4px, 5px 4px; }
.icon-catalog { width: 17px; height: 15px; flex-basis: 17px; border: 1.5px solid currentColor; border-radius: 3px; }
.icon-catalog::before { content: ""; position: absolute; inset: 3px 2px auto; height: 1px; background: currentColor; box-shadow: 0 4px; }
.icon-catalog::after { content: ""; position: absolute; top: 0; bottom: 0; left: 5px; width: 1px; background: currentColor; }
.icon-user::before { content: ""; position: absolute; inset: 0 5px auto; height: 8px; border: 1.5px solid currentColor; border-radius: 50%; }
.icon-user::after { content: ""; position: absolute; inset: 10px 2px 0; border: 1.5px solid currentColor; border-radius: 6px 6px 2px 2px; }
.icon-receipt { width: 15px; height: 18px; flex-basis: 15px; border: 1.5px solid currentColor; border-radius: 3px; }
.icon-receipt::after { content: ""; position: absolute; inset: 4px 3px auto; height: 1px; background: currentColor; box-shadow: 0 3px, 0 6px; }
.icon-calendar { border: 1.5px solid currentColor; border-radius: 4px; }
.icon-calendar::before { content: ""; position: absolute; top: 4px; left: 0; right: 0; border-top: 1.5px solid currentColor; }
.icon-ongoing, .icon-finished { border: 1.5px solid currentColor; border-radius: 50%; }
.icon-ongoing::after { content: ""; position: absolute; top: 3px; left: 6px; width: 4px; height: 5px; border: solid currentColor; border-width: 0 0 1.5px 1.5px; }
.icon-finished::after { content: ""; position: absolute; top: 3px; left: 5px; width: 5px; height: 8px; border: solid currentColor; border-width: 0 1.5px 1.5px 0; transform: rotate(45deg); }
.icon-search::before { content: ""; position: absolute; top: 1px; left: 1px; width: 11px; height: 11px; border: 1.6px solid currentColor; border-radius: 50%; }
.icon-search::after { content: ""; position: absolute; top: 12px; left: 10px; width: 6px; height: 1.6px; border-radius: 2px; background: currentColor; transform: rotate(45deg); }

.workspace { min-width: 0; }
.topbar {
  min-height: 72px;
  padding-block: 0;
  padding-inline: 40px 35px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  border-bottom: 1px solid var(--line);
  background: var(--white);
}
.breadcrumb { display: flex; gap: 13px; align-items: center; color: var(--muted); font-size: 13px; }
.breadcrumb strong { color: var(--ink); font-weight: 650; }
.crumb-divider, .chevron { width: 6px; height: 6px; flex: 0 0 auto; border: solid #638088; border-width: 0 1.5px 1.5px 0; }
.crumb-divider { transform: rotate(-45deg); }
.chevron { transform: rotate(45deg); margin: 0 1px 3px 5px; }
.topbar-actions { display: flex; align-items: center; gap: 14px; min-width: 0; max-width: 60%; }
.language { flex: 0 0 auto; }
.language select { min-height: 36px; padding-top: 6px; padding-bottom: 6px; font-size: 13px; font-weight: 600; }
.button.staff-sign-in { min-height: 36px; white-space: nowrap; }
.topbar-actions:has(.staff-sign-in:not([hidden])) { max-width: none; gap: 8px; }
.account { position: relative; min-width: 0; }
.account summary { list-style: none; display: flex; align-items: center; gap: 9px; cursor: pointer; border-radius: 6px; }
.account summary::-webkit-details-marker { display: none; }
.avatar { flex: 0 0 35px; height: 35px; display: grid; place-items: center; border-radius: 50%; color: #17675a; background: var(--mint-light); font-size: 12px; font-weight: 750; }
.account-text { min-width: 0; }
.account-text strong, .account-text small { display: block; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.account-text strong { font-size: 13px; font-weight: 700; }
.account-text small { color: var(--muted); font-size: 11px; }
.account > :is(a, button) { position: absolute; inset-inline-end: 0; top: calc(100% + 12px); z-index: 2; display: block; min-width: 125px; padding: 10px 14px; background: white; border: 1px solid var(--line); border-radius: 8px; box-shadow: var(--shadow); color: inherit; text-align: start; text-decoration: none; font-size: 13px; }
.account > :is(a, button):hover { background: var(--mint-light); }

.main-content { width: min(100%, 1260px); margin: 0 auto; padding: 44px 40px 60px; }
.page-heading { margin-bottom: 26px; }
.page-heading h1, .unavailable h1 { font-size: clamp(1.85rem, 3.55vw, 2.65rem); font-weight: 750; line-height: 1.15; letter-spacing: -.046em; }
.page-heading p, .unavailable p { margin-top: 9px; color: var(--muted); font-size: 15px; line-height: 1.6; }
.calculator-grid { display: grid; grid-template-columns: minmax(0, 1.19fr) minmax(0, 1fr); gap: 22px; align-items: stretch; }
.panel { background: var(--white); border: 1px solid var(--line); border-radius: 16px; box-shadow: var(--shadow); }
.form-panel { padding: 27px; }
.panel-heading { display: flex; align-items: center; gap: 12px; margin-bottom: 26px; }
.panel-icon, .estimate-icon { display: grid; place-items: center; width: 41px; height: 41px; flex: 0 0 41px; border-radius: 10px; }
.panel-icon { color: var(--teal); background: var(--mint-light); }
.panel-heading h2 { font-size: 19px; line-height: 1.15; letter-spacing: -.025em; }
.panel-heading p { color: var(--muted); font-size: 13px; margin-top: 5px; }
label { display: block; font-size: 14px; font-weight: 650; }
input:not([type="checkbox"]), select {
  display: block;
  width: 100%;
  min-height: 46px;
  padding: 9px 12px;
  color: var(--ink);
  background: var(--white);
  border: 1px solid #cddcde;
  border-radius: 8px;
  font-size: 14px;
}
input::placeholder { color: #60737b; }
input:disabled, select:disabled { background: #f5f8f8; color: #687982; opacity: 1; }
.select-wrap, .quantity-wrap { position: relative; }
.select-wrap::after {
  content: "";
  position: absolute;
  inset-inline-end: 15px;
  top: calc(50% - 5px);
  width: 8px;
  height: 8px;
  border: solid #45656d;
  border-width: 0 1.7px 1.7px 0;
  transform: rotate(45deg);
  pointer-events: none;
}
.select-wrap select { appearance: none; padding-inline-end: 35px; }
#estimate-form > label { margin: 0 0 8px; }
#estimate-form > label:not(:first-child) { margin-top: 19px; }
.quantity-wrap { display: flex; border-radius: 8px; border: 1px solid #cddcde; }
.quantity-wrap:focus-within { outline: 3px solid #5abbb0; outline-offset: 3px; }
.quantity-wrap input:not([type="checkbox"]) { flex: 1 1 auto; min-width: 0; min-height: 44px; border: 0; outline: none; }
.quantity-unit { display: grid; place-items: center; flex: 0 0 auto; max-width: 50%; padding: 5px 12px; overflow-wrap: anywhere; border-inline-start: 1px solid #cddcde; border-start-end-radius: 7px; border-end-end-radius: 7px; background: #f2f7f7; color: #43606a; font-size: 12px; font-weight: 650; }
.form-actions { display: flex; gap: 10px; margin-top: 23px; flex-wrap: wrap; }
.button {
  min-height: 42px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  border-radius: 8px;
  padding: 8px 14px;
  border: 1px solid transparent;
  font-size: 13px;
  font-weight: 700;
  line-height: 1.3;
  text-decoration: none;
}
.button span { font-size: 17px; line-height: 1; }
.button-primary { color: var(--white); background: var(--teal); }
.button-primary:hover:enabled, a.button-primary:hover { background: var(--teal-dark); }
.button-primary:disabled { background: #dbeae6; color: #56756e; }
.button-secondary { background: var(--white); color: #34515b; border-color: #d2e0e2; }
.button-secondary:hover:enabled { background: #edf5f4; }
.button-secondary:disabled { color: #6b7c83; background: #f8fafa; }
.no-services { margin-top: 15px; padding: 10px 12px; border-radius: 7px; background: #f0f6f6; color: #425c65; font-size: 13px; line-height: 1.5; }
.no-services a { display: inline-block; margin-top: 3px; color: var(--teal-dark); font-weight: 700; text-underline-offset: 2px; }
.error { margin-top: 13px; padding: 9px 11px; border-radius: 7px; color: #8d3229; background: #fff1ef; font-size: 13px; line-height: 1.45; }

.estimate-panel {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  min-height: 360px;
  padding: 27px;
  border: 1px solid #174842;
  border-radius: 16px;
  background: linear-gradient(135deg, #164842, #143337 85%);
  box-shadow: var(--shadow);
  color: #f4fffb;
}
.estimate-panel::before {
  content: "";
  position: absolute;
  z-index: -1;
  top: -72px;
  right: -100px;
  width: 320px;
  height: 320px;
  transform: rotate(-21deg);
  background: repeating-linear-gradient(45deg, transparent 0 15px, rgb(186 243 223 / 9%) 15px 16px);
  mask-image: radial-gradient(ellipse, black, transparent 69%);
}
.estimate-heading { display: flex; align-items: center; gap: 10px; }
.estimate-icon { color: #b3ecd9; background: rgb(194 241 225 / 13%); }
.estimate-heading h2 { font-size: 16px; font-weight: 680; }
.amount { display: flex; align-items: baseline; flex-wrap: wrap; gap: 9px; margin-top: 22px; font-variant-numeric: tabular-nums; }
.amount-currency { color: #b6f1dc; font-weight: 700; font-size: 15px; letter-spacing: .03em; }
.amount strong { font-size: clamp(2.25rem, 4vw, 3rem); line-height: 1.02; letter-spacing: -.045em; overflow-wrap: anywhere; min-width: 0; }
.amount strong[data-wide] { font-size: clamp(1.4rem, 2.4vw, 2.2rem); }
.result-note { margin-top: 8px; min-height: 20px; color: #c3dfd8; font-size: 13px; overflow-wrap: anywhere; }
.breakdown { display: grid; gap: 12px; margin: 21px 0 17px; padding-top: 17px; border-top: 1px solid #42716e; font-size: 13px; }
.breakdown > div { display: flex; justify-content: space-between; gap: 12px; }
.breakdown dt { color: #c4e0dc; }
.breakdown dd { font-weight: 690; text-align: end; overflow-wrap: anywhere; min-width: 0; }
.formula { display: flex; gap: 7px; align-items: center; margin-top: auto; padding-top: 14px; border-top: 1px solid #42716e; color: #badad5; font-size: 12px; }
.formula span[aria-hidden="true"] { display: grid; place-items: center; width: 19px; height: 19px; background: rgb(194 241 225 / 12%); border-radius: 4px; color: #b3ecd9; font-weight: 750; }
.button-save-project { margin-top: 16px; align-self: flex-start; color: #173e36; background: var(--mint); }
.button-save-project:hover { background: #d1f8e8; }

.project-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }
.project-card { display: flex; flex-direction: column; padding: 22px; }
.project-card h2 { font-size: 19px; letter-spacing: -.02em; overflow-wrap: anywhere; }
.project-service { color: var(--muted); font-size: 13px; margin-top: 5px; overflow-wrap: anywhere; }
.project-details { display: grid; gap: 10px; padding: 14px 0; margin-top: 15px; border-top: 1px solid var(--line); font-size: 13px; }
.project-details > div { display: flex; justify-content: space-between; gap: 12px; }
.project-details dt { color: var(--muted); }
.project-details dd { font-weight: 680; text-align: end; overflow-wrap: anywhere; min-width: 0; }
.project-card-actions { display: flex; flex-wrap: wrap; gap: 8px; margin-top: auto; padding-top: 12px; }
.project-heading-actions { display: flex; flex-wrap: wrap; gap: 8px; flex: 0 0 auto; }
#projects-loading { color: var(--muted); font-size: 14px; }
#projects-retry { margin-top: 12px; }
.project-dialog { width: min(94vw, 640px); }
.project-estimate { margin-top: 18px; }
.project-estimate h3 { margin: 0 0 10px; font-size: 16px; }
.project-summary { display: flex; justify-content: space-between; align-items: baseline; flex-wrap: wrap; gap: 6px 12px; padding: 12px; border-radius: 8px; background: var(--mint-light); color: var(--teal-dark); font-size: 13px; overflow-wrap: anywhere; }
.project-summary strong { font-size: 16px; max-width: 100%; }
.project-line-editor { display: grid; grid-template-columns: minmax(0, 2fr) minmax(96px, 1fr) auto; gap: 7px 10px; align-items: end; }
.project-line-editor .button { min-height: 46px; }
.project-billing-unit { grid-column: 1 / -1; margin: 4px 0 10px; color: var(--muted); font-size: 13px; overflow-wrap: anywhere; }
.project-lines { list-style: none; margin: 8px 0; padding: 0; }
.project-lines li { display: flex; align-items: start; gap: 6px 12px; flex-wrap: wrap; padding: 10px 0; border-bottom: 1px solid var(--line); font-size: 13px; }
.project-lines li > div { flex: 1 1 140px; min-width: 0; overflow-wrap: anywhere; }
.project-lines small { display: block; margin-top: 4px; color: var(--muted); font-size: 12px; }
.project-line-amount { font-weight: 680; max-width: 100%; overflow-wrap: anywhere; }
#project-form label { margin-bottom: 6px; }
#project-location { margin-bottom: 14px; }

.catalog-heading { display: flex; justify-content: space-between; align-items: end; gap: 16px; }
.catalog-heading .button { flex: 0 0 auto; }
.catalog-panel { overflow: hidden; }
.catalog-toolbar { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 16px 20px; }
.search { position: relative; width: min(100%, 340px); }
.search .icon { position: absolute; top: calc(50% - 9px); inset-inline-start: 12px; color: #607881; pointer-events: none; }
.search input:not([type="checkbox"]) { min-height: 39px; padding-inline-start: 37px; font-weight: 400; }
.filter select { min-height: 39px; font-weight: 500; }
.catalog-error { margin: 0 20px 16px; }
.users-status { padding: 16px 20px; color: var(--muted); font-size: 14px; }
.users-status .button { margin-top: 8px; }
#users td { overflow-wrap: anywhere; }
#users .user-action { text-align: end; white-space: nowrap; }
.table-wrap { overflow-x: auto; }
table { width: 100%; border-collapse: collapse; text-align: start; font-size: 14px; }
thead { color: #436069; background: #f0f5f6; font-size: 12px; }
th, td { padding: 13px 15px; }
th:first-child, td:first-child { padding-inline-start: 20px; }
th:last-child, td:last-child { padding-inline-end: 20px; }
thead th { white-space: nowrap; font-weight: 700; }
tbody tr { border-bottom: 1px solid #e7eff0; }
tbody tr:last-child { border-bottom: 0; }
tbody td { color: #344f59; }
tbody td:last-child { text-align: end; }
.service-name { display: block; font-weight: 700; overflow-wrap: anywhere; }
.service-category { display: block; margin-top: 3px; color: var(--muted); font-weight: 500; }
.rate-cell { white-space: nowrap; font-weight: 700; font-variant-numeric: tabular-nums; }
.status-badge { display: inline-block; border-radius: 999px; padding: 4px 8px; background: #edf0f1; color: #53656a; font-size: 11px; font-weight: 700; }
.status-badge.is-active { color: #146357; background: var(--mint-light); }
.row-edit { min-height: 34px; padding: 6px 11px; font-size: 12px; }
.catalog-empty { display: grid; justify-items: center; gap: 7px; padding: 42px 20px 47px; text-align: center; }
.catalog-empty h2 { font-size: 18px; }
.catalog-empty p { color: var(--muted); font-size: 14px; }
.catalog-empty .button { margin-top: 9px; }

dialog { width: min(94vw, 510px); max-height: 92vh; padding: 24px; border: 1px solid var(--line); border-radius: 16px; color: var(--ink); box-shadow: 0 24px 80px rgb(13 44 53 / 30%); }
dialog::backdrop { background: rgb(13 33 44 / 60%); }
.dialog-header { display: flex; justify-content: space-between; gap: 12px; align-items: start; margin-bottom: 19px; }
.dialog-header h2 { font-size: 23px; letter-spacing: -.03em; }
.dialog-header p { color: var(--muted); font-size: 13px; margin-top: 4px; line-height: 1.5; }
.close-button { border: 1px solid var(--line); border-radius: 7px; background: var(--white); color: var(--ink); width: 32px; height: 32px; font-size: 21px; line-height: 1; }
#staff-dialog { width: min(94vw, 420px); }
#staff-form label { margin-bottom: 6px; }
#staff-form input + label { margin-top: 14px; }
:is(#user-form, #password-reset-form) label { margin-bottom: 6px; }
:is(#user-form, #password-reset-form) > label:not(:first-of-type) { margin-top: 14px; }
.field-help { color: var(--muted); font-size: 12px; margin-top: 5px; }
#service-form label:not(.active-toggle) { margin-bottom: 6px; }
#service-form > input { margin-bottom: 14px; }
.dialog-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.optional { color: var(--muted); margin-inline-start: 3px; font-size: 11px; font-weight: 500; }
.active-toggle { display: flex; align-items: start; gap: 8px; margin-top: 17px; }
.active-toggle input { margin: 3px 0 0; width: 15px; height: 15px; accent-color: var(--teal); }
.active-toggle small { display: block; margin-top: 3px; color: var(--muted); font-size: 12px; font-weight: 500; }
.dialog-actions { display: flex; justify-content: end; gap: 8px; margin-top: 19px; padding-top: 16px; border-top: 1px solid var(--line); }
.toast { position: fixed; z-index: 3; bottom: 20px; inset-inline-end: 20px; background: #183e3f; color: white; border: 1px solid #2c6861; padding: 11px 15px; border-radius: 8px; box-shadow: var(--shadow); font-size: 14px; }
.unavailable { max-width: 660px; padding: 27px; }
.unavailable .button { margin-top: 17px; }

@media (max-width: 1040px) {
  .layout { grid-template-columns: 204px minmax(0, 1fr); }
  .main-content, .topbar { padding-inline: 28px; }
  .calculator-grid { gap: 16px; }
  .form-panel, .estimate-panel { padding: 21px; }
}

@media (max-width: 790px) {
  .layout { display: block; }
  .sidebar { position: static; height: auto; padding: 12px 18px 10px; }
  .brand { margin: 0 0 10px; }
  .brand-mark { width: 34px; height: 34px; border-radius: 9px; }
  .brand-name { font-size: 15px; }
  .brand-name > span { font-size: 11px; }
  .navigation { display: flex; flex-wrap: wrap; gap: 7px; }
  .nav-group { display: flex; flex-wrap: wrap; margin: 0; gap: 7px; }
  .nav-caption, .sidebar-footer { display: none; }
  .nav-link { min-height: 36px; padding: 7px 9px; font-size: 13px; }
  .nav-link .icon { transform: scale(.88); }
  .topbar { min-height: 60px; padding: 0 18px; }
  .main-content { padding: 26px 18px 40px; }
  .page-heading { margin-bottom: 18px; }
}

@media (max-width: 630px) {
  .calculator-grid, .project-grid { grid-template-columns: minmax(0, 1fr); }
  .estimate-panel { min-height: 300px; }
  .catalog-heading { align-items: start; flex-direction: column; }
  .catalog-toolbar { padding: 12px; }
  table { min-width: 555px; }
}

@media (max-width: 500px) {
  .project-line-editor { grid-template-columns: minmax(0, 1fr) auto; }
  .project-line-editor > div:first-child { grid-column: 1 / -1; }
  .topbar:has(.staff-sign-in:not([hidden])) { flex-wrap: wrap; gap: 8px; padding-block: 10px; }
  .topbar-actions:has(.staff-sign-in:not([hidden])) { margin-inline-start: auto; }
}

@media (max-width: 360px) {
  .breadcrumb > span { display: none; }
  .dialog-grid { grid-template-columns: 1fr; }
}

/* Dhivehi reads right to left: mirror direction arrows and give Thaana text more line height. */
[dir="rtl"] .button > span[aria-hidden="true"], [dir="rtl"] #empty-catalog-link > span[aria-hidden="true"] { display: inline-block; transform: scaleX(-1); }
[dir="rtl"] .crumb-divider { transform: rotate(135deg); }
:lang(dv) { line-height: 1.7; }
