/* FEFO 2.1 — Warm Visual System. Shared launcher and persistent workspace host. */
:root {
  --eco-paper: #f8f6ef;
  --eco-paper-strong: #f0eee4;
  --eco-ink: #173a2c;
  --eco-green: #155b3d;
  --eco-green-dark: #0e3e2b;
  --eco-sage: #dce9d8;
  --eco-sage-strong: #a9c8aa;
  --eco-yellow: #f5d45b;
  --eco-line: #e0e5d9;
  --eco-muted: #68786d;
  --eco-shadow: 0 18px 52px rgba(29, 53, 37, .075);
}
html[data-eco-theme="hub"] { color-scheme: light; background: var(--eco-paper); }
html[data-eco-theme="hub"] body { color: var(--eco-ink); background: var(--eco-paper); }
html[data-eco-theme="hub"] * { box-sizing: border-box; }
html[data-eco-theme="hub"] a { color: inherit; text-decoration: none; }
html[data-eco-theme="hub"] .shell { width: min(1280px, calc(100% - 56px)); margin: 0 auto; padding: 28px 0 48px; }
html[data-eco-theme="hub"] .topline { display:flex; align-items:center; justify-content:space-between; gap:20px; margin-bottom:44px; }
html[data-eco-theme="hub"] .brand { display:flex; align-items:center; gap:13px; color:var(--eco-ink); }
html[data-eco-theme="hub"] .brand-mark { width:48px; height:48px; display:grid; place-items:center; border-radius:16px; color:#fff; background:var(--eco-green); box-shadow:0 8px 22px rgba(21,91,61,.16); font-size:23px; font-weight:950; }
html[data-eco-theme="hub"] .brand-name { font-size:17px; font-weight:900; letter-spacing:-.045em; }
html[data-eco-theme="hub"] .brand-sub { display:block; margin-top:3px; color:#819084; font-size:9px; font-weight:850; letter-spacing:.18em; }
html[data-eco-theme="hub"] .status { display:inline-flex; align-items:center; gap:9px; padding:10px 15px; border:1px solid #dbe4d6; border-radius:999px; color:#315f43; background:#fffefa; box-shadow:0 4px 14px rgba(28,54,37,.035); font-size:11px; font-weight:850; }
html[data-eco-theme="hub"] .status-dot { width:7px; height:7px; border-radius:50%; background:#499565; box-shadow:0 0 0 4px rgba(73,149,101,.12); }
html[data-eco-theme="hub"] .intro { position:relative; isolation:isolate; max-width:920px; margin:0 0 28px; padding:42px clamp(24px,5vw,62px); overflow:hidden; border:1px solid #dce7d8; border-radius:30px; color:#fffdf5; background:linear-gradient(112deg,#104d34 0%,#176344 58%,#2c7751 100%); box-shadow:var(--eco-shadow); animation:ecoPaletteBloom .72s cubic-bezier(.2,.75,.25,1) both; }
html[data-eco-theme="hub"] .intro::before { content:""; position:absolute; z-index:-1; width:390px; aspect-ratio:1; right:-88px; top:-190px; border:1px solid rgba(255,255,255,.18); border-radius:50%; box-shadow:0 0 0 24px rgba(255,255,255,.035),0 0 0 52px rgba(255,255,255,.025),0 0 0 84px rgba(255,255,255,.018); }
html[data-eco-theme="hub"] .intro::after { content:""; position:absolute; z-index:-1; width:210px; height:210px; right:7%; bottom:-160px; border-radius:50%; background:var(--eco-yellow); opacity:.16; filter:blur(2px); }
html[data-eco-theme="hub"] .release-note { margin:0 0 20px; }
html[data-eco-theme="hub"] .eco-release-chip { color:#f8eeb7; border-color:rgba(255,255,255,.2); background:rgba(255,255,255,.09); }
html[data-eco-theme="hub"] .eco-release-chip::before { background:var(--eco-yellow); box-shadow:0 0 0 4px rgba(245,212,91,.14); }
html[data-eco-theme="hub"] .eyebrow { color:#f3dc82; font-size:10px; font-weight:900; letter-spacing:.2em; text-transform:uppercase; margin-bottom:14px; }
html[data-eco-theme="hub"] h1 { margin:0; color:#fffdf5; font-size:clamp(38px,6.5vw,74px); line-height:.98; letter-spacing:-.075em; font-weight:900; }
html[data-eco-theme="hub"] h1 span { color:#f5dc79; }
html[data-eco-theme="hub"] .lead { max-width:660px; margin:18px 0 0; color:rgba(255,253,245,.78); font-size:15px; line-height:1.7; }
html[data-eco-theme="hub"] .launcher-note { color:#859187; font-size:10px; line-height:1.7; }
html[data-eco-theme="hub"] .section-head { display:flex; justify-content:space-between; align-items:end; gap:16px; margin:34px 0 15px; }
html[data-eco-theme="hub"] .section-head h2 { margin:0; color:#244d38; font-size:12px; font-weight:900; letter-spacing:.16em; text-transform:uppercase; }
html[data-eco-theme="hub"] .section-head p { margin:0; color:#879188; font-size:11px; }
html[data-eco-theme="hub"] .apps { display:grid; grid-template-columns:repeat(3,minmax(0,1fr)); gap:15px; }
html[data-eco-theme="hub"] .apps.has-fefo { grid-template-columns:repeat(4,minmax(0,1fr)); }
html[data-eco-theme="hub"] .app-card { --app-accent:#dcebd2; position:relative; display:flex; min-width:0; min-height:300px; flex-direction:column; padding:22px; overflow:hidden; border:1px solid #e1e7db; border-radius:23px; color:var(--eco-ink); background:#fffefa; box-shadow:0 6px 20px rgba(31,56,39,.035); transition:transform .28s cubic-bezier(.2,.75,.25,1),box-shadow .28s ease,border-color .28s ease; animation:ecoPaletteBloom .62s cubic-bezier(.2,.75,.25,1) both; }
html[data-eco-theme="hub"] .app-card:nth-child(2){animation-delay:.06s} html[data-eco-theme="hub"] .app-card:nth-child(3){animation-delay:.12s} html[data-eco-theme="hub"] .app-card:nth-child(4){animation-delay:.18s}
html[data-eco-theme="hub"] .app-card::after { content:""; position:absolute; width:175px; height:175px; right:-92px; top:-100px; border-radius:50%; background:var(--app-accent); opacity:.72; transition:transform .45s ease; }
html[data-eco-theme="hub"] .app-card:hover { transform:translateY(-5px); border-color:#c9d7c6; box-shadow:0 18px 38px rgba(31,56,39,.09); }
html[data-eco-theme="hub"] .app-card:hover::after { transform:scale(1.24); }
html[data-eco-theme="hub"] .app-card.meals { --app-accent:#ffedaa; }
html[data-eco-theme="hub"] .app-card.admin { --app-accent:#d7ebd6; }
html[data-eco-theme="hub"] .app-card.learn { --app-accent:#d9e9ed; }
html[data-eco-theme="hub"] .app-card.fefo { --app-accent:#dce9c7; border-color:#cbd9c6; }
html[data-eco-theme="hub"] .card-top { position:relative; z-index:1; display:flex; align-items:center; justify-content:space-between; gap:10px; }
html[data-eco-theme="hub"] .app-icon { display:grid; width:48px; height:48px; place-items:center; border-radius:15px; color:#17412e; background:var(--app-accent); font-size:20px; font-weight:950; }
html[data-eco-theme="hub"] .version { padding:7px 9px; border:1px solid #e5e9df; border-radius:999px; color:#738075; background:rgba(255,255,255,.7); font-size:9px; white-space:nowrap; }
html[data-eco-theme="hub"] .app-card h3 { position:relative; z-index:1; margin:26px 0 9px; color:#193c2c; font-size:22px; letter-spacing:-.05em; }
html[data-eco-theme="hub"] .app-card p { position:relative; z-index:1; margin:0; color:#69796e; font-size:12px; line-height:1.7; }
html[data-eco-theme="hub"] .card-bottom { position:relative; z-index:1; display:flex; align-items:end; justify-content:space-between; gap:10px; margin-top:auto; padding-top:25px; }
html[data-eco-theme="hub"] .role { max-width:120px; color:#849087; font-size:9px; font-weight:900; letter-spacing:.12em; line-height:1.45; text-transform:uppercase; }
html[data-eco-theme="hub"] .open-link { display:inline-flex; align-items:center; justify-content:center; gap:8px; min-height:43px; padding:0 14px; border-radius:12px; color:#17412d; background:var(--app-accent); font-size:11px; font-weight:900; transition:gap .2s ease,filter .2s ease; white-space:nowrap; }
html[data-eco-theme="hub"] .open-link:hover { gap:13px; filter:saturate(1.08); }
html[data-eco-theme="hub"] .quick-links { display:flex; flex-wrap:wrap; gap:9px; margin-top:15px; }
html[data-eco-theme="hub"] .quick-link { padding:10px 13px; border:1px solid #dce4d9; border-radius:11px; color:#496451; background:#fffefa; font-size:11px; transition:background .2s ease,border-color .2s ease; }
html[data-eco-theme="hub"] .quick-link:hover { border-color:#bfcfbd; background:#f2f6ef; }
html[data-eco-theme="hub"] .architecture { display:grid; grid-template-columns:1.1fr .9fr; gap:15px; margin-top:26px; }
html[data-eco-theme="hub"] .info-panel { padding:19px; border:1px solid #e0e6dc; border-radius:17px; background:#fffefa; }
html[data-eco-theme="hub"] .info-panel h2 { margin:0 0 8px; color:#244a35; font-size:12px; }
html[data-eco-theme="hub"] .info-panel p { margin:0; color:#748176; font-size:11px; line-height:1.7; }
html[data-eco-theme="hub"] .path { margin-top:12px; padding:10px 12px; border-radius:10px; color:#46664d; background:#f1f5ed; font:10px/1.7 ui-monospace,SFMono-Regular,Menlo,monospace; overflow-wrap:anywhere; }
html[data-eco-theme="hub"] .eco-ops-launcher-strip { border-color:#e0e6dc !important; background:#fffefa !important; }
html[data-eco-theme="hub"] .eco-ops-launcher-strip strong { color:#214833 !important; }
html[data-eco-theme="hub"] #launcherOpsNote { color:#7b887d !important; }
html[data-eco-theme="hub"] footer { display:flex; justify-content:space-between; gap:15px; padding-top:23px; margin-top:26px; border-top:1px solid #e1e7dd; color:#8a948a; font-size:10px; }

/* Readiness Sweep is restyled to sit comfortably on the 7Meals-inspired paper canvas. */
html[data-eco-theme="hub"] .eco-readiness-sweep { margin:0 0 22px; padding:21px; border-color:#dfe8dc; border-radius:22px; background:linear-gradient(135deg,#fffefa 0%,#f0f5ec 100%); box-shadow:0 10px 32px rgba(31,56,39,.045); }
html[data-eco-theme="hub"] .eco-readiness-sweep::before { background:radial-gradient(circle,rgba(151,190,142,.19),transparent 68%); }
html[data-eco-theme="hub"] .eco-readiness-heading h2 { color:#214532; }
html[data-eco-theme="hub"] .eco-readiness-heading p { color:#748176; }
html[data-eco-theme="hub"] .eco-readiness-snapshot { color:#899489; }
html[data-eco-theme="hub"] .eco-readiness-card { border-color:#e1e8de; border-radius:14px; background:rgba(255,255,255,.86); }
html[data-eco-theme="hub"] .eco-readiness-card--warning { border-color:#eadfbe; }
html[data-eco-theme="hub"] .eco-readiness-card--review { border-color:#dce7dc; }
html[data-eco-theme="hub"] .eco-readiness-card--preview { border-color:#dce6e8; }
html[data-eco-theme="hub"] .eco-readiness-card h3 { color:#244a35; }
html[data-eco-theme="hub"] .eco-readiness-description { color:#758278; }
html[data-eco-theme="hub"] .eco-readiness-metric { border-top-color:#edf0e9; }
html[data-eco-theme="hub"] .eco-readiness-metric-label { color:#78867a; }
html[data-eco-theme="hub"] .eco-readiness-metric strong { color:#214532; }
html[data-eco-theme="hub"] .eco-readiness-metric small { color:#99a196; }
html[data-eco-theme="hub"] .eco-readiness-action { border-color:#dae5d6; color:#286044; background:#f4f8f1; }
html[data-eco-theme="hub"] .eco-readiness-note { color:#8a948a; }
html[data-eco-theme="hub"] .eco-readiness-scanline { background:rgba(42,104,65,.08); }
html[data-eco-theme="hub"] .eco-readiness-scanline i { background:linear-gradient(90deg,transparent,#73a77a,transparent); }

/* 7Ecosystem v2.1 release news — warm editorial panel with a restrained orbit. */
html[data-eco-theme="hub"] .eco-workspace-news { position:relative; display:flex; align-items:center; gap:20px; min-height:132px; margin:0 0 22px; padding:20px 56px 20px 20px; overflow:hidden; border:1px solid #dfe7da; border-radius:22px; background:linear-gradient(105deg,#fffefa 0%,#f1f6ed 62%,#e8f1e4 100%); box-shadow:0 10px 28px rgba(31,56,39,.045); animation:ecoPaletteBloom .66s cubic-bezier(.2,.75,.25,1) both; }
html[data-eco-theme="hub"] .eco-workspace-news[hidden] { display:none !important; }
html[data-eco-theme="hub"] .eco-workspace-news-mark { position:relative; display:grid; width:58px; height:58px; flex:0 0 58px; place-items:center; border:1px solid #d4e3cf; border-radius:19px; color:#fff; background:linear-gradient(145deg,#2d7650,#165237); font-size:25px; font-weight:950; box-shadow:0 8px 20px rgba(25,91,56,.14); }
html[data-eco-theme="hub"] .eco-workspace-news-mark::after { position:absolute; inset:-6px; border:1px solid rgba(73,139,83,.25); border-radius:23px; content:""; animation:ecoNewsOrbit 8s linear infinite; }
html[data-eco-theme="hub"] .eco-workspace-news-mark i { position:absolute; top:7px; right:8px; width:6px; height:6px; border-radius:50%; background:#f5d45b; box-shadow:0 0 10px rgba(245,212,91,.7); }
html[data-eco-theme="hub"] .eco-workspace-news-copy { position:relative; z-index:1; max-width:740px; }
html[data-eco-theme="hub"] .eco-workspace-news-kicker { display:flex; align-items:center; gap:7px; color:#6b865f; font-size:8px; font-weight:950; letter-spacing:.17em; }
html[data-eco-theme="hub"] .eco-workspace-news-kicker i { width:6px; height:6px; border-radius:50%; background:#78a46b; box-shadow:0 0 0 4px rgba(120,164,107,.13); }
html[data-eco-theme="hub"] .eco-workspace-news h2 { margin:8px 0 5px; color:#214832; font-size:clamp(16px,2vw,21px); line-height:1.15; letter-spacing:-.045em; }
html[data-eco-theme="hub"] .eco-workspace-news p { max-width:700px; margin:0; color:#718075; font-size:10px; line-height:1.65; }
html[data-eco-theme="hub"] .eco-workspace-news-tags { display:flex; flex-wrap:wrap; gap:6px; margin-top:9px; }
html[data-eco-theme="hub"] .eco-workspace-news-tags span { padding:4px 7px; border:1px solid #dbe7d6; border-radius:999px; color:#648068; background:rgba(255,255,255,.65); font-size:7px; font-weight:800; }
html[data-eco-theme="hub"] .eco-workspace-news-close { position:absolute; z-index:3; top:9px; right:12px; width:28px; height:28px; border:0; border-radius:9px; color:#8c998d; background:transparent; font-size:20px; cursor:pointer; }
html[data-eco-theme="hub"] .eco-workspace-news-close:hover { background:#eaf1e6; color:#315f40; }
html[data-eco-theme="hub"] .eco-workspace-news-orbit { position:relative; width:82px; height:82px; flex:0 0 82px; margin-left:auto; border:1px solid rgba(77,133,83,.2); border-radius:50%; animation:ecoNewsOrbit 24s linear infinite; }
html[data-eco-theme="hub"] .eco-workspace-news-orbit::before,html[data-eco-theme="hub"] .eco-workspace-news-orbit::after { position:absolute; inset:10px; border:1px solid rgba(77,133,83,.17); border-radius:50%; content:""; }
html[data-eco-theme="hub"] .eco-workspace-news-orbit::after { inset:24px; border-color:rgba(77,133,83,.14); }
html[data-eco-theme="hub"] .eco-workspace-news-orbit span { position:absolute; top:5px; left:50%; width:6px; height:6px; border-radius:50%; background:#83aa73; box-shadow:0 0 9px rgba(83,143,82,.45); }
html[data-eco-theme="hub"] .eco-workspace-news-orbit span:nth-child(2) { top:auto; right:7px; bottom:22px; left:auto; width:4px; height:4px; background:#d3a844; }
html[data-eco-theme="hub"] .eco-workspace-news-orbit span:nth-child(3) { top:37px; left:8px; width:4px; height:4px; background:#a9c8aa; }
@keyframes ecoNewsOrbit { to { transform:rotate(360deg); } }

/* The iframe is the workspace viewport. The music bridge remains outside it. */
.eco-workspace-frame-wrap { position:fixed; z-index:100; inset:0; width:100%; height:100%; background:var(--eco-paper); }
.eco-workspace-frame-wrap[hidden] { display:none !important; }
.eco-workspace-frame { display:block; width:100%; height:100%; border:0; background:var(--eco-paper); }
@keyframes ecoPaletteBloom { from { opacity:0; transform:translateY(12px); } to { opacity:1; transform:translateY(0); } }

/* 7E Café Music Bridge — compact floating player inspired by the supplied kiosk pill. */
.eco-music-bridge { position:fixed; z-index:2147483000; right:17px; bottom:max(16px,env(safe-area-inset-bottom)); width:min(315px,calc(100vw - 24px)); color:#183b2c; font-family:var(--eco-font-body,system-ui,sans-serif); filter:drop-shadow(0 9px 24px rgba(25,55,36,.13)); transition:width .2s cubic-bezier(.2,.75,.25,1),transform .2s cubic-bezier(.2,.75,.25,1),opacity .2s ease; }
.eco-music-bridge.is-auto-hidden { transform:translateX(calc(100% - 6px)); opacity:.38; }
.eco-music-bridge.is-auto-hidden:hover,.eco-music-bridge.is-auto-hidden:focus-within { transform:translateX(0); opacity:1; }
.eco-music-card { position:relative; display:flex; min-height:58px; align-items:center; gap:10px; padding:7px 9px 7px 8px; border:1px solid #dfe8db; border-radius:21px; background:rgba(255,254,250,.97); box-shadow:0 2px 7px rgba(25,55,36,.055),inset 0 1px rgba(255,255,255,.9); backdrop-filter:blur(16px); }
.eco-music-play { display:grid; width:40px; height:40px; flex:0 0 40px; place-items:center; border:0; border-radius:14px; color:#286044; background:#e6f1e5; cursor:pointer; font-size:14px; transition:background .2s ease,transform .2s ease; }
.eco-music-play:hover { background:#d6e9d5; transform:scale(1.04); }
.eco-music-play:focus-visible,.eco-music-settings-toggle:focus-visible,.eco-music-next:focus-visible { outline:3px solid rgba(47,119,75,.24); outline-offset:2px; }
.eco-music-meta { display:grid; min-width:0; flex:1; gap:3px; }
.eco-music-meta strong { color:#2a6042; font-size:8px; font-weight:950; letter-spacing:.17em; }
.eco-music-title { overflow:hidden; color:#5f7063; font-size:10px; font-weight:750; text-overflow:ellipsis; white-space:nowrap; }
.eco-music-status { max-width:90px; color:#2c8357; font-size:7px; font-weight:950; letter-spacing:.06em; text-align:right; white-space:nowrap; }
.eco-music-settings-toggle { display:grid; width:25px; height:28px; flex:0 0 25px; place-items:center; border:0; border-radius:9px; color:#718275; background:transparent; cursor:pointer; font-size:14px; }
.eco-music-settings-toggle:hover { background:#f0f4ed; }
.eco-music-collapse-toggle { display:grid; width:25px; height:28px; flex:0 0 25px; place-items:center; border:0; border-radius:9px; color:#718275; background:#f5f7f2; cursor:pointer; font-size:14px; transition:background .2s ease,transform .2s ease; }
.eco-music-collapse-toggle:hover { background:#eaf1e7; }
.eco-music-collapse-toggle:focus-visible { outline:3px solid rgba(47,119,75,.24); outline-offset:2px; }
.eco-music-bridge.is-collapsed { width:88px; }
.eco-music-bridge.is-collapsed .eco-music-meta,
.eco-music-bridge.is-collapsed .eco-music-status,
.eco-music-bridge.is-collapsed .eco-music-settings-toggle { display:none; }
.eco-music-bridge.is-collapsed .eco-music-card { min-height:54px; justify-content:space-between; gap:6px; padding:6px 7px; border-radius:18px; }
.eco-music-bridge.is-collapsed .eco-music-play { width:38px; height:38px; flex-basis:38px; border-radius:13px; }
.eco-music-bridge.is-playing .eco-music-play { color:#fff; background:#226746; }
.eco-music-bridge.is-playing .eco-music-play span { animation:ecoMusicPulse 1.7s ease-in-out infinite; }
.eco-music-settings { position:absolute; right:0; bottom:calc(100% + 9px); width:100%; padding:14px; border:1px solid #e0e8dc; border-radius:18px; background:rgba(255,254,250,.98); box-shadow:0 14px 40px rgba(25,55,36,.13); backdrop-filter:blur(18px); animation:ecoMusicPanelIn .2s cubic-bezier(.2,.75,.25,1) both; }
.eco-music-settings[hidden] { display:none !important; }
.eco-music-settings-head { display:flex; justify-content:space-between; gap:12px; color:#8b968c; font-size:8px; font-weight:900; letter-spacing:.13em; }
.eco-music-page { color:#538061; }
.eco-music-settings label { display:grid; grid-template-columns:auto 1fr auto; align-items:center; gap:10px; margin:13px 0; color:#5e7263; font-size:10px; font-weight:800; }
.eco-music-volume { width:100%; accent-color:#34794e; }
.eco-music-settings output { min-width:34px; color:#2b6041; font-size:9px; text-align:right; }
.eco-music-track-copy { display:grid; gap:3px; padding:9px 10px; border-radius:11px; background:#f4f7f0; }
.eco-music-track-copy strong { color:#315a3d; font-size:10px; }
.eco-music-track-copy small { color:#829083; font-size:9px; }
.eco-music-settings-actions { display:flex; align-items:center; justify-content:space-between; gap:10px; margin-top:11px; }
.eco-music-next { min-height:32px; padding:0 11px; border:1px solid #dce7d8; border-radius:10px; color:#285f40; background:#f6f9f3; font-size:9px; font-weight:850; cursor:pointer; }
.eco-music-hint { max-width:145px; color:#899489; font-size:8px; line-height:1.4; text-align:right; }
@keyframes ecoMusicPulse { 0%,100% { transform:scale(.92); opacity:.85; } 50% { transform:scale(1.08); opacity:1; } }
@keyframes ecoMusicPanelIn { from { opacity:0; transform:translateY(7px); } to { opacity:1; transform:translateY(0); } }
@media(max-width:760px) {
  html[data-eco-theme="hub"] .shell { width:min(100% - 28px,1280px); padding:18px 0 32px; }
  html[data-eco-theme="hub"] .topline { margin-bottom:22px; }
  html[data-eco-theme="hub"] .intro { padding:31px 23px; border-radius:23px; }
  html[data-eco-theme="hub"] .apps,html[data-eco-theme="hub"] .apps.has-fefo { grid-template-columns:repeat(2,minmax(0,1fr)); }
  html[data-eco-theme="hub"] .app-card { min-height:260px; padding:17px; }
  html[data-eco-theme="hub"] .app-card h3 { margin-top:20px; font-size:19px; }
  html[data-eco-theme="hub"] .app-card p { font-size:11px; }
  html[data-eco-theme="hub"] .architecture { grid-template-columns:1fr; }
  html[data-eco-theme="hub"] .eco-readiness-grid { grid-template-columns:1fr; }
}
@media(max-width:520px) {
  html[data-eco-theme="hub"] .shell { width:calc(100% - 24px); }
  html[data-eco-theme="hub"] .topline { align-items:flex-start; }
  html[data-eco-theme="hub"] .status { padding:8px 10px; font-size:0; }
  html[data-eco-theme="hub"] .status-dot { margin:2px; }
  html[data-eco-theme="hub"] .section-head { align-items:flex-start; flex-direction:column; }
  html[data-eco-theme="hub"] .apps,html[data-eco-theme="hub"] .apps.has-fefo { grid-template-columns:1fr; }
  html[data-eco-theme="hub"] .app-card { min-height:220px; padding:19px; }
  html[data-eco-theme="hub"] footer { flex-direction:column; }
  /* Stay above common bottom tab bars; the collapsed dock remains a tiny control. */
  .eco-music-bridge { right:10px; bottom:max(76px,calc(env(safe-area-inset-bottom) + 68px)); width:min(280px,calc(100vw - 20px)); }
  .eco-music-bridge.is-collapsed { width:88px; }
  .eco-music-card { min-height:54px; border-radius:18px; }
}
@media(max-width:760px) {
  html[data-eco-theme="hub"] .eco-workspace-news { gap:13px; min-height:112px; padding:16px 43px 16px 15px; border-radius:18px; }
  html[data-eco-theme="hub"] .eco-workspace-news-mark { width:44px; height:44px; flex-basis:44px; border-radius:14px; font-size:20px; }
  html[data-eco-theme="hub"] .eco-workspace-news-orbit { width:56px; height:56px; flex-basis:56px; }
  html[data-eco-theme="hub"] .eco-workspace-news-orbit::before { inset:8px; }
  html[data-eco-theme="hub"] .eco-workspace-news-orbit::after { inset:17px; }
}
@media(max-width:520px) {
  html[data-eco-theme="hub"] .eco-workspace-news-orbit { display:none; }
}
@media(prefers-reduced-motion:reduce) {
  html[data-eco-theme="hub"] .intro,html[data-eco-theme="hub"] .app-card,html[data-eco-theme="hub"] .eco-workspace-news,html[data-eco-theme="hub"] .eco-workspace-news-mark::after,html[data-eco-theme="hub"] .eco-workspace-news-orbit { animation:none !important; }
  .eco-music-bridge *, .eco-music-bridge *::before, .eco-music-bridge *::after { animation:none !important; transition:none !important; }
}
/* Keep the base 7Ecosystem milestone visible beneath the refreshed brand chip. */
html[data-eco-theme="hub"] .release-note { display:flex; flex-wrap:wrap; align-items:center; gap:7px; }
html[data-eco-theme="hub"] .eco-baseline-chip { display:inline-flex; align-items:center; min-height:23px; padding:5px 9px; border:1px solid #e4e8df; border-radius:999px; color:#738075; background:#fffefa; font-size:8px; font-weight:800; letter-spacing:.035em; }


/* The refreshed Hub hero uses the 7Meals editorial paper palette instead of a full green slab. */
html[data-eco-theme="hub"] .intro { color:#193a2c; border-color:#e5e4d8; background:linear-gradient(118deg,#fffefa 0%,#f4f5ec 65%,#f7efd9 100%); box-shadow:0 16px 42px rgba(42,61,43,.055); }
html[data-eco-theme="hub"] .intro::before { border-color:rgba(68,117,78,.12); box-shadow:0 0 0 24px rgba(68,117,78,.035),0 0 0 52px rgba(68,117,78,.025),0 0 0 84px rgba(68,117,78,.016); }
html[data-eco-theme="hub"] .intro::after { background:#e7c45a; opacity:.22; }
html[data-eco-theme="hub"] .eco-release-chip { color:#55704f; border-color:#dfe7d7; background:rgba(255,255,255,.76); }
html[data-eco-theme="hub"] .eco-release-chip::before { background:#6e9b68; box-shadow:0 0 0 4px rgba(110,155,104,.12); }
html[data-eco-theme="hub"] .eyebrow { color:#6e865f; }
html[data-eco-theme="hub"] h1 { color:#193b2a; }
html[data-eco-theme="hub"] h1 span { color:#b28a2f; }
html[data-eco-theme="hub"] .lead { color:#6b7c70; }
html[data-eco-theme="hub"] .launcher-details { margin-top:22px; border-top:1px solid #e3e8df; border-bottom:1px solid #e3e8df; }
html[data-eco-theme="hub"] .launcher-details summary { width:max-content; max-width:100%; padding:12px 0; color:#718175; font-size:10px; font-weight:800; cursor:pointer; }
html[data-eco-theme="hub"] .launcher-details summary:hover { color:#315c40; }
html[data-eco-theme="hub"] .launcher-details[open] { padding-bottom:12px; }
html[data-eco-theme="hub"] .launcher-details .launcher-note { max-width:1120px; margin:0; color:#879288; font-size:10px; line-height:1.65; }

/* v2.2 Connected Threads — page atmospheres are distinct, host audio remains persistent. */
html[data-eco-theme="hub"] .connected-threads-orbit svg{position:absolute;inset:0;width:100%;height:100%;overflow:visible;pointer-events:none}
html[data-eco-theme="hub"] .connected-threads-orbit svg path{fill:none;stroke:rgba(73,125,74,.55);stroke-width:1;stroke-dasharray:3 4;stroke-linecap:round;animation:ecoConnectedThreads 9s linear infinite}
html[data-eco-theme="hub"] .connected-threads-orbit svg path:nth-child(2){stroke:rgba(198,157,70,.48);animation-duration:12s;animation-direction:reverse}
@keyframes ecoConnectedThreads{to{stroke-dashoffset:-56}}
@media(prefers-reduced-motion:reduce){html[data-eco-theme="hub"] .connected-threads-orbit svg path{animation:none!important}}

/* FEFO v2.7 — Ecosystem Rhythm release identity shared by the Hub and workspace return links. */
html[data-eco-theme="hub"] .ecosystem-rhythm-news{align-items:center;gap:clamp(14px,2.2vw,28px);border-color:#d9e7d6;background:linear-gradient(112deg,#f8fbf3 0%,#eff6e9 55%,#fffdf6 100%);box-shadow:0 13px 34px rgba(34,76,43,.075)}
html[data-eco-theme="hub"] .ecosystem-rhythm-mark{position:relative;display:grid;flex:0 0 66px;width:66px;height:66px;place-items:center;border:1px solid rgba(255,255,255,.48);border-radius:20px;color:#fff;background:linear-gradient(145deg,#347c4d,#174d35);box-shadow:0 10px 25px rgba(24,78,48,.18);font-size:19px;font-weight:950;letter-spacing:-.1em}
html[data-eco-theme="hub"] .ecosystem-rhythm-mark::before,html[data-eco-theme="hub"] .ecosystem-rhythm-mark::after{position:absolute;inset:-7px;border:1px solid rgba(85,145,83,.3);border-radius:25px;content:"";animation:ecoRhythmMark 5.5s ease-in-out infinite}
html[data-eco-theme="hub"] .ecosystem-rhythm-mark::after{inset:-13px;border-color:rgba(85,145,83,.16);animation-delay:1.1s}
html[data-eco-theme="hub"] .ecosystem-rhythm-mark i{position:absolute;top:2px;right:4px;width:7px;height:7px;border-radius:50%;background:#f4d36f;box-shadow:0 0 0 4px rgba(244,211,111,.17)}
html[data-eco-theme="hub"] .ecosystem-rhythm-diagram{position:relative;display:grid;width:125px;height:105px;flex:0 0 125px;place-items:center;margin-left:auto}
html[data-eco-theme="hub"] .ecosystem-rhythm-diagram .rhythm-line{position:absolute;width:90px;height:61px;border:1px solid rgba(78,133,78,.3);border-radius:50%;animation:ecoRhythmOrbit 16s linear infinite}
html[data-eco-theme="hub"] .ecosystem-rhythm-diagram .rhythm-line-b{width:65px;height:94px;border-color:rgba(196,157,74,.3);animation-duration:12s;animation-direction:reverse}
html[data-eco-theme="hub"] .ecosystem-rhythm-diagram .rhythm-line-c{width:113px;height:35px;border-color:rgba(78,133,78,.18);animation-duration:22s}
html[data-eco-theme="hub"] .ecosystem-rhythm-diagram i{position:absolute;display:grid;width:22px;height:22px;place-items:center;border:2px solid #f8fbf4;border-radius:8px;color:#fff;background:#56885a;box-shadow:0 3px 10px rgba(49,91,49,.16);font-size:7px;font-style:normal;font-weight:950;animation:ecoRhythmNode 3.6s ease-in-out infinite}
html[data-eco-theme="hub"] .ecosystem-rhythm-diagram .rhythm-hub{z-index:2;width:31px;height:31px;border-radius:10px;background:#1b5b3e;font-size:14px}
html[data-eco-theme="hub"] .ecosystem-rhythm-diagram .rhythm-app-meals{top:1px;left:51px;background:#c59a43;animation-delay:.4s}
html[data-eco-theme="hub"] .ecosystem-rhythm-diagram .rhythm-app-admin{top:41px;right:0;background:#547f68;animation-delay:.8s}
html[data-eco-theme="hub"] .ecosystem-rhythm-diagram .rhythm-app-learn{bottom:0;left:50px;background:#6d9193;animation-delay:1.2s}
html[data-eco-theme="hub"] .ecosystem-rhythm-diagram .rhythm-app-fefo{top:41px;left:0;background:#6d9257;animation-delay:1.6s}
html[data-eco-theme="hub"] .eco-workspace-news-copy{min-width:0;flex:1}
html[data-eco-theme="hub"] .eco-workspace-news-copy h2{max-width:720px;color:#234a34;letter-spacing:-.045em}
html[data-eco-theme="hub"] .eco-workspace-news-copy p{max-width:720px;color:#728174}
html[data-eco-theme="hub"] .ecosystem-rhythm-news .eco-workspace-news-tag{border-color:#dce7d8;color:#58735a;background:#f5f9f1}
.workspace-return-link{display:inline-flex;min-height:40px;align-items:center;justify-content:center;gap:7px;padding:0 12px;border:1px solid #dce7d8;border-radius:11px;color:#285b3c!important;background:rgba(255,255,255,.8);font-size:10px;font-weight:900;text-decoration:none!important;white-space:nowrap;transition:background .18s ease,border-color .18s ease,transform .18s ease}
.workspace-return-link:hover{transform:translateY(-1px);border-color:#b8cfb5;background:#f3f8ef}
.workspace-return-link:focus-visible{outline:3px solid #8b6c28;outline-offset:3px}
html[data-eco-theme="hub"] .workspace-return-link{border-color:#dce7d8;color:#285b3c;background:#fffefa}
@keyframes ecoRhythmMark{0%,100%{transform:scale(.96);opacity:.6}50%{transform:scale(1.07);opacity:1}}
@keyframes ecoRhythmNode{0%,100%{transform:scale(.82);opacity:.72}50%{transform:scale(1.18);opacity:1}}
@media(max-width:760px){html[data-eco-theme="hub"] .ecosystem-rhythm-news{align-items:flex-start;flex-wrap:wrap;gap:14px;padding:16px 43px 16px 15px}html[data-eco-theme="hub"] .ecosystem-rhythm-mark{width:48px;height:48px;flex-basis:48px;border-radius:15px;font-size:15px}html[data-eco-theme="hub"] .ecosystem-rhythm-mark::before{inset:-5px;border-radius:19px}html[data-eco-theme="hub"] .ecosystem-rhythm-mark::after{inset:-9px;border-radius:22px}html[data-eco-theme="hub"] .ecosystem-rhythm-diagram{width:80px;height:75px;flex-basis:80px;margin-left:auto}html[data-eco-theme="hub"] .ecosystem-rhythm-diagram .rhythm-line{width:60px;height:42px}html[data-eco-theme="hub"] .ecosystem-rhythm-diagram .rhythm-line-b{width:44px;height:63px}html[data-eco-theme="hub"] .ecosystem-rhythm-diagram .rhythm-line-c{width:76px;height:25px}html[data-eco-theme="hub"] .ecosystem-rhythm-diagram i{width:17px;height:17px;border-radius:6px;font-size:6px}html[data-eco-theme="hub"] .ecosystem-rhythm-diagram .rhythm-hub{width:25px;height:25px}html[data-eco-theme="hub"] .ecosystem-rhythm-news .eco-workspace-news-copy{flex-basis:calc(100% - 65px)}html[data-eco-theme="hub"] .ecosystem-rhythm-news .ecosystem-rhythm-diagram{order:3;display:none}}
@media(max-width:520px){html[data-eco-theme="hub"] .ecosystem-rhythm-news .eco-workspace-news-copy{flex-basis:100%}.workspace-return-link{min-height:44px;padding-inline:9px;font-size:9px}.workspace-return-link span{display:none}}
@media(prefers-reduced-motion:reduce){html[data-eco-theme="hub"] .ecosystem-rhythm-mark::before,html[data-eco-theme="hub"] .ecosystem-rhythm-mark::after,html[data-eco-theme="hub"] .ecosystem-rhythm-diagram *,html[data-eco-theme="hub"] .ecosystem-rhythm-news{animation:none!important;transition:none!important}.workspace-return-link{transition:none!important}}
