/* VitalCensus facility console — port of "Clarity Staff Console.dc.html" (Claude Design handoff).
   Every class is prefixed con-. Asset URLs are relative to this file (demo/ -> ../assets/). */

@keyframes con-drawerIn { from { transform: translateX(24px); opacity: 0; } to { transform: none; opacity: 1; } }
@keyframes con-toastIn { from { opacity: 0; transform: translateY(-14px) scale(0.97); } to { opacity: 1; transform: none; } }
@keyframes con-pulseDot { 0%,100% { opacity: 1; transform: scale(1); } 50% { opacity: 0.45; transform: scale(0.82); } }

/* ---------- Root (the design's [data-console-inner]) ---------- */
.con-root {
  position: relative; width: 1440px; height: 100%; min-height: 0;
  display: flex; background: #FFFFFF; color: #0D1B1E; overflow: hidden;
  font-family: Manrope, system-ui, sans-serif; font-size: 16px; font-weight: 400;
  line-height: normal; letter-spacing: normal; text-align: left;
}
/* The design runs without a box-sizing reset; the site sets border-box globally. */
.con-root, .con-root *, .con-root *::before, .con-root *::after { box-sizing: content-box; }
.con-root select { box-sizing: border-box; }
.con-root ::-webkit-scrollbar { width: 8px; height: 8px; }
.con-root ::-webkit-scrollbar-thumb { background: #D8E2E4; border-radius: 8px; }
.con-root [role="button"] { cursor: pointer; }
.con-root [role="button"]:focus { outline: none; }
.con-root [role="button"]:focus-visible { outline: 2px solid #3E9FD1; outline-offset: 2px; }

/* ---------- Shared helpers ---------- */
.con-minw0 { min-width: 0; }
.con-flex1 { flex: 1; min-width: 0; }
.con-flex1only { flex: 1; }
.con-mla { margin-left: auto; }
.con-nowrap { white-space: nowrap; }
.con-gap10 { gap: 10px; }
.con-mt18 { margin-top: 18px; }
.con-w600 { font-weight: 600; }
.con-stack12 { display: flex; flex-direction: column; gap: 12px; }
.con-stack14 { display: flex; flex-direction: column; gap: 14px; }
.con-stack16 { display: flex; flex-direction: column; gap: 16px; }
.con-stack18 { display: flex; flex-direction: column; gap: 18px; }
.con-grid4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; }
.con-grid3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; }
.con-grid2 { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.con-row-between { display: flex; align-items: baseline; justify-content: space-between; }
.con-card { background: #FFFFFF; border: 1px solid #E7EDEE; border-radius: 18px; padding: 18px 20px; }
.con-h16 { font-size: 16px; font-weight: 800; letter-spacing: -0.025em; }
.con-h18 { font-size: 18px; font-weight: 800; letter-spacing: -0.03em; }
.con-link { font-size: 12px; font-weight: 700; color: #3E9FD1; cursor: pointer; }
.con-link-125 { font-size: 12.5px; }
.con-sub-grey { font-size: 12.5px; color: #8A989C; font-weight: 500; margin-top: 3px; }
.con-sub-grey2 { font-size: 12.5px; color: #8A989C; font-weight: 500; margin-top: 2px; }
.con-eyebrow-blue { font-size: 11px; font-weight: 700; letter-spacing: 0.12em; color: #3E9FD1; }
.con-dot7 { width: 7px; height: 7px; border-radius: 50%; }
.con-dot8 { width: 8px; height: 8px; border-radius: 50%; }
.con-dot10 { width: 10px; height: 10px; border-radius: 50%; flex-shrink: 0; }
.con-vbar { width: 3px; border-radius: 99px; flex-shrink: 0; }
.con-bars { display: flex; align-items: flex-end; gap: 2px; }
.con-bars-28 { height: 28px; margin-top: 12px; }
.con-bars-34 { height: 34px; margin-top: 6px; }
.con-bars-36 { height: 36px; margin-top: 13px; }
.con-bars-40 { height: 40px; margin-top: 12px; }
.con-bar { flex: 1; border-radius: 1.5px; }
.con-fill { height: 100%; border-radius: 99px; }
.con-track6 { height: 6px; border-radius: 99px; background: #F0F5F6; margin-top: 7px; overflow: hidden; }
.con-track7 { flex: 1; height: 7px; border-radius: 99px; background: #F0F5F6; overflow: hidden; }
.con-track8 { height: 8px; border-radius: 99px; background: #F0F5F6; margin-top: auto; overflow: hidden; }
.con-marker { font-size: 11px; font-weight: 700; padding: 4px 10px; border-radius: 99px; background: #F2F7F8; color: #4A5A5E; }
.con-markers { display: flex; flex-wrap: wrap; gap: 6px; }
.con-seg { display: flex; gap: 5px; background: #EEF3F4; padding: 4px; border-radius: 12px; }
.con-seg-start { align-self: flex-start; }
.con-seg-stretch { align-self: stretch; }
.con-seg-item { border-radius: 9px; font-size: 12.5px; font-weight: 700; cursor: pointer; }
.con-seg-pad { padding: 9px 18px; }
.con-seg-flex { flex: 1; text-align: center; padding: 9px 0; }

/* Images (as backgrounds so paths resolve relative to this stylesheet) */
.con-devimg, .con-devimg34 { width: 34px; height: 34px; flex-shrink: 0; background: url(../assets/device-angle-cut.png) center / contain no-repeat; }
.con-pairimg { width: 150px; height: 112px; flex-shrink: 0; background: url(../assets/device-pair-cut.png) center / contain no-repeat; filter: drop-shadow(0 10px 18px rgba(13,27,30,0.18)); }
.con-av { background-size: cover; background-position: center; border-radius: 50%; flex-shrink: 0; background-color: #DCE9EC; }
.con-av0 { background-image: url(../assets/avatar-0.png); } .con-av1 { background-image: url(../assets/avatar-1.png); }
.con-av2 { background-image: url(../assets/avatar-2.png); } .con-av3 { background-image: url(../assets/avatar-3.png); }
.con-av4 { background-image: url(../assets/avatar-4.png); } .con-av5 { background-image: url(../assets/avatar-5.png); }
.con-av6 { background-image: url(../assets/avatar-6.png); } .con-av7 { background-image: url(../assets/avatar-7.png); }
.con-av8 { background-image: url(../assets/avatar-8.png); } .con-av9 { background-image: url(../assets/avatar-9.png); }
.con-av10 { background-image: url(../assets/avatar-10.png); } .con-av11 { background-image: url(../assets/avatar-11.png); }
.con-av-40 { width: 40px; height: 40px; }
.con-av-44 { width: 44px; height: 44px; }
.con-av-46 { width: 46px; height: 46px; }
.con-av-56 { width: 56px; height: 56px; }
.con-av-62 { width: 62px; height: 62px; }
.con-prod { background-size: contain; background-repeat: no-repeat; background-position: center; background-color: #F7FAFB; flex-shrink: 0; }
.con-supp0 { background-image: url(../assets/supp-0.jpg); } .con-supp1 { background-image: url(../assets/supp-1.jpg); }
.con-supp2 { background-image: url(../assets/supp-2.jpg); } .con-supp3 { background-image: url(../assets/supp-3.jpg); }
.con-supp4 { background-image: url(../assets/supp-4.jpg); } .con-supp5 { background-image: url(../assets/supp-5.jpg); }
.con-prod-54 { width: 54px; height: 54px; border-radius: 13px; }
.con-prod-74 { width: 74px; height: 74px; border-radius: 14px; }

/* ---------- Toast ---------- */
.con-toast { position: absolute; top: 118px; right: 24px; z-index: 90; width: 390px; border-radius: 20px; overflow: hidden; background: #12181C; color: #FFFFFF; box-shadow: 0 24px 60px rgba(9,16,20,0.4), 0 2px 8px rgba(9,16,20,0.28); animation: con-toastIn 320ms cubic-bezier(0.2,0.8,0.3,1) both; }
.con-toast-bar { height: 4px; background: linear-gradient(90deg,#FF9A76,#EE6A63); }
.con-toast-body { padding: 16px 18px 15px; }
.con-toast-top { display: flex; align-items: center; gap: 9px; }
.con-toast-pulse { width: 9px; height: 9px; border-radius: 50%; background: #FF7A66; animation: con-pulseDot 1.1s ease-in-out infinite; }
.con-toast-k { font-size: 10.5px; font-weight: 800; letter-spacing: 0.12em; color: #FFB4A2; }
.con-toast-time { margin-left: auto; font-size: 11px; font-weight: 700; color: rgba(255,255,255,0.55); }
.con-toast-x { width: 22px; height: 22px; border-radius: 50%; background: rgba(255,255,255,0.1); display: flex; align-items: center; justify-content: center; font-size: 13px; color: rgba(255,255,255,0.75); cursor: pointer; }
.con-toast-x:hover { background: rgba(255,255,255,0.2) !important; }
.con-toast-title { font-size: 17px; font-weight: 800; letter-spacing: -0.025em; margin-top: 9px; }
.con-toast-desc { font-size: 13px; line-height: 1.5; color: rgba(255,255,255,0.72); margin-top: 5px; font-weight: 500; }
.con-toast-vitals { display: flex; gap: 16px; margin-top: 12px; }
.con-tv-k { font-size: 9.5px; font-weight: 800; letter-spacing: 0.08em; color: rgba(255,255,255,0.5); text-transform: uppercase; }
.con-tv-v { font-size: 15px; font-weight: 800; letter-spacing: -0.02em; margin-top: 2px; }
.con-toast-foot { display: flex; align-items: center; gap: 8px; margin-top: 13px; padding-top: 11px; border-top: 1px solid rgba(255,255,255,0.12); }
.con-toast-fdot { width: 6px; height: 6px; border-radius: 50%; background: #FF7A66; flex-shrink: 0; }
.con-toast-ft { font-size: 11px; font-weight: 700; color: rgba(255,255,255,0.7); }

/* ---------- Sidebar ---------- */
.con-side { width: 252px; flex-shrink: 0; background: linear-gradient(180deg,#12181C 0%,#0B0F12 100%); color: #FFFFFF; display: flex; flex-direction: column; padding: 22px 14px; box-sizing: border-box; }
.con-side-head { padding: 0 8px 18px; border-bottom: 1px solid rgba(255,255,255,0.14); }
.con-side-fac { font-size: 18px; font-weight: 800; letter-spacing: -0.025em; }
.con-side-wing { font-size: 10.5px; font-weight: 700; letter-spacing: 0.1em; color: rgba(255,255,255,0.6); margin-top: 4px; }
.con-nav { display: flex; flex-direction: column; gap: 3px; margin-top: 16px; }
.con-nav-item { display: flex; align-items: center; gap: 11px; padding: 10px 11px; border-radius: 11px; cursor: pointer; }
.con-nav-item:hover { background: rgba(255,255,255,0.1) !important; }
.con-nav-dot { width: 8px; height: 8px; border-radius: 3px; flex-shrink: 0; }
.con-nav-label { flex: 1; font-size: 13.5px; }
.con-nav-badge { font-size: 10.5px; font-weight: 800; color: #FFFFFF; padding: 2px 8px; border-radius: 99px; }
.con-side-foot { margin-top: auto; display: flex; flex-direction: column; gap: 12px; }
.con-devices { display: flex; align-items: center; gap: 11px; padding: 11px; border-radius: 12px; background: rgba(255,255,255,0.08); }
.con-dev-t { font-size: 12.5px; font-weight: 700; }
.con-dev-s { font-size: 11px; color: rgba(255,255,255,0.6); font-weight: 600; }
.con-replay { padding: 10px 12px; border-radius: 12px; background: rgba(255,255,255,0.06); border: 1px solid rgba(255,255,255,0.14); cursor: pointer; display: flex; align-items: center; gap: 9px; }
.con-replay:hover { background: rgba(255,255,255,0.12) !important; }
.con-replay-dot { width: 7px; height: 7px; border-radius: 50%; background: linear-gradient(135deg,#FF9A76,#EE6A63); flex-shrink: 0; }
.con-replay-t { font-size: 12.5px; font-weight: 700; }
.con-mode { padding: 11px 12px; border-radius: 12px; border: 1px solid rgba(255,255,255,0.16); cursor: pointer; }
.con-mode-k { font-size: 10.5px; font-weight: 700; letter-spacing: 0.1em; color: rgba(255,255,255,0.6); }
.con-mode-v { font-size: 13.5px; font-weight: 700; margin-top: 2px; }
.con-user { display: flex; align-items: center; gap: 9px; padding: 2px 6px; }
.con-user-av { width: 30px; height: 30px; border-radius: 50%; background: linear-gradient(135deg,#6FD3C7,#3E9FD1); display: flex; align-items: center; justify-content: center; font-size: 11.5px; font-weight: 800; }
.con-user-n { font-size: 12.5px; font-weight: 700; }
.con-user-s { font-size: 10.5px; color: rgba(255,255,255,0.6); font-weight: 600; }

/* ---------- Main column + header ---------- */
.con-main { flex: 1; display: flex; flex-direction: column; min-width: 0; }
.con-hdr { flex-shrink: 0; padding: 20px 26px; border-bottom: 1px solid #EDF2F3; display: flex; align-items: center; gap: 18px; position: relative; overflow: hidden; }
.con-hdr-photo { position: absolute; inset: 0; background: url(../assets/header-band-3.jpg) center 58% / cover no-repeat; }
.con-hdr-titles { min-width: 0; position: relative; text-shadow: 0 1px 14px rgba(10,20,34,0.75), 0 1px 3px rgba(10,20,34,0.5); }
.con-hdr-eyebrow { font-size: 11px; font-weight: 800; letter-spacing: 0.13em; color: #FFFFFF; opacity: 0.92; }
.con-hdr-title { font-size: 25px; font-weight: 800; letter-spacing: -0.035em; line-height: 1.15; margin-top: 2px; color: #FFFFFF; }
.con-hdr-right { margin-left: auto; display: flex; align-items: center; gap: 10px; position: relative; }
.con-search { display: flex; align-items: center; gap: 9px; padding: 10px 14px; border-radius: 12px; background: rgba(255,255,255,0.86); -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px); width: 230px; }
.con-search-ico { width: 11px; height: 11px; border-radius: 50%; border: 2px solid #A9B8BC; }
.con-search-t { font-size: 13px; color: #8A989C; font-weight: 600; }
.con-live { display: flex; align-items: center; gap: 8px; padding: 10px 14px; border-radius: 12px; background: rgba(234,247,243,0.92); -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px); }
.con-live-dot { width: 7px; height: 7px; border-radius: 50%; background: linear-gradient(135deg,#8BDCA8,#43B79A); }
.con-live-t { font-size: 12.5px; font-weight: 700; color: #2C8A72; }
.con-body { flex: 1; display: flex; min-height: 0; position: relative; }
.con-pane { flex: 1; overflow: auto; padding: 20px 26px 40px; min-width: 0; }

/* ---------- Dashboard ---------- */
.con-stat { border: 1px solid; border-radius: 16px; padding: 16px 18px; color: #0D1B1E; }
.con-stat-k { font-size: 10.5px; font-weight: 800; letter-spacing: 0.09em; text-transform: uppercase; color: #6B7B80; }
.con-stat-v { font-size: 33px; font-weight: 800; letter-spacing: -0.045em; margin-top: 7px; line-height: 1; }
.con-stat-d { font-size: 12px; font-weight: 700; margin-top: 5px; }
.con-dash-mid { display: grid; grid-template-columns: 1.3fr 1fr; gap: 16px; align-items: start; }
.con-att-list { display: flex; flex-direction: column; margin-top: 10px; }
.con-att { display: flex; align-items: center; gap: 13px; padding: 13px 0; border-bottom: 1px solid #F2F7F7; cursor: pointer; }
.con-att-name { font-size: 14px; font-weight: 700; }
.con-att-rm { color: #9AA7AB; font-weight: 600; }
.con-att-reason { font-size: 12.5px; color: #5C6B70; font-weight: 500; margin-top: 2px; }
.con-chip { display: inline-flex; align-items: center; gap: 7px; padding: 5px 11px; border-radius: 99px; flex-shrink: 0; }
.con-chip-t { font-size: 10.5px; font-weight: 800; letter-spacing: 0.05em; text-transform: uppercase; }
.con-openalerts { border-radius: 18px; padding: 18px 20px; background: #FFF9F5; border: 1px solid #F3DED2; }
.con-oa-head { display: flex; align-items: center; gap: 9px; }
.con-oa-k { font-size: 10.5px; font-weight: 800; letter-spacing: 0.12em; color: #C4703F; }
.con-oa-list { display: flex; flex-direction: column; gap: 12px; margin-top: 14px; }
.con-oa-item { display: flex; gap: 11px; }
.con-oa-meta { font-size: 10.5px; font-weight: 800; letter-spacing: 0.08em; color: #9AA7AB; text-transform: uppercase; }
.con-oa-title { font-size: 13.5px; font-weight: 700; margin-top: 3px; line-height: 1.35; color: #0D1B1E; }
.con-dr-list { display: flex; flex-direction: column; gap: 12px; margin-top: 13px; }
.con-dr { display: flex; gap: 11px; align-items: flex-start; }
.con-dr-time { width: 62px; flex-shrink: 0; font-size: 12px; font-weight: 800; color: #3E9FD1; padding-top: 1px; }
.con-dr-text { font-size: 13px; font-weight: 700; line-height: 1.35; }
.con-dr-to { font-size: 12px; color: #8A989C; font-weight: 600; margin-top: 2px; }
.con-dr-empty { font-size: 12.5px; color: #8A989C; font-weight: 500; }
.con-card-mini { padding: 17px 19px; }
.con-mini-k { font-size: 14.5px; font-weight: 800; letter-spacing: -0.02em; }
.con-mini-d { font-size: 12px; font-weight: 700; }
.con-mini-sub { font-size: 12.5px; color: #8A989C; font-weight: 500; margin-top: 3px; line-height: 1.45; }

/* ---------- Census ---------- */
.con-filters { display: flex; gap: 8px; flex-wrap: wrap; }
.con-filter { padding: 8px 15px; border-radius: 99px; font-size: 12.5px; font-weight: 700; cursor: pointer; border: 1px solid; }
.con-ctable { background: #FFFFFF; border: 1px solid #E7EDEE; border-radius: 16px; padding: 0 18px 8px; }
.con-chead { display: flex; align-items: center; gap: 12px; padding: 14px 0 10px; border-bottom: 1px solid #EDF2F3; font-size: 10px; font-weight: 800; letter-spacing: 0.09em; color: #9AA7AB; text-transform: uppercase; }
.con-w320 { width: 320px; }
.con-ccol { flex: 1; text-align: center; }
.con-crow { display: flex; align-items: center; gap: 12px; padding: 16px 10px; margin: 0 -10px; border-bottom: 1px solid #F2F7F7; cursor: pointer; background: transparent; border-radius: 12px; }
.con-crow-att { background: #FFFAF8; }
.con-crow:hover { background: #F6FAFB !important; }
.con-crow-who { width: 320px; display: flex; align-items: center; gap: 12px; min-width: 0; }
.con-crow-name { font-size: 14.5px; font-weight: 700; letter-spacing: -0.02em; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.con-crow-sub { font-size: 11px; color: #9AA7AB; font-weight: 600; margin-top: 2px; }
.con-batt { display: flex; flex-direction: column; align-items: center; gap: 4px; flex-shrink: 0; width: 66px; }
.con-batt-ring { width: 56px; height: 56px; border-radius: 50%; display: flex; align-items: center; justify-content: center; }
.con-batt-in { width: 45px; height: 45px; border-radius: 50%; background: #FFFFFF; display: flex; align-items: center; justify-content: center; }
.con-batt-pct { font-size: 11.5px; font-weight: 800; letter-spacing: 0.01em; }
.con-batt-low { font-size: 9px; font-weight: 800; letter-spacing: 0.06em; color: #C4703F; text-transform: uppercase; }
.con-ccell { flex: 1; text-align: center; }
.con-ccell-v { font-size: 17px; font-weight: 800; letter-spacing: -0.03em; line-height: 1.1; }
.con-ccell-s { font-size: 9.5px; font-weight: 800; letter-spacing: 0.07em; text-transform: uppercase; margin-top: 3px; }

/* ---------- Live alerts ---------- */
.con-alert { border: 1px solid; border-radius: 16px; padding: 0; display: flex; overflow: hidden; }
.con-alert-bar { width: 5px; flex-shrink: 0; }
.con-alert-main { flex: 1; display: flex; gap: 18px; align-items: flex-start; padding: 16px 18px; min-width: 0; }
.con-alert-top { display: flex; align-items: center; gap: 10px; }
.con-alert-kind { font-size: 11px; font-weight: 800; letter-spacing: 0.08em; text-transform: uppercase; }
.con-alert-when { font-size: 11.5px; color: #9AA7AB; font-weight: 600; }
.con-alert-title { font-size: 19px; font-weight: 800; letter-spacing: -0.03em; line-height: 1.25; margin-top: 5px; }
.con-alert-body { font-size: 13.5px; line-height: 1.55; color: #5C6B70; margin-top: 5px; max-width: 660px; font-weight: 500; }
.con-alert-vitals { display: flex; gap: 18px; margin-top: 11px; }
.con-vit-k { font-size: 10.5px; font-weight: 700; letter-spacing: 0.07em; color: #9AA7AB; text-transform: uppercase; }
.con-vit-v { font-size: 17px; font-weight: 800; letter-spacing: -0.03em; margin-top: 2px; }
.con-alert-actions { flex-shrink: 0; display: flex; flex-direction: column; gap: 8px; width: 154px; }
.con-alert-btn { text-align: center; padding: 11px 0; border-radius: 11px; font-size: 13px; font-weight: 700; cursor: pointer; }
.con-alert-open { border: 1px solid #E2EAEC; color: #3A4A4E; }
.con-alert-open:hover { background: #F5F9FA !important; }
.con-alert-meta { font-size: 11px; color: #9AA7AB; text-align: center; font-weight: 600; }

/* ---------- Reminders ---------- */
.con-remind { display: grid; grid-template-columns: minmax(0,1.05fr) minmax(0,1fr); gap: 16px; align-items: start; }
.con-rform { background: #FFFFFF; border: 1px solid #E7EDEE; border-radius: 18px; padding: 20px 22px; display: flex; flex-direction: column; gap: 16px; }
.con-rform-t { font-size: 17px; font-weight: 800; letter-spacing: -0.03em; }
.con-rform-s { font-size: 12.5px; color: #6B7B80; font-weight: 500; margin-top: 3px; line-height: 1.5; }
.con-field { display: flex; flex-direction: column; gap: 8px; }
.con-flabel { font-size: 10.5px; font-weight: 800; letter-spacing: 0.09em; color: #9AA7AB; }
.con-opts { display: flex; gap: 8px; flex-wrap: wrap; }
.con-opts-center { align-items: center; }
.con-opt { padding: 8px 14px; border-radius: 99px; font-size: 12.5px; font-weight: 700; cursor: pointer; border: 1px solid; }
.con-select { padding: 8px 12px; border-radius: 10px; border: 1px solid #DFE8EA; background: #FFFFFF; font-family: Manrope, system-ui, sans-serif; font-size: 13px; font-weight: 700; color: #0D1B1E; }
.con-root .con-textarea { width: 100%; box-sizing: border-box; min-height: 78px; resize: none; border-radius: 12px; border: 1px solid #DFE8EA; background: #F7FAFB; font-family: Manrope, system-ui, sans-serif; font-size: 14px; font-weight: 600; line-height: 1.45; padding: 11px 13px; color: #0D1B1E; outline: none; }
.con-rcount { font-size: 11px; font-weight: 700; color: #9AA7AB; align-self: flex-end; }
.con-rgrid { display: grid; grid-template-columns: minmax(0,1.4fr) minmax(0,1fr); gap: 14px; }
.con-time { padding: 7px 10px; border-radius: 10px; border: 1px solid #DFE8EA; font-family: Manrope, system-ui, sans-serif; font-size: 13px; font-weight: 700; color: #0D1B1E; }
.con-rsubmit { text-align: center; padding: 13px 0; border-radius: 12px; font-size: 14px; font-weight: 800; cursor: pointer; }
.con-rsched-count { font-size: 12px; font-weight: 700; color: #8A989C; }
.con-rlist { display: flex; flex-direction: column; margin-top: 8px; }
.con-ritem { display: flex; align-items: flex-start; gap: 12px; padding: 12px 0; border-top: 1px solid #EEF3F4; }
.con-ritem-dot { width: 8px; height: 8px; border-radius: 50%; flex-shrink: 0; margin-top: 6px; }
.con-ritem-t { font-size: 13.5px; font-weight: 700; line-height: 1.35; }
.con-ritem-m { font-size: 11.5px; font-weight: 600; color: #8A989C; margin-top: 3px; }
.con-ritem-x { width: 26px; height: 26px; border-radius: 50%; border: 1px solid #E2EAEC; display: flex; align-items: center; justify-content: center; font-size: 13px; color: #6B7B80; cursor: pointer; flex-shrink: 0; }
.con-ritem-x:hover { background: #F5F9FA !important; }

/* ---------- Devices ---------- */
.con-fleet-top { display: grid; grid-template-columns: 1.15fr 1fr 1fr 1fr; gap: 14px; align-items: stretch; }
.con-fleet-hero { border-radius: 18px; padding: 18px 20px; background: linear-gradient(150deg,#EAF6F8 0%,#E6EEFB 100%); display: flex; align-items: center; gap: 12px; }
.con-fleet-name { font-size: 22px; font-weight: 800; letter-spacing: -0.035em; margin-top: 3px; }
.con-fleet-sub { font-size: 12.5px; color: #5C6B70; font-weight: 500; margin-top: 3px; line-height: 1.45; }
.con-fstat { background: #FFFFFF; border: 1px solid #E7EDEE; border-radius: 18px; padding: 16px 18px; display: flex; flex-direction: column; }
.con-fstat-k { font-size: 11px; font-weight: 700; letter-spacing: 0.07em; color: #6B7B80; text-transform: uppercase; }
.con-fstat-v { font-size: 32px; font-weight: 800; letter-spacing: -0.04em; margin-top: 6px; }
.con-fstat-n { font-size: 12px; font-weight: 700; margin-top: 3px; }
.con-demo-cta { border-radius: 18px; padding: 18px 20px; background: linear-gradient(120deg,#EAF6F8 0%,#E9EEFC 100%); display: flex; align-items: center; gap: 18px; }
.con-cta-t { font-size: 17px; font-weight: 800; letter-spacing: -0.03em; margin-top: 3px; }
.con-cta-s { font-size: 13px; color: #40525A; font-weight: 500; margin-top: 3px; line-height: 1.45; }
.con-cta-btn { margin-left: auto; flex-shrink: 0; padding: 13px 22px; border-radius: 12px; background: linear-gradient(135deg,#4FB4C9,#3E9FD1); color: #FFFFFF; font-size: 13.5px; font-weight: 800; cursor: pointer; }
.con-ftable { background: #FFFFFF; border: 1px solid #E7EDEE; border-radius: 18px; padding: 6px 20px 10px; }
.con-fhead { display: flex; align-items: center; gap: 14px; padding: 14px 0 10px; border-bottom: 1px solid #EDF2F3; font-size: 10.5px; font-weight: 800; letter-spacing: 0.08em; color: #9AA7AB; text-transform: uppercase; }
.con-w96 { width: 96px; } .con-w110 { width: 110px; } .con-w120 { width: 120px; } .con-w150 { width: 150px; } .con-w200 { width: 200px; }
.con-fstatus-h { flex: 1; text-align: right; }
.con-frow { display: flex; align-items: center; gap: 14px; padding: 12px 0; border-bottom: 1px solid #F4F8F8; font-size: 13px; }
.con-frow-name { font-weight: 700; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.con-grey600 { color: #8A989C; font-weight: 600; }
.con-fbatt { display: flex; align-items: center; gap: 9px; }
.con-fbatt-pct { width: 34px; font-weight: 700; font-size: 12.5px; }
.con-fwear { font-weight: 600; color: #3A4A4E; }
.con-fstatus { flex: 1; text-align: right; font-size: 11px; font-weight: 800; letter-spacing: 0.05em; text-transform: uppercase; }

/* ---------- Supplements ---------- */
.con-mk-hero { border-radius: 18px; padding: 18px 22px; background: linear-gradient(140deg,#EAF6F8 0%,#E9EEFC 100%); display: flex; align-items: center; gap: 20px; }
.con-mk-desc { font-size: 14px; line-height: 1.6; color: #243438; margin-top: 5px; max-width: 740px; font-weight: 500; }
.con-mk-deliv { display: flex; align-items: center; gap: 9px; padding: 9px 14px; border-radius: 12px; background: rgba(255,255,255,0.75); flex-shrink: 0; }
.con-mk-deliv-t { font-size: 12.5px; font-weight: 700; color: #2C6B5E; }
.con-mk-cart { text-align: right; flex-shrink: 0; }
.con-mk-cart-k { font-size: 11px; font-weight: 700; letter-spacing: 0.09em; color: #6B7B80; }
.con-mk-cart-v { font-size: 26px; font-weight: 800; letter-spacing: -0.03em; }
.con-mk-cart-s { font-size: 12.5px; color: #5C6B70; font-weight: 600; }
.con-rec-count { font-size: 12.5px; color: #8A989C; font-weight: 600; }
.con-rec { background: #FFFFFF; border: 1px solid #E7EDEE; border-radius: 16px; padding: 15px 18px; display: flex; align-items: center; gap: 16px; }
.con-rec-who { width: 190px; flex-shrink: 0; min-width: 0; }
.con-rec-sub { font-size: 11.5px; color: #9AA7AB; font-weight: 600; margin-top: 2px; }
.con-rec-ptop { display: flex; align-items: center; gap: 9px; }
.con-rec-pname { font-size: 14.5px; font-weight: 700; letter-spacing: -0.02em; }
.con-rec-class { font-size: 10px; font-weight: 800; letter-spacing: 0.07em; text-transform: uppercase; }
.con-rec-why { font-size: 12.5px; color: #5C6B70; font-weight: 500; margin-top: 3px; line-height: 1.45; }
.con-rec-markers { display: flex; flex-wrap: wrap; gap: 6px; width: 190px; flex-shrink: 0; }
.con-rec-price { text-align: right; width: 78px; flex-shrink: 0; }
.con-rec-pv { font-size: 15.5px; font-weight: 800; letter-spacing: -0.03em; }
.con-rec-pm { font-size: 10.5px; color: #9AA7AB; font-weight: 600; }
.con-rec-btn { flex-shrink: 0; padding: 10px 16px; border-radius: 11px; font-size: 12.5px; font-weight: 700; cursor: pointer; }
.con-prodcard { background: #FFFFFF; border: 1px solid #E7EDEE; border-radius: 18px; padding: 17px 18px; display: flex; flex-direction: column; gap: 11px; }
.con-pc-top { display: flex; align-items: flex-start; justify-content: space-between; gap: 10px; }
.con-pc-class { font-size: 10.5px; font-weight: 800; letter-spacing: 0.08em; text-transform: uppercase; }
.con-pc-name { font-size: 19px; font-weight: 800; letter-spacing: -0.03em; line-height: 1.2; margin-top: 4px; }
.con-pc-why { font-size: 13px; line-height: 1.55; color: #5C6B70; font-weight: 500; }
.con-pc-foot { display: flex; align-items: center; justify-content: space-between; gap: 10px; margin-top: auto; padding-top: 6px; }
.con-pc-price { font-size: 18px; font-weight: 800; letter-spacing: -0.03em; }
.con-pc-match { font-size: 11px; color: #9AA7AB; font-weight: 600; }
.con-pc-btn { padding: 10px 17px; border-radius: 11px; font-size: 13px; font-weight: 700; cursor: pointer; }

/* ---------- Admin ---------- */
.con-kpi { border: 1px solid; border-radius: 18px; padding: 19px 20px; }
.con-kpi-l { font-size: 11px; font-weight: 700; letter-spacing: 0.09em; text-transform: uppercase; }
.con-kpi-v { font-size: 38px; font-weight: 800; line-height: 1.05; margin-top: 8px; letter-spacing: -0.045em; }
.con-kpi-d { font-size: 13px; font-weight: 700; margin-top: 4px; }
.con-kpi-n { font-size: 12px; line-height: 1.5; margin-top: 11px; font-weight: 500; }
.con-bill-list { display: flex; flex-direction: column; margin-top: 12px; }
.con-bill { display: flex; align-items: center; gap: 14px; padding: 12px 0; border-bottom: 1px solid #F1F5F6; }
.con-bill-code { width: 62px; font-size: 12.5px; font-weight: 800; color: #3A4A4E; flex-shrink: 0; }
.con-bill-name { font-size: 13.5px; font-weight: 600; }
.con-bill-amt { width: 96px; text-align: right; font-size: 16px; font-weight: 800; letter-spacing: -0.03em; flex-shrink: 0; }
.con-out-list { display: flex; flex-direction: column; gap: 15px; margin-top: 15px; }
.con-out-row { display: flex; justify-content: space-between; font-size: 13.5px; }
.con-out-v { font-weight: 800; }
.con-out-note { font-size: 12px; color: #9AA7AB; margin-top: 3px; font-weight: 500; }

/* ---------- Demo mode ---------- */
.con-demo-banner { border-radius: 16px; padding: 14px 18px; background: linear-gradient(120deg,#EAF6F8 0%,#E9EEFC 100%); display: flex; align-items: center; gap: 12px; }
.con-demo-banner-t { font-size: 13px; font-weight: 700; color: #243438; }
.con-demo-exit { margin-left: auto; font-size: 12.5px; font-weight: 700; color: #3E9FD1; cursor: pointer; }
.con-demo-grid { display: grid; grid-template-columns: 1fr 400px; gap: 20px; align-items: start; }
.con-demo-who { display: flex; align-items: center; gap: 14px; }
.con-demo-name { font-size: 19px; font-weight: 800; letter-spacing: -0.03em; }
.con-demo-tag { font-size: 11px; font-weight: 800; letter-spacing: 0.08em; color: #7C8A8E; }
.con-demo-meta { font-size: 12.5px; color: #8A989C; font-weight: 600; margin-top: 2px; }
.con-btn-outline { padding: 9px 15px; border-radius: 11px; border: 1px solid #E2EAEC; font-size: 12.5px; font-weight: 700; color: #3A4A4E; cursor: pointer; }
.con-btn-outline:hover { background: #F5F9FA !important; }
.con-scen-list { display: flex; flex-direction: column; gap: 9px; margin-top: 13px; }
.con-scen { display: flex; align-items: center; gap: 12px; padding: 13px 15px; border-radius: 14px; border: 1px solid; cursor: pointer; }
.con-scen:hover { border-color: #BFDDE6 !important; }
.con-scen-k { font-size: 14px; font-weight: 700; }
.con-scen-sub { font-size: 12.5px; color: #5C6B70; font-weight: 500; margin-top: 2px; }
.con-scen-state { font-size: 11px; font-weight: 800; letter-spacing: 0.05em; text-transform: uppercase; }
.con-talk { border-radius: 18px; padding: 19px 20px; background: linear-gradient(160deg,#12181C 0%,#0B0F12 100%); color: #FFFFFF; }
.con-talk-k { font-size: 10.5px; font-weight: 800; letter-spacing: 0.12em; color: rgba(255,255,255,0.55); }
.con-talk-list { display: flex; flex-direction: column; gap: 12px; margin-top: 13px; }
.con-talk-item { display: flex; gap: 11px; }
.con-talk-t { font-size: 13.5px; font-weight: 700; }
.con-talk-v { font-size: 12.5px; line-height: 1.5; color: rgba(255,255,255,0.68); margin-top: 2px; font-weight: 500; }
.con-invite { padding: 16px 20px; display: flex; align-items: center; gap: 14px; }
.con-invite-t { font-size: 14px; font-weight: 700; }
.con-invite-r { margin-left: auto; display: flex; gap: 9px; flex-shrink: 0; }
.con-invite-email { padding: 10px 14px; border-radius: 11px; background: #F5F9FA; font-size: 12.5px; color: #8A989C; font-weight: 600; }
.con-invite-send { padding: 10px 17px; border-radius: 11px; background: linear-gradient(135deg,#4FB4C9,#3E9FD1); color: #FFFFFF; font-size: 12.5px; font-weight: 700; cursor: pointer; }
.con-demo-right { display: flex; flex-direction: column; gap: 12px; align-items: center; }
.con-demo-cap { font-size: 11.5px; color: #8A989C; font-weight: 600; text-align: center; max-width: 320px; line-height: 1.5; }

/* Phone mockup */
.con-phone { width: 320px; height: 648px; border-radius: 44px; background: #0B0F12; padding: 11px; box-shadow: 0 26px 60px rgba(9,16,20,0.32); }
.con-phone-screen { width: 100%; height: 100%; border-radius: 34px; overflow: hidden; background: #FFFFFF; position: relative; display: flex; flex-direction: column; }
.con-phone-island { position: absolute; top: 9px; left: 50%; transform: translateX(-50%); width: 96px; height: 26px; border-radius: 20px; background: #0B0F12; z-index: 20; }
.con-tv-row { display: flex; align-items: baseline; gap: 3px; margin-top: 4px; }
/* resident app */
.con-pr { flex: 1; display: flex; flex-direction: column; overflow: hidden; }
.con-pr-head { padding: 48px 18px 10px; }
.con-pr-greet { font-size: 11.5px; font-weight: 600; color: #6B7B80; }
.con-pr-today { font-size: 25px; font-weight: 800; letter-spacing: -0.035em; margin-top: 1px; }
.con-pr-body { padding: 0 16px; display: flex; flex-direction: column; gap: 10px; }
.con-pr-hero { border-radius: 22px; padding: 17px; color: #FFFFFF; display: flex; align-items: center; gap: 14px; }
.con-pr-ring { width: 64px; height: 64px; border-radius: 50%; display: flex; align-items: center; justify-content: center; flex-shrink: 0; }
.con-pr-score { width: 50px; height: 50px; border-radius: 50%; background: rgba(0,0,0,0.14); display: flex; align-items: center; justify-content: center; font-size: 20px; font-weight: 800; letter-spacing: -0.03em; }
.con-pr-wb { font-size: 10px; font-weight: 800; letter-spacing: 0.13em; opacity: 0.85; }
.con-pr-hl { font-size: 15.5px; font-weight: 700; letter-spacing: -0.02em; line-height: 1.3; margin-top: 4px; }
.con-pr-tiles { display: grid; grid-template-columns: 1fr 1fr; gap: 9px; }
.con-pr-tile { background: #FFFFFF; border: 1px solid #E7EDEE; border-radius: 16px; padding: 12px; }
.con-pr-tl { font-size: 9.5px; font-weight: 800; letter-spacing: 0.08em; color: #6B7B80; text-transform: uppercase; }
.con-pr-tv { font-size: 22px; font-weight: 800; letter-spacing: -0.04em; line-height: 1; }
.con-pr-tu { font-size: 10px; color: #8A989C; font-weight: 600; }
.con-pr-tn { font-size: 10.5px; font-weight: 700; margin-top: 6px; }
.con-pr-dev { display: flex; align-items: center; gap: 10px; padding: 12px 14px; border-radius: 16px; background: #F5F9FA; }
.con-pr-dev-t { font-size: 12px; font-weight: 700; color: #3A4A4E; }
.con-pr-tabs { margin-top: auto; display: flex; padding: 10px 14px 18px; border-top: 1px solid #EDF2F3; }
.con-pr-tab { flex: 1; display: flex; flex-direction: column; align-items: center; gap: 5px; }
.con-pr-tab-ico { width: 18px; height: 18px; border-radius: 6px; }
.con-pr-tab-l { font-size: 9.5px; font-weight: 700; }
/* family app */
.con-pf { flex: 1; position: relative; display: flex; flex-direction: column; }
.con-pf-bg { position: absolute; inset: 0; background: url(../assets/beach-sunset.jpg) center / cover no-repeat; }
.con-pf-head { position: relative; padding: 48px 18px 0; color: #FFFFFF; text-shadow: 0 2px 14px rgba(6,16,28,0.8); }
.con-pf-brand { font-size: 10px; font-weight: 800; letter-spacing: 0.16em; }
.con-pf-line { font-size: 25px; font-weight: 800; letter-spacing: -0.04em; line-height: 1.15; margin-top: 14px; }
.con-pf-sub { font-size: 12.5px; font-weight: 600; opacity: 0.92; margin-top: 7px; line-height: 1.45; }
.con-pf-foot { position: relative; margin-top: auto; padding: 0 14px 20px; display: flex; flex-direction: column; gap: 9px; }
.con-pf-tiles { display: grid; grid-template-columns: 1fr 1fr; gap: 9px; }
.con-pf-tile { padding: 12px 13px; border-radius: 16px; background: rgba(10,24,38,0.5); -webkit-backdrop-filter: blur(18px); backdrop-filter: blur(18px); border: 1px solid rgba(255,255,255,0.2); color: #FFFFFF; }
.con-pf-tl { font-size: 9.5px; font-weight: 800; letter-spacing: 0.09em; opacity: 0.85; text-transform: uppercase; }
.con-pf-tv { font-size: 21px; font-weight: 800; letter-spacing: -0.04em; line-height: 1; }
.con-pf-tu { font-size: 10px; font-weight: 600; opacity: 0.8; }
.con-pf-tn { font-size: 10.5px; font-weight: 700; opacity: 0.92; margin-top: 5px; }
.con-pf-call { text-align: center; padding: 11px 0; border-radius: 13px; background: #FFFFFF; color: #14212E; font-size: 12.5px; font-weight: 800; }

/* ---------- Resident detail drawer ---------- */
.con-drawer { position: absolute; top: 0; right: 0; bottom: 0; width: 390px; z-index: 70; border-left: 1px solid #E7EDEE; background: #FFFFFF; overflow: auto; padding: 20px 22px 40px; box-shadow: -24px 0 60px rgba(9,16,20,0.16); animation: con-drawerIn 260ms cubic-bezier(0.2,0.8,0.3,1) both; }
.con-dw-head { display: flex; align-items: flex-start; justify-content: space-between; gap: 12px; }
.con-dw-who { display: flex; align-items: center; gap: 13px; min-width: 0; }
.con-dw-name { font-size: 22px; font-weight: 800; letter-spacing: -0.035em; line-height: 1.15; }
.con-dw-meta { font-size: 12.5px; color: #8A989C; font-weight: 600; margin-top: 3px; }
.con-dw-close { width: 28px; height: 28px; border-radius: 50%; background: #F2F7F8; display: flex; align-items: center; justify-content: center; cursor: pointer; font-size: 14px; color: #5C6B70; flex-shrink: 0; }
.con-dw-status { display: flex; align-items: center; gap: 9px; margin-top: 13px; padding: 10px 13px; border-radius: 12px; }
.con-dw-status-t { font-size: 12.5px; font-weight: 700; color: #2A3A3E; }
.con-dw-vitals { display: grid; grid-template-columns: 1fr 1fr; gap: 9px; margin-top: 14px; }
.con-dw-vital { background: #F5F9FA; border-radius: 14px; padding: 12px 13px; }
.con-dw-vk { font-size: 10.5px; font-weight: 700; letter-spacing: 0.07em; color: #8A989C; text-transform: uppercase; }
.con-dw-vrow { display: flex; align-items: baseline; gap: 4px; margin-top: 4px; }
.con-dw-vv { font-size: 20px; font-weight: 800; letter-spacing: -0.035em; }
.con-dw-vu { font-size: 11px; color: #9AA7AB; font-weight: 600; }
.con-dw-h { font-size: 15.5px; font-weight: 800; letter-spacing: -0.02em; }
.con-dw-vs { font-size: 10.5px; font-weight: 700; letter-spacing: 0.07em; color: #9AA7AB; }
.con-dw-trends { display: flex; flex-direction: column; gap: 13px; margin-top: 12px; }
.con-dw-trow { display: flex; justify-content: space-between; font-size: 12.5px; }
.con-dw-tk { font-weight: 700; color: #2A3A3E; }
.con-dw-td { font-weight: 700; }
.con-dw-notes { margin-top: 18px; background: #F5F9FA; border-radius: 16px; padding: 15px 16px; }
.con-dw-notes-k { font-size: 11px; font-weight: 700; letter-spacing: 0.1em; color: #3E9FD1; }
.con-dw-notes-list { display: flex; flex-direction: column; gap: 12px; margin-top: 10px; }
.con-dw-nmeta { font-size: 11px; color: #9AA7AB; font-weight: 700; }
.con-dw-ntext { font-size: 13px; line-height: 1.5; color: #2A3A3E; margin-top: 2px; font-weight: 500; }
.con-dw-actions { display: flex; gap: 9px; margin-top: 16px; }
.con-dw-btn { flex: 1; text-align: center; padding: 12px 0; border-radius: 12px; font-size: 13px; font-weight: 700; cursor: pointer; }
.con-dw-primary { background: linear-gradient(135deg,#4FB4C9,#3E9FD1); color: #FFFFFF; }
.con-dw-outline { border: 1px solid #E2EAEC; color: #3A4A4E; }
.con-dw-outline:hover { background: #F5F9FA !important; }
.con-dw-remind { margin-top: 9px; text-align: center; padding: 12px 0; border-radius: 12px; border: 1px solid #E2EAEC; font-size: 13px; font-weight: 700; color: #3A4A4E; cursor: pointer; }
.con-dw-remind:hover { background: #F5F9FA !important; }
