/* MwenyeNyumba shared styles.
   Pages keep the design's inline styles; this file holds the design tokens,
   page frames, overlay positioning and print rules. */
:root {
  --mn-navy-900: #00296B;   /* deep navy: gradients, hover */
  --mn-navy-700: #003F88;   /* primary */
  --mn-blue-600: #00509D;   /* bright blue: gradient end */
  --mn-yellow-500: #FDC500; /* main call to action */
  --mn-yellow-400: #FFD500;
  --mn-ink: #0B1A33;
  --mn-text-2: #3B4659;
  --mn-text-3: #5A6578;
  --mn-border: #D3DBE5;
  --mn-line: #E2E7EE;
  --mn-bg: #F5F7FA;
  --mn-tint: #E1ECF8;
  --mn-danger: #B42318;
  --mn-font: Inter, system-ui, sans-serif;
  --mn-font-display: 'Space Grotesk', sans-serif;
}
html, body { height: 100%; }
body { margin: 0; font-family: var(--mn-font); color: var(--mn-ink); }
*, *::before, *::after { box-sizing: border-box; }
a { color: var(--mn-navy-700); }
a:hover { color: var(--mn-navy-900); }
button, input, select, textarea { font-family: inherit; }
:focus-visible { outline: 3px solid rgba(0, 80, 157, 0.35); outline-offset: 2px; }

/* Page frames */
#mn-root { min-height: 100%; }
body.mn-page #mn-root > div { min-height: 100vh; }
body.mn-phone { min-height: 100%; background: #DCE3EC; display: flex; justify-content: center; align-items: flex-start; padding: 24px 0; }
body.mn-phone #mn-root > div { position: relative; border-radius: 28px; box-shadow: 0 20px 50px rgba(0, 41, 107, 0.18); }
body.mn-a4 { min-height: 100%; background: #DCE3EC; display: flex; justify-content: center; padding: 24px 0; }
body.mn-a4 #mn-root > div { box-shadow: 0 10px 30px rgba(0, 41, 107, 0.15); }

/* Slide-in panels, dialogs and messages stay in view while the page scrolls */
body.mn-page [data-kit], body.mn-page #md-drawer { position: fixed !important; }
body.mn-page [data-kit="toast"] { position: fixed !important; top: 20px !important; }
body.mn-page [data-kit="confirm"] [role="alertdialog"] { top: 18vh !important; }
@page { size: A4; margin: 0; }
@media print {
  body.mn-a4 { background: none; padding: 0; display: block; }
  body.mn-a4 #mn-root > div { box-shadow: none; }
  * { -webkit-print-color-adjust: exact; print-color-adjust: exact; }
}

/* Index page */
body.mn-index { background: var(--mn-bg); }
.mn-index-head { display: flex; align-items: center; gap: 18px; padding: 28px max(24px, calc(50% - 600px)); color: #fff;
  background-color: var(--mn-navy-700);
  background-image: radial-gradient(circle at 85% 50%, rgba(255, 213, 0, 0.18) 0%, rgba(255, 213, 0, 0) 45%), linear-gradient(to left, #00509D 0%, #003F88 40%, #00296B 100%); }
.mn-index-head h1 { margin: 0; font: 700 28px var(--mn-font-display); }
.mn-index-head p { margin: 4px 0 0; color: #D6E4F5; }
.mn-index-main { max-width: 1200px; margin: 0 auto; padding: 24px; display: flex; flex-direction: column; gap: 24px; }
.mn-index-main h2 { margin: 0 0 10px; font: 600 18px var(--mn-font-display); }
.mn-index-main ul { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 10px; }
.mn-index-main a { display: flex; flex-direction: column; gap: 4px; padding: 14px 16px; background: #fff; border: 1px solid var(--mn-line); border-radius: 12px; text-decoration: none; color: var(--mn-ink); }
.mn-index-main a:hover { border-color: var(--mn-navy-700); }
.mn-index-main a span { font-weight: 600; }
.mn-index-main a small { color: var(--mn-text-3); }

/* Log in and form helpers (from the <style> block in Login.html) */
.mn-field:focus-within { border-color: #1565D8 !important; box-shadow: 0 0 0 4px rgba(21, 101, 216, 0.14); }
.mn-chip { transition: background 0.15s ease, border-color 0.15s ease; }
.mn-chip:hover { background: #EAF1FC !important; border-color: #1565D8 !important; border-style: solid !important; }
.mn-link:hover { text-decoration: underline !important; }
.mn-spin { animation: mn-spin 0.8s linear infinite; }
@keyframes mn-spin { to { transform: rotate(360deg); } }
.mn-pulse { animation: mn-pulse 2s ease-out infinite; }
@keyframes mn-pulse { 0% { box-shadow: 0 0 0 0 rgba(22, 163, 74, 0.5); } 100% { box-shadow: 0 0 0 8px rgba(22, 163, 74, 0); } }
.mn-float { transition: transform 0.15s ease; }
.mn-float:hover { transform: scale(1.06); }
@media (prefers-reduced-motion: reduce) { .mn-spin, .mn-pulse { animation: none; } }

/* Checkbox drawn as in the design (blue tick box), on a real <input type="checkbox"> */
.mn-check input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.mn-check-box { width: 20px; height: 20px; border-radius: 5px; border: 2px solid #9AA7B8; background: #FFFFFF; color: #FFFFFF; display: flex; align-items: center; justify-content: center; box-sizing: border-box; flex: none; }
.mn-check input:checked + .mn-check-box { border-color: #1565D8; background: #1565D8; }
.mn-check input:focus-visible + .mn-check-box { outline: 3px solid rgba(0, 80, 157, 0.35); outline-offset: 2px; }

/* Account menu in the top bar (<details>): no disclosure marker, chevron turns when open */
.mn-account > summary::-webkit-details-marker { display: none; }
.mn-account > summary::marker { content: ""; }
.mn-account[open] .mn-account-chevron { transform: rotate(180deg); }
.mn-account [role="menuitem"]:hover { background: #F5F7FA !important; }

/* Form fields of the slide-over and the full-page forms (values from Projects.html / AddUnit.html) */
.mn-label { display: flex; flex-direction: column; gap: 6px; font-size: 13px; font-weight: 600; color: #3B4659; }
.mn-input, .mn-select { height: 46px; width: 100%; box-sizing: border-box; border: 1px solid #D3DBE5; border-radius: 10px; padding: 0 14px; font: 500 15px Inter, sans-serif; color: #0B1A33; background: #FFFFFF; outline: 0; }
.mn-input--page, .mn-select.mn-input--page { height: 44px; padding: 0 12px; }
textarea.mn-input { height: auto; padding: 10px 12px; font-weight: 400; line-height: 1.5; resize: vertical; }
.mn-select { appearance: none; padding-right: 36px; cursor: pointer; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 24 24' fill='none' stroke='%235A6578' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 12px center; }
.mn-select:disabled { background-color: #F5F7FA; color: #98A6BA; cursor: not-allowed; }
.mn-input:focus, .mn-select:focus { border-color: #003F88; box-shadow: 0 0 0 3px rgba(0, 80, 157, 0.15); }
.mn-input[aria-invalid="true"], .mn-select[aria-invalid="true"] { border-color: #B42318; box-shadow: 0 0 0 3px rgba(180, 35, 24, 0.12); }
.mn-error { font-size: 12px; font-weight: 600; color: #B42318; }
.mn-help { font-size: 12px; font-weight: 500; color: #5A6578; }
.mn-req { color: #B42318; }
/* Pills (single or multiple choice) on a real radio / checkbox */
.mn-pill { position: relative; display: inline-flex; }
.mn-pill input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.mn-pill span { display: flex; align-items: center; height: 38px; padding: 0 14px; border: 1px solid #D3DBE5; border-radius: 999px; background: #FFFFFF; color: #3B4659; font: 600 13px Inter, sans-serif; cursor: pointer; }
.mn-pill input:checked + span { border-color: #003F88; background: #E1ECF8; color: #003F88; }
.mn-pill input:focus-visible + span { outline: 3px solid rgba(0, 80, 157, 0.35); outline-offset: 2px; }
.mn-pill--lg span { height: auto; padding: 9px 14px; font-size: 14px; }
.mn-pill--lg span::before { content: "+ "; white-space: pre; }
.mn-pill--lg input:checked + span::before { content: "✓ "; }
/* Find a house: filter checkbox (18px box from FindHouse.html) on a real <input type="checkbox">, card hover */
.mn-fcheck { position: relative; display: flex; align-items: center; gap: 10px; width: 100%; padding: 5px 2px; font: 500 14px Inter, sans-serif; color: #2B3A55; cursor: pointer; }
.mn-fcheck input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.mn-fcheck-box { width: 18px; height: 18px; border-radius: 4px; border: 1.5px solid #9AA7B8; background: #FFFFFF; color: #FFFFFF; display: flex; align-items: center; justify-content: center; flex: none; box-sizing: border-box; }
.mn-fcheck input:checked + .mn-fcheck-box { border-color: #0D47A1; background: #0D47A1; }
.mn-fcheck input:not(:checked) + .mn-fcheck-box svg { visibility: hidden; }
.mn-fcheck input:focus-visible + .mn-fcheck-box { outline: 3px solid rgba(0, 80, 157, 0.35); outline-offset: 2px; }
.mn-lift { transition: transform 0.18s ease, box-shadow 0.18s ease; }
.mn-lift:hover { transform: translateY(-4px); box-shadow: 0 4px 8px rgba(11, 26, 51, 0.06), 0 18px 40px rgba(11, 26, 51, 0.14) !important; }
.mn-js .mn-nojs { display: none !important; }
/* The hidden attribute wins over the inline display of the design markup (tabs, gallery, buttons shown by script). */
[hidden] { display: none !important; }

/* Map field (Leaflet) */
.mn-map { position: relative; height: 210px; border-radius: 12px; overflow: hidden; border: 1px solid #D3DBE5; background: #EAF1E4; z-index: 0; }
.mn-map--unit { height: 200px; }
.mn-map .leaflet-control-attribution { font-size: 10px; }
.mn-map-note { position: absolute; left: 10px; bottom: 10px; z-index: 500; padding: 5px 10px; border-radius: 999px; background: rgba(255, 255, 255, 0.92); font: 600 12px Inter, sans-serif; color: #3B4659; pointer-events: none; }

/* Slide-over (_SlideOver): the panel for every Add / Edit form */
.mn-drawer { position: fixed; inset: 0; z-index: 140; }
.mn-drawer-backdrop { position: absolute; inset: 0; background: rgba(11, 26, 51, 0.45); }

/* "Resend code" link: grey while waiting */
.mn-resend { color: #1565D8; cursor: pointer; }
.mn-resend:disabled { color: #8A97AB; cursor: default; }

/* Brand: main call-to-action button (from <style data-brand> in the design pages) */
.mn-cta { transition: transform 0.15s ease, box-shadow 0.15s ease, background 0.15s ease; }
.mn-cta:hover { background: #FFD21F !important; transform: translateY(-1px); box-shadow: 0 10px 22px rgba(253, 197, 0, 0.35); }

/* Responsive: <style data-resp> copied unchanged from the design pages (identical on all 58 web pages).
   Breakpoints <=1180, <=900, <=640 px. Replace the attribute selectors with classes as views are built. */
img, svg, video { max-width: 100%; }
[style*="overflow-x: auto"], table { position: relative; }
@media (max-width: 1180px) {
  [style*="grid-template-columns: repeat(4, minmax(0, 1fr))"], [style*="grid-template-columns: repeat(5, minmax(0, 1fr))"], [style*="grid-template-columns: repeat(6, minmax(0, 1fr))"], [style*="grid-template-columns: repeat(4, 1fr)"] { grid-template-columns: repeat(2, minmax(0, 1fr)) !important; }
  [style*="minmax(0, 1fr) 2"]:not([style*="auto-fit"]):not([style*="auto-fill"]), [style*="minmax(0, 1fr) 3"]:not([style*="auto-fit"]):not([style*="auto-fill"]), [style*="minmax(0, 1fr) 4"]:not([style*="auto-fit"]):not([style*="auto-fill"]), [style*="0px minmax(0, 1fr)"]:not([style*="auto-fit"]):not([style*="auto-fill"]) { grid-template-columns: minmax(0, 1fr) !important; }
  [style*="grid-template-columns: repeat(4, minmax(0, 1fr)) 2"] { grid-template-columns: repeat(2, minmax(0, 1fr)) !important; }
  [style*="position: sticky"][style*="top: 20px"] { position: static !important; }
}
@media (max-width: 900px) {
  aside[style*="100vh"] { position: static !important; height: auto !important; flex: 1 1 100% !important; border-right: 0 !important; border-bottom: 1px solid #E2E7EE; padding: 12px 12px 8px !important; gap: 10px !important; }
  aside[style*="100vh"] { max-width: 100% !important; min-width: 0 !important; }
  aside[style*="100vh"] nav { max-width: 100%; flex-direction: row !important; overflow-x: auto; gap: 4px !important; padding-bottom: 4px; }
  aside[style*="100vh"] nav a { flex: none; white-space: nowrap; }
  aside[style*="100vh"] > div, [data-brand="side"] { display: none !important; }
  header[data-topbar] { position: static !important; padding: 12px 16px !important; }
  main[style*="padding: 28px"] { padding: 16px !important; }
  table { display: block; overflow-x: auto; max-width: 100%; }
  [style*="grid-template-columns: repeat(3, minmax(0, 1fr))"] { grid-template-columns: repeat(2, minmax(0, 1fr)) !important; }
  ol[aria-label$="steps"] { overflow-x: auto; justify-content: flex-start; flex-wrap: nowrap !important; }
  ol[aria-label$="steps"] > li, ol[aria-label$="steps"] > sc-for > li { flex: none !important; flex-wrap: nowrap !important; }
  header > div[style*="height: 72px"] { height: auto !important; flex-wrap: wrap; padding: 10px 16px !important; gap: 8px 16px !important; }
  header > div[style*="height: 72px"] > nav { order: 3; flex: 1 1 100%; overflow-x: auto; height: 42px !important; gap: 22px !important; }
  aside[style*="flex: 0 0 52%"] { display: none !important; }
  main[style*="padding: 34px 48px"] { padding: 24px 16px !important; min-width: 0 !important; width: 100%; box-sizing: border-box; }
}
@media (max-width: 640px) {
  [style*="grid-template-columns: repeat("]:not([style*="auto-fit"]):not([style*="auto-fill"]), [style*="grid-template-columns: 1fr 1fr"] { grid-template-columns: minmax(0, 1fr) !important; }
  h1 { font-size: clamp(26px, 8vw, 40px) !important; line-height: 1.15 !important; }
  [style*="padding: 28px 30px"], [style*="padding: 24px 28px"], [style*="padding: 36px"] { padding: 20px !important; }
  [style*="font-size: 30px"], [style*="font: 700 30px"] { font-size: 24px !important; }
  [style*="height: 640px"] { height: auto !important; }
  [style*="auto-fit, minmax(3"], [style*="auto-fit, minmax(4"], [style*="auto-fit, minmax(5"], [style*="auto-fill, minmax(3"], [style*="auto-fill, minmax(4"] { grid-template-columns: minmax(0, 1fr) !important; }
  main[style*="padding: 34px 48px"] > * { max-width: 100% !important; min-width: 0 !important; }
  [style*="padding: 32px"] { padding: 20px !important; }
  ol[aria-label$="steps"] { flex-direction: column !important; align-items: flex-start !important; gap: 10px !important; }
  ol[aria-label$="steps"] li > span[aria-hidden="true"] { display: none !important; }
  main section, main [style*="display: grid"] > *, main [style*="display: flex"] > section { min-width: 0 !important; max-width: 100%; box-sizing: border-box; }
  [style*="display: flex"]:not([style*="flex-direction: column"]):not([style*="nowrap"]):not([role="group"]):not(nav):not(button):not(a):not(label) { flex-wrap: wrap !important; }
  [style*="padding: 4px"][style*="background: #E9EDF3"], [style*="padding: 4px"][style*="background: #EEF2F7"] { flex-wrap: nowrap !important; max-width: 100%; overflow-x: auto; }
  [style*="min-width: 4"], [style*="min-width: 5"], [style*="min-width: 6"], [style*="min-width: 7"], [style*="min-width: 8"] { min-width: 0 !important; }
  header > div[style*="height: 72px"] > div[style*="margin-left: auto"] { gap: 10px !important; }
  header > div[style*="height: 72px"] > div[style*="margin-left: auto"] > a[style*="padding: 12px 22px"] { padding: 9px 12px !important; font-size: 13.5px !important; }
  header > div[style*="height: 72px"] > a span { font-size: 18px !important; }
  [role="group"][style*="background: #EEF2F7"], [style*="align-self: flex-start"][role="group"] { max-width: 100%; overflow-x: auto; }
}

/* Side-menu icons (from the nav in LandlordDashboard.html and AdminDashboard.html): a mask filled with the link colour */
.mn-nav-ico { width: 18px; height: 18px; flex: none; background-color: currentColor; -webkit-mask: var(--ico) center / contain no-repeat; mask: var(--ico) center / contain no-repeat; }
.mn-ico-dashboard { --ico: url("data:image/svg+xml,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20viewBox%3D%220%200%2024%2024%22%20fill%3D%22none%22%20stroke%3D%22black%22%20stroke-width%3D%222%22%20stroke-linecap%3D%22round%22%20stroke-linejoin%3D%22round%22%3E%3Crect%20x%3D%223%22%20y%3D%223%22%20width%3D%227%22%20height%3D%229%22%20rx%3D%221.5%22%2F%3E%3Crect%20x%3D%2214%22%20y%3D%223%22%20width%3D%227%22%20height%3D%225%22%20rx%3D%221.5%22%2F%3E%3Crect%20x%3D%2214%22%20y%3D%2212%22%20width%3D%227%22%20height%3D%229%22%20rx%3D%221.5%22%2F%3E%3Crect%20x%3D%223%22%20y%3D%2216%22%20width%3D%227%22%20height%3D%225%22%20rx%3D%221.5%22%2F%3E%3C%2Fsvg%3E"); }
.mn-ico-projects { --ico: url("data:image/svg+xml,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20viewBox%3D%220%200%2024%2024%22%20fill%3D%22none%22%20stroke%3D%22black%22%20stroke-width%3D%222%22%20stroke-linecap%3D%22round%22%20stroke-linejoin%3D%22round%22%3E%3Cpath%20d%3D%22M4%2021V5a2%202%200%200%201%202-2h8a2%202%200%200%201%202%202v16%22%2F%3E%3Cpath%20d%3D%22M16%209h3a1%201%200%200%201%201%201v11%22%2F%3E%3Cpath%20d%3D%22M8%207h4M8%2011h4M8%2015h4%22%2F%3E%3Cpath%20d%3D%22M2%2021h20%22%2F%3E%3C%2Fsvg%3E"); }
.mn-ico-listings { --ico: url("data:image/svg+xml,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20viewBox%3D%220%200%2024%2024%22%20fill%3D%22none%22%20stroke%3D%22black%22%20stroke-width%3D%222%22%20stroke-linecap%3D%22round%22%20stroke-linejoin%3D%22round%22%3E%3Cpath%20d%3D%22M20.6%2013.4l-7.2%207.2a2%202%200%200%201-2.8%200L3%2013V3h10l7.6%207.6a2%202%200%200%201%200%202.8z%22%2F%3E%3Ccircle%20cx%3D%227.5%22%20cy%3D%227.5%22%20r%3D%221.5%22%2F%3E%3C%2Fsvg%3E"); }
.mn-ico-requests { --ico: url("data:image/svg+xml,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20viewBox%3D%220%200%2024%2024%22%20fill%3D%22none%22%20stroke%3D%22black%22%20stroke-width%3D%222%22%20stroke-linecap%3D%22round%22%20stroke-linejoin%3D%22round%22%3E%3Cpath%20d%3D%22M22%2012h-6l-2%203h-4l-2-3H2%22%2F%3E%3Cpath%20d%3D%22M5.5%205h13L22%2012v6a2%202%200%200%201-2%202H4a2%202%200%200%201-2-2v-6z%22%2F%3E%3C%2Fsvg%3E"); }
.mn-ico-tenants { --ico: url("data:image/svg+xml,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20viewBox%3D%220%200%2024%2024%22%20fill%3D%22none%22%20stroke%3D%22black%22%20stroke-width%3D%222%22%20stroke-linecap%3D%22round%22%20stroke-linejoin%3D%22round%22%3E%3Ccircle%20cx%3D%229%22%20cy%3D%228%22%20r%3D%223.5%22%2F%3E%3Cpath%20d%3D%22M2.5%2020c0-3.6%202.9-6%206.5-6s6.5%202.4%206.5%206%22%2F%3E%3Cpath%20d%3D%22M16%204.6a3.5%203.5%200%200%201%200%206.8%22%2F%3E%3Cpath%20d%3D%22M18.5%2014.4c1.8.8%203%202.8%203%205.6%22%2F%3E%3C%2Fsvg%3E"); }
.mn-ico-leases { --ico: url("data:image/svg+xml,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20viewBox%3D%220%200%2024%2024%22%20fill%3D%22none%22%20stroke%3D%22black%22%20stroke-width%3D%222%22%20stroke-linecap%3D%22round%22%20stroke-linejoin%3D%22round%22%3E%3Cpath%20d%3D%22M14%203H6a2%202%200%200%200-2%202v14a2%202%200%200%200%202%202h12a2%202%200%200%200%202-2V9z%22%2F%3E%3Cpath%20d%3D%22M14%203v6h6%22%2F%3E%3Cpath%20d%3D%22M8%2013h8M8%2017h5%22%2F%3E%3C%2Fsvg%3E"); }
.mn-ico-payments { --ico: url("data:image/svg+xml,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20viewBox%3D%220%200%2024%2024%22%20fill%3D%22none%22%20stroke%3D%22black%22%20stroke-width%3D%222%22%20stroke-linecap%3D%22round%22%20stroke-linejoin%3D%22round%22%3E%3Crect%20x%3D%222%22%20y%3D%225%22%20width%3D%2220%22%20height%3D%2214%22%20rx%3D%222%22%2F%3E%3Cpath%20d%3D%22M2%2010h20%22%2F%3E%3Cpath%20d%3D%22M6%2015h4%22%2F%3E%3C%2Fsvg%3E"); }
.mn-ico-maintenance { --ico: url("data:image/svg+xml,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20viewBox%3D%220%200%2024%2024%22%20fill%3D%22none%22%20stroke%3D%22black%22%20stroke-width%3D%222%22%20stroke-linecap%3D%22round%22%20stroke-linejoin%3D%22round%22%3E%3Cpath%20d%3D%22M14.7%206.3a4%204%200%200%200-5.4%205.4L3%2018l3%203%206.3-6.3a4%204%200%200%200%205.4-5.4l-2.5%202.5-2.5-.5-.5-2.5z%22%2F%3E%3C%2Fsvg%3E"); }
.mn-ico-utilities { --ico: url("data:image/svg+xml,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20viewBox%3D%220%200%2024%2024%22%20fill%3D%22none%22%20stroke%3D%22black%22%20stroke-width%3D%222%22%20stroke-linecap%3D%22round%22%20stroke-linejoin%3D%22round%22%3E%3Cpath%20d%3D%22M13%202L4%2014h7l-1%208%209-12h-7z%22%2F%3E%3C%2Fsvg%3E"); }
.mn-ico-exits { --ico: url("data:image/svg+xml,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20viewBox%3D%220%200%2024%2024%22%20fill%3D%22none%22%20stroke%3D%22black%22%20stroke-width%3D%222%22%20stroke-linecap%3D%22round%22%20stroke-linejoin%3D%22round%22%3E%3Cpath%20d%3D%22M9%2021H5a2%202%200%200%201-2-2V5a2%202%200%200%201%202-2h4%22%2F%3E%3Cpath%20d%3D%22M16%2017l5-5-5-5%22%2F%3E%3Cpath%20d%3D%22M21%2012H9%22%2F%3E%3C%2Fsvg%3E"); }
.mn-ico-expenses { --ico: url("data:image/svg+xml,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20viewBox%3D%220%200%2024%2024%22%20fill%3D%22none%22%20stroke%3D%22black%22%20stroke-width%3D%222%22%20stroke-linecap%3D%22round%22%20stroke-linejoin%3D%22round%22%3E%3Cpath%20d%3D%22M5%203h14v18l-3-2-2%202-2-2-2%202-2-2-3%202z%22%2F%3E%3Cpath%20d%3D%22M9%208h6M9%2012h6%22%2F%3E%3C%2Fsvg%3E"); }
.mn-ico-announcements { --ico: url("data:image/svg+xml,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20viewBox%3D%220%200%2024%2024%22%20fill%3D%22none%22%20stroke%3D%22black%22%20stroke-width%3D%222%22%20stroke-linecap%3D%22round%22%20stroke-linejoin%3D%22round%22%3E%3Cpath%20d%3D%22M3%2011v2a1%201%200%200%200%201%201h3l5%204V6L7%2010H4a1%201%200%200%200-1%201z%22%2F%3E%3Cpath%20d%3D%22M16%209a3%203%200%200%201%200%206%22%2F%3E%3Cpath%20d%3D%22M19%206a7%207%200%200%201%200%2012%22%2F%3E%3C%2Fsvg%3E"); }
.mn-ico-documents { --ico: url("data:image/svg+xml,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20viewBox%3D%220%200%2024%2024%22%20fill%3D%22none%22%20stroke%3D%22black%22%20stroke-width%3D%222%22%20stroke-linecap%3D%22round%22%20stroke-linejoin%3D%22round%22%3E%3Cpath%20d%3D%22M3%207a2%202%200%200%201%202-2h4l2%202h8a2%202%200%200%201%202%202v8a2%202%200%200%201-2%202H5a2%202%200%200%201-2-2z%22%2F%3E%3C%2Fsvg%3E"); }
.mn-ico-reports { --ico: url("data:image/svg+xml,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20viewBox%3D%220%200%2024%2024%22%20fill%3D%22none%22%20stroke%3D%22black%22%20stroke-width%3D%222%22%20stroke-linecap%3D%22round%22%20stroke-linejoin%3D%22round%22%3E%3Cpath%20d%3D%22M4%2020V10M10%2020V4M16%2020v-7%22%2F%3E%3Cpath%20d%3D%22M2%2020h20%22%2F%3E%3C%2Fsvg%3E"); }
.mn-ico-notifications { --ico: url("data:image/svg+xml,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20viewBox%3D%220%200%2024%2024%22%20fill%3D%22none%22%20stroke%3D%22black%22%20stroke-width%3D%222%22%20stroke-linecap%3D%22round%22%20stroke-linejoin%3D%22round%22%3E%3Cpath%20d%3D%22M6%208a6%206%200%200%201%2012%200c0%207%203%209%203%209H3s3-2%203-9%22%2F%3E%3Cpath%20d%3D%22M10.3%2021a1.9%201.9%200%200%200%203.4%200%22%2F%3E%3C%2Fsvg%3E"); }
.mn-ico-subscription { --ico: url("data:image/svg+xml,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20viewBox%3D%220%200%2024%2024%22%20fill%3D%22none%22%20stroke%3D%22black%22%20stroke-width%3D%222%22%20stroke-linecap%3D%22round%22%20stroke-linejoin%3D%22round%22%3E%3Cpath%20d%3D%22M21%208l-9-5-9%205%209%205%209-5z%22%2F%3E%3Cpath%20d%3D%22M3%208v8l9%205%209-5V8%22%2F%3E%3Cpath%20d%3D%22M12%2013v8%22%2F%3E%3C%2Fsvg%3E"); }
.mn-ico-settings { --ico: url("data:image/svg+xml,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20viewBox%3D%220%200%2024%2024%22%20fill%3D%22none%22%20stroke%3D%22black%22%20stroke-width%3D%222%22%20stroke-linecap%3D%22round%22%20stroke-linejoin%3D%22round%22%3E%3Ccircle%20cx%3D%2212%22%20cy%3D%2212%22%20r%3D%223%22%2F%3E%3Cpath%20d%3D%22M12%202v3M12%2019v3M2%2012h3M19%2012h3M4.9%204.9l2.1%202.1M17%2017l2.1%202.1M4.9%2019.1L7%2017M17%207l2.1-2.1%22%2F%3E%3C%2Fsvg%3E"); }
.mn-ico-approvals { --ico: url("data:image/svg+xml,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20viewBox%3D%220%200%2024%2024%22%20fill%3D%22none%22%20stroke%3D%22black%22%20stroke-width%3D%222%22%20stroke-linecap%3D%22round%22%20stroke-linejoin%3D%22round%22%3E%3Cpath%20d%3D%22M12%202.5l8%203v6.2c0%205-3.4%208.6-8%209.8-4.6-1.2-8-4.8-8-9.8V5.5z%22%2F%3E%3Cpath%20d%3D%22M8.5%2012l2.5%202.5%204.5-5%22%2F%3E%3C%2Fsvg%3E"); }
.mn-ico-subscription-payments { --ico: url("data:image/svg+xml,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20viewBox%3D%220%200%2024%2024%22%20fill%3D%22none%22%20stroke%3D%22black%22%20stroke-width%3D%222%22%20stroke-linecap%3D%22round%22%20stroke-linejoin%3D%22round%22%3E%3Crect%20x%3D%222%22%20y%3D%225%22%20width%3D%2220%22%20height%3D%2214%22%20rx%3D%222%22%2F%3E%3Cpath%20d%3D%22M2%2010h20%22%2F%3E%3Cpath%20d%3D%22M6%2015h4%22%2F%3E%3C%2Fsvg%3E"); }
.mn-ico-landlords { --ico: url("data:image/svg+xml,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20viewBox%3D%220%200%2024%2024%22%20fill%3D%22none%22%20stroke%3D%22black%22%20stroke-width%3D%222%22%20stroke-linecap%3D%22round%22%20stroke-linejoin%3D%22round%22%3E%3Ccircle%20cx%3D%229%22%20cy%3D%228%22%20r%3D%223.5%22%2F%3E%3Cpath%20d%3D%22M2.5%2020c0-3.6%202.9-6%206.5-6s6.5%202.4%206.5%206%22%2F%3E%3Cpath%20d%3D%22M16%204.6a3.5%203.5%200%200%201%200%206.8%22%2F%3E%3Cpath%20d%3D%22M18.5%2014.4c1.8.8%203%202.8%203%205.6%22%2F%3E%3C%2Fsvg%3E"); }
.mn-ico-packages { --ico: url("data:image/svg+xml,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20viewBox%3D%220%200%2024%2024%22%20fill%3D%22none%22%20stroke%3D%22black%22%20stroke-width%3D%222%22%20stroke-linecap%3D%22round%22%20stroke-linejoin%3D%22round%22%3E%3Cpath%20d%3D%22M21%208l-9-5-9%205%209%205%209-5z%22%2F%3E%3Cpath%20d%3D%22M3%208v8l9%205%209-5V8%22%2F%3E%3Cpath%20d%3D%22M12%2013v8%22%2F%3E%3C%2Fsvg%3E"); }
.mn-ico-moderation { --ico: url("data:image/svg+xml,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20viewBox%3D%220%200%2024%2024%22%20fill%3D%22none%22%20stroke%3D%22black%22%20stroke-width%3D%222%22%20stroke-linecap%3D%22round%22%20stroke-linejoin%3D%22round%22%3E%3Cpath%20d%3D%22M5%2021V4%22%2F%3E%3Cpath%20d%3D%22M5%204h11l-2%204%202%204H5%22%2F%3E%3C%2Fsvg%3E"); }
.mn-ico-master-data { --ico: url("data:image/svg+xml,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20viewBox%3D%220%200%2024%2024%22%20fill%3D%22none%22%20stroke%3D%22black%22%20stroke-width%3D%222%22%20stroke-linecap%3D%22round%22%20stroke-linejoin%3D%22round%22%3E%3Cellipse%20cx%3D%2212%22%20cy%3D%225%22%20rx%3D%228%22%20ry%3D%223%22%2F%3E%3Cpath%20d%3D%22M4%205v14c0%201.7%203.6%203%208%203s8-1.3%208-3V5%22%2F%3E%3Cpath%20d%3D%22M4%2012c0%201.7%203.6%203%208%203s8-1.3%208-3%22%2F%3E%3C%2Fsvg%3E"); }
.mn-ico-configuration { --ico: url("data:image/svg+xml,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20viewBox%3D%220%200%2024%2024%22%20fill%3D%22none%22%20stroke%3D%22black%22%20stroke-width%3D%222%22%20stroke-linecap%3D%22round%22%20stroke-linejoin%3D%22round%22%3E%3Ccircle%20cx%3D%2212%22%20cy%3D%2212%22%20r%3D%223%22%2F%3E%3Cpath%20d%3D%22M12%202v3M12%2019v3M2%2012h3M19%2012h3M4.9%204.9l2.1%202.1M17%2017l2.1%202.1M4.9%2019.1L7%2017M17%207l2.1-2.1%22%2F%3E%3C%2Fsvg%3E"); }
.mn-ico-website { --ico: url("data:image/svg+xml,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20viewBox%3D%220%200%2024%2024%22%20fill%3D%22none%22%20stroke%3D%22black%22%20stroke-width%3D%222%22%20stroke-linecap%3D%22round%22%20stroke-linejoin%3D%22round%22%3E%3Crect%20x%3D%223%22%20y%3D%224%22%20width%3D%2218%22%20height%3D%2216%22%20rx%3D%222%22%2F%3E%3Ccircle%20cx%3D%229%22%20cy%3D%2210%22%20r%3D%222%22%2F%3E%3Cpath%20d%3D%22M21%2016l-5-5-9%209%22%2F%3E%3C%2Fsvg%3E"); }
.mn-ico-contract-templates { --ico: url("data:image/svg+xml,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20viewBox%3D%220%200%2024%2024%22%20fill%3D%22none%22%20stroke%3D%22black%22%20stroke-width%3D%222%22%20stroke-linecap%3D%22round%22%20stroke-linejoin%3D%22round%22%3E%3Cpath%20d%3D%22M14%203H6a2%202%200%200%200-2%202v14a2%202%200%200%200%202%202h12a2%202%200%200%200%202-2V9z%22%2F%3E%3Cpath%20d%3D%22M14%203v6h6%22%2F%3E%3Cpath%20d%3D%22M8%2013h8M8%2017h5%22%2F%3E%3C%2Fsvg%3E"); }
.mn-ico-gateways { --ico: url("data:image/svg+xml,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20viewBox%3D%220%200%2024%2024%22%20fill%3D%22none%22%20stroke%3D%22black%22%20stroke-width%3D%222%22%20stroke-linecap%3D%22round%22%20stroke-linejoin%3D%22round%22%3E%3Cpath%20d%3D%22M10%2013a5%205%200%200%200%207.5.5l3-3a5%205%200%200%200-7-7l-1.7%201.7%22%2F%3E%3Cpath%20d%3D%22M14%2011a5%205%200%200%200-7.5-.5l-3%203a5%205%200%200%200%207%207l1.7-1.7%22%2F%3E%3C%2Fsvg%3E"); }
.mn-ico-audit { --ico: url("data:image/svg+xml,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20viewBox%3D%220%200%2024%2024%22%20fill%3D%22none%22%20stroke%3D%22black%22%20stroke-width%3D%222%22%20stroke-linecap%3D%22round%22%20stroke-linejoin%3D%22round%22%3E%3Cpath%20d%3D%22M3%2012a9%209%200%201%200%203-6.7L3%208%22%2F%3E%3Cpath%20d%3D%22M3%203v5h5%22%2F%3E%3Cpath%20d%3D%22M12%207v5l3%202%22%2F%3E%3C%2Fsvg%3E"); }

/* ---- Select with search and file drop zone (wwwroot/js/ui.js, design kit) ---------------------------------- */
.mn-native-hidden { position: absolute !important; width: 1px !important; height: 1px !important; padding: 0 !important; margin: -1px !important; overflow: hidden !important; clip: rect(0, 0, 0, 0) !important; white-space: nowrap !important; border: 0 !important; opacity: 0 !important; }
.mn-combo { position: relative; width: 100%; min-width: 0; font-weight: 500; letter-spacing: normal; text-transform: none; }
.mn-combo__button { width: 100%; height: 46px; display: flex; align-items: center; justify-content: space-between; gap: 8px; border: 1px solid #D3DBE5; border-radius: 10px; padding: 0 14px; background: #FFFFFF; font: 500 15px Inter, sans-serif; color: #0B1A33; text-align: left; cursor: pointer; box-sizing: border-box; }
.mn-combo__button--page { height: 44px; padding: 0 12px; font-size: 14px; }
.mn-combo__button svg { flex: none; color: #5A6578; }
.mn-combo__button--placeholder .mn-combo__value { color: #5A6578; }
.mn-combo__button:focus-visible, .mn-combo__button[aria-expanded="true"] { outline: 0; border-color: #003F88; box-shadow: 0 0 0 3px rgba(0, 80, 157, 0.15); }
.mn-combo__button[aria-invalid="true"] { border-color: #B42318; }
.mn-combo__button:disabled { background: #F5F7FA; color: #98A6BA; cursor: not-allowed; }
.mn-combo__value { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; min-width: 0; }
.mn-combo__panel { position: absolute; z-index: 60; top: 100%; left: 0; right: 0; min-width: 220px; margin-top: 6px; background: #FFFFFF; border: 1px solid #D3DBE5; border-radius: 12px; box-shadow: 0 14px 34px rgba(0, 41, 107, 0.20); padding: 8px; display: flex; flex-direction: column; gap: 6px; box-sizing: border-box; }
.mn-combo__panel[hidden], .mn-combo__search[hidden] { display: none; }
.mn-combo__search { display: flex; align-items: center; gap: 8px; height: 38px; border: 1px solid #D3DBE5; border-radius: 8px; padding: 0 10px; background: #F5F7FA; }
.mn-combo__search input { flex: 1; min-width: 0; border: 0; outline: 0; background: transparent; font: 500 14px Inter, sans-serif; color: #0B1A33; }
.mn-combo__count { font-size: 11px; color: #98A6BA; white-space: nowrap; }
.mn-combo__list { max-height: 240px; overflow-y: auto; display: flex; flex-direction: column; gap: 2px; }
.mn-combo__option { display: flex; justify-content: space-between; align-items: center; gap: 10px; width: 100%; text-align: left; border: 0; border-radius: 8px; padding: 9px 10px; background: transparent; font: 500 14px Inter, sans-serif; color: #0B1A33; cursor: pointer; }
.mn-combo__option:hover, .mn-combo__option--active { background: #F2F6FB; }
.mn-combo__option[aria-selected="true"] { background: #E1ECF8; font-weight: 700; }
.mn-combo__option:disabled { color: #98A6BA; cursor: not-allowed; }
.mn-combo__tick { color: #003F88; font-weight: 700; }
.mn-combo__empty { padding: 10px; font-size: 13px; color: #5A6578; }
.mn-drop { position: relative; display: flex; flex-direction: column; font-weight: 500; letter-spacing: normal; text-transform: none; }
.mn-drop__choose { display: flex; flex-direction: column; align-items: center; gap: 6px; width: 100%; padding: 22px; border: 2px dashed #9DB7DB; border-radius: 12px; background: #F5F9FE; color: #003F88; font: 600 14px Inter, sans-serif; cursor: pointer; box-sizing: border-box; }
.mn-drop__choose:hover, .mn-drop--over .mn-drop__choose { border-color: #003F88; background: #EAF2FC; }
.mn-drop__choose:focus-visible { outline: 0; box-shadow: 0 0 0 3px rgba(0, 80, 157, 0.2); }
.mn-drop--invalid .mn-drop__choose { border-color: #B42318; }
.mn-drop__hint { font-size: 12px; font-weight: 500; color: #5A6578; }
.mn-drop__chosen { display: flex; align-items: center; gap: 10px; padding: 12px 14px; border: 1px solid #D3DBE5; border-radius: 10px; background: #FFFFFF; }
.mn-drop__chosen[hidden], .mn-drop__choose[hidden] { display: none; }
.mn-drop__names { flex: 1; min-width: 0; font-size: 14px; color: #0B1A33; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.mn-drop__change { border: 0; background: transparent; color: #003F88; font: 600 13px Inter, sans-serif; cursor: pointer; }
.mn-drop__remove { width: 28px; height: 28px; border: 0; border-radius: 8px; background: #EEF2F7; color: #3B4659; display: flex; align-items: center; justify-content: center; cursor: pointer; flex: none; }
