/* 7Ecosystem v3.5.0 — shared mobile-first foundation. App identities remain scoped. */
:root {
  --eco-mobile-gutter: 16px;
  --eco-mobile-section-gap: 24px;
  --eco-mobile-card-gap: 12px;
  --eco-mobile-field-gap: 12px;
  --eco-mobile-control: 48px;
  --eco-mobile-touch: 44px;
  --eco-mobile-nav-height: 68px;
  --eco-mobile-sheet-radius: 24px;
  --eco-mobile-content-width: 680px;
  --eco-visual-viewport-height: 100dvh;
}
*,*::before,*::after { -webkit-tap-highlight-color: transparent; }
:where(button,[role="button"],a):focus-visible,
:where(input,select,textarea,summary):focus-visible {
  outline: 3px solid color-mix(in srgb,#4e9562 34%,transparent);
  outline-offset: 2px;
}
:where(dialog,[role="dialog"],[data-mobile-sheet]) { overscroll-behavior: contain; }
.eco-mobile-more-sheet {
  width: min(100%,680px); max-width: 680px; max-height: min(82dvh,760px);
  margin: auto auto 0; padding: 0; border: 1px solid rgba(98,126,99,.18);
  border-radius: 24px 24px 0 0; color: inherit; background: #fffefa;
  box-shadow: 0 -18px 60px rgba(24,48,31,.18); overflow: auto;
}
.eco-mobile-more-sheet::backdrop { background: rgba(13,31,20,.46); backdrop-filter: blur(4px); }
.eco-mobile-more-sheet .eco-sheet-head { position: sticky; z-index: 1; top: 0; display:flex; align-items:center; justify-content:space-between; gap:12px; padding:17px 18px 13px; border-bottom:1px solid #e9eee6; background:rgba(255,254,250,.96); }
.eco-mobile-more-sheet .eco-sheet-head h2 { margin:0; font-size:18px; letter-spacing:-.035em; }
.eco-mobile-more-sheet .eco-sheet-close { display:grid; width:44px; height:44px; place-items:center; border:1px solid #e1e8de; border-radius:14px; color:#385940; background:#f7faf4; font-size:22px; }
.eco-mobile-more-sheet .eco-sheet-body { display:grid; gap:9px; padding:14px 16px calc(20px + env(safe-area-inset-bottom)); }
.eco-mobile-more-sheet .eco-sheet-link { display:grid; min-height:60px; grid-template-columns:42px minmax(0,1fr) auto; align-items:center; gap:12px; padding:9px 11px; border:1px solid #e4ebe1; border-radius:15px; color:#234632; background:#fff; text-align:left; }
.eco-mobile-more-sheet .eco-sheet-link-icon { display:grid; width:40px; height:40px; place-items:center; border-radius:12px; color:#34744c; background:#edf5e9; font-size:18px; }
.eco-mobile-more-sheet .eco-sheet-link-copy { display:grid; min-width:0; gap:3px; }
.eco-mobile-more-sheet .eco-sheet-link-copy strong { font-size:14px; }
.eco-mobile-more-sheet .eco-sheet-link-copy small { color:#748477; font-size:12px; line-height:1.4; }
.eco-mobile-more-sheet .eco-sheet-link-arrow { color:#6c9271; font-size:18px; }
.hub-system-health { margin:14px 0 20px; border:1px solid #dfe8dc; border-radius:17px; background:#fbfcf8; overflow:hidden; }
.hub-system-health > summary { display:flex; min-height:54px; align-items:center; justify-content:space-between; gap:12px; padding:13px 16px; color:#365b40; font-size:14px; font-weight:850; cursor:pointer; list-style:none; }
.hub-system-health > summary::-webkit-details-marker { display:none; }
.hub-system-health > summary::after { content:"＋"; display:grid; width:30px; height:30px; flex:0 0 30px; place-items:center; border:1px solid #dfe9db; border-radius:10px; color:#658369; background:#fff; font-size:17px; }
.hub-system-health[open] > summary::after { content:"−"; }
.hub-system-health-intro { margin:0; padding:0 16px 10px; color:#758476; font-size:13px; line-height:1.55; }
.hub-system-health-status { margin:0 16px 12px; padding:8px 10px; border-radius:10px; color:#69816c; background:#f1f6ee; font-size:12px; line-height:1.45; }
.hub-system-health-content { display:grid; gap:14px; padding:0 12px 14px; }
.launcher-about { margin-top:20px; }
.launcher-about-content { display:grid; gap:18px; padding-top:8px; }
.eco-mobile-summary { display:flex; align-items:center; justify-content:space-between; gap:12px; min-height:50px; padding:12px 14px; border:1px solid #e5ebe1; border-radius:14px; color:#47634d; background:#fbfcf8; font-size:13px; }
.eco-mobile-summary strong { font-size:14px; }
@media (max-width:760px) {
  :root { --eco-mobile-gutter:16px; --eco-mobile-section-gap:22px; }
  :where(button,[role="button"]) { min-height:var(--eco-mobile-touch); touch-action:manipulation; }
  :where(input,select,textarea) { min-height:46px; font-size:16px !important; }
  :where(summary) { min-height:44px; }
  .eco-mobile-more-sheet { width:100%; max-width:none; max-height:min(84dvh,var(--eco-visual-viewport-height)); border-radius:24px 24px 0 0; }
  .hub-system-health-intro { font-size:14px; }
  .hub-system-health-status { font-size:12px; }
  .hub-system-health-content { padding-inline:10px; }
  html[data-eco-theme="hub"] .shell { width:calc(100% - 32px); padding:12px 0 calc(28px + env(safe-area-inset-bottom)); }
  html[data-eco-theme="hub"] .topline { gap:12px; margin-bottom:17px; }
  html[data-eco-theme="hub"] .topline-actions { gap:8px; }
  html[data-eco-theme="hub"] .hub-tabs { min-height:46px; }
  html[data-eco-theme="hub"] .hub-tab { min-height:44px; padding:0 15px; font-size:13px; }
  html[data-eco-theme="hub"] .intro { padding:22px 18px; border-radius:20px; }
  html[data-eco-theme="hub"] .intro h1 { font-size:clamp(31px,8.5vw,39px); line-height:1.02; }
  html[data-eco-theme="hub"] .intro .lead { margin-top:12px; font-size:14px; line-height:1.6; }
  html[data-eco-theme="hub"] .release-note { gap:7px; }
  html[data-eco-theme="hub"] .eco-release-chip,html[data-eco-theme="hub"] .eco-baseline-chip { min-height:26px; padding:5px 9px; font-size:10px; letter-spacing:0; }
  html[data-eco-theme="hub"] .eyebrow { font-size:11px; }
  html[data-eco-theme="hub"] .eco-workspace-news { min-height:0; padding:14px 42px 14px 14px; gap:11px; }
  html[data-eco-theme="hub"] .mw-hub-release-copy h2 { font-size:17px; line-height:1.15; }
  html[data-eco-theme="hub"] .mw-hub-release-copy p { font-size:13px; line-height:1.5; }
  html[data-eco-theme="hub"] .eco-workspace-news-close { width:44px; height:44px; min-height:44px; }
  html[data-eco-theme="hub"] .eco-readiness-sweep { margin-block:14px; }
  html[data-eco-theme="hub"] .section-head { gap:5px; margin:22px 0 12px; }
  html[data-eco-theme="hub"] .section-head h2 { font-size:21px; }
  html[data-eco-theme="hub"] .section-head p { font-size:13px; }
  html[data-eco-theme="hub"] .apps,html[data-eco-theme="hub"] .apps.has-fefo { grid-template-columns:1fr; gap:11px; }
  html[data-eco-theme="hub"] .app-card { min-height:0; padding:16px; border-radius:17px; }
  html[data-eco-theme="hub"] .app-card h3 { margin:10px 0 5px; font-size:20px; }
  html[data-eco-theme="hub"] .app-card p { max-width:58ch; margin:0 0 13px; font-size:14px; line-height:1.5; }
  html[data-eco-theme="hub"] .card-top { align-items:center; }
  html[data-eco-theme="hub"] .card-bottom { flex-wrap:wrap; gap:10px; }
  html[data-eco-theme="hub"] .open-link { min-height:46px; padding:0 14px; font-size:13px; }
  html[data-eco-theme="hub"] .role { font-size:11px; }
  html[data-eco-theme="hub"] .quick-links { display:grid; grid-template-columns:1fr; gap:8px; }
  html[data-eco-theme="hub"] .quick-link { min-height:46px; padding:12px; font-size:13px; }
  html[data-eco-theme="hub"] footer { gap:6px; padding-bottom:calc(16px + env(safe-area-inset-bottom)); font-size:11px; line-height:1.45; }
  html[data-eco-theme="hub"] .hub-news-view { gap:15px; }
  html[data-eco-theme="hub"] .hub-news-hero { grid-template-columns:1fr; gap:12px; padding:20px 17px; border-radius:21px; }
  html[data-eco-theme="hub"] .hub-news-hero h1 { font-size:clamp(32px,9vw,42px); }
  html[data-eco-theme="hub"] .hub-news-intro { font-size:14px; line-height:1.6; }
  html[data-eco-theme="hub"] .hub-news-stage { min-height:185px; margin-top:0; border-radius:17px; }
  html[data-eco-theme="hub"] .hub-news-stage-caption { font-size:9px; }
  html[data-eco-theme="hub"] .hub-news-primary,html[data-eco-theme="hub"] .hub-news-quiet { min-height:46px; font-size:13px; }
  html[data-eco-theme="hub"] .hub-news-toolbar { display:grid; gap:12px; }
  html[data-eco-theme="hub"] .hub-news-filters { display:flex; width:100%; gap:7px; overflow-x:auto; padding:2px 2px 8px; overscroll-behavior-x:contain; scroll-snap-type:x proximity; }
  html[data-eco-theme="hub"] .hub-news-filters button { flex:0 0 auto; min-height:44px; padding:0 13px; font-size:12px; scroll-snap-align:start; }
  html[data-eco-theme="hub"] .hub-news-card { padding:14px; }
  html[data-eco-theme="hub"] .hub-news-card h3 { font-size:17px; }
  html[data-eco-theme="hub"] .hub-news-card-subtitle { font-size:13px; }
  html[data-eco-theme="hub"] .hub-news-card-summary { font-size:13px; line-height:1.55; }
  html[data-eco-theme="hub"] .hub-news-details summary { min-height:44px; display:inline-flex; align-items:center; font-size:12px; }
  html[data-eco-theme="hub"] .hub-news-details ul { font-size:13px; line-height:1.55; }
  html[data-eco-theme="hub"] .hub-news-impact { font-size:12px; line-height:1.55; }
  html[data-eco-theme="hub"] .hub-news-track,html[data-eco-theme="hub"] .hub-news-current { min-height:24px; font-size:9px; }
  html[data-eco-theme="hub"] .hub-news-version,html[data-eco-theme="hub"] .hub-news-date { font-size:10px; }
  html[data-eco-theme="hub"] .hub-news-next { grid-template-columns:42px minmax(0,1fr); padding:14px; gap:10px; }
  html[data-eco-theme="hub"] .hub-news-next p { font-size:13px; }
  html[data-eco-theme="hub"] .hub-news-pending { grid-column:2; min-height:27px; font-size:10px; }
}
@media (max-width:380px) {
  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"] .brand-sub { display:none; }
  html[data-eco-theme="hub"] .hub-tab { padding-inline:11px; }
  html[data-eco-theme="hub"] .hub-news-hero { padding:17px 14px; }
  html[data-eco-theme="hub"] .hub-news-stage { min-height:160px; }
}
@media (max-width:760px) and (orientation:landscape) {
  .eco-mobile-more-sheet { max-height:92dvh; }
  html[data-eco-theme="hub"] .hub-news-hero { grid-template-columns:minmax(0,1.15fr) minmax(180px,.85fr); align-items:center; }
  html[data-eco-theme="hub"] .hub-news-stage { min-height:170px; }
}
@media (max-width:760px) {
  html[data-eco-keyboard-open="true"] .mobile-dock { transform:translateY(130%); pointer-events:none; }
  html[data-eco-keyboard-open="true"] .combo-dock { opacity:0; pointer-events:none; transform:translate(-50%,130%); }
}
@media (prefers-reduced-motion:reduce) {
  *,*::before,*::after { scroll-behavior:auto !important; animation-duration:.01ms !important; animation-iteration-count:1 !important; transition-duration:.01ms !important; }
}
