/* MADE-UP HUB for the demo copy (Dec 3 2026, Gregg 11:52 AM + ChatGPT's notes 12:28 PM). Demo only - never deployed.
   Bar = dark broadcast console (white labels on charcoal, amber only for the armed key + the count).
   Home = warm ivory keypad with the room photo. Both: name stays visible when armed, literal status line, Recovery. */

.hm { --r: 14px; margin: 10px 0 18px; border-radius: 22px; overflow: hidden; font-family: Inter, system-ui, sans-serif; -webkit-tap-highlight-color: transparent; }
.hm button { font: inherit; color: inherit; cursor: pointer; border: 0; background: none; text-align: inherit; }
.hm svg { width: 26px; height: 26px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; flex: none; }
.hm .top { display: flex; justify-content: space-between; align-items: center; padding: 12px 16px 8px; font-size: 13px; font-weight: 600; }
.hm .on { display: inline-flex; align-items: center; gap: 6px; font-weight: 500; }
.hm .on:before { content: ''; width: 8px; height: 8px; border-radius: 50%; background: #3ccf6e; box-shadow: 0 0 6px #3ccf6e; }
.hm .hero { position: relative; margin: 0 12px; border-radius: var(--r); overflow: hidden; aspect-ratio: 2.2 / 1; background: #222 center / cover no-repeat; }
.hm .sec { padding: 14px 14px 4px; }
.hm .sec h3 { margin: 0 0 10px; font-size: 18px; font-weight: 700; }
.hm .grid2 { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.hm .k { position: relative; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 6px; min-height: 92px; padding: 12px 10px; border-radius: var(--r); text-align: center; transition: transform .08s, box-shadow .2s; }
.hm .k b { font-weight: 700; font-size: 15px; line-height: 1.2; }
.hm .k small { font-size: 12px; line-height: 1.3; opacity: .8; }
.hm .k:active { transform: translateY(2px); }
.hm .wide { flex-direction: row; justify-content: flex-start; gap: 14px; min-height: 62px; text-align: left; padding: 12px 16px; }
.hm .wide span { display: flex; flex-direction: column; }
.hm .k .arm { display: none; font-size: 12.5px; font-weight: 600; }
.hm .k.armed .arm { display: block; }
.hm .k.armed .sub { display: none; }
.hm .badge { display: inline-block; padding: 2px 7px; border: 1.6px solid currentColor; border-radius: 6px; font-weight: 800; font-size: 12px; letter-spacing: .2px; }
.hm .status { display: flex; justify-content: center; gap: 8px; margin: 12px 14px 14px; padding: 9px 12px; border-radius: 10px; font-size: 13px; }
.hm .zones { display: flex; gap: 6px; overflow-x: auto; margin-bottom: 12px; }
.hm .zones button { padding: 8px 14px; border-radius: 99px; font-size: 13.5px; font-weight: 600; white-space: nowrap; }
.hm .cards { display: grid; gap: 10px; padding: 0 14px 16px; }
.hm .card { border-radius: var(--r); padding: 12px 14px; font-size: 13.5px; line-height: 1.45; }
.hm .card h4 { margin: 0 0 6px; font-size: 14.5px; }
.hm .card p { margin: 3px 0; }
.hm .faceplate { display: grid; grid-template-columns: repeat(4, 1fr); gap: 6px; margin-top: 8px; }
.hm .outlet { border-radius: 8px; padding: 7px 4px; text-align: center; font-size: 11px; line-height: 1.25; }
.hm .outlet b { display: block; font-size: 15px; font-variant-numeric: tabular-nums; }
.hm .outlet i { display: block; width: 7px; height: 7px; border-radius: 50%; margin: 0 auto 4px; background: #3ccf6e; box-shadow: 0 0 5px #3ccf6e; }
.hm .outlet.dead i { background: #ff5a4f; box-shadow: 0 0 6px #ff5a4f; }
.hm .outlet.lock i { background: #9aa3ad; box-shadow: none; }
.hm .sheet { position: fixed; inset: 0; z-index: 99; display: flex; align-items: flex-end; justify-content: center; background: rgba(10, 12, 16, .45); }
.hm .sheet > div { width: min(480px, 100%); border-radius: 22px 22px 0 0; padding: 22px 18px 28px; text-align: center; }
.hm .sheet h3 { margin: 0 0 8px; font-size: 22px; }
.hm .sheet p { margin: 0 0 16px; font-size: 14.5px; line-height: 1.45; }
.hm .sheet button { display: block; width: 100%; padding: 15px; margin-top: 10px; border-radius: 14px; font-size: 17px; font-weight: 700; text-align: center; }
.hm .pulse { animation: hmPulse 1s ease-in-out infinite; }
@keyframes hmPulse { 50% { opacity: .45; } }
@media (prefers-reduced-motion: reduce) { .hm .pulse { animation: none; } }

/* ----- BAR: broadcast console ----- */
.hm.bar { background: #15171b; color: #f2f3f5; border: 1px solid #2a2d33; }
.hm.bar .top { color: #e7e9ec; }
.hm.bar .name { display: flex; align-items: center; gap: 12px; padding: 4px 16px 12px; font: 400 30px/1 'Anton', Impact, sans-serif; letter-spacing: 1px; text-transform: uppercase; color: #f4ead6; }
.hm.bar .name:before, .hm.bar .name:after { content: ''; flex: 1; height: 2px; background: #e7a53b; opacity: .8; }
.hm.bar .k { background: linear-gradient(180deg, #2b2e34, #202328); box-shadow: inset 0 1px 0 rgba(255,255,255,.07), 0 3px 0 #0c0d10, 0 6px 12px rgba(0,0,0,.35); color: #f2f3f5; }
.hm.bar .k b { font: 400 18px/1.1 'Anton', Impact, sans-serif; letter-spacing: .8px; text-transform: uppercase; }
.hm.bar .k small { color: #b8bec7; }
.hm.bar .k.armed { box-shadow: 0 0 0 2px #f0a531, 0 0 18px rgba(240,165,49,.45), 0 3px 0 #0c0d10; }
.hm.bar .k.armed .arm { color: #ffc35c; }
.hm.bar .k.lit { box-shadow: inset 0 0 0 1.5px #3ccf6e, 0 3px 0 #0c0d10; }
.hm.bar .game { flex-direction: row; justify-content: space-between; min-height: 96px; padding: 14px 18px; }
.hm.bar .game b { font-size: 36px; font-style: italic; }
.hm.bar .count { display: flex; flex-direction: column; align-items: flex-end; border-left: 2px solid #e7a53b; padding-left: 16px; }
.hm.bar .count strong { font: 400 40px/1 'Anton', Impact, sans-serif; color: #ffb21a; text-shadow: 0 0 10px rgba(255,170,30,.55); letter-spacing: 1px; }
.hm.bar .count em { font: 400 13px 'Anton', Impact, sans-serif; font-style: normal; letter-spacing: 1px; color: #f2f3f5; text-transform: uppercase; }
.hm.bar .status { background: #0f1013; border: 1px solid #2a2d33; font: 400 15px 'Anton', Impact, sans-serif; letter-spacing: 1px; text-transform: uppercase; color: #e9ecef; }
.hm.bar .status.good { color: #7dffa8; } .hm.bar .status.warn { color: #ffc35c; }
.hm.bar .sec h3 { font: 400 22px 'Anton', Impact, sans-serif; letter-spacing: .8px; text-transform: uppercase; color: #f4ead6; }
.hm.bar .zones button { background: #24272d; color: #d7dbe0; } .hm.bar .zones button.sel { background: #f0a531; color: #1a1200; }
.hm.bar .card { background: #1d2025; border: 1px solid #2a2d33; color: #d7dbe0; }
.hm.bar .card h4 { color: #f4ead6; }
.hm.bar .outlet { background: #101215; border: 1px solid #2a2d33; color: #b8bec7; } .hm.bar .outlet b { color: #ffb21a; } .hm.bar .outlet.dead b { color: #ff7a70; }
.hm.bar .sheet > div { background: #1d2025; color: #f2f3f5; } .hm.bar .sheet .go { background: #f0a531; color: #1a1200; } .hm.bar .sheet .no { background: #2b2e34; color: #f2f3f5; }
.hm.bar .closing { background: linear-gradient(180deg, #2b2e34, #1d2025); }

/* ----- HOME: warm ivory keypad ----- */
.hm.house { background: #f6f1e8; color: #1f2430; border: 1px solid #e3dccf; }
.hm.house .top { color: #2a2f3a; font-family: 'Lora', Georgia, serif; font-weight: 600; }
.hm.house .top em { font-weight: 400; color: #6d6a63; margin-left: 8px; }
.hm.house .name { display: flex; align-items: center; gap: 14px; padding: 2px 16px 12px; font: 500 34px/1.1 'Lora', Georgia, serif; color: #1b1f29; }
.hm.house .name:before, .hm.house .name:after { content: ''; flex: 1; height: 1px; background: #b9b2a5; }
.hm.house .hero:after { content: ''; position: absolute; inset: 45% 0 0; background: linear-gradient(180deg, rgba(0,0,0,0), rgba(0,0,0,.6)); }
.hm.house .hero .cap { position: absolute; left: 16px; bottom: 12px; z-index: 1; color: #fff; font-family: 'Lora', Georgia, serif; }
.hm.house .hero .cap b { display: block; font-size: 26px; font-weight: 500; }
.hm.house .hero .cap i { font-size: 15px; }
.hm.house .hmplate { margin: 14px 12px 4px; border-radius: 16px; background: linear-gradient(180deg, #fbf8f2, #efe8dc); box-shadow: inset 0 1px 0 #fff, 0 0 0 1px #ddd4c5, 0 8px 18px rgba(70,55,30,.14); overflow: hidden; }
.hm.house .hmkey { display: flex; align-items: center; gap: 16px; width: 100%; padding: 15px 18px; border-top: 1px solid #e3dbcd; font: 500 20px/1.2 'Lora', Georgia, serif; color: #222632; position: relative; }
.hm.house .hmkey:first-child { border-top: 0; }
.hm.house .hmkey .hmled { margin-left: auto; width: 8px; height: 8px; border-radius: 50%; background: #cfc6b6; box-shadow: inset 0 1px 1px rgba(0,0,0,.2); }
.hm.house .hmkey.lit .hmled { background: #fff4cf; box-shadow: 0 0 6px 2px #ffcf63; }
.hm.house .hmkey span { display: flex; flex-direction: column; }
.hm.house .hmkey small { font: 600 12.5px Inter, system-ui, sans-serif; color: #b26f00; display: none; }
.hm.house .hmkey.armed { background: #fff2d6; box-shadow: inset 4px 0 0 #e9a23b; }
.hm.house .hmkey.armed small { display: block; }
.hm.house .hmkey:active { background: #ebe3d5; }
.hm.house .k { background: linear-gradient(180deg, #fbf8f2, #eee6d8); box-shadow: inset 0 1px 0 #fff, 0 0 0 1px #ddd4c5, 0 4px 10px rgba(70,55,30,.12); color: #222632; }
.hm.house .k b { font: 600 16px/1.2 'Lora', Georgia, serif; }
.hm.house .k small { color: #6d6a63; }
.hm.house .k.armed { box-shadow: 0 0 0 2px #e9a23b, 0 4px 14px rgba(233,162,59,.35); background: #fff2d6; }
.hm.house .k.armed .arm { color: #a86400; }
.hm.house .hmgate { margin: 12px 12px 0; display: flex; align-items: center; justify-content: center; gap: 14px; width: calc(100% - 24px); padding: 13px; border-radius: 14px; border: 2px solid #1f2a44; font: 500 20px 'Lora', Georgia, serif; color: #1f2a44; background: #fbf8f2; }
.hm.house .hmgate.armed { border-color: #e9a23b; background: #fff2d6; }
.hm.house .hmgate small { font: 600 12.5px Inter, sans-serif; color: #a86400; }
.hm.house .status { background: transparent; border-top: 1px solid #ddd4c5; border-radius: 0; font: italic 15px 'Lora', Georgia, serif; color: #3d4250; }
.hm.house .status.good b { color: #1d8a4e; font-style: normal; } .hm.house .status.warn b { color: #a86400; font-style: normal; }
.hm.house .sec h3 { font: 600 21px 'Lora', Georgia, serif; }
.hm.house .zones button { background: #ece5d8; color: #3d4250; } .hm.house .zones button.sel { background: #1f2a44; color: #fff; }
.hm.house .card { background: #fbf8f2; border: 1px solid #e3dccf; color: #3d4250; }
.hm.house .card h4 { font-family: 'Lora', Georgia, serif; color: #1f2430; }
.hm.house .outlet { background: #f1ebe0; color: #5b5a55; } .hm.house .outlet b { color: #1f2430; } .hm.house .outlet.dead b { color: #c0392b; }
.hm.house .sheet > div { background: #f6f1e8; color: #1f2430; } .hm.house .sheet .go { background: #ffe2b0; color: #8a5200; box-shadow: 0 0 0 2px #e9a23b; } .hm.house .sheet .no { background: #fbf8f2; box-shadow: 0 0 0 1px #ddd4c5; color: #1f2430; }

/* fit inside the app: undo the app's own .top / .card styles, stack each key's name over its line */
.hm .top { background: transparent; position: static; z-index: auto; box-shadow: none; }
.hm .card { margin: 0; }
.hm .k > span { display: flex; flex-direction: column; align-items: center; gap: 3px; }
.hm .wide > span { align-items: flex-start; }
.hm.bar .game > span:first-child { align-items: flex-start; }
.hm .k b { display: block; }
.hm .wide { width: 100%; }
.hm.bar .k.lit.armed, .hm.bar .k.armed { box-shadow: 0 0 0 2px #f0a531, 0 0 18px rgba(240,165,49,.45), 0 3px 0 #0c0d10; }
.hm .status { flex-wrap: wrap; text-align: center; }
.hm .status [data-htell] { flex-basis: 100%; text-align: center; margin-top: 4px; }
/* Game Day channels (Gregg 12:49 PM Dec 3): what the Hub SENT to each cable box - not confirmed by the boxes (IR is one-way) */
.hm.bar .chans { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 8px; }
.hm.bar .chans span { padding: 5px 9px; border-radius: 8px; background: #101215; border: 1px solid #2a2d33; font-size: 12.5px; color: #d7dbe0; }
.hm.bar .chans b { font: 400 13px 'Anton', Impact, sans-serif; letter-spacing: .6px; color: #ffb21a; text-transform: uppercase; margin-right: 3px; }
.hm.bar .chans small { flex-basis: 100%; font-size: 11.5px; color: #9aa1ab; margin-top: 2px; }
/* FIX IT page (Gregg 12:58 PM Dec 3): fixes first - health card, the steps as they happen, "What's not working?" list */
.hm .tabs { display: flex; gap: 6px; margin: 0 14px 4px; padding: 4px; border-radius: 12px; }
.hm .tabs button { flex: 1; padding: 10px; border-radius: 9px; font-weight: 700; font-size: 15px; text-align: center; position: relative; }
.hm .tabs .dot { position: absolute; top: 8px; margin-left: 6px; width: 8px; height: 8px; border-radius: 50%; background: #ff5a4f; box-shadow: 0 0 6px #ff5a4f; }
.hm .health { margin: 10px 14px 4px; padding: 14px 16px 16px; border-radius: 16px; }
.hm .health h3 { margin: 0 0 6px; font-size: 21px; }
.hm .health p { margin: 0 0 12px; font-size: 14px; line-height: 1.45; }
.hm .health .hl { margin: 0 0 4px; font-size: 12.5px; font-weight: 700; }
.hm .health .auto { margin: 10px 0 0; font-size: 12.5px; opacity: .8; }
.hm .health.ok p { margin: 0; }
.hm .k.big { min-height: 74px; }
.hm .steps { margin: 10px 14px 0; padding: 12px 14px; border-radius: 14px; font-size: 13.5px; }
.hm .steps h4 { margin: 0 0 8px; font-size: 14.5px; }
.hm .steps p { display: flex; align-items: center; gap: 9px; margin: 5px 0; line-height: 1.35; }
.hm .steps p i { flex: none; width: 9px; height: 9px; border-radius: 50%; background: #5d636c; }
.hm .steps p span { flex: 1; }
.hm .steps p em { flex: none; margin-left: auto; font-style: normal; font-size: 11.5px; font-weight: 700; text-transform: uppercase; letter-spacing: .5px; white-space: nowrap; padding-left: 8px; }
.hm .steps p.todo { opacity: .45; }
.hm .steps p.busy i { background: #f0a531; animation: hmPulse 1s infinite; } .hm .steps p.busy em { color: #f0a531; }
.hm .steps p.done i, .hm .steps p.confirmed i { background: #3ccf6e; } .hm .steps p.confirmed em { color: #3ccf6e; } .hm .steps p.done em { opacity: .6; }
.hm .steps p.sent i { background: #6aa8ff; } .hm .steps p.sent em { color: #6aa8ff; }
.hm .syms { display: grid; gap: 8px; }
.hm .sym { display: flex; align-items: center; gap: 12px; width: 100%; padding: 13px 16px; border-radius: 14px; }
.hm .sym span { display: flex; flex-direction: column; gap: 2px; flex: 1; }
.hm .sym b { font-size: 16px; font-weight: 700; }
.hm .sym small { font-size: 12.5px; opacity: .8; }
.hm .sym > i { font-style: normal; font-size: 24px; opacity: .5; }
.hm .sym .arm { display: none; font-weight: 700; opacity: 1; }
.hm .sym.armed .arm { display: block; } .hm .sym.armed .sub { display: none; }
.hm .sym:active { transform: translateY(1px); }
.hm .outlet.warn i { background: #f0a531; box-shadow: 0 0 6px #f0a531; }

.hm.bar .tabs { background: #0f1013; border: 1px solid #2a2d33; }
.hm.bar .tabs button { color: #b8bec7; font: 400 17px 'Anton', Impact, sans-serif; letter-spacing: 1px; text-transform: uppercase; }
.hm.bar .tabs button.sel { background: #2b2e34; color: #f4ead6; }
.hm.bar .health.bad { background: linear-gradient(180deg, #3a1d1b, #2a1716); border: 1px solid #6b2a25; }
.hm.bar .health .hl { color: #ff8a7f; text-transform: uppercase; letter-spacing: .8px; }
.hm.bar .health h3 { font: 400 26px/1.1 'Anton', Impact, sans-serif; letter-spacing: .6px; text-transform: uppercase; color: #fff1ea; }
.hm.bar .health.bad p { color: #f1d6d2; }
.hm.bar .health.ok { background: #14261b; border: 1px solid #23573a; } .hm.bar .health.ok h3 { color: #7dffa8; } .hm.bar .health.ok p { color: #bfe6cc; }
.hm.bar .health .k.big { background: linear-gradient(180deg, #f0a531, #d98c16); color: #1a1200; box-shadow: 0 3px 0 #7a4c06, 0 8px 18px rgba(0,0,0,.4); }
.hm.bar .health .k.big small { color: #3a2800; }
.hm.bar .health .k.big.armed { box-shadow: 0 0 0 3px #fff1d0, 0 0 22px rgba(255,200,90,.6); } .hm.bar .health .k.big.armed .arm { color: #1a1200; }
.hm.bar .steps { background: #0f1013; border: 1px solid #2a2d33; color: #d7dbe0; } .hm.bar .steps h4 { color: #f4ead6; }
.hm.bar .sym { background: linear-gradient(180deg, #2b2e34, #202328); box-shadow: inset 0 1px 0 rgba(255,255,255,.07), 0 3px 0 #0c0d10; color: #f2f3f5; }
.hm.bar .sym small { color: #b8bec7; } .hm.bar .sym.armed { box-shadow: 0 0 0 2px #f0a531, 0 3px 0 #0c0d10; } .hm.bar .sym.armed .arm { color: #ffc35c; }
.hm.bar .sym.other { background: transparent; box-shadow: inset 0 0 0 1px #3a3e45; }
.hm.bar .outlet.warn b { color: #f0a531; }

.hm.house .tabs { background: #ece5d8; }
.hm.house .tabs button { color: #5b5a55; font-family: 'Lora', Georgia, serif; font-size: 17px; font-weight: 600; }
.hm.house .tabs button.sel { background: #1f2a44; color: #fff; }
.hm.house .health.ok { background: #e6f1e8; border: 1px solid #b9d8c1; } .hm.house .health.ok h3 { font-family: 'Lora', Georgia, serif; color: #1d6b3e; } .hm.house .health.ok p { color: #3d5a47; }
.hm.house .health.bad { background: #fbe6e1; border: 1px solid #e6b3a8; } .hm.house .health .hl { color: #b0392a; }
.hm.house .steps { background: #fbf8f2; border: 1px solid #e3dccf; color: #3d4250; }
.hm.house .steps p.done i, .hm.house .steps p.confirmed i { background: #1d8a4e; } .hm.house .steps p.confirmed em { color: #1d8a4e; } .hm.house .steps p.sent em { color: #2f6fd0; }
.hm.house .sym { background: #fbf8f2; box-shadow: 0 0 0 1px #ddd4c5, 0 3px 8px rgba(70,55,30,.08); color: #222632; }
.hm.house .sym b { font: 600 17px 'Lora', Georgia, serif; } .hm.house .sym small { color: #6d6a63; }
.hm.house .sym.armed { background: #fff2d6; box-shadow: 0 0 0 2px #e9a23b; } .hm.house .sym.armed .arm { color: #a86400; }
.hm.house .sym.other { background: transparent; box-shadow: inset 0 0 0 1px #cfc6b6; }
/* Network card (Gregg 1:05 PM Dec 3: how the network is performing - replaces Hey Siri) */
.hm .netc .tiles { display: grid; grid-template-columns: repeat(4, 1fr); gap: 6px; margin: 6px 0 10px; }
.hm .netc .tiles div { border-radius: 8px; padding: 7px 4px; text-align: center; }
.hm .netc .tiles b { display: block; font-size: 18px; font-variant-numeric: tabular-nums; }
.hm .netc .tiles small { font-size: 11px; opacity: .8; }
.hm .netc .spark { display: flex; align-items: flex-end; gap: 4px; height: 34px; }
.hm .netc .spark i { flex: 1; border-radius: 3px 3px 0 0; background: #3ccf6e; opacity: .85; }
.hm .netc .spark i.dip { background: #f0a531; }
.hm .netc .cap { font-size: 12.5px; opacity: .85; margin: 4px 0 0; }
.hm .netc .ap { display: flex; align-items: center; gap: 9px; margin: 5px 0; }
.hm .netc .ap i { width: 8px; height: 8px; border-radius: 50%; background: #3ccf6e; flex: none; }
.hm .netc .ap.busy i, .hm .netc .ap.weak i { background: #f0a531; }
.hm .netc .ap span { flex: 1; } .hm .netc .ap em { font-style: normal; font-size: 12.5px; opacity: .85; }
.hm.bar .netc .tiles div { background: #101215; border: 1px solid #2a2d33; } .hm.bar .netc .tiles b { color: #ffb21a; }
.hm.bar .netc .ap.busy em, .hm.bar .netc .ap.weak em { color: #ffc35c; opacity: 1; }
.hm.house .netc .tiles div { background: #f1ebe0; } .hm.house .netc .tiles b { color: #1f2a44; }
.hm.house .netc .spark i { background: #1d8a4e; } .hm.house .netc .ap.weak em { color: #a86400; opacity: 1; }
/* at a glance (Gregg 1:08 PM) */
.hm .netc h4 { display: flex; align-items: center; gap: 8px; }
.hm .netc h4 .dot { width: 9px; height: 9px; border-radius: 50%; background: #3ccf6e; box-shadow: 0 0 5px #3ccf6e; }
.hm .netc h4 .dot.amber { background: #f0a531; box-shadow: 0 0 5px #f0a531; }
.hm .netc .nflag { background: none; padding: 0; border: 0; font-weight: 600; }
.hm .netc .lnk { text-decoration: underline; font-weight: 600; margin-top: 4px; font-size: 13px; }
.hm .netc .more { margin-top: 10px; padding-top: 10px; border-top: 1px solid rgba(128,128,128,.25); }
.hm.bar .netc .nflag, .hm.bar .netc .lnk { color: #ffc35c; } .hm.house .netc .nflag, .hm.house .netc .lnk { color: #a86400; }
/* dealer-supplied logos on the Apple TV / Roku buttons (Gregg 1:15 PM Dec 3) */
.hm .logo { display: block; height: 26px; width: auto; }
.hm .logo.roku { height: 17px; margin: 5px 0 4px; }
/* every restart plays out (Gregg 1:23 PM Dec 3) */
.hm .job { margin: 10px 14px 4px; }
.hm .job h4 { display: flex; align-items: baseline; gap: 8px; }
.hm .job h4 em { margin-left: auto; font-style: normal; font-size: 12px; font-weight: 700; opacity: .8; white-space: nowrap; }
.hm .job p.busy em { font-variant-numeric: tabular-nums; }
.hm .job p.todo em { font-weight: 600; text-transform: none; letter-spacing: 0; }
/* each device's own button follows the restart (Gregg 1:30 PM Dec 3) */
.hm.bar .k.jrst { box-shadow: 0 0 0 2px #f0a531, 0 0 16px rgba(240,165,49,.4), 0 3px 0 #0c0d10; }
.hm.bar .k.jrst .sub { color: #ffc35c; font-weight: 700; opacity: 1; font-variant-numeric: tabular-nums; }
.hm.bar .k.jback { box-shadow: 0 0 0 2px #3ccf6e, 0 3px 0 #0c0d10; } .hm.bar .k.jback .sub { color: #7dffa8; font-weight: 700; opacity: 1; }
.hm.bar .k.jwait .sub { color: #9aa1ab; }
.hm.house .k.jrst { box-shadow: 0 0 0 2px #e9a23b, 0 4px 14px rgba(233,162,59,.35); background: #fff2d6; }
.hm.house .k.jrst .sub { color: #a86400; font-weight: 700; opacity: 1; font-variant-numeric: tabular-nums; }
.hm.house .k.jback { box-shadow: 0 0 0 2px #1d8a4e; } .hm.house .k.jback .sub { color: #1d8a4e; font-weight: 700; opacity: 1; }
.hm .k.jrst svg, .hm .k.jrst .logo { animation: hmPulse 1s ease-in-out infinite; }
/* LIVE RACK (Gregg 1:58 PM Dec 3) */
.hm .rack { margin-top: 8px; padding: 6px 14px; border-radius: 8px; background: linear-gradient(90deg, #2a2d33 0 12px, #0c0d10 12px calc(100% - 12px), #2a2d33 calc(100% - 12px)); display: grid; gap: 4px; }
.hm .ru { display: flex; gap: 4px; }
.hm .bx { flex: 1; display: flex; align-items: center; gap: 6px; min-height: 26px; padding: 3px 8px; border-radius: 3px; background: linear-gradient(180deg, #34383f, #25282d); border: 1px solid #40454d; color: #c9ced5; font-size: 11px; font-weight: 600; white-space: nowrap; overflow: hidden; }
.hm .bx > span:first-child { flex: 1; overflow: hidden; text-overflow: ellipsis; }
.hm .bx .led, .hm .bx .act { flex: none; width: 7px; height: 7px; border-radius: 50%; background: #3ccf6e; box-shadow: 0 0 6px #3ccf6e; }
.hm .bx .act { width: 4px; height: 4px; background: #6aa8ff; box-shadow: 0 0 4px #6aa8ff; animation: hmBlink 1.3s steps(2) infinite; }
.hm .bx.rst .led { background: #f0a531; box-shadow: 0 0 7px #f0a531; animation: hmBlink .6s steps(2) infinite; } .hm .bx.rst { border-color: #f0a531; }
.hm .bx.off .led, .hm .bx.off .act { background: #1a1c20; box-shadow: none; animation: none; } .hm .bx.off { color: #6b717a; }
.hm .bx.bad .led { background: #ff5a4f; box-shadow: 0 0 8px #ff5a4f; } .hm .bx.bad .act { background: #1a1c20; box-shadow: none; animation: none; } .hm .bx.bad { border-color: #ff5a4f; }
.hm .bx.rst .act { animation: none; background: #1a1c20; box-shadow: none; }
.hm .bx .wb { display: flex; gap: 3px; } .hm .bx .wb i { width: 6px; height: 6px; border-radius: 50%; background: #3ccf6e; box-shadow: 0 0 4px #3ccf6e; }
.hm .bx .wb i.a { background: #f0a531; box-shadow: 0 0 5px #f0a531; } .hm .bx .wb i.o { background: #1a1c20; box-shadow: none; } .hm .bx .wb i.l { background: #9aa3ad; box-shadow: none; }
@keyframes hmBlink { 50% { opacity: .2; } }
/* DAY AND NIGHT strip, SYSTEMS, FLOOR PLAN, photo-less hero (Gregg 2:08 PM Dec 3) */
.hm .times { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 4px; margin: 0 14px 10px; }
.hm .times button { padding: 6px 2px; border-radius: 9px; text-align: center; line-height: 1.15; min-height: 44px; }
.hm .times b { display: block; font-size: 13px; font-variant-numeric: tabular-nums; } .hm .times small { font-size: 10.5px; opacity: .8; }
.hm.bar .times button { background: #1d2025; border: 1px solid #2a2d33; color: #d7dbe0; } .hm.bar .times button.sel { background: #f0a531; border-color: #f0a531; color: #1a1200; }
.hm.house .times button { background: #ece5d8; color: #3d4250; } .hm.house .times button.sel { background: #1f2a44; color: #fff; }
.hm .sysc p { display: flex; align-items: baseline; gap: 8px; margin: 5px 0; }
.hm .sysc p i { flex: none; width: 8px; height: 8px; border-radius: 50%; background: #3ccf6e; transform: translateY(-1px); }
.hm .sysc p b { flex: none; min-width: 7.2em; } .hm .sysc p span { opacity: .9; }
.hm .sysc p.bad i { background: #ff5a4f; box-shadow: 0 0 6px #ff5a4f; } .hm .sysc p.busy i { background: #f0a531; animation: hmBlink .6s steps(2) infinite; }
.hm.bar .sysc p.bad span { color: #ff8a7f; } .hm.house .sysc p.bad span { color: #b0392a; font-weight: 600; } .hm .sysc p.busy span { color: #c98712; font-weight: 600; }
.hm .planc svg { display: block; width: 100%; height: auto; margin-top: 6px; stroke: none; fill: none; }
.hm .planc svg * { stroke-width: 0; }
.hm .planc .room, .hm .planc .ring { stroke-width: .5 !important; }
.hm .planc .room { fill: none; stroke-width: .5; } .hm .planc .rl { font: 600 3px Inter, system-ui, sans-serif; }
.hm .planc .dot { fill: #3ccf6e; } .hm .planc .dot .ring { fill: none; stroke: #3ccf6e; stroke-width: .5; opacity: .6; }
.hm .planc .dot text { font: 700 3.2px Inter, sans-serif; text-anchor: middle; fill: #10301c; }
.hm .planc .dot.bad { fill: #ff5a4f; } .hm .planc .dot.bad .ring { stroke: #ff5a4f; } .hm .planc .dot.bad > * { animation: hmBlink .9s steps(2) infinite; }
.hm .planc .dot.rst, .hm .planc .dot.watch { fill: #f0a531; } .hm .planc .dot.rst .ring, .hm .planc .dot.watch .ring { stroke: #f0a531; } .hm .planc .dot.rst > * { animation: hmBlink .6s steps(2) infinite; }
.hm .planc .dot.off { fill: #5d636c; }
.hm .planc .cap b.bad { color: #ff5a4f; } .hm .planc .cap b.watch, .hm .planc .cap b.rst { color: #e0951f; }
.hm.bar .planc .room { stroke: #4a4f57; fill: #15171b; } .hm.bar .planc .rl { fill: #9aa1ab; }
.hm.house .planc .room { stroke: #cfc6b6; fill: #fbf8f2; } .hm.house .planc .rl { fill: #6d6a63; }
.hm.house .hero.nophoto { background: radial-gradient(120% 90% at 70% 10%, #3a4a78, #141a2e 70%); }
.hm.house .hero.nophoto.sunset { background: linear-gradient(180deg, #f2a65a 0%, #d9655b 45%, #3b3561 100%); }
.hm.house .hero .art { position: absolute; right: 18px; top: 14px; color: rgba(255,255,255,.75); }
.hm.house .hero .art svg { width: 64px; height: 64px; stroke-width: 1.2; }
/* KEEPS FAILING, EQUIPMENT, big event check result (Gregg, voice Dec 3) */
.hm .repc p { margin: 6px 0; } .hm .repc em { font-style: normal; font-size: 12px; font-weight: 700; color: #e0951f; } .hm .repc span { font-size: 13px; opacity: .9; }
.hm.bar .repc { border-color: #6b4a1a; } .hm.house .repc { border-color: #e9c48a; }
.hm .eqc .old { color: #e0951f; } .hm .eqc .lnk { text-decoration: underline; font-weight: 600; font-size: 13px; margin-top: 2px; }
.hm.bar .eqc .lnk { color: #ffc35c; } .hm.house .eqc .lnk { color: #a86400; }
.hm .eql { margin-top: 8px; } .hm .eql p { display: flex; flex-direction: column; margin: 0; padding: 6px 0; border-top: 1px solid rgba(128,128,128,.22); }
.hm .eql p span { font-size: 12.5px; opacity: .85; } .hm .eql p.old span { color: #e0951f; opacity: 1; font-weight: 600; }
.hm .job p.bad i { background: #ff5a4f; box-shadow: 0 0 6px #ff5a4f; } .hm .job p.bad em { color: #ff5a4f; }
.hm .job p.first { display: block; margin-top: 8px; padding: 8px 10px; border-radius: 8px; background: rgba(255,90,79,.12); font-size: 13px; line-height: 1.4; }
