/* ==========================================================================
   EasyPier - module pages (additional modules): intro with a live product visual, feature grid,
   integrations logo wall and related modules. Replaces the old screenshot carousels.
   ========================================================================== */

.page-hero .md-actions { display: flex; flex-wrap: wrap; gap: .6rem; margin-top: 1.6rem; }
.page-hero .md-actions .btn-ghost { border-color: rgba(255, 255, 255, .55); }

/* intro: text + product visual */
.md-intro { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: 3rem; align-items: center; }
@media (max-width: 991.98px) { .md-intro { grid-template-columns: minmax(0, 1fr); gap: 2rem; } }
.md-intro h2 { font-size: clamp(1.7rem, 3vw, 2.3rem); margin: 0 0 1rem; }
.md-intro h2 strong { font-weight: inherit; color: var(--ep-blue-dk); }
.md-intro .lead { margin-bottom: 1.25rem; }
.md-points { list-style: none; padding: 0; margin: 0; display: grid; gap: .8rem; }
.md-points li { display: flex; gap: .8rem; }
.md-points li > i { flex: 0 0 34px; width: 34px; height: 34px; border-radius: 9px; background: rgba(10, 114, 165, .1); color: var(--ep-blue-dk); display: flex; align-items: center; justify-content: center; font-size: .9rem; margin-top: .1rem; }
.md-points b { display: block; color: var(--ep-navy); }
.md-points span { font-size: .95rem; }
.md-caption { margin-top: .75rem; font-size: .82rem; color: var(--ep-muted); }

/* feature grid */
.md-feats { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1.1rem; }
@media (max-width: 991.98px) { .md-feats { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 575.98px) { .md-feats { grid-template-columns: 1fr; } }
.md-feat { background: #fff; border: 1px solid var(--ep-line); border-radius: var(--ep-radius); padding: 1.5rem 1.45rem; scroll-margin-top: 100px; }
.md-feat > i { width: 44px; height: 44px; border-radius: 10px; background: var(--ep-navy); color: #fff; display: flex; align-items: center; justify-content: center; font-size: 1.05rem; margin-bottom: 1rem; }
.md-feat h3 { font-size: 1.12rem; margin: 0 0 .45rem; }
.md-feat p { font-size: .95rem; margin: 0 0 .7rem; }
.md-feat ul { list-style: none; padding: 0; margin: 0; display: flex; flex-wrap: wrap; gap: .3rem; }
.md-feat ul li { font-size: .78rem; font-weight: 600; color: #2f3c4f; background: var(--ep-bg); border-radius: 5px; padding: .15rem .5rem; }
.md-feat:target { border-color: var(--ep-blue); box-shadow: 0 0 0 4px rgba(10, 114, 165, .15); }

/* integrations */
.md-int { display: grid; gap: 2rem; }
.md-int-group h3 { font-size: .8rem; letter-spacing: .1em; text-transform: uppercase; color: var(--ep-muted); margin: 0 0 .9rem; }
.md-logos { display: grid; grid-template-columns: repeat(auto-fill, minmax(140px, 1fr)); gap: .75rem; }
.md-logos .logo-tile { height: 120px; padding: .2rem; }
.md-logos .logo-tile img { height: 100%; max-height: 100%; width: 100%; object-fit: contain; }
.md-chips { list-style: none; display: flex; flex-wrap: wrap; gap: .45rem; padding: 0; margin: .75rem 0 0; }
.md-chips li { border: 1px solid var(--ep-line); background: #fff; border-radius: 8px; padding: .4rem .85rem; font-weight: 700; font-size: .88rem; color: var(--ep-navy); }

/* related modules */
.md-rel { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 1rem; }
@media (max-width: 991.98px) { .md-rel { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 575.98px) { .md-rel { grid-template-columns: 1fr; } }
.md-rel a { display: flex; gap: .9rem; align-items: flex-start; background: #fff; border: 1px solid var(--ep-line); border-radius: var(--ep-radius); padding: 1.15rem 1.2rem; color: inherit; transition: border-color .2s, box-shadow .2s, transform .2s; }
.md-rel a:hover { color: inherit; border-color: transparent; box-shadow: var(--ep-shadow-lg); transform: translateY(-3px); }
.md-rel a > i { flex: 0 0 40px; width: 40px; height: 40px; border-radius: 10px; background: rgba(10, 114, 165, .1); color: var(--ep-blue-dk); display: flex; align-items: center; justify-content: center; }
.md-rel b { display: block; color: var(--ep-navy); }
.md-rel span { font-size: .88rem; line-height: 1.45; }
@media (hover: none) { .md-rel a:hover { transform: none; box-shadow: none; border-color: var(--ep-line); } }

/* ---------- product visuals (HTML drawings with sample data) ---------- */
.mv { background: #fff; border: 1px solid #d6dde6; border-radius: 12px; box-shadow: var(--ep-shadow-lg); overflow: hidden; font-size: 11.5px; line-height: 1.3; color: #24324a; }
.mv-top { display: flex; align-items: center; gap: 10px; padding: 9px 14px; background: #001b37; color: #fff; font-weight: 700; font-size: 12.5px; }
.mv-top span { margin-left: auto; font-weight: 500; color: rgba(255, 255, 255, .7); font-size: 11px; }
.mv-body { padding: 12px; overflow-x: auto; }
.mv table { width: 100%; border-collapse: collapse; min-width: 520px; }
.mv th, .mv td { border-bottom: 1px solid #eef1f5; padding: 6px 7px; text-align: center; font-variant-numeric: tabular-nums; white-space: nowrap; }
.mv th { font-size: 10px; color: #7b8594; font-weight: 600; background: #f7f9fb; }
.mv th:first-child, .mv td:first-child { text-align: left; }
.mv td:first-child b { display: block; color: #14233a; }
.mv td:first-child small { color: #7b8594; }
.mv .av { font-weight: 700; color: #1f8a5b; }
.mv .av.low { color: #c98a12; }
.mv .av.out { color: #c53030; }
.mv .rt { display: block; font-size: 10px; color: #4a5565; }
.mv .stop { display: inline-block; font-size: 9px; font-weight: 700; color: #fff; background: #c53030; border-radius: 3px; padding: 1px 5px; }
.mv-legend { display: flex; flex-wrap: wrap; gap: .4rem 1rem; padding: 0 12px 12px; font-size: 10.5px; color: #4a5565; }
.mv-legend i { margin-right: 4px; }
.mv-chan { display: grid; grid-template-columns: repeat(4, 1fr); gap: 8px; padding: 0 12px 12px; }
.mv-chan div { border: 1px solid #e6eaf0; border-radius: 7px; padding: 7px 9px; }
.mv-chan small { display: block; color: #7b8594; font-size: 9.5px; }
.mv-chan b { color: #14233a; }
.mv-chan .ok { color: #1f8a5b; font-size: 9.5px; font-weight: 700; }
/* CRM visual */
.mv-crm { display: grid; grid-template-columns: 1fr 1.2fr; gap: 12px; }
.mv-seg { border: 1px solid #e6eaf0; border-radius: 8px; padding: 9px 10px; }
.mv-seg h6, .mv-mail h6 { margin: 0 0 7px; font-size: 9.5px; letter-spacing: .06em; text-transform: uppercase; color: #7b8594; }
.mv-seg-row { display: flex; justify-content: space-between; padding: 5px 0; border-top: 1px solid #eef1f5; }
.mv-seg-row:first-of-type { border-top: 0; }
.mv-seg-row b { color: #14233a; font-variant-numeric: tabular-nums; }
.mv-mail { border: 1px solid #e6eaf0; border-radius: 8px; overflow: hidden; }
.mv-mail h6 { padding: 9px 10px 0; }
.mv-mail-img { height: 70px; background: linear-gradient(135deg, #4db3e6, #12709f); position: relative; }
.mv-mail-img::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 22px; background: #f2d8a7; }
.mv-mail-txt { padding: 9px 10px; }
.mv-mail-txt b { display: block; color: #14233a; font-size: 12px; margin-bottom: 4px; }
.mv-mail-txt i { display: block; height: 6px; border-radius: 3px; background: #eef1f5; margin-bottom: 4px; }
.mv-mail-txt i:nth-child(3) { width: 70%; }
.mv-mail-btn { display: inline-block; margin-top: 4px; background: var(--ep-blue-dk); color: #fff; border-radius: 4px; padding: 3px 9px; font-weight: 700; font-size: 10px; }
.mv-stats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; margin-top: 12px; }
.mv-stats div { border: 1px solid #e6eaf0; border-radius: 8px; padding: 7px 9px; }
.mv-stats small { display: block; font-size: 9.5px; color: #7b8594; text-transform: uppercase; letter-spacing: .05em; }
.mv-stats b { font-size: 17px; color: #14233a; font-variant-numeric: tabular-nums; }
@media (max-width: 575.98px) { .mv-crm { grid-template-columns: 1fr; } .mv-chan { grid-template-columns: repeat(2, 1fr); } }

/* ---------- feature sections: text + product screen, alternating sides ---------- */
.pf-sec { scroll-margin-top: 80px; }
.pf { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: 3.5rem; align-items: center; }
.pf-rev { grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); }
.pf-rev .pf-txt { order: 2; }
@media (max-width: 991.98px) { .pf, .pf-rev { grid-template-columns: minmax(0, 1fr); gap: 2rem; } .pf-rev .pf-txt { order: 0; } }
.pf-dept { display: inline-flex; align-items: center; gap: .55rem; font-size: .8rem; font-weight: 700; color: var(--ep-blue-dk); background: rgba(10, 114, 165, .1); border-radius: 999px; padding: .3rem .85rem .3rem .3rem; margin-bottom: 1rem; }
.pf-dept i { width: 26px; height: 26px; border-radius: 50%; background: var(--ep-navy); color: #fff; display: inline-flex; align-items: center; justify-content: center; font-size: .72rem; }
.pf h2 { font-size: clamp(1.6rem, 2.8vw, 2.2rem); margin: 0 0 1rem; }
.pf h2 strong { font-weight: inherit; color: var(--ep-blue-dk); }
.pf .lead { margin-bottom: 1.3rem; }
.pf-list { list-style: none; padding: 0; margin: 0 0 1.3rem; display: grid; gap: .65rem; }
.pf-list li { display: flex; gap: .7rem; color: var(--ep-ink); }
.pf-list li > i { flex: 0 0 22px; width: 22px; height: 22px; border-radius: 50%; background: #e3f4ec; color: #1a6b49; font-size: .65rem; display: flex; align-items: center; justify-content: center; margin-top: .15rem; }
.pf-tags { list-style: none; padding: 0; margin: 0; display: flex; flex-wrap: wrap; gap: .35rem; }
.pf-tags li { font-size: .78rem; font-weight: 600; color: #2f3c4f; background: var(--ep-bg); border-radius: 5px; padding: .15rem .55rem; }
.section-alt .pf-tags li { background: #fff; }
.pf-fig { margin: 0; }

/* "also included" cards, each with a small product screen */
.md-shots { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1.4rem; }
@media (max-width: 767.98px) { .md-shots { grid-template-columns: minmax(0, 1fr); } }
.md-shot { display: flex; flex-direction: column; background: #fff; border: 1px solid var(--ep-line); border-radius: var(--ep-radius); overflow: hidden; scroll-margin-top: 100px; }
.md-shot .pv { border: 0; border-radius: 0; box-shadow: none; border-bottom: 1px solid var(--ep-line); }
.md-shot-body { padding: 1.3rem 1.45rem 1.4rem; }
.md-shot h3 { font-size: 1.12rem; margin: 0 0 .45rem; display: flex; align-items: center; gap: .6rem; }
.md-shot h3 i { width: 32px; height: 32px; border-radius: 8px; background: var(--ep-navy); color: #fff; display: inline-flex; align-items: center; justify-content: center; font-size: .85rem; }
.md-shot p { font-size: .95rem; margin: 0 0 .7rem; }
.md-shot ul { list-style: none; padding: 0; margin: 0; display: flex; flex-wrap: wrap; gap: .3rem; }
.md-shot ul li { font-size: .78rem; font-weight: 600; color: #2f3c4f; background: var(--ep-bg); border-radius: 5px; padding: .15rem .5rem; }
.md-shot:target { border-color: var(--ep-blue); box-shadow: 0 0 0 4px rgba(10, 114, 165, .15); }
.md-more { text-align: center; margin: 2rem 0 0; }

/* ---------- product screens: faithful, simplified redraws of GUEST screens with sample data.
   A fixed-width canvas (--cw, default 640px) is scaled to its column by modules.js. ---------- */
.pv { position: relative; width: 100%; height: calc(var(--hx, var(--h, 340)) * var(--k, 1) * 1px + 34px); background: #f5f5f5; border: 1px solid #d6dde6; border-radius: 12px; box-shadow: var(--ep-shadow-lg); overflow: hidden; }
.pv-bar { height: 34px; display: flex; align-items: center; gap: 10px; padding: 0 12px; background: #001b37; color: #fff; font-size: 12px; white-space: nowrap; overflow: hidden; }
.pv-bar .dots { display: flex; gap: 5px; }
.pv-bar .dots i { width: 9px; height: 9px; border-radius: 50%; background: rgba(255, 255, 255, .25); }
.pv-bar b { font-weight: 800; letter-spacing: .02em; }
.pv-bar span { color: rgba(255, 255, 255, .75); }
.pv-canvas { position: absolute; left: 0; top: 34px; width: calc(var(--cwx, var(--cw, 640)) * 1px); height: calc(var(--hx, var(--h, 340)) * 1px); padding: 10px 12px; transform: scale(var(--k, 1)); transform-origin: 0 0; font-size: 10.5px; line-height: 1.25; color: #212529; text-align: left; }
.pv-title { font-weight: 700; font-size: 12px; color: #14233a; margin-bottom: 8px; }

/* app building blocks: toolbar buttons, filter fields, cards, tables, badges */
.pv-tb { display: flex; gap: 5px; margin-bottom: 8px; }
.pv-b { display: inline-flex; align-items: center; gap: 4px; background: #fff; border: 1px solid #ced4da; border-radius: 4px; padding: 3px 8px; font-weight: 500; white-space: nowrap; color: #212529; }
.pv-b i { font-size: 9px; }
.pv-b.blue { border-color: #0d6efd; color: #0d6efd; }
.pv-b.red { border-color: #dc3545; color: #dc3545; }
.pv-b.green { border-color: #198754; color: #198754; }
.pv-b.solid { background: #0d8bf0; border-color: #0d8bf0; color: #fff; font-weight: 600; }
.pv-b.r { margin-left: auto; }
.pv-fs { display: grid; gap: 8px; margin-bottom: 9px; align-items: end; }
.pv-f small { display: block; font-size: 9px; color: #495057; margin-bottom: 2px; }
.pv-f span { display: flex; align-items: center; justify-content: space-between; gap: 6px; background: #fff; border: 1px solid #ced4da; border-radius: 4px; padding: 3px 6px; white-space: nowrap; overflow: hidden; }
.pv-f span i { font-size: 8px; color: #6c757d; }
.pv-card { background: #fff; border: 1px solid #e3e7ec; border-radius: 6px; padding: 8px 10px; }
.pv-card h5 { display: flex; align-items: center; gap: 5px; margin: 0 0 8px; font-size: 11px; font-weight: 700; color: #14233a; }
.pv-card h5 i { color: #0d6efd; font-size: 10px; }
.pv-kv { display: grid; grid-template-columns: 74px minmax(0, 1fr) 70px minmax(0, 1fr); gap: 5px 8px; align-items: center; }
.pv-kv > small { font-size: 9.5px; color: #495057; }
.pv-kv > span { border: 1px solid #ced4da; border-radius: 4px; padding: 3px 6px; background: #fff; white-space: nowrap; overflow: hidden; }
.pv-kv > span.ro { background: #e9ecef; }
.pv-kv > span.ln { color: #0d6efd; text-decoration: underline; background: #e9ecef; }
.pv-tbl { width: 100%; border-collapse: collapse; }
.pv-tbl th { font-size: 9px; font-weight: 700; color: #212529; text-align: left; padding: 4px 5px; border-bottom: 2px solid #dee2e6; white-space: nowrap; }
.pv-tbl td { padding: 4px 5px; border-bottom: 1px solid #eef1f5; white-space: nowrap; font-size: 9.5px; }
.pv-tbl .n { text-align: right; font-variant-numeric: tabular-nums; }
.pv-tbl .c { text-align: center; }
.pv-tbl u { color: #0d6efd; }
.pv-tbl tr.tot td { font-weight: 700; border-bottom: 0; }
.pv-tabs { display: flex; gap: 12px; border-bottom: 1px solid #dee2e6; margin-bottom: 6px; font-size: 9.5px; }
.pv-tabs span { padding: 0 0 4px; color: #0d6efd; }
.pv-tabs span.on { color: #14233a; font-weight: 700; border-bottom: 2px solid #0d6efd; }
.pv-tabs small { color: #6c757d; font-size: 8.5px; }
.pv-bd { display: inline-block; font-size: 8px; font-weight: 700; border-radius: 3px; padding: 1px 4px; border: 1px solid #adb5bd; color: #495057; text-transform: uppercase; white-space: nowrap; }
.pv-bd.lo { border-color: #9eeaf9; background: #cff4fc; color: #087990; }
.pv-bd.hi { border-color: #f1aeb5; background: #f8d7da; color: #b02a37; }
.pv-bd.md { border-color: #ffe69c; background: #fff3cd; color: #997404; }
.pv-st { font-size: 9px; font-weight: 600; border: 1px solid #dc3545; color: #dc3545; border-radius: 3px; padding: 0 5px; white-space: nowrap; }
.pv-st.run { border-color: #0d6efd; color: #0d6efd; }
.pv-st.ok { border-color: #198754; color: #198754; }
.pv-legend { display: flex; flex-wrap: wrap; gap: 3px 12px; font-size: 9px; color: #495057; }
.pv-legend span { display: inline-flex; align-items: center; gap: 4px; }
.pv-legend i { display: inline-block; width: 9px; height: 9px; border-radius: 2px; }

/* room chart (scheduler) */
.pv-rc { background: #fff; border: 1px solid #dee2e6; border-radius: 4px; overflow: hidden; }
.pv-rc .rw { display: grid; grid-template-columns: 50px 44px 46px minmax(0, 1fr); border-bottom: 1px solid #e9ecef; }
.pv-rc .rw > span { display: flex; align-items: center; justify-content: center; font-size: 9.5px; border-right: 1px solid #e9ecef; }
.pv-rc .hd > span { font-weight: 700; font-size: 9px; }
.pv-rc .hd .days { display: grid; grid-template-columns: repeat(10, minmax(0, 1fr)); grid-template-rows: auto auto; }
.pv-rc .hd .mo { grid-column: 1 / -1; text-align: center; font-size: 9px; color: #495057; padding: 2px 0; border-bottom: 1px solid #e9ecef; }
.pv-rc .hd .d { text-align: center; font-size: 9px; padding: 3px 0; border-left: 1px solid #e9ecef; color: #212529; }
.pv-rc .hd .d.we { color: #dc3545; }
.pv-rc .hd .d.td { background: #e7f1ff; font-weight: 700; }
.pv-rc .rm { height: 34px; }
.pv-rc .rm > span:nth-child(3).dirty { border-left: 4px solid #ea3624; }
.pv-rc .tl { position: relative; background-image: linear-gradient(#f5f9ff, #f5f9ff), linear-gradient(90deg, #e9ecef 1px, transparent 1px); background-size: 10% 100%, 10% 100%; background-repeat: no-repeat, repeat-x; }
:is(.pv, .sx) .ev { position: absolute; top: 3px; bottom: 3px; left: calc(var(--s) * 10% + 1px); width: calc(var(--n) * 10% - 2px); background: #f0f3fa; border: 1px solid #dee2e6; border-top: 3px solid var(--c, #1691f4); border-radius: 2px; padding: 1px 4px; font-size: 9px; line-height: 1.2; color: #14233a; white-space: nowrap; overflow: hidden; font-style: normal; transform-origin: left; }
:is(.pv, .sx) .ev small { display: block; font-size: 8.5px; color: #5f6b7a; }
:is(.pv, .sx) .ev.ci { --c: #1691f4; }
:is(.pv, .sx) .ev.cf { --c: #2e8b3e; }
:is(.pv, .sx) .ev.co { --c: #8a8a8a; }
:is(.pv, .sx) .ev.tk { --c: #111; }
:is(.pv, .sx) .ev.sel { box-shadow: 0 0 0 1.5px #0d6efd; }
.pv-tip { position: absolute; width: 214px; background: #1f2a37; color: #e9eef5; border-radius: 6px; padding: 7px 9px; font-size: 9.5px; line-height: 1.45; box-shadow: 0 10px 24px rgba(11, 31, 58, .3); }
.pv-tip b { color: #fff; }

/* invoice */
.pv-inv { display: grid; grid-template-columns: minmax(0, 1.75fr) minmax(0, 1fr); gap: 8px; margin-bottom: 8px; }
.pv-dl div { display: flex; align-items: flex-end; gap: 3px; padding: 3px 0; }
.pv-dl span { white-space: nowrap; }
.pv-dl i { flex: 1; border-bottom: 1.5px dotted #adb5bd; margin-bottom: 3px; }
.pv-dl b { font-variant-numeric: tabular-nums; }
.pv-dl u { font-weight: 700; }

/* room rack + tasks */
.pv-hk { display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr); gap: 8px; }
.pv-hk .pv-legend { margin: 0 0 6px; }
.pv-flo { font-size: 9.5px; color: #495057; margin: 5px 0 3px; }
.pv-tiles { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 4px; }
.pv-tile { position: relative; height: 46px; border-radius: 3px; background: #f1f3f5; display: flex; flex-direction: column; align-items: center; justify-content: center; font-weight: 700; font-size: 11px; color: #14233a; border: 1px solid transparent; }
.pv-tile small { font-size: 7.5px; font-weight: 500; margin-top: 2px; }
.pv-tile .ic { position: absolute; top: 3px; right: 4px; font-size: 7.5px; }
.pv-tile.cip { background: #03a9f4; }
.pv-tile.cop { background: #80a951; }
.pv-tile.both { background: #f38d8d; }
.pv-tile.ocu { background: #f9d7a7; }
.pv-tile.cir { background-image: linear-gradient(90deg, #03a9f4 10%, rgba(3, 169, 244, 0) 50%); }
.pv-tile.cor { background-image: linear-gradient(90deg, #80a951 10%, rgba(128, 169, 81, 0) 50%); }
.pv-tile.both.cir { background-image: linear-gradient(90deg, #03a9f4 10%, rgba(3, 169, 244, 0) 50%); }
.pv-tile.oos { border-color: #dc3545; }
.pv-seg { display: flex; background: #e9ecef; border-radius: 5px; padding: 2px; margin-bottom: 7px; }
.pv-seg span { flex: 1; text-align: center; padding: 3px 0; border-radius: 4px; color: #6c757d; font-size: 9.5px; }
.pv-seg span.on { background: #fff; color: #14233a; font-weight: 700; box-shadow: 0 1px 2px rgba(0, 0, 0, .08); }
.pv-tk { background: #fff; border: 1px solid #e3e7ec; border-left: 3px solid #dc3545; border-radius: 5px; padding: 6px 8px; margin-bottom: 6px; box-shadow: 0 1px 2px rgba(11, 31, 58, .05); }
.pv-tk.run { border-left-color: #0d6efd; }
.pv-tk .t { display: flex; align-items: center; gap: 4px; }
.pv-tk .t b { font-size: 10px; text-transform: uppercase; white-space: nowrap; }
.pv-tk .t .pv-st { margin-left: auto; }
.pv-tk p { margin: 4px 0 3px; font-size: 9.5px; color: #212529; }
.pv-tk small { font-size: 8.5px; color: #6c757d; }

/* management dashboard */
.pv-dash { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.15fr); gap: 8px; }
.pv-card .pv-legend { margin-bottom: 6px; }
.pv-gb { display: flex; align-items: flex-end; gap: 5px; height: 160px; border-bottom: 1px solid #ced4da; border-left: 1px solid #ced4da; padding: 0 4px; }
.pv-gb > div { flex: 1; height: 100%; display: flex; align-items: flex-end; justify-content: center; gap: 1px; }
.pv-gb > div i { width: 30%; height: calc(var(--v) * 1%); border-radius: 1px 1px 0 0; transform-origin: bottom; }
.pv-gb i.y0 { background: #4a8ae8; }
.pv-gb i.y1 { background: #f6b143; }
.pv-gb i.y2 { background: #e5481e; }
.pv-gx { display: flex; gap: 5px; padding: 3px 4px 0; }
.pv-gx span { flex: 1; text-align: center; font-size: 8.5px; color: #6c757d; }
.pv-tbl.blue th { background: #6d9eeb; color: #fff; border: 1px solid #fff; text-align: center; padding: 3px 3px; }
.pv-tbl.blue td { border: 1px solid #e3e7ec; text-align: center; padding: 4px 3px; }
.pv-tbl.blue td:first-child { font-weight: 700; }
.pv-tbl.blue tr.tot td { background: #6d9eeb; color: #fff; border-color: #fff; }

/* SPA therapists agenda */
.pv-ag { position: relative; display: grid; grid-template-columns: 36px repeat(3, minmax(0, 1fr)); background: #fff; border: 1px solid #dee2e6; border-radius: 4px; overflow: hidden; }
.pv-ag .h { display: flex; align-items: center; justify-content: center; gap: 4px; height: 24px; border-bottom: 1px solid #dee2e6; border-left: 1px solid #e9ecef; font-size: 9.5px; }
.pv-ag .h i { color: #adb5bd; font-size: 10px; }
.pv-ag .tm { border-right: 1px solid #e9ecef; }
.pv-ag .tm span { display: block; height: 40px; font-size: 9px; color: #495057; padding: 2px 3px; border-bottom: 1px solid #e9ecef; }
.pv-ag .tm sup { font-size: 6px; }
.pv-ag .col { position: relative; border-left: 1px solid #e9ecef; background-image: repeating-linear-gradient(#fff 0 39px, #e9ecef 39px 40px); }
.pv-ag .off { position: absolute; left: 0; right: 0; background: #e9ecef; }
.pv-ag .ap { position: absolute; left: 3px; right: 3px; background: #f0f3fa; border: 1px solid #dee2e6; border-left: 3px solid var(--c, #1691f4); border-radius: 2px; padding: 2px 4px; font-size: 8.5px; line-height: 1.25; overflow: hidden; }
.pv-ag .ap b { display: block; font-size: 9px; color: #14233a; }
.pv-ag .now { position: absolute; left: 36px; right: 0; height: 1px; background: #dc3545; }
.pv-ag .now::before { content: ""; position: absolute; left: -5px; top: -3px; border: 3.5px solid transparent; border-left: 5px solid #dc3545; }

/* entrance animations, only once the screen scrolls into view (modules.js adds .pv-anim / .is-in) */
@keyframes pvIn { from { opacity: 0; transform: translateY(8px); } }
@keyframes pvGrow { from { transform: scaleX(0); } }
@keyframes pvRise { from { transform: scaleY(0); } }
.pv-anim .pv:not(.is-in) [data-a], .pv-anim .pv:not(.is-in) .ev { opacity: 0; }
.pv-anim .pv.is-in [data-a] { animation: pvIn .5s cubic-bezier(.23, 1, .32, 1) both; animation-delay: calc(var(--d, 0) * 1ms); }
.pv-anim .pv.is-in .ev { animation: pvGrow .6s cubic-bezier(.23, 1, .32, 1) both; animation-delay: calc(var(--d, 0) * 1ms); }
.pv-anim .pv.is-in .pv-gb i { animation: pvRise .7s cubic-bezier(.23, 1, .32, 1) both; animation-delay: calc(var(--d, 0) * 1ms); }

/* POS front office: zones and tables */
.pv-pos { display: grid; grid-template-columns: 30px 82px minmax(0, 1fr); gap: 6px; }
.pv-pos-top { display: flex; justify-content: flex-end; gap: 9px; margin-bottom: 7px; padding-right: 2px; }
.pv-pos-top i, .pv-pos-side i { width: 22px; height: 22px; border-radius: 6px; display: inline-flex; align-items: center; justify-content: center; font-size: 11px; color: #fff; }
.pv-pos-side { display: grid; gap: 7px; align-content: start; }
.pv-zones { display: grid; gap: 5px; align-content: start; }
.pv-zones span { height: 40px; border-radius: 5px; background: green; color: #fff; font-weight: 700; font-size: 9.5px; display: flex; align-items: center; justify-content: center; text-align: center; }
.pv-zones span.on { color: #ffff3c; }
.pv-tables { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 5px; align-content: start; }
.pv-tables span { height: 36px; border-radius: 5px; background: #dcf0c8; color: #323232; font-weight: 700; font-size: 12px; display: flex; align-items: center; justify-content: center; }
.pv-pos-h { display: flex; align-items: center; gap: 8px; margin-bottom: 6px; font-weight: 700; font-size: 12px; color: #14233a; }

/* three "also included" cards in a row */
@media (min-width: 992px) { .md-shots-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); } }

/* CRM cardex dashboard: age pyramid and horizontal bars */
.pv-chart-t { text-align: center; font-weight: 700; font-size: 11px; color: #14233a; margin-bottom: 6px; }
.pv-pyr { display: grid; grid-template-columns: minmax(0, 1fr) 30px minmax(0, 1fr); row-gap: 3px; align-items: center; }
.pv-pyr i { display: block; height: 10px; width: calc(var(--w) * 1%); transform-origin: right; }
.pv-pyr .f i { margin-left: auto; background: #17b3a3; border-radius: 2px 0 0 2px; }
.pv-pyr .m i { background: #0f6e6e; border-radius: 0 2px 2px 0; transform-origin: left; }
.pv-pyr > span.a { text-align: center; font-size: 8.5px; color: #6c757d; }
.pv-pyr-f { display: flex; justify-content: space-between; margin-top: 6px; font-size: 9px; font-weight: 700; color: #14233a; }
.pv-hb div { display: grid; grid-template-columns: 92px minmax(0, 1fr) 40px; align-items: center; gap: 6px; margin-bottom: 5px; font-size: 9px; }
.pv-hb i { display: block; height: 10px; width: calc(var(--w) * 1%); background: var(--c, #4a8ae8); border-radius: 0 2px 2px 0; transform-origin: left; }
.pv-hb b { text-align: right; font-variant-numeric: tabular-nums; }
.pv-kpi2 { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; margin-bottom: 8px; }
.pv-kpi2 > div { background: #fff; border: 1px solid #e3e7ec; border-radius: 6px; padding: 8px 10px; }
.pv-kpi2 h6 { margin: 0 0 4px; font-size: 10px; font-weight: 700; color: #14233a; text-transform: none; letter-spacing: 0; }
.pv-kpi2 b { font-size: 18px; color: #14233a; }
.pv-kpi2 small { display: block; font-size: 9px; color: #495057; }
.pv-sw { display: inline-block; width: 14px; height: 12px; border: 1px solid #adb5bd; vertical-align: middle; }
.pv-anim .pv.is-in .pv-pyr i, .pv-anim .pv.is-in .pv-hb i { animation: pvGrow .7s cubic-bezier(.23, 1, .32, 1) both; animation-delay: calc(var(--d, 0) * 1ms); }

/* integration partners without a logo image: the name set as a neutral wordmark */
.logo-tile.logo-txt span { font-weight: 800; font-size: 1.05rem; letter-spacing: -.01em; color: #6b7684; text-align: center; line-height: 1.2; padding: 0 .5rem; }

/* add-on pages: real app screenshots in phone frames */
.pv-phones { display: flex; justify-content: center; align-items: flex-start; gap: 1.4rem; padding: 1rem 0; }
.pv-phone2 { width: min(46%, 250px); aspect-ratio: 375 / 780; background: #0b1f3a; border-radius: 34px; padding: 8px; box-shadow: var(--ep-shadow-lg); }
.pv-phone2 img { display: block; width: 100%; height: 100%; object-fit: cover; object-position: top; border-radius: 27px; background: #fff; }
.pv-phones .pv-phone2:nth-child(2) { margin-top: 3rem; }
.pf .am-price { margin-top: .4rem; }
.pf-ideal { margin: 1rem 0 0; font-size: .9rem; color: var(--ep-muted); }
.pf-ideal b { color: var(--ep-navy); }

/* lost & found dashboard */
.pv-lf { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 8px; margin-bottom: 8px; }
.pv-lf > div { position: relative; background: #fff; border-radius: 8px; border-left: 4px solid var(--c); box-shadow: 0 1px 3px rgba(11, 31, 58, .08); padding: 9px 10px; }
.pv-lf small { display: block; font-size: 8.5px; font-weight: 700; letter-spacing: .05em; text-transform: uppercase; color: #495057; }
.pv-lf b { font-size: 20px; color: #14233a; }
.pv-lf i { position: absolute; right: 9px; top: 50%; transform: translateY(-50%); width: 26px; height: 26px; border-radius: 50%; background: var(--c); color: #fff; display: flex; align-items: center; justify-content: center; font-size: 11px; }
.pv-lf-lists { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; }
.pv-lf-lists h5 { justify-content: space-between; }
.pv-lf-lists h5 em { font-style: normal; width: 18px; height: 18px; border-radius: 50%; background: var(--c); color: #fff; font-size: 9px; display: inline-flex; align-items: center; justify-content: center; }
.pv-lf-row { display: flex; justify-content: space-between; align-items: center; padding: 5px 0; border-top: 1px solid #eef1f5; }
.pv-lf-row b { display: block; font-size: 10px; color: #14233a; text-decoration: underline; }
.pv-lf-row small { font-size: 8.5px; color: #6c757d; }

/* integration scheme (Business Central) */
.pv-flow { display: grid; grid-template-columns: minmax(0, 1fr) 70px minmax(0, 1fr); align-items: center; gap: 6px; }
.pv-flow .side { background: #fff; border: 1px solid #e3e7ec; border-radius: 10px; padding: 12px; text-align: center; }
.pv-flow .side b { display: block; font-size: 14px; color: #14233a; margin: 6px 0 8px; }
.pv-flow .side > i { font-size: 22px; color: #12709f; }
.pv-flow .side span { display: block; font-size: 10px; padding: 4px 6px; margin-top: 4px; background: #f3f6f9; border-radius: 5px; color: #2f3c4f; }
.pv-flow .arrow { text-align: center; color: #12709f; font-size: 22px; }
.pv-flow .arrow small { display: block; font-size: 9px; color: #6c757d; margin-top: 4px; }

/* 7-day scheduler (staff planning) on the room chart grid */
.pv-rc.d7 .rw { grid-template-columns: 92px 74px minmax(0, 1fr); }
.pv-rc.d7 .rw > span:first-child { justify-content: flex-start; padding-left: 8px; font-weight: 600; }
.pv-rc.d7 .hd .days { grid-template-columns: repeat(7, minmax(0, 1fr)); }
.pv-rc.d7 .tl { background-size: calc(100% / 7) 100%, calc(100% / 7) 100%; }
.pv-rc.d7 .ev { left: calc(var(--s) * 100% / 7 + 1px); width: calc(var(--n) * 100% / 7 - 2px); }
:is(.pv, .sx) .ev.ok { --c: #2e8b3e; }
:is(.pv, .sx) .ev.nv { --c: #e03131; }
:is(.pv, .sx) .ev.inc { --c: #f5d000; }
:is(.pv, .sx) .ev.off { --c: #111; }

/* checkbox filters (e.g. CRM cardex dashboard) */
.pv-ckf { display: flex; align-items: center; gap: 6px; align-self: end; height: 22px; margin: 0; font-size: 9.5px; color: #495057; white-space: nowrap; }
.pv-ck { flex: 0 0 12px; width: 12px; height: 12px; border: 1px solid #adb5bd; border-radius: 3px; background: #fff; }

/* room chart, new BackOffice look: soft status cards with a colour bar, slate palette */
.pv-rc.rc2 { border-color: #e5e7eb; border-radius: 8px; }
.pv-rc.rc2 .rw { border-bottom-color: #eef1f5; }
.pv-rc.rc2 .rw > span { border-right-color: #eef1f5; color: #1e293b; }
.pv-rc.rc2 .rm > span:first-child { font-weight: 700; font-size: 10.5px; }
.pv-rc.rc2 .rm > span:nth-child(3) { color: #94a3b8; font-size: 9px; }
.pv-rc.rc2 .rm > span:nth-child(3).dirty { border-left: 0; }
.rcb { display: inline-block; font-style: normal; font-size: 8px; font-weight: 600; letter-spacing: .02em; text-transform: uppercase; border-radius: 4px; padding: 1px 5px; background: #fee2e2; color: #b91c1c; }
.rcb.g { background: #dcfce7; color: #15803d; }
.pv-rc.rc2 .hd > span { color: #64748b; font-weight: 600; }
.pv-rc.rc2 .hd .mo { color: #64748b; font-weight: 600; border-bottom-color: #eef1f5; }
.pv-rc.rc2 .hd .d { display: flex; flex-direction: column; align-items: center; justify-content: center; line-height: 1.2; padding: 3px 0; border-left-color: #eef1f5; background: transparent; font-weight: 400; }
.pv-rc.rc2 .hd .d em { font-style: normal; font-size: 7.5px; font-weight: 500; color: #94a3b8; text-transform: capitalize; }
.pv-rc.rc2 .hd .d b { font-size: 10px; font-weight: 700; color: #1e293b; }
.pv-rc.rc2 .hd .d.we { background: #fef2f2; }
.pv-rc.rc2 .hd .d.we b { color: #dc2626; }
.pv-rc.rc2 .hd .d.td { background: #fff1ec; }
.pv-rc.rc2 .hd .d.td em, .pv-rc.rc2 .hd .d.td b { color: #e8450e; }
.pv-rc.rc2 .tl { background-image: linear-gradient(#fff7ed, #fff7ed), linear-gradient(90deg, #eef1f5 1px, transparent 1px); }
.pv-rc.rc2 .ev { top: 2px; bottom: 2px; padding: 3px 6px 3px 13px; border: 0; border-radius: 8px; background: #eff6ff; color: #1e293b; }
.pv-rc.rc2 .ev::before { content: ""; position: absolute; left: 6px; top: 6px; bottom: 6px; width: 3px; border-radius: 3px; background: var(--c, #1691f4); }
.pv-rc.rc2 .ev::first-line { font-weight: 700; }
.pv-rc.rc2 .ev small { color: #64748b; font-weight: 400; }
.pv-rc.rc2 .ev.cf { background: #f0fdf4; }
.pv-rc.rc2 .ev.ci { background: #eff6ff; }
.pv-rc.rc2 .ev.co { background: #f1f5f9; color: #64748b; }
.pv-rc.rc2 .ev.tk { color: #475569; background: repeating-linear-gradient(135deg, #f1f5f9, #f1f5f9 6px, #e2e8f0 6px, #e2e8f0 12px); }
.pv-rc.rc2 .ev.sel { box-shadow: 0 3px 8px rgba(15, 23, 42, .18); }
.pv-tip.rc2 { width: 214px; padding: 9px 11px; background: #fff; color: #64748b; border-radius: 10px; box-shadow: 0 8px 24px rgba(15, 23, 42, .18); }
.pv-tip.rc2 b { display: block; color: #1e293b; font-size: 10.5px; margin: 3px 0 2px; }

/* ---------- Additional modules page: section index ---------- */
.am-nav { display: flex; flex-wrap: wrap; gap: .45rem; margin-bottom: 2.5rem; }
.am-nav a { display: inline-flex; align-items: center; gap: .45rem; border: 1px solid var(--ep-line); border-radius: 8px; padding: .45rem .9rem; font-weight: 700; font-size: .9rem; color: var(--ep-navy); background: #fff; transition: border-color .2s, color .2s; }
.am-nav a:hover { border-color: var(--ep-blue); color: var(--ep-blue-dk); }
.am-nav a i { color: var(--ep-blue-dk); font-size: .85rem; }

/* ---------- Marina WebApp mock (HTML drawn at a 375px phone width, scaled with the frame) ---------- */
.pv-phone2 { container-type: inline-size; }
.wa { --u: calc(100cqw / 375); position: relative; width: 100%; height: 100%; overflow: hidden; border-radius: 27px; background: #f6f9fb; font-size: calc(14 * var(--u)); line-height: 1.3; color: #1a2a3a; text-align: left; }
.wa i { line-height: 1; }
.wa-top { height: calc(58 * var(--u)); display: flex; align-items: center; justify-content: space-between; padding: 0 calc(18 * var(--u)); background: #fff; border-bottom: 1px solid #e6edf2; }
.wa-top > i { font-size: calc(19 * var(--u)); color: #5d6b7c; width: calc(22 * var(--u)); }
.wa-top > b { font-size: calc(17 * var(--u)); color: var(--ep-navy); }
.wa-logo { display: flex; align-items: center; gap: calc(7 * var(--u)); color: var(--ep-navy); }
.wa-logo > i { width: calc(30 * var(--u)); height: calc(30 * var(--u)); border-radius: 50%; background: var(--ep-navy); color: #fff; display: flex; align-items: center; justify-content: center; font-size: calc(14 * var(--u)); }
.wa-logo b { display: block; font-size: calc(15 * var(--u)); letter-spacing: .14em; line-height: 1; }
.wa-logo small { display: block; font-size: calc(8.5 * var(--u)); letter-spacing: .32em; color: var(--ep-blue-dk); font-weight: 700; margin-top: calc(3 * var(--u)); }
.wa-body { padding: calc(14 * var(--u)) calc(14 * var(--u)) 0; }
.wa-hero { position: relative; height: calc(178 * var(--u)); border-radius: calc(18 * var(--u)); overflow: hidden;
    background: linear-gradient(180deg, #8fd0ee 0%, #cdeefa 48%, #2a86b8 49%, #0b4a78 100%); }
.wa-hero::before { content: ""; position: absolute; left: 0; right: 0; top: 49%; height: 26%; background: var(--ep-swell) no-repeat center / 100% 100%; opacity: .7; }
.wa-hero .sail { position: absolute; bottom: 51%; width: 0; height: 0; border-left: calc(14 * var(--u)) solid transparent; border-bottom: calc(34 * var(--u)) solid #fff; filter: drop-shadow(0 1px 1px rgba(10, 37, 64, .25)); }
.wa-hero .sail::after { content: ""; position: absolute; left: calc(-18 * var(--u)); top: calc(34 * var(--u)); width: calc(26 * var(--u)); height: calc(5 * var(--u)); border-radius: 0 0 calc(8 * var(--u)) calc(8 * var(--u)); background: #0a2540; }
.wa-hero .sun { position: absolute; right: calc(34 * var(--u)); top: calc(20 * var(--u)); width: calc(32 * var(--u)); height: calc(32 * var(--u)); border-radius: 50%; background: #ffd66b; box-shadow: 0 0 0 calc(8 * var(--u)) rgba(255, 214, 107, .3); }
.wa-hero .tag { position: absolute; left: 50%; bottom: calc(16 * var(--u)); transform: translateX(-50%); white-space: nowrap; background: rgba(255, 255, 255, .88); border-radius: calc(10 * var(--u)); padding: calc(6 * var(--u)) calc(14 * var(--u)); font-weight: 700; color: var(--ep-navy); font-size: calc(13 * var(--u)); }
.wa-acts { display: grid; grid-template-columns: repeat(4, 1fr); gap: calc(8 * var(--u)); margin: calc(16 * var(--u)) 0; }
.wa-acts span { background: #fff; border: 1px solid #e3eaf0; border-radius: calc(14 * var(--u)); padding: calc(10 * var(--u)) calc(2 * var(--u)) calc(8 * var(--u)); text-align: center; font-size: calc(9.5 * var(--u)); font-weight: 700; letter-spacing: .02em; color: #33404f; text-transform: uppercase; }
.wa-acts i { display: flex; align-items: center; justify-content: center; width: calc(38 * var(--u)); height: calc(38 * var(--u)); margin: 0 auto calc(6 * var(--u)); border-radius: 50%; border: calc(2 * var(--u)) solid rgba(27, 163, 221, .35); color: var(--ep-blue-dk); font-size: calc(15 * var(--u)); }
.wa-h { display: flex; align-items: center; gap: calc(8 * var(--u)); font-size: calc(19 * var(--u)); font-weight: 600; color: #1a2a3a; margin: 0 0 calc(10 * var(--u)); }
.wa-h i { color: var(--ep-blue); font-size: calc(17 * var(--u)); }
.wa-cards { display: grid; grid-template-columns: 1fr 1fr; gap: calc(10 * var(--u)); }
.wa-cards span { height: calc(150 * var(--u)); border-radius: calc(16 * var(--u)); display: flex; align-items: flex-end; padding: calc(12 * var(--u)); color: #fff; font-weight: 700; font-size: calc(15 * var(--u)); line-height: 1.2; position: relative; overflow: hidden; }
.wa-cards .c1 { background: linear-gradient(160deg, #123757, #0a2540); }
.wa-cards .c1::before { content: "\f13d"; font-family: 'Font Awesome 6 Free'; font-weight: 900; position: absolute; right: calc(-6 * var(--u)); top: calc(4 * var(--u)); font-size: calc(78 * var(--u)); color: rgba(255, 255, 255, .1); }
.wa-cards .c2 { background-color: #1a6f9f; background-image: repeating-linear-gradient(90deg, rgba(255, 255, 255, .55) 0 2px, transparent 2px 14px), linear-gradient(#c9bba4, #c9bba4); background-size: 100% 26%, 100% 6%; background-position: 0 30%, 0 56%; background-repeat: no-repeat; }
.wa-cards .c2 b { position: relative; z-index: 1; }
.wa-nav { position: absolute; left: 0; right: 0; bottom: 0; height: calc(58 * var(--u)); background: #fff; border-top: 1px solid #e6edf2; display: grid; grid-template-columns: repeat(4, 1fr); align-items: center; text-align: center; font-size: calc(10.5 * var(--u)); color: #8593a3; }
.wa-nav i { display: block; font-size: calc(16 * var(--u)); margin-bottom: calc(4 * var(--u)); }
.wa-nav .on { color: var(--ep-blue-dk); font-weight: 700; }
/* second screen: today at the marina */
.wa-wx { background: linear-gradient(140deg, #0a72a5, #0a2540); color: #fff; border-radius: calc(16 * var(--u)); padding: calc(14 * var(--u)) calc(16 * var(--u)); }
.wa-wx .now { display: flex; align-items: center; gap: calc(12 * var(--u)); }
.wa-wx .now i { font-size: calc(34 * var(--u)); color: #ffd66b; }
.wa-wx .now b { font-size: calc(36 * var(--u)); line-height: 1; }
.wa-wx .now small { display: block; font-size: calc(12 * var(--u)); opacity: .8; }
.wa-wx ul { list-style: none; margin: calc(12 * var(--u)) 0 0; padding: calc(10 * var(--u)) 0 0; border-top: 1px solid rgba(255, 255, 255, .2); display: grid; grid-template-columns: repeat(3, 1fr); text-align: center; font-size: calc(10.5 * var(--u)); }
.wa-wx ul i { display: block; font-size: calc(14 * var(--u)); color: var(--ep-blue-2); margin-bottom: calc(4 * var(--u)); }
.wa-wx ul b { display: block; font-size: calc(13 * var(--u)); }
.wa-sec { font-size: calc(11 * var(--u)); font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: #5d6b7c; margin: calc(16 * var(--u)) 0 calc(8 * var(--u)); }
.wa-al { display: flex; gap: calc(10 * var(--u)); background: #fff; border: 1px solid #e3eaf0; border-left: calc(4 * var(--u)) solid var(--c, var(--ep-blue)); border-radius: calc(12 * var(--u)); padding: calc(9 * var(--u)) calc(11 * var(--u)); margin-bottom: calc(7 * var(--u)); font-size: calc(12 * var(--u)); }
.wa-al > i { color: var(--c, var(--ep-blue)); font-size: calc(15 * var(--u)); margin-top: calc(2 * var(--u)); }
.wa-al b { display: block; font-size: calc(13 * var(--u)); color: #1a2a3a; }
.wa-al small { color: #5d6b7c; font-size: calc(11.5 * var(--u)); }
.wa-sv { background: #fff; border: 1px solid #e3eaf0; border-radius: calc(12 * var(--u)); }
.wa-sv div { display: flex; align-items: center; gap: calc(10 * var(--u)); padding: calc(9 * var(--u)) calc(11 * var(--u)); border-top: 1px solid #eef2f6; font-size: calc(12.5 * var(--u)); }
.wa-sv div:first-child { border-top: 0; }
.wa-sv div > i { width: calc(28 * var(--u)); height: calc(28 * var(--u)); border-radius: calc(8 * var(--u)); background: rgba(27, 163, 221, .12); color: var(--ep-blue-dk); display: flex; align-items: center; justify-content: center; font-size: calc(12 * var(--u)); flex: none; }
.wa-sv div > span { flex: 1; min-width: 0; }
.wa-sv b { display: block; color: #1a2a3a; }
.wa-sv small { color: #5d6b7c; font-size: calc(11 * var(--u)); }
.wa-sv em { font-style: normal; font-size: calc(10 * var(--u)); font-weight: 700; color: #1a6b49; background: #e3f4ec; border-radius: calc(5 * var(--u)); padding: calc(3 * var(--u)) calc(6 * var(--u)); }
.wa-sv em.off { color: #8a5a00; background: #fff3d6; }
.wa-cards .c3 { grid-column: 1 / -1; height: calc(92 * var(--u)); background: linear-gradient(120deg, #d2461b, #f08a4b); }

/* module pages: product name as a small label above a one-line claim */
.page-hero .h1-eyebrow { display: block; margin-top: 1.1rem; font-size: .85rem; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: var(--ep-blue-2); }
.page-hero .h1-eyebrow + h1 { margin-top: .35rem; }
.pv-st.new { border-color: #6c757d; color: #6c757d; }
/* short integrations list: centred row instead of a left-aligned grid */
.md-logos.few { grid-template-columns: repeat(4, minmax(0, 180px)); justify-content: center; }
@media (max-width: 575.98px) { .md-logos.few { grid-template-columns: repeat(2, minmax(0, 1fr)); } }

/* "from" price of an additional module */
.am-price { display: inline-flex; align-items: baseline; gap: .4rem; background: var(--ep-bg); border-radius: 8px; padding: .45rem .85rem; font-weight: 750; font-size: 1.15rem; color: var(--ep-navy); font-variant-numeric: tabular-nums; }
.am-price small { font-size: .82rem; font-weight: 500; color: var(--ep-muted); }
.section-alt .am-price { background: #fff; }

/* ---------- WebApp mock: forms (check-in, boatyard booking, member portal) ---------- */
.wa-pg { font-size: calc(21 * var(--u)); font-weight: 700; color: var(--ep-navy); margin: calc(2 * var(--u)) 0 calc(4 * var(--u)); }
.wa-sub { font-size: calc(12 * var(--u)); color: #5d6b7c; margin: 0 0 calc(12 * var(--u)); }
.wa-steps { display: flex; gap: calc(5 * var(--u)); margin: 0 0 calc(14 * var(--u)); }
.wa-steps i { flex: 1; height: calc(4 * var(--u)); border-radius: calc(2 * var(--u)); background: #dfe7ee; }
.wa-steps i.on { background: var(--ep-blue-dk); }
.wa-fl { margin-bottom: calc(10 * var(--u)); }
.wa-fl small { display: block; font-size: calc(11 * var(--u)); color: #4a5868; margin-bottom: calc(4 * var(--u)); }
.wa-fl small em { font-style: normal; color: #d0342c; }
.wa-fl span { display: flex; align-items: center; justify-content: space-between; gap: calc(8 * var(--u)); background: #fff; border: 1px solid #d5dee6; border-radius: calc(9 * var(--u)); padding: calc(9 * var(--u)) calc(11 * var(--u)); font-size: calc(13 * var(--u)); color: #1a2a3a; white-space: nowrap; overflow: hidden; }
.wa-fl span i { color: #8593a3; font-size: calc(12 * var(--u)); }
.wa-fl span.ph { color: #9aa6b2; }
.wa-row { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: calc(8 * var(--u)); }
.wa-row.c2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.wa-ck { display: grid; grid-template-columns: 1fr 1fr; gap: calc(7 * var(--u)); margin-bottom: calc(12 * var(--u)); }
.wa-ck span { display: flex; align-items: center; gap: calc(7 * var(--u)); background: #fff; border: 1px solid #d5dee6; border-radius: calc(9 * var(--u)); padding: calc(8 * var(--u)) calc(9 * var(--u)); font-size: calc(12 * var(--u)); }
.wa-ck span::before { content: ""; flex: none; width: calc(14 * var(--u)); height: calc(14 * var(--u)); border-radius: calc(4 * var(--u)); border: 1px solid #adb8c4; background: #fff; }
.wa-ck span.on { border-color: var(--ep-blue); background: #eef8fd; font-weight: 600; }
.wa-ck span.on::before { border-color: var(--ep-blue-dk); background: var(--ep-blue-dk) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath fill='none' stroke='%23fff' stroke-width='2.4' d='M3.5 8.5l3 3 6-7'/%3E%3C/svg%3E") center / 80% no-repeat; }
.wa-btn { display: block; text-align: center; background: var(--ep-blue-dk); color: #fff; font-weight: 700; font-size: calc(14 * var(--u)); border-radius: calc(10 * var(--u)); padding: calc(11 * var(--u)) 0; margin-top: calc(4 * var(--u)); }
.wa-ok { text-align: center; padding: calc(8 * var(--u)) 0 calc(12 * var(--u)); }
.wa-ok > i { display: inline-flex; align-items: center; justify-content: center; width: calc(54 * var(--u)); height: calc(54 * var(--u)); border-radius: 50%; background: #e3f4ec; color: #1a6b49; font-size: calc(24 * var(--u)); margin-bottom: calc(8 * var(--u)); }
.wa-ok b { display: block; font-size: calc(18 * var(--u)); color: var(--ep-navy); }
.wa-ok small { color: #5d6b7c; font-size: calc(12 * var(--u)); }
.wa-kv { background: #fff; border: 1px solid #e3eaf0; border-radius: calc(12 * var(--u)); padding: calc(4 * var(--u)) calc(12 * var(--u)); }
.wa-kv div { display: flex; justify-content: space-between; gap: calc(10 * var(--u)); padding: calc(8 * var(--u)) 0; border-top: 1px solid #eef2f6; font-size: calc(12.5 * var(--u)); }
.wa-kv div:first-child { border-top: 0; }
.wa-kv span { color: #5d6b7c; }
.wa-kv b { color: #1a2a3a; text-align: right; }
/* member portal: berth card and receipts */
.wa-mem { background: linear-gradient(140deg, #0a72a5, #0a2540); color: #fff; border-radius: calc(16 * var(--u)); padding: calc(14 * var(--u)) calc(16 * var(--u)); }
.wa-mem small { display: block; font-size: calc(11 * var(--u)); opacity: .75; text-transform: uppercase; letter-spacing: .08em; }
.wa-mem b { display: block; font-size: calc(20 * var(--u)); margin: calc(2 * var(--u)) 0 calc(10 * var(--u)); }
.wa-mem ul { list-style: none; margin: 0; padding: calc(10 * var(--u)) 0 0; border-top: 1px solid rgba(255, 255, 255, .2); display: grid; grid-template-columns: repeat(3, 1fr); font-size: calc(10.5 * var(--u)); }
.wa-mem ul b { font-size: calc(13 * var(--u)); margin: 0; }
.wa-due { display: flex; align-items: center; justify-content: space-between; margin-top: calc(12 * var(--u)); background: #fff7e8; border: 1px solid #f3d9a4; border-radius: calc(12 * var(--u)); padding: calc(10 * var(--u)) calc(12 * var(--u)); font-size: calc(12 * var(--u)); color: #6b4a00; }
.wa-due b { display: block; font-size: calc(17 * var(--u)); color: #1a2a3a; }
.wa-due em { font-style: normal; background: var(--ep-blue-dk); color: #fff; font-weight: 700; border-radius: calc(8 * var(--u)); padding: calc(7 * var(--u)) calc(12 * var(--u)); font-size: calc(12 * var(--u)); }
.wa-sv em.due { color: #8a5a00; background: #fff3d6; }

/* ---------- time clock terminal: real screenshot in a tablet frame ---------- */
.pv-tablet { background: #0b1f3a; border-radius: 26px; padding: 14px; box-shadow: var(--ep-shadow-lg); }
.pv-tablet img { display: block; width: 100%; height: auto; border-radius: 12px; background: #f6fcfe; }

/* ---------- sustainability dashboard ---------- */
.pv-eco .pv-lf b small { display: inline; font-size: 10px; font-weight: 600; color: #6c757d; text-transform: none; letter-spacing: 0; }
.pv-eco .pv-lf em { display: block; font-style: normal; font-size: 8.5px; font-weight: 700; color: #1a6b49; }
.pv-eco .pv-lf em.up { color: #b02a37; }
.pv-eco-g { display: grid; grid-template-columns: minmax(0, 1.5fr) minmax(0, 1fr); gap: 8px; }
.pv-gb i.e0 { background: #12709f; }
.pv-gb i.e1 { background: #6cc3a0; }
.pv-eco .pv-hb i { background: #12709f; }

/* ---------- Member area mock (EasyPier customer portal, drawn at 375px) ---------- */
.ma { background: #f1f3f8; }
.ma-top { height: calc(56 * var(--u)); display: flex; align-items: center; gap: calc(8 * var(--u)); padding: 0 calc(12 * var(--u)); background: #0a2540; }
.ma-logo { background: #fff; border-radius: calc(3 * var(--u)); padding: calc(3 * var(--u)) calc(8 * var(--u)); font-weight: 800; font-size: calc(17 * var(--u)); letter-spacing: -.02em; color: #1a2a3a; line-height: 1.1; }
.ma-logo em { font-style: normal; color: #1ba3dd; }
.ma-lang, .ma-out { border: 1px solid rgba(255, 255, 255, .3); border-radius: calc(7 * var(--u)); color: #fff; font-size: calc(12 * var(--u)); padding: calc(6 * var(--u)) calc(8 * var(--u)); display: inline-flex; align-items: center; gap: calc(5 * var(--u)); }
.ma-lang { margin-left: auto; }
.ma-lang b { width: calc(14 * var(--u)); height: calc(14 * var(--u)); border-radius: 50%; background: linear-gradient(#c60b1e 25%, #ffc400 25% 75%, #c60b1e 75%); }
.ma-tabs { display: grid; grid-template-columns: repeat(3, 1fr); background: #fff; border-bottom: 1px solid #e3e7ee; padding: 0 calc(6 * var(--u)); }
.ma-tabs span { text-align: center; font-size: calc(9.5 * var(--u)); font-weight: 600; color: #5d6b7c; padding: calc(7 * var(--u)) 0 calc(6 * var(--u)); border-bottom: calc(2 * var(--u)) solid transparent; }
.ma-tabs span i { display: block; font-size: calc(13 * var(--u)); color: #6b7684; margin-bottom: calc(3 * var(--u)); }
.ma-tabs span.on { color: #0d5fae; background: #eef3fa; border-bottom-color: #0d5fae; }
.ma-tabs span.on i { color: #0d5fae; }
.ma-body { padding: calc(12 * var(--u)) calc(10 * var(--u)) 0; }
.ma-h { display: flex; align-items: center; justify-content: space-between; font-size: calc(17 * var(--u)); font-weight: 800; color: #14233a; margin: 0 0 calc(8 * var(--u)); }
.ma-tg { display: flex; align-items: center; gap: calc(7 * var(--u)); font-size: calc(11.5 * var(--u)); color: #1a2a3a; margin-bottom: calc(10 * var(--u)); }
.ma-tg::before { content: ""; width: calc(22 * var(--u)); height: calc(12 * var(--u)); border-radius: calc(6 * var(--u)); background: #dfe3ea; box-shadow: inset calc(-10 * var(--u)) 0 0 #fff, inset 0 0 0 1px #cfd5de; }
.ma-card { background: #fff; border-radius: calc(10 * var(--u)); box-shadow: 0 1px 3px rgba(11, 31, 58, .08); padding: calc(4 * var(--u)) calc(11 * var(--u)) calc(9 * var(--u)); margin-bottom: calc(9 * var(--u)); }
.ma-r { display: flex; justify-content: space-between; align-items: center; gap: calc(8 * var(--u)); padding: calc(5 * var(--u)) 0; font-size: calc(11.5 * var(--u)); color: #1a2a3a; }
.ma-r > span:first-child { font-size: calc(8.5 * var(--u)); font-weight: 600; letter-spacing: .05em; text-transform: uppercase; color: #6b7684; }
.ma-r b { font-weight: 800; }
.ma-bd, .ma-tk, .ma-btn { font-style: normal; }
.ma-bd { font-size: calc(9.5 * var(--u)); font-weight: 600; color: #b5600b; background: #fdecd8; border-radius: 999px; padding: calc(2 * var(--u)) calc(8 * var(--u)); }
.ma-bd.ok { color: #1a6b49; background: #e3f4ec; }
.ma-pdf { display: flex; justify-content: center; padding-top: calc(4 * var(--u)); }
.ma-pdf i { border: 1px solid #0d5fae; color: #0d5fae; border-radius: calc(5 * var(--u)); padding: calc(5 * var(--u)) calc(8 * var(--u)); font-size: calc(11 * var(--u)); }
.ma-tk { border: 1px solid #0d5fae; color: #0d5fae; border-radius: calc(5 * var(--u)); padding: calc(2 * var(--u)) calc(6 * var(--u)); font-size: calc(10.5 * var(--u)); }
.ma-btn { background: #0d5fae; color: #fff; border-radius: calc(5 * var(--u)); padding: calc(4 * var(--u)) calc(9 * var(--u)); font-size: calc(10.5 * var(--u)); font-weight: 600; display: inline-flex; gap: calc(5 * var(--u)); align-items: center; }
.ma-tot { display: flex; justify-content: space-between; align-items: center; background: #0a2540; color: #fff; border-radius: calc(10 * var(--u)); padding: calc(9 * var(--u)) calc(12 * var(--u)); font-size: calc(11 * var(--u)); }
.ma-tot b { font-size: calc(16 * var(--u)); }
