/* GasGuard: original Zonaro amber and cream palette, with the R2 layout. */
body.gasguard-shell{--gas-orange:var(--zonaro-accent);--gas-ink:var(--zonaro-ink);--gas-muted:var(--zonaro-muted);background:var(--zonaro-paper);color:var(--gas-ink)}
.gasguard-shell .phone-screen,.gasguard-shell .app-header{background:var(--zonaro-screen)}
.gasguard-shell .app-header{border-color:var(--zonaro-line);padding:0 20px}
.gasguard-shell .app-header small{color:var(--zonaro-muted);font-size:.75rem;letter-spacing:.1em}
.gasguard-shell .header-mark{background:var(--zonaro-accent);color:var(--zonaro-ink);border-radius:13px}
.gasguard-shell .app-header h1{color:var(--zonaro-ink);font-size:1.25rem;font-weight:750}
.gasguard-shell .app-content{padding:20px 18px 24px}
.gasguard-shell .device-picker{margin-bottom:19px;align-items:flex-start}
.gasguard-shell .device-picker strong{font-size:1.125rem;line-height:1.5;color:var(--zonaro-ink)}
.gasguard-shell .device-picker small{font-size:.8125rem;color:var(--zonaro-muted)}
.gasguard-shell .device-picker>span:last-child{min-height:48px;color:#6f542c;padding:8px 10px;background:var(--zonaro-surface);border:1px solid var(--zonaro-line);border-radius:12px;font-size:.875rem}
.gasguard-shell .app-tabs{background:var(--zonaro-surface);border-color:var(--zonaro-line);grid-template-columns:repeat(4,minmax(0,1fr))}
.gasguard-shell .app-tabs a{font-size:.8125rem;color:var(--zonaro-muted);min-height:48px}
.gasguard-shell .app-tabs a[aria-current=page]{color:#6f542c}
.gasguard-shell .app-tabs a[aria-current=page] .tab-icon{background:var(--zonaro-selected)}
.gasguard-shell .app-tabs .tab-icon{border-radius:10px}
.gasguard-shell .icon-button{background:var(--zonaro-surface);border-color:var(--zonaro-line);width:48px;height:48px}
.gasguard-shell .sheet-heading button{min-width:48px;min-height:48px}
.gg-reserve{border:1px solid var(--zonaro-line);background:var(--zonaro-surface);border-radius:24px;padding:17px 18px 0;overflow:hidden;box-shadow:0 8px 22px #202a3005}
.gg-reserve-top{display:flex;align-items:center;justify-content:space-between;gap:6px;font-size:.75rem;letter-spacing:.085em;font-weight:650;color:var(--zonaro-muted)}
.gg-demo-badge{letter-spacing:0;text-transform:none;font-size:.75rem;font-weight:500;color:var(--zonaro-muted);border:1px solid var(--zonaro-line);border-radius:20px;padding:4px 9px}
.gg-cylinder-stage{display:grid;grid-template-columns:minmax(0,.8fr) minmax(0,1.2fr);align-items:center;gap:4px;min-height:235px;margin:8px -6px 5px}
.gg-cylinder-reading{display:grid;gap:8px;min-width:0;padding-left:6px}
.gg-cylinder-reading>span{font-size:.875rem;line-height:1.5;color:var(--zonaro-muted)}
.gg-cylinder-reading strong{font-size:3.4rem;line-height:1.12;letter-spacing:-.055em;font-weight:700;color:var(--zonaro-ink);font-variant-numeric:tabular-nums;white-space:nowrap}
.gg-cylinder-reading strong small{font-size:1.125rem;letter-spacing:0;margin-left:4px;font-weight:550;color:var(--zonaro-muted)}
.gasguard-shell .gg-cylinder-art{width:100%;height:235px;margin:0;min-width:0;background:radial-gradient(ellipse at 50% 62%,var(--zonaro-selected),transparent 70%)}
.gasguard-shell .gg-cylinder-art svg{width:100%;height:100%;filter:drop-shadow(0 7px 7px #46381f15)}
.gg-product-render .gg-product-image{display:block;width:100%;height:100%;object-fit:contain;object-position:center bottom}
.gasguard-shell .gg-cylinder-art.gg-product-render{background:none}
.gasguard-shell .system-equipment.gg-product-render{height:280px;background:none;padding:0}
.gg-weight-meter{height:6px;max-width:108px;background:var(--zonaro-selected);border-radius:8px;overflow:hidden;margin:1px 0 2px}
.gg-weight-meter>span{display:block;height:100%;background:var(--zonaro-accent);border-radius:8px}
.gg-reserve.is-low .gg-weight-meter>span{background:#c55629}
.gg-cylinder-reading .gg-base-label{font-size:.75rem;line-height:1.4;color:var(--zonaro-muted);max-width:100px}
.gg-base-design-grid{display:grid;grid-template-columns:1fr 1fr;gap:12px;padding-top:12px}
.gg-base-design-grid figure{margin:0;min-width:0;text-align:center}
.gg-base-design-grid img{width:100%;height:210px;object-fit:contain;object-position:center bottom}
.gg-base-design-grid figcaption{display:grid;gap:5px;padding:12px 0;font-size:.8125rem;line-height:1.5}
.gg-base-design-grid figcaption strong{font-size:.875rem;color:var(--zonaro-ink)}
.gg-base-design-grid figcaption span{color:var(--zonaro-muted)}
.gg-gauge-status{display:flex;align-items:center;justify-content:center;gap:7px;margin:-7px 0 19px;font-size:.875rem;color:#4f6559;line-height:1.5;text-align:center}
.gg-gauge-status svg{width:17px;height:17px;flex-shrink:0}
.gg-reserve-bottom{display:flex;justify-content:space-between;align-items:center;gap:12px;background:var(--zonaro-screen);border-top:1px solid var(--zonaro-line);margin:0 -18px;padding:15px 18px}
.gg-reserve-bottom span{display:block;font-size:.8125rem;color:var(--zonaro-muted);margin-bottom:3px}
.gg-reserve-bottom strong{font-size:1.35rem;font-weight:650;color:var(--zonaro-ink);letter-spacing:-.025em;line-height:1.5}
.gg-reserve-bottom button{background:var(--zonaro-surface);border:1px solid var(--zonaro-line);border-radius:50%;width:48px;height:48px;display:grid;place-items:center;flex-shrink:0;color:var(--zonaro-muted)}
.gg-reserve-bottom button svg{width:20px;height:20px}
.gg-reserve.is-low .gg-gauge-status{color:#a64321}
.gg-reserve.is-unavailable .gg-gauge-status{color:#686d72}
.gg-plan-card{display:flex;align-items:center;text-align:left;gap:12px;width:100%;margin:16px 0;padding:16px 14px;background:var(--zonaro-selected);border:1px solid var(--zonaro-accent-line);border-radius:18px;color:#6f542c;min-height:98px;transition:background .15s}
.gg-plan-card:hover{background:#e6d5b8}
.gg-plan-icon{display:grid;place-items:center;width:43px;height:47px;background:var(--zonaro-surface);border-radius:13px;flex-shrink:0;color:#6f542c}
.gg-plan-icon svg{width:23px;height:23px}
.gg-plan-card>span:nth-child(2){display:grid;gap:5px;flex:1;min-width:0}
.gg-plan-card small{font-size:.75rem;letter-spacing:.1em;font-weight:650}
.gg-plan-card strong{font-size:1rem;line-height:1.5;letter-spacing:-.015em;font-weight:650;color:var(--zonaro-ink)}
.gg-plan-card>span>span{font-size:.8125rem;line-height:1.5;color:#6f542c}
.gg-plan-card>svg{width:16px;height:16px;flex-shrink:0}
.gg-week{display:block;background:var(--zonaro-surface);border:1px solid var(--zonaro-line);border-radius:18px;padding:16px;margin:0 0 12px}
.gg-week-heading{display:flex;align-items:center;justify-content:space-between;color:var(--zonaro-muted);font-size:.875rem;font-weight:600;margin-bottom:14px}
.gg-week-heading svg{width:16px;height:16px;color:var(--zonaro-muted)}
.gg-week-body{display:flex;gap:12px;align-items:center;justify-content:space-between}
.gg-week-body strong{font-size:1.5rem;font-weight:650;letter-spacing:-.025em;color:var(--zonaro-ink)}
.gg-week-body strong small{font-size:.875rem;letter-spacing:0;font-weight:450;color:var(--zonaro-muted)}
.gg-week p{font-size:.875rem;margin:7px 0 9px;color:var(--zonaro-muted);line-height:1.5}
.gg-mini-bars{display:flex;align-items:flex-end;gap:5px;height:42px;width:100px;flex-shrink:0}
.gg-mini-bars i{height:var(--bar);min-width:7px;flex:1;background:#dcc092;border-radius:3px}
.gg-mini-bars i:last-child{background:var(--zonaro-accent)}
.gg-meta{font-size:.75rem;line-height:1.5;color:var(--zonaro-muted)}
.gg-home-actions{display:grid;grid-template-columns:1fr 1fr;gap:10px}
.gasguard-shell .gg-home-actions .quick-action{background:var(--zonaro-surface);border-color:var(--zonaro-line);border-radius:13px;color:var(--zonaro-muted);font-size:.875rem;min-height:48px}
.gasguard-shell .gg-home-actions .quick-action svg{color:#6f542c}
.gasguard-shell .gas-monitor-row{background:transparent;border:0;border-top:1px solid var(--zonaro-line);border-radius:0;padding:16px 2px 0;margin-top:18px;min-height:65px;color:var(--zonaro-muted)}
.gasguard-shell .gas-monitor-row strong{font-size:.875rem;color:var(--zonaro-ink)}
.gasguard-shell .gas-monitor-row small{font-size:.75rem;color:var(--zonaro-muted)}
.gasguard-shell .gas-reading-note{font-size:.75rem;color:var(--zonaro-muted)}
.gasguard-shell .primary-action{font-size:1rem;min-height:52px;background:var(--zonaro-accent);border-color:var(--zonaro-accent-line);color:var(--zonaro-ink);border-radius:14px;line-height:1.5}
.gasguard-shell .primary-action:hover{background:#dfae68}
.gasguard-shell .quick-action{min-height:48px;font-size:.875rem;color:var(--zonaro-muted)}
.gasguard-shell .page-copy,.gasguard-shell .sheet-copy,.gasguard-shell .app-sheet .sheet-copy{font-size:1rem;color:var(--zonaro-muted);line-height:1.65}
.gasguard-shell .inline-note,.gasguard-shell .reading-footnote{font-size:.8125rem;color:var(--zonaro-muted);line-height:1.65}
.gasguard-shell .menu-row{font-size:1rem;min-height:64px;color:var(--zonaro-ink)}
.gasguard-shell .menu-row small{font-size:.8125rem;color:var(--zonaro-muted)}
.gasguard-shell .menu-list,.gasguard-shell .page-card,.gasguard-shell .gas-disclosure{background:var(--zonaro-surface);border-color:var(--zonaro-line)}
.gasguard-shell .app-sheet{background:var(--zonaro-screen);color:var(--zonaro-ink);border-radius:24px 24px 0 0}
.gasguard-shell .app-sheet .sheet-fields label{font-size:.875rem;color:var(--zonaro-muted)}
.gasguard-shell .sheet-fields input{background:var(--zonaro-surface);border-color:#b8aa90;min-height:50px}
.gasguard-shell .sheet-heading h2{font-size:1.4rem;color:var(--zonaro-ink);line-height:1.4}
.gasguard-shell .sheet-choice{font-size:1rem;min-height:52px;background:var(--zonaro-surface);border-color:var(--zonaro-line)}
.gasguard-shell .sheet-choice small{font-size:.8125rem;color:var(--zonaro-muted)}
.gasguard-shell .detail-list>div{font-size:.875rem}
.gasguard-shell .detail-list dt{color:var(--zonaro-muted)}
.gasguard-shell .detail-list dd{color:var(--zonaro-ink)}
.gg-plan-sheet{background:var(--zonaro-selected);border:1px solid var(--zonaro-accent-line);padding:20px 17px;border-radius:18px;margin:16px 0 18px;color:#6f542c}
.gg-eyebrow{font-size:.75rem;letter-spacing:.1em;font-weight:650;margin:0 0 10px}
.gg-plan-sheet h3{font-size:1.5rem;line-height:1.4;letter-spacing:-.035em;margin:0 0 8px;color:var(--zonaro-ink)}
.gg-plan-sheet>p:last-child{font-size:.875rem;line-height:1.5;margin:0}
.gg-book-summary{display:grid;grid-template-columns:1fr 1fr;gap:12px;padding:17px 0;border-top:1px solid var(--zonaro-line);border-bottom:1px solid var(--zonaro-line);margin:18px 0 8px}
.gg-book-summary small{display:block;font-size:.75rem;line-height:1.5;color:var(--zonaro-muted);margin-bottom:5px}
.gg-book-summary strong{font-size:1.2rem;color:var(--zonaro-ink);overflow-wrap:anywhere}
.gg-refill-entry{display:grid;grid-template-columns:1fr 1fr 48px;gap:8px;align-items:center;border-bottom:1px solid var(--zonaro-line);padding:16px 0;font-size:.875rem}
.gg-refill-entry strong{display:block;overflow-wrap:anywhere;color:var(--zonaro-ink);line-height:1.5}
.gg-refill-entry small{display:block;color:var(--zonaro-muted);font-size:.75rem;margin-top:5px}
.gg-record-remove{width:48px;height:48px;border:0;border-radius:12px;background:var(--zonaro-paper);display:grid;place-items:center;color:#6f542c}
.gg-record-remove svg{width:18px;height:18px}
.gg-empty-book{border:1px dashed var(--zonaro-line);border-radius:18px;padding:24px 19px;margin:16px 0;color:var(--zonaro-muted)}
.gg-empty-book>svg{width:28px;height:28px;color:#6f542c}
.gg-empty-book h3{font-size:1.3rem;letter-spacing:-.03em;line-height:1.4;color:var(--zonaro-ink);margin:18px 0 10px}
.gg-empty-book p{font-size:1rem;line-height:1.7;margin:0}
.gg-form-error{color:#a42e22;font-size:.875rem;line-height:1.5;margin:0}
.gasguard-shell .app-toast{background:var(--zonaro-panel);color:white;font-size:.875rem}
.gasguard-shell .gas-warning p{font-size:1rem}
.gasguard-shell .gas-warning p.gas-warning-label{font-size:.75rem}
.gasguard-shell .gas-warning small{font-size:.8125rem}
.gasguard-shell .gas-monitor-info p,.gasguard-shell .gas-disclosure p,.gasguard-shell .app-sheet details p{font-size:1rem;line-height:1.7;color:var(--zonaro-muted)}
.gasguard-shell .gas-monitor-info{background:var(--zonaro-surface);border-color:var(--zonaro-line)}
.gasguard-shell .gas-status-label{font-size:.8125rem;color:var(--zonaro-muted)}
.gasguard-shell .gas-disclosure summary{font-size:.875rem;min-height:52px;color:var(--zonaro-muted)}
.gasguard-shell .section-heading h2,.gasguard-shell .page-card h2{font-size:1.125rem;color:var(--zonaro-ink)}
@media(max-width:359px){.gasguard-shell .app-content{padding:16px 14px 24px}.gg-reserve{padding:15px 12px 0}.gg-reserve-top{font-size:.75rem;letter-spacing:0}.gg-reserve-bottom{margin:0 -12px;padding:14px 12px}.gg-cylinder-reading strong{font-size:2.7rem}.gg-cylinder-stage{min-height:210px}.gasguard-shell .gg-cylinder-art{height:210px}.gg-plan-icon{display:none}.gg-mini-bars{width:69px;gap:3px}.gg-week-body{gap:8px}.gg-week-body strong{font-size:1.3rem}.gg-plan-card{padding:15px 13px}.gg-gauge-status{margin-bottom:17px}.gg-cylinder-reading>span{font-size:.875rem}}
@media(prefers-reduced-motion:reduce){.gg-plan-card{transition:none}}

/* Paint is a presentation layer; the metal valve and weighing base keep their original finish. */
.gg-product-art{position:relative;display:block;isolation:isolate;height:100%;aspect-ratio:2/3;width:auto;max-width:100%;margin:0 auto}
.gg-product-art .gg-product-image{display:block;width:100%;height:100%;object-fit:contain}
.gg-product-art .gg-awake-display{position:absolute;inset:0;width:100%;height:100%;pointer-events:none;filter:none}
.gg-base-design-art{height:210px}
.gg-artwork-button{position:relative;display:block;width:100%;height:100%;padding:0;border:0;background:transparent;cursor:zoom-in;color:#6f542c;border-radius:12px}
.gg-artwork-button:focus-visible{outline:3px solid #896331;outline-offset:2px}
.gg-display-zoom{position:absolute;bottom:-3px;left:50%;transform:translateX(-50%);white-space:nowrap;font-size:.875rem;line-height:1.4;text-decoration:underline;text-underline-offset:3px;background:var(--zonaro-surface,#fffdf7);padding:2px 6px;border-radius:6px}
.gg-display-closeup{background:#071f24;border:8px solid #333d3d;border-radius:18px;padding:12px;margin:12px 0 20px;box-shadow:inset 0 0 0 1px #688386}
.gg-display-closeup>svg{display:block;width:100%;height:auto}
.gasguard-shell .gg-product-art .gg-awake-display{filter:none}
.gg-cylinder-paint{position:absolute;inset:0;background:transparent;mix-blend-mode:multiply;opacity:.88;pointer-events:none}
/* Use real transparency, not luminance interpretation of an opaque rectangle.
   The prefixed properties support older Safari. No masking support leaves the
   neutral cylinder visible instead of painting the surrounding background. */
@supports (mask-image:linear-gradient(transparent,black)) or (-webkit-mask-image:linear-gradient(transparent,black)){
 .gg-cylinder-paint{background:var(--cylinder-paint);-webkit-mask-image:var(--paint-mask);mask-image:var(--paint-mask);mask-mode:alpha;-webkit-mask-size:100% 100%;mask-size:100% 100%;-webkit-mask-repeat:no-repeat;mask-repeat:no-repeat;-webkit-mask-position:center;mask-position:center}
}
.gg-product-art[data-colour="white"] .gg-cylinder-paint{mix-blend-mode:screen;opacity:.55}
.gg-product-art[data-colour="black"] .gg-cylinder-paint{opacity:.8}
/* The gas gauge sits outside the painted silhouette; quantity never repaints it. */
.gg-level-gauge{position:absolute;top:24%;height:42%;right:-2px;width:24px;display:flex;justify-content:center;pointer-events:none;color:#38382f;font-variant-numeric:tabular-nums}
.gg-level-track{position:relative;display:block;width:11px;height:100%;overflow:hidden;border:1px solid #a4a398;border-radius:8px;background:#e8e9e3;box-shadow:0 0 0 3px var(--zonaro-surface,#fffdf7)}
.gg-level-fill{position:absolute;bottom:0;left:0;right:0;height:var(--gas-level);background:var(--gas-level-colour)}
.gg-level-value{position:absolute;bottom:calc(100% + 6px);left:50%;transform:translateX(-50%);font-size:.875rem;font-weight:750;line-height:1.3;white-space:nowrap;background:var(--zonaro-surface,#fffdf7);border-radius:5px;padding:1px 3px}
.gg-cylinder-reading .gg-level-status{display:block;justify-self:start;font-size:.875rem;line-height:1.4;font-weight:650;padding:5px 8px;border:1px solid #c9d9ce;border-radius:8px;color:#276344;background:#f3f8f3}
.gg-cylinder-reading .gg-level-status[data-level-tone="planning"]{border-color:#dcc79f;color:#7c5106;background:#fff7e7}
.gg-cylinder-reading .gg-level-status[data-level-tone="critical"]{border-color:#e4b8af;color:#a33227;background:#fff3ef}
.gg-cylinder-reading .gg-level-status[data-level-tone="unknown"]{border-color:#d4d1c8;color:#68685d;background:#f5f4ef}
.gg-colour-picker{min-width:0;margin:20px 0 16px;padding:0;border:0;color:#302a20}
.gg-colour-picker legend{font-size:1rem;font-weight:650;line-height:1.5;padding:0}
.gg-colour-picker legend span{font-size:.75rem;font-weight:400;margin-left:8px;color:#70685b}
.gg-colour-note{font-size:.875rem;line-height:1.6;color:#70685b;margin:8px 0 16px}
.gg-colour-layout{display:grid;grid-template-columns:100px minmax(0,1fr);gap:12px;align-items:center}
.gg-colour-preview{height:150px;min-width:0}
.gg-colour-options{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:7px}
.gg-colour-picker .gg-colour-choice{position:relative;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:5px;min-height:58px;padding:7px 2px;border:1px solid #dbd4c8;border-radius:12px;background:#fffdf7;cursor:pointer;font-size:.75rem;font-weight:500;line-height:1.2;color:#50483c}
.gg-colour-picker .gg-colour-choice input{position:absolute;opacity:0;width:1px;height:1px;min-height:0;margin:0;padding:0;overflow:hidden;clip-path:inset(50%)}
.gg-colour-chip{width:21px;height:21px;border-radius:50%;background:var(--swatch);box-shadow:inset 0 0 0 1px #0003}
.gg-colour-choice:has(input:checked){border-color:#896331;background:#fff0d5;box-shadow:0 0 0 1px #896331}
.gg-colour-choice:has(input:checked) .gg-colour-chip::after{content:'✓';display:grid;place-items:center;height:100%;color:white;font-size:15px;font-weight:800;text-shadow:0 1px 3px #000}
.gg-colour-choice:focus-within{outline:3px solid #70511f;outline-offset:3px}
.gg-colour-caption{font-size:.75rem;line-height:1.5;color:#70685b;margin:16px 0 0;text-align:center}
@media(max-width:359px){.gg-colour-layout{grid-template-columns:82px minmax(0,1fr);gap:8px}.gg-colour-preview{height:123px}.gg-colour-options{gap:6px}}

.gg-swipe{touch-action:pan-y pinch-zoom;overflow-x:hidden}.gg-swipe-hint{font-size:13px;line-height:1.5;color:var(--zonaro-muted);margin:0 0 16px}@media(hover:hover) and (pointer:fine){.gg-swipe-hint{display:none}}@media(prefers-reduced-motion:reduce){.gg-swipe>*{animation:none!important}}
