/* Local extension of the approved ivory/emerald device section. */
#devices .fridge-layout { grid-template-columns:1.2fr 1fr; gap:7%; }
#devices .device-layout figure { margin:0; }
#devices .device-layout figure img { mix-blend-mode:normal; height:auto; object-fit:contain; }
#devices .device-layout figcaption { display:flex; flex-wrap:wrap; justify-content:center; gap:6px 12px; margin-top:12px; font-size:11px; line-height:1.7; }
#devices .device-layout figcaption strong { font-weight:600; color:var(--green); }
#devices .device-callout { display:none; }
#devices .device-console { min-width:0; }
#devices .device-tabs { display:grid; grid-template-columns:repeat(3,minmax(0,1fr)); gap:12px; }
#devices .device-tabs button { min-height:44px; font-size:13px; }
#devices #device-detail { min-height:162px; }
#devices #device-detail h3 { font-size:clamp(28px,2.6vw,38px); }
#devices #device-detail p { font-size:14px; line-height:1.8; }
#devices .connection-toggle { min-height:44px; padding:12px 0; font-size:13px; }
#devices .fridge-path { display:grid; grid-template-columns:repeat(4,minmax(0,1fr)); align-items:start; gap:12px; padding-top:22px; margin-top:6px; }
.fridge-path > span { display:flex; flex-direction:column; align-items:center; gap:12px; position:relative; text-align:center; color:var(--green); font-size:11px; line-height:1.55; }
#devices .fridge-path > span > svg,#devices .fridge-path img { width:26px; height:26px; object-fit:contain; margin:0; transform:none; }
.fridge-path > span:not(:last-child)::after { content:''; position:absolute; width:calc(100% - 24px); height:1px; left:calc(50% + 18px); top:13px; background:#9eaf98; }
.fridge-cooling { display:flex; align-items:center; gap:12px; margin-top:24px; color:var(--green); }
.fridge-cooling > svg { width:28px; height:28px; flex:0 0 28px; }
#devices .fridge-cooling .local-active { font-size:16px; line-height:1.5; margin:0; }
.fridge-cooling .local-active span { display:block; font-size:11px; color:var(--muted); margin-top:3px; }
#devices .cloud-status { font-size:11px; line-height:1.7; margin:12px 0 0 40px; }
#devices .fridge-illustration { text-align:center; margin-top:24px; }
.fridge-requirements,.fridge-context { display:grid; grid-template-columns:1fr 1.25fr; gap:10%; border-top:1px solid var(--line); margin-top:48px; padding-top:32px; }
.fridge-requirements h3,.fridge-context h3 { font:400 clamp(30px,3vw,44px)/1.12 var(--serif); letter-spacing:-.025em; }
.fridge-requirements p,.fridge-context p { font-size:13px; line-height:1.85; color:var(--muted); max-width:70ch; }
.fridge-requirements p+p,.fridge-context p+p { margin-top:16px; }
.fridge-context a { color:var(--green); text-decoration:underline; text-underline-offset:4px; display:inline; }
.fridge-context a svg { width:14px; height:14px; display:inline-block; vertical-align:middle; }
#devices .fridge-next { gap:32px; }
#devices .fridge-next p { max-width:70ch; }
#devices .fridge-next .textlink { flex-shrink:1; min-height:44px; }
@media(min-width:1000px) and (min-height:820px) and (pointer:fine) {
 #devices[data-motion=pinned] .device-stage img { height:390px; }
 #devices[data-motion=pinned] #device-detail { min-height:146px; }
}
@media(max-width:760px) {
 #devices .fridge-layout { grid-template-columns:1fr; gap:32px; }
 #devices .device-layout figure { margin:0; }
 #devices .device-layout figure img { max-height:380px; }
 #devices #device-detail { min-height:156px; }
 #devices #device-detail p { font-size:13px; }
 .fridge-requirements,.fridge-context { grid-template-columns:1fr; gap:20px; margin-top:36px; padding-top:28px; }
 .fridge-requirements h3,.fridge-context h3 { max-width:24ch; }
 #devices .fridge-next { gap:20px; }
}
@media(prefers-reduced-motion:reduce) { #devices .device-stage img { transition:none; } }
