/* Inventory v4: an open apartment schedule, quiet glass and compact tools. */
.eu-section {
  --eu-ink: #172f3b; --eu-muted: #546c77; --eu-line: rgba(62,93,106,.2);
  color: var(--eu-ink); background: linear-gradient(135deg,#f2f5f5,#e7eef0);
  padding: 100px 0 108px; scroll-margin-top: 90px;
}
.eu-section *, .eu-modal * { box-sizing: border-box; }
.eu-container { max-width: 1320px; margin: 0 auto; padding: 0 48px; }
.eu-section-head { max-width: 760px; margin-bottom: 38px; }
.eu-kicker { color: var(--eu-muted); font-size: 10px; font-weight: 600; letter-spacing: .2em; line-height: 1.5; margin: 0 0 16px; }
.eu-section-head h2 { font: 400 clamp(36px,3.8vw,54px)/1.1 Georgia,'Times New Roman',serif; letter-spacing: -.025em; margin: 0 0 19px; }
.eu-intro { color: var(--eu-muted); max-width: 600px; font-size: 15px; line-height: 1.75; margin: 0; }
.eu-stock { display: flex; justify-content: space-between; align-items: baseline; gap: 30px; border-top: 1px solid var(--eu-line); padding: 20px 0 30px; margin-top: 30px; }
.eu-stock p { margin: 0; }
.eu-stock-total { font-size: 14px; font-weight: 600; letter-spacing: -.015em; white-space: nowrap; font-variant-numeric: tabular-nums; }
.eu-stock-date { color: var(--eu-muted); max-width: 560px; font-size: 10px; line-height: 1.65; text-align: end; }
.eu-layout { display: grid; grid-template-columns: minmax(320px,370px) minmax(0,1fr); gap: 42px; align-items: start; }
.eu-picker { min-width: 0; }
.eu-filters { scroll-margin-top: 100px; }
.eu-section button, .eu-modal button { font: inherit; cursor: pointer; -webkit-tap-highlight-color: transparent; }
.eu-section button:focus-visible, .eu-section select:focus-visible, .eu-modal button:focus-visible, .eu-modal a:focus-visible, .eu-plan-viewport:focus-visible { outline: 2px solid #216d86; outline-offset: 3px; }
/* Material belongs to the rail; its segments remain typographic. */
.eu-status-filters { display: flex; gap: 0; padding: 3px; margin-bottom: 18px; border: 1px solid rgba(105,140,154,.23); border-radius: 7px; background: rgba(255,255,255,.38); box-shadow: inset 0 1px 0 rgba(255,255,255,.55); -webkit-backdrop-filter: blur(14px); backdrop-filter: blur(14px); }
.eu-filter { flex: 1; min-height: 44px; padding: 9px 10px; border: 0; border-radius: 4px; color: #415c69; background: transparent; box-shadow: none; font-size: 12px!important; font-weight: 400!important; transition: background .18s,color .18s; }
.eu-filter:hover { color: #163744; background: rgba(255,255,255,.18); }
.eu-filter[aria-pressed=true] { color: #173b4a; background: rgba(182,207,217,.25); font-weight: 600!important; box-shadow: none; }
.eu-block-filter { display: flex; align-items: center; justify-content: space-between; gap: 14px; color: var(--eu-muted); font-size: 11px; letter-spacing: .015em; }
.eu-block-filter select { color: var(--eu-ink); font: inherit; min-height: 44px; max-width: 70%; border: 0; border-bottom: 1px solid rgba(91,125,142,.35); border-radius: 0; background: transparent; padding: 8px 25px 8px 8px; box-shadow: none; }
.eu-block-filter option { color: #173444; background: #f3f8fa; }
.eu-count { color: var(--eu-muted); font-size: 10px; letter-spacing: .04em; margin: 18px 0 11px; }
/* Air between rows, without individual boxes or pill shapes. */
.eu-list { display: block; max-height: 645px; overflow: auto; overscroll-behavior: contain; padding: 0 5px 5px 0; border: 0; border-top: 1px solid var(--eu-line); border-radius: 0; background: transparent; box-shadow: none; scrollbar-width: thin; scrollbar-color: #9eafb7 transparent; }
.eu-section[dir=rtl] .eu-list { padding: 0 0 5px 5px; }
.eu-unit { display: grid; grid-template-columns: .9fr 1fr .95fr .7fr; grid-template-rows: auto auto; align-items: center; gap: 8px; width: 100%; min-width: 0; min-height: 82px; margin: 0; padding: 17px 10px 15px 13px; border: 0; border-bottom: 1px solid rgba(74,101,113,.13); border-radius: 0; text-align: start; color: var(--eu-ink); background: transparent; box-shadow: none; position: relative; transition: background .18s; }
.eu-unit:hover { background: rgba(255,255,255,.2); }
.eu-unit.is-active, .eu-unit.is-sold.is-active { color: var(--eu-ink); background: rgba(255,255,255,.2); box-shadow: inset 2px 0 0 #477d8c; }
.eu-section[dir=rtl] .eu-unit.is-active { box-shadow: inset -2px 0 0 #477d8c; }
.eu-section .eu-unit:focus-visible { outline-offset: -3px; }
.eu-unit-head { display: contents; }
.eu-unit-head > bdi { grid-column: 1; grid-row: 1; font: 400 18px/1.2 Georgia,'Times New Roman',serif; letter-spacing: -.025em; white-space: nowrap; }
.eu-unit-status { grid-column: 4; grid-row: 1; justify-self: end; max-width: 65px; color: #315c66; font-size: 9px; font-weight: 500; line-height: 1.25; text-align: end; }
.eu-unit.is-sold .eu-unit-status { color: #783f36; font-weight: 600; }
.eu-unit-meta { grid-column: 2; grid-row: 1; font-size: 10px; line-height: 1.4; }
.eu-unit-area { grid-column: 3; grid-row: 1; font-size: 11px; font-weight: 500; white-space: nowrap; text-align: end; font-variant-numeric: tabular-nums; }
.eu-unit-hint { grid-column: 1/5; grid-row: 2; color: var(--eu-muted); font-size: 10px; line-height: 1.45; }
.eu-detail { min-width: 0; padding: 5px 0 0; border: 0; background: transparent; scroll-margin-top: 100px; }
.eu-detail-heading { display: flex; align-items: center; justify-content: space-between; gap: 18px; }
.eu-detail-heading .eu-kicker { font-size: 9px; margin: 0 0 10px; }
.eu-detail h3 { font: 400 42px/1.05 Georgia,'Times New Roman',serif; letter-spacing: -.035em; margin: 0; }
.eu-badge { color: #275361; font-size: 10px; font-weight: 600; letter-spacing: .025em; line-height: 1.3; padding: 6px 0 6px 10px; border: 0; border-inline-start: 1px solid #96b5be; border-radius: 0; background: transparent; white-space: nowrap; }
.eu-badge.is-sold { color: #7b3b32; border-color: #bd8d80; background: transparent; }
.eu-section[dir=rtl] .eu-badge { padding: 6px 10px 6px 0; }
.eu-metrics { display: flex; flex-wrap: wrap; gap: 36px; border-top: 1px solid var(--eu-line); margin: 24px 0; padding-top: 17px; }
.eu-metrics div { min-width: 60px; }
.eu-metrics dt { font-size: 10px; letter-spacing: .03em; color: var(--eu-muted); margin-bottom: 8px; }
.eu-metrics dd { font-size: 16px; font-weight: 500; margin: 0; font-variant-numeric: tabular-nums; }
.eu-plan-visual { width: 100%; min-height: 235px; aspect-ratio: 1.414/1; display: block; position: relative; padding: 0; overflow: hidden; border: 0; border-radius: 1px; background: #1e3038; color: #fff; box-shadow: none; }
.eu-plan-visual img { display: block; width: 100%; height: 100%; object-fit: contain; }
.eu-plan-enlarge { position: absolute; bottom: 12px; inset-inline-end: 12px; color: #f8fcfd; font-size: 10px; padding: 7px 10px; border: 1px solid rgba(235,248,255,.23); border-radius: 3px; background: rgba(26,49,62,.5); box-shadow: none; -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px); }
.eu-plan-visual:hover .eu-plan-enlarge { background: rgba(26,49,62,.68); }
.eu-image-error { position: absolute; inset: 20%; display: flex; align-items: center; justify-content: center; text-align: center; font-size: 14px; line-height: 1.5; }
/* Small actions share a quiet toolbar rather than separate surfaces. */
.eu-plan-actions { display: flex; gap: 24px; flex-wrap: wrap; margin-top: 8px; border: 0; border-bottom: 1px solid var(--eu-line); }
.eu-secondary { flex: 1; min-height: 48px; padding: 10px 1px; border: 0; border-radius: 0; background: transparent; box-shadow: none; color: var(--eu-ink); text-align: start; font-size: 12px!important; text-decoration: none; }
.eu-secondary::after { content: '↗'; display: inline-block; margin-inline-start: 8px; font-size: 12px; color: #5c7884; }
.eu-secondary:hover { color: #1e6276; text-decoration: underline; text-underline-offset: 5px; }
.eu-detail-footer { display: flex; align-items: center; flex-wrap: wrap; gap: 14px 24px; margin-top: 24px; }
.eu-primary { min-height: 46px; padding: 11px 20px; border: 1px solid rgba(102,143,160,.34); border-radius: 4px; color: var(--glass-ink,#173444); background: rgba(244,251,254,.42); box-shadow: inset 0 1px 0 rgba(255,255,255,.48); -webkit-backdrop-filter: blur(12px); backdrop-filter: blur(12px); font-size: 12px!important; font-weight: 500!important; transition: background .18s,border-color .18s; }
.eu-primary:hover { border-color: rgba(80,127,148,.55); background: rgba(255,255,255,.62); }
.eu-primary:active { background: rgba(209,230,240,.52); }
.eu-back-list { display: none; min-height: 44px; padding: 10px 0; border: 0; border-radius: 0; background: transparent; box-shadow: none; color: var(--eu-muted); font-size: 11px!important; }
.eu-back-list:hover { color: #1e6276; text-decoration: underline; text-underline-offset: 5px; }
.eu-sold-note { color: #603f39; font-size: 12px; line-height: 1.65; border-inline-start: 2px solid #aa786d; background: transparent; margin: 0; padding: 4px 0 4px 15px; width: 100%; }
.eu-section[dir=rtl] .eu-sold-note { padding: 4px 15px 4px 0; }
.eu-source-note { color: #5c717b; font-size: 10px; line-height: 1.65; margin: 18px 0 0; }
.eu-plan-placeholder { min-height: 325px; padding: 45px 28px; display: flex; flex-direction: column; align-items: center; justify-content: center; text-align: center; border: 0; background: rgba(241,247,249,.46); box-shadow: none; }
.eu-plan-mark { display: block; width: 40px; height: 40px; color: #66848e; margin-bottom: 22px; }
.eu-plan-mark svg { width: 100%; height: 100%; }
.eu-plan-placeholder h4 { font: 400 28px/1.25 Georgia,'Times New Roman',serif; letter-spacing: -.02em; max-width: 350px; margin: 0 0 16px; }
.eu-plan-placeholder p { color: var(--eu-muted); max-width: 330px; font-size: 12px; line-height: 1.75; margin: 0; }
.eu-empty { padding: 32px 10px; text-align: center; font-size: 13px; }
.eu-text-button { min-height: 44px; padding: 9px 10px; border: 0; border-radius: 0; background: transparent; box-shadow: none; color: inherit; font-size: 11px!important; text-decoration: underline; text-underline-offset: 4px; }
/* Modal chrome stays outside the source plan and the original 3D view. */
.eu-modal { color: #172f3b; background: #eef3f4; border: 1px solid rgba(178,199,208,.55); border-radius: 6px; padding: 0; width: min(1240px,96vw); max-width: 96vw; max-height: 92dvh; overflow: hidden; box-shadow: 0 14px 50px rgba(5,28,43,.25); overscroll-behavior: contain; }
.eu-modal::backdrop { background: rgba(9,29,43,.66); -webkit-backdrop-filter: blur(5px); backdrop-filter: blur(5px); }
.eu-modal-toolbar { display: flex; align-items: center; justify-content: space-between; gap: 18px; border-bottom: 1px solid rgba(121,151,165,.26); padding: 12px 22px; background: rgba(232,240,243,.6); }
.eu-modal-toolbar h2 { font: 400 24px/1.2 Georgia,'Times New Roman',serif; letter-spacing: -.02em; margin: 0; }
.eu-modal-close { min-width: 70px; min-height: 44px; flex-shrink: 0; padding: 10px 2px 10px 12px; border: 0; border-radius: 0; background: transparent; box-shadow: none; color: inherit; font-size: 12px!important; }
.eu-modal-close:hover { color: #1d6178; text-decoration: underline; text-underline-offset: 5px; }
.eu-modal-note { color: #4d6773; font-size: 11px; line-height: 1.5; padding: 10px 22px; margin: 0; }
.eu-zoom-tools { display: flex; align-items: center; flex-wrap: wrap; gap: 5px; padding: 0 22px 9px; border-bottom: 1px solid rgba(121,151,165,.2); }
.eu-zoom-tools output { font-size: 11px; min-width: 37px; text-align: center; font-variant-numeric: tabular-nums; }
.eu-zoom-button { width: 44px; height: 44px; min-height: 44px; padding: 0; border: 0; border-radius: 0; background: transparent; box-shadow: none; color: inherit; font-size: 20px!important; }
.eu-zoom-button:hover:not(:disabled) { background: rgba(188,214,226,.2); }
.eu-zoom-button:disabled { opacity: .45; cursor: default; }
.eu-original { color: inherit; font-size: 11px; margin-inline-start: auto; padding: 8px 0 8px 12px; min-height: 44px; display: flex; align-items: center; border: 0; border-radius: 0; background: transparent; box-shadow: none; text-underline-offset: 4px; }
.eu-plan-viewport { max-height: calc(92dvh - 215px); overflow: auto; background: #1b2e36; overscroll-behavior: contain; scrollbar-width: thin; touch-action: pan-x pan-y pinch-zoom; direction: ltr; }
.eu-full-plan { display: block; width: 100%; height: auto; max-width: 100%; margin: auto; }
.eu-tour-frame { display: block; border: 0; width: 100%; height: calc(92dvh - 165px); min-height: 350px; background: #233a45; }
.eu-tour-fallback { color: inherit; font-size: 11px; display: block; padding: 12px 22px; min-height: 44px; border: 0; border-top: 1px solid rgba(121,151,165,.2); border-radius: 0; background: transparent; box-shadow: none; text-align: end; text-underline-offset: 3px; }
@media(max-width:1100px) {
  .eu-container { padding: 0 32px; }
  .eu-layout { grid-template-columns: minmax(310px,340px) minmax(0,1fr); gap: 28px; }
  .eu-stock { flex-direction: column; gap: 9px; }
  .eu-stock-date { text-align: start; max-width: 670px; }
  .eu-metrics { gap: 26px; }
  .eu-unit { gap: 8px 5px; padding-inline: 9px; }
  .eu-unit-head > bdi { font-size: 17px; }
}
@media(max-width:800px) {
  .eu-section { padding: 68px 0 72px; }
  .eu-container { padding: 0 24px; }
  .eu-section-head { margin-bottom: 27px; }
  .eu-section-head h2 { font-size: 40px; }
  .eu-intro { font-size: 14px; }
  .eu-stock { padding: 18px 0 26px; margin-top: 23px; }
  .eu-layout { grid-template-columns: minmax(0,1fr); gap: 35px; }
  .eu-status-filters, .eu-block-filter { max-width: 440px; }
  .eu-list { max-height: 344px; }
  .eu-unit { min-height: 82px; gap: 8px 12px; padding: 17px 12px 15px; grid-template-columns: 1fr 1fr 1fr .75fr; }
  .eu-unit-head > bdi { font-size: 19px; }
  .eu-unit-meta, .eu-unit-area { font-size: 12px; }
  .eu-unit-status { font-size: 10px; max-width: none; }
  .eu-detail { padding-top: 0; }
  .eu-detail h3 { font-size: 40px; }
  .eu-metrics { margin: 22px 0; gap: 36px; }
  .eu-back-list { display: block; }
  .eu-detail-footer { gap: 12px 24px; }
  .eu-plan-visual { min-height: 220px; }
  .eu-modal-toolbar { padding: 10px 15px; }
  .eu-modal-toolbar h2 { font-size: 20px; }
  .eu-modal-note { padding: 9px 15px; }
  .eu-zoom-tools { padding: 0 15px 8px; gap: 4px; }
  .eu-original { width: 100%; margin: 0; padding-inline-start: 0; }
  .eu-plan-viewport { max-height: calc(92dvh - 252px); }
  .eu-tour-frame { height: calc(92dvh - 174px); min-height: 300px; }
  .eu-tour-fallback { padding: 10px 15px; }
  .eu-detail, .eu-filters { scroll-margin-top: 90px; }
}
@media(max-width:520px) {
  .eu-container { padding: 0 19px; }
  .eu-section-head h2 { font-size: 36px; }
  .eu-stock-total { font-size: 13px; white-space: normal; }
  .eu-stock-date { font-size: 10px; }
  .eu-layout { gap: 31px; }
  .eu-list { max-height: 336px; }
  .eu-unit { grid-template-columns: .9fr 1fr 1fr .75fr; padding: 17px 8px 15px; gap: 8px 7px; }
  .eu-unit-head > bdi { font-size: 17px; }
  .eu-unit-meta { font-size: 10px; }
  .eu-unit-area { font-size: 11px; }
  .eu-unit-status { font-size: 9px; }
  .eu-detail h3 { font-size: 37px; }
  .eu-metrics { gap: 30px; margin: 21px 0; }
  .eu-metrics dd { font-size: 15px; }
  .eu-plan-visual { min-height: 180px; }
  .eu-plan-actions { gap: 16px; }
  .eu-secondary { font-size: 11px!important; }
  .eu-plan-enlarge { font-size: 10px; padding: 7px 9px; bottom: 9px; inset-inline-end: 9px; }
  .eu-detail-footer { align-items: flex-start; gap: 5px 20px; }
  .eu-primary { min-height: 48px; }
  .eu-back-list { text-align: start; }
  .eu-plan-placeholder { min-height: 285px; padding: 38px 22px; }
  .eu-plan-placeholder h4 { font-size: 26px; }
  .eu-modal { width: 100vw; max-width: 100vw; max-height: 100dvh; border: 0; border-radius: 0; }
  .eu-modal-toolbar h2 { font-size: 18px; }
  .eu-tour-frame { height: calc(100dvh - 174px); }
  .eu-plan-viewport { max-height: calc(100dvh - 250px); }
}
@supports not (backdrop-filter:blur(1px)) {
  .eu-status-filters { background: #edf3f5; }
  .eu-primary { background: #eef5f8; }
  .eu-plan-enlarge { background: #294452; }
}
@media(prefers-reduced-transparency:reduce) {
  .eu-section { background: #edf1f2; }
  .eu-status-filters { background: #f0f5f7; -webkit-backdrop-filter: none; backdrop-filter: none; box-shadow: none; }
  .eu-filter[aria-pressed=true] { background: #dbe7ec; }
  .eu-unit:hover, .eu-unit.is-active, .eu-unit.is-sold.is-active { background: #e2ecef; }
  .eu-primary { background: #eef5f8; -webkit-backdrop-filter: none; backdrop-filter: none; box-shadow: none; }
  .eu-primary:hover, .eu-primary:active { background: #dceaf0; }
  .eu-plan-enlarge, .eu-plan-visual:hover .eu-plan-enlarge { background: #294452; -webkit-backdrop-filter: none; backdrop-filter: none; }
  .eu-plan-placeholder { background: #e7eef1; }
  .eu-modal::backdrop { background: #132a38; -webkit-backdrop-filter: none; backdrop-filter: none; }
}
@media(prefers-reduced-motion:reduce) {
  .eu-section *, .eu-modal * { transition: none!important; scroll-behavior: auto!important; }
}
@media(forced-colors:active) {
  .eu-filter[aria-pressed=true], .eu-unit.is-active { outline: 1px solid Highlight; outline-offset: -2px; }
  .eu-primary { border-color: ButtonText; }
  .eu-plan-enlarge { color: ButtonText; background: ButtonFace; border-color: ButtonText; }
}
