:root {
  color-scheme: dark;
  --ink: #f4f5f7;
  --muted: #c1c5ca;
  --navy: #082330;
  --black: #070d11;
  --card: #1b1f22;
  --line: rgba(255, 255, 255, .48);
  --cyan: #35b4e5;
  --blue: #178ddd;
  --purple: #a700ef;
  --red: #ff2d21;
  --yellow: #f6c928;
  --green: #19c763;
  --orange: #ff8d25;
  --pink: #ff00a8;
  --indigo: #3e52b6;
  --safe-top: env(safe-area-inset-top, 0px);
  --safe-right: env(safe-area-inset-right, 0px);
  --safe-bottom: env(safe-area-inset-bottom, 0px);
  --safe-left: env(safe-area-inset-left, 0px);
  font-family: "Avenir Next", Avenir, Inter, Arial, sans-serif;
}

* { box-sizing: border-box; }
html { min-height: 100%; background: var(--navy); -webkit-text-size-adjust: 100%; text-size-adjust: 100%; }
body { margin: 0; min-height: 100vh; min-height: 100dvh; color: var(--ink); background: var(--navy); }
body.menu-open { overflow: hidden; overscroll-behavior: none; }
button, a { font: inherit; }
button { color: inherit; }
button, input { -webkit-tap-highlight-color: transparent; }
button, a { touch-action: manipulation; }

.app-shell { min-height: 100vh; min-height: 100dvh; padding-bottom: calc(124px + var(--safe-bottom)); }
.topbar { position: sticky; top: 0; z-index: 20; display: flex; align-items: center; justify-content: space-between; min-height: 66px; padding-block: max(10px, var(--safe-top)); padding-left: max(18px, var(--safe-left), calc((100vw - 760px) / 2)); padding-right: max(18px, var(--safe-right), calc((100vw - 760px) / 2)); background: rgba(7, 13, 17, .97); border-bottom: 1px solid rgba(255,255,255,.08); backdrop-filter: blur(16px); }
.brand { display: flex; gap: 10px; align-items: center; padding: 0; border: 0; background: transparent; color: var(--cyan); font-weight: 800; letter-spacing: .04em; cursor: pointer; }
.brand-mark { width: 40px; height: 40px; border-radius: 10px; object-fit: cover; box-shadow: 0 0 0 1px rgba(255,255,255,.12); }
.topbar-actions { display: flex; align-items: center; gap: 12px; }
.status { border: 1px solid rgba(25,199,99,.4); border-radius: 999px; padding: 7px 10px; color: #49e58c; font-size: .72rem; font-weight: 700; letter-spacing: .03em; background: rgba(25,199,99,.1); }
.status.offline { color: #ff746b; border-color: rgba(255,45,33,.42); background: rgba(255,45,33,.1); }
.menu-button { display: grid; gap: 4px; width: 42px; height: 42px; place-content: center; border: 1px solid rgba(255,255,255,.14); border-radius: 9px; background: rgba(255,255,255,.04); cursor: pointer; }
.menu-button span { display: block; width: 20px; height: 2px; border-radius: 2px; background: white; }
.menu-backdrop { position: fixed; inset: 0; z-index: 49; opacity: 0; background: rgba(0,0,0,.62); transition: opacity .22s ease; }
.menu-backdrop.show { opacity: 1; }
.app-menu { position: fixed; top: 0; right: 0; bottom: 0; min-height: 100dvh; z-index: 50; width: min(88vw, 390px); padding: max(20px, var(--safe-top)) max(18px, var(--safe-right)) max(22px, var(--safe-bottom)) max(18px, var(--safe-left)); overflow-y: auto; overscroll-behavior: contain; transform: translateX(105%); background: #090f14; border-left: 1px solid rgba(255,255,255,.1); box-shadow: -22px 0 55px rgba(0,0,0,.45); transition: transform .22s ease; }
.app-menu.open { transform: translateX(0); }
.menu-head { display: flex; align-items: center; justify-content: space-between; margin-bottom: 17px; }
.menu-head div { display: grid; gap: 2px; color: white; }
.menu-kicker { color: var(--cyan); font-size: .72rem; letter-spacing: .12em; }
.menu-close { width: 42px; height: 42px; border: 0; border-radius: 9px; background: rgba(255,255,255,.07); color: white; font: 300 2rem/1 Arial, sans-serif; cursor: pointer; }
.menu-search input { width: 100%; margin-bottom: 15px; padding: 13px 14px; border: 1px solid rgba(53,180,229,.3); border-radius: 10px; outline: none; color: white; background: #141c22; font-size: 16px; line-height: 1.25; appearance: none; }
.menu-search input:focus { border-color: var(--cyan); box-shadow: 0 0 0 3px rgba(53,180,229,.12); }
.menu-nav { display: grid; gap: 4px; }
.menu-group { display: grid; gap: 2px; padding: 8px 0 12px; }
.menu-group + .menu-group { border-top: 1px solid rgba(255,255,255,.1); }
.menu-group h2 { margin: 0; padding: 8px 11px 5px; color: var(--cyan); font-size: .66rem; letter-spacing: .12em; }
.menu-nav button { display: flex; align-items: center; justify-content: space-between; width: 100%; padding: 12px 11px; border: 0; border-bottom: 1px solid rgba(255,255,255,.07); text-align: left; color: #edf1f3; background: transparent; cursor: pointer; }
.menu-nav button:hover, .menu-nav button:focus-visible { color: var(--cyan); background: rgba(53,180,229,.07); }
.menu-empty { color: var(--muted); font-family: Avenir, Arial, sans-serif; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border: 0; }

main { width: min(100%, 760px); margin: 0 auto; padding: 44px max(18px, var(--safe-right)) 0 max(18px, var(--safe-left)); }
main:focus { outline: none; }
.content-panel { --page-tone: var(--cyan); padding: 26px 20px 30px; overflow: hidden; border: 1px solid rgba(255,255,255,.06); border-radius: 8px; background: var(--black); box-shadow: 0 24px 54px rgba(0,0,0,.28); }
.page-tone-yellow { --page-tone: var(--yellow); }
.page-tone-green { --page-tone: var(--green); }
.page-tone-red, .report-panel { --page-tone: var(--red); }
.page-heading { text-align: center; }
.eyebrow { display: inline-block; margin: 0 0 12px; padding: 3px 9px; border-radius: 999px; color: var(--cyan); background: rgba(53,180,229,.13); font-size: .68rem; font-weight: 800; letter-spacing: .05em; }
.content-panel .eyebrow { color: var(--page-tone); background: color-mix(in srgb, var(--page-tone), transparent 87%); }
h1 { margin: 0; font-size: clamp(1.85rem, 7vw, 2.55rem); line-height: 1.05; letter-spacing: -.035em; }
.intro { max-width: 610px; margin: 17px auto 24px; color: var(--muted); font-size: .94rem; line-height: 1.52; }
.page-heading::after { content: ""; display: block; width: 100%; height: 1px; margin: 22px 0 24px; background: var(--line); }

.hero-media { position: relative; margin: 0 0 28px; overflow: hidden; border-radius: 9px; background: #111; aspect-ratio: 16 / 9; }
.hero-media::after { content: ""; position: absolute; inset: 0; pointer-events: none; box-shadow: inset 0 0 0 1px rgba(255,255,255,.08); }
.hero-media img { display: block; width: 100%; height: 100%; object-fit: cover; }
.home-panel .hero-media { aspect-ratio: 2 / 1; }

.action-grid { display: grid; gap: 14px; }
.page-tool-sections { display: grid; gap: 26px; }
.page-tool-section + .page-tool-section { padding-top: 22px; border-top: 1px solid rgba(255,255,255,.45); }
.page-tool-section > header { margin-bottom: 13px; }
.page-tool-section > header p { margin: 0 0 6px; color: var(--page-tone); font-size: .62rem; font-weight: 900; letter-spacing: .1em; }
.page-tool-section > header h2 { margin: 0; font-size: 1.18rem; letter-spacing: -.015em; }
.resource-grid { grid-template-columns: repeat(auto-fit, minmax(135px, 1fr)); gap: 10px; }
.resource-grid .action-card { position: relative; display: flex; flex-direction: column; align-items: flex-start; gap: 9px; min-height: 122px; padding: 12px; }
.resource-grid .action-icon { width: 40px; height: 40px; border-radius: 8px; }
.resource-grid .action-icon img { width: 24px; height: 24px; }
.resource-grid .action-copy strong { font-size: .77rem; line-height: 1.2; }
.resource-grid .action-copy span { margin-top: 4px; font-size: .66rem; line-height: 1.28; }
.resource-grid .chevron { display: none; }
.action-card { --tone: var(--cyan); width: 100%; display: grid; grid-template-columns: 60px 1fr auto; align-items: center; gap: 16px; min-height: 86px; padding: 12px 18px 12px 12px; text-align: left; border: 1px solid rgba(255,255,255,.07); border-radius: 12px; background: var(--card); box-shadow: 0 8px 20px rgba(0,0,0,.13); cursor: pointer; transition: transform .18s ease, border-color .18s ease, background .18s ease; }
.action-card:hover { transform: translateY(-1px); border-color: color-mix(in srgb, var(--tone), transparent 45%); background: #202528; }
.action-card:focus-visible { outline: 3px solid var(--tone); outline-offset: 3px; }
.action-icon { display: grid; place-items: center; width: 60px; height: 60px; border-radius: 9px; color: white; background: var(--tone); font-family: Arial, sans-serif; font-size: 1.85rem; font-weight: 900; box-shadow: inset 0 0 0 1px rgba(255,255,255,.12); }
.action-icon img { width: 28px; height: 28px; object-fit: contain; filter: brightness(0) invert(1); }
.action-copy strong, .action-copy span { display: block; }
.action-copy strong { margin-bottom: 5px; font-size: .98rem; line-height: 1.15; }
.action-copy span { color: var(--muted); font-family: Avenir, Arial, sans-serif; font-size: .82rem; line-height: 1.35; }
.chevron { color: var(--tone); font-family: Arial, sans-serif; font-size: 2rem; font-weight: 300; }
.action-card.featured { color: #06131a; border-color: transparent; background: var(--cyan); }
.action-card.featured .action-icon { color: var(--cyan); background: #050b0f; }
.action-card.featured .action-icon img { filter: brightness(0) invert(1); }
.action-card.featured .action-copy span { color: #13343f; }
.action-card.featured .chevron { color: #050b0f; }
.action-card.disabled { filter: grayscale(1); opacity: .48; cursor: not-allowed; box-shadow: none; }
.action-card.disabled:hover { transform: none; border-color: rgba(255,255,255,.07); background: var(--card); }
.tone-cyan { --tone: var(--cyan); }
.tone-blue { --tone: var(--blue); }
.tone-purple { --tone: var(--purple); }
.tone-red { --tone: var(--red); }
.tone-yellow { --tone: var(--yellow); }
.tone-green { --tone: var(--green); }
.tone-orange { --tone: var(--orange); }
.tone-pink { --tone: var(--pink); }
.tone-indigo { --tone: var(--indigo); }
.tone-yellow .action-icon { color: #191600; }
.tone-yellow .action-icon img { filter: brightness(0); }

.back { margin: 0 0 18px; padding: 9px 0; border: 0; background: transparent; color: var(--cyan); font-size: .84rem; font-weight: 800; cursor: pointer; }
.fact-grid { display: grid; gap: 14px; margin: 0 0 28px; }
.fact-card { display: grid; grid-template-columns: 122px 1fr; gap: 17px; align-items: center; overflow: hidden; border: 1px solid rgba(255,255,255,.08); border-radius: 10px; background: var(--card); }
.fact-card img { width: 122px; height: 122px; padding: 6px; object-fit: contain; background: white; }
.fact-card div { padding: 13px 16px 13px 0; }
.fact-card h2 { margin: 0 0 7px; font-size: .88rem; color: var(--cyan); }
.fact-card p { margin: 0; color: var(--muted); font-family: Avenir, Arial, sans-serif; font-size: .82rem; line-height: 1.42; }

.instruction-guide { margin: 30px 0 0; padding-top: 28px; border-top: 1px solid var(--line); }
.related-tools { margin-top: 30px; padding-top: 22px; border-top: 1px solid rgba(255,255,255,.16); }
.related-heading { display: flex; align-items: baseline; justify-content: space-between; gap: 12px; margin-bottom: 12px; }
.related-heading p { margin: 0; color: var(--page-tone); font-size: .62rem; font-weight: 900; letter-spacing: .1em; }
.related-heading h2 { margin: 0; font-size: .82rem; letter-spacing: .04em; }
.external-reference { margin: 18px 0 0; padding-top: 15px; border-top: 1px solid rgba(255,255,255,.1); color: var(--muted); font-family: Avenir, Arial, sans-serif; font-size: .76rem; line-height: 1.45; }
.external-reference > span { display: block; margin-bottom: 5px; color: #87939a; font-size: .61rem; font-weight: 800; letter-spacing: .1em; }
.external-reference a { color: var(--cyan); text-underline-offset: 3px; }
.external-reference a:hover, .external-reference a:focus-visible { color: white; }
.guide-heading { margin-bottom: 22px; text-align: center; }
.guide-heading h2 { margin: 0; font-size: clamp(1.35rem, 5vw, 1.9rem); line-height: 1.08; }
.guide-heading > p:last-child { max-width: 570px; margin: 12px auto 0; color: var(--muted); font-family: Avenir, Arial, sans-serif; font-size: .9rem; line-height: 1.5; }
.guide-progress { margin-top: 0; }
.instruction-list { display: grid; gap: 18px; }
.instruction-step { display: grid; grid-template-columns: 28px 172px minmax(0, 1fr); gap: 14px; align-items: start; min-height: 150px; padding: 12px; overflow: hidden; border: 1px solid rgba(255,255,255,.09); border-radius: 13px; background: var(--card); box-shadow: 0 10px 24px rgba(0,0,0,.16); }
.instruction-check { display: grid; align-self: start; place-items: start center; padding-top: 51px; }
.instruction-check input { width: 23px; height: 23px; margin: 0; accent-color: var(--blue); }
.instruction-step > img { display: block; align-self: start; width: 100%; height: 126px; object-fit: contain; border-radius: 8px; background: #10161a; }
.instruction-copy { align-self: start; min-width: 0; padding: 3px 8px 5px 0; }
.instruction-copy h3 { margin: 0; color: var(--cyan); font-size: .92rem; font-weight: 900; line-height: 1.3; }
.instruction-copy > p { margin: 9px 0 0; color: var(--muted); font-family: Avenir, Arial, sans-serif; font-size: .86rem; line-height: 1.48; }
.instruction-step.done { border-color: rgba(25,199,99,.4); }
.instruction-step.done .instruction-copy h3 { color: #7de5aa; }
.guide-note { margin: 12px 0 0; padding: 10px 11px; border-left: 4px solid var(--orange); border-radius: 4px 9px 9px 4px; color: #ffd1aa; background: rgba(255,141,37,.09); font-family: Avenir, Arial, sans-serif; font-size: .76rem; font-weight: 700; line-height: 1.4; }
.issue-fix-list { display: grid; gap: 16px; }
.issue-fix-card { overflow: hidden; border: 1px solid rgba(255,255,255,.1); border-radius: 13px; background: var(--card); box-shadow: 0 10px 24px rgba(0,0,0,.17); }
.problem-panel { display: grid; grid-template-columns: 48px minmax(0,1fr); gap: 14px; align-items: start; min-height: 118px; padding: 17px; color: white; background: linear-gradient(145deg, #c51d19, #7e1417); cursor: pointer; list-style: none; }
.problem-panel::-webkit-details-marker { display: none; }
.problem-icon { display: grid; width: 48px; height: 48px; place-items: center; border: 1px solid rgba(255,255,255,.28); border-radius: 10px; background: rgba(7,13,17,.25); }
.problem-icon img { width: 32px; height: 32px; object-fit: contain; filter: none; }
.problem-copy { display: block; min-width: 0; }
.problem-label, .solution-label { margin: 0 0 9px; font-size: .62rem; font-weight: 900; letter-spacing: .1em; }
.problem-label { color: #ffd1ce; }
.problem-copy > strong { display: block; font-size: 1rem; line-height: 1.18; }
.problem-copy > strong + span { display: block; margin-top: 8px; color: #ffe8e6; font-family: Avenir, Arial, sans-serif; font-size: .78rem; line-height: 1.42; }
.issue-toggle { display: inline-flex; min-height: 30px; align-items: center; margin-top: 12px; padding: 7px 11px; border: 1px solid rgba(255,255,255,.35); border-radius: 999px; color: #fff; background: rgba(7,13,17,.18); font-size: .62rem; font-weight: 900; letter-spacing: .06em; }
.issue-toggle::before { content: "SEE SOLUTION"; }
.issue-fix-card[open] .issue-toggle::before { content: "HIDE SOLUTION"; }
.solution-panel { display: grid; grid-template-columns: 142px minmax(0,1fr); gap: 16px; padding: 13px; }
.solution-panel > img { align-self: stretch; width: 100%; min-height: 132px; height: 100%; border-radius: 8px; object-fit: contain; background: #0e1519; }
.solution-panel > div { align-self: center; padding: 4px 5px 4px 0; }
.solution-label { color: #65e99c; }
.solution-panel h4 { margin: 0; font-size: .9rem; line-height: 1.25; }
.solution-panel ul { display: grid; gap: 6px; margin: 10px 0 0; padding-left: 17px; color: var(--muted); font-family: Avenir, Arial, sans-serif; font-size: .74rem; line-height: 1.4; }
.solution-panel li::marker { color: var(--green); font-weight: 900; }
.guide-groups { display: grid; gap: 14px; }
.guide-group { overflow: hidden; border: 1px solid rgba(255,255,255,.09); border-radius: 12px; background: var(--card); }
.care-group h3 { margin: 0; padding: 15px 17px; font-size: .93rem; letter-spacing: .035em; }
.care-do h3 { color: #65e99c; background: rgba(25,199,99,.1); }
.care-dont h3 { color: #ff8c85; background: rgba(255,45,33,.1); }
.guide-group-body { padding: 15px 17px 17px; }
.guide-group-body > p { margin: 0 0 12px; color: var(--muted); font-family: Avenir, Arial, sans-serif; font-size: .82rem; line-height: 1.4; }
.guide-group-body ul { display: grid; gap: 10px; margin: 0; padding: 0; list-style: none; }
.guide-group-body li { position: relative; padding-left: 20px; color: #edf2f4; font-family: Avenir, Arial, sans-serif; font-size: .87rem; line-height: 1.45; }
.guide-group-body li::before { content: "•"; position: absolute; left: 2px; color: var(--cyan); font-weight: 900; }
.guide-group-body li strong, .guide-group-body li span { display: block; }
.guide-group-body li span { margin-top: 4px; color: var(--muted); font-size: .82rem; font-weight: 400; }
.guide-group-body li.has-icon { display: grid; grid-template-columns: 56px minmax(0,1fr); gap: 12px; align-items: center; min-height: 60px; padding: 6px 0; }
.guide-group-body li.has-icon::before { display: none; }
.guide-item-icon { width: 56px; height: 56px; border-radius: 50%; object-fit: cover; background: white; }
.care-group.has-visual-items .guide-group-body ul { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.care-group.has-visual-items .guide-group-body li.has-icon { grid-template-columns: 52px minmax(0, 1fr); padding: 8px; border: 1px solid rgba(255,255,255,.07); border-radius: 9px; }
.checklist-sections { display: grid; gap: 30px; }
.checklist-section-heading { margin: 0 0 13px; }
.checklist-section-heading p { margin: 0 0 4px; color: var(--cyan); font-size: .68rem; font-weight: 900; letter-spacing: .12em; }
.checklist-section-heading h2 { margin: 0; font-size: 1rem; letter-spacing: .035em; }
.troubleshooting-topic summary { position: relative; padding: 16px 44px 16px 17px; cursor: pointer; color: white; font-size: .9rem; font-weight: 900; list-style: none; }
.troubleshooting-topic summary::-webkit-details-marker { display: none; }
.troubleshooting-topic summary::after { content: "+"; position: absolute; right: 17px; margin-top: -2px; color: var(--cyan); font: 300 1.45rem/1 Arial, sans-serif; }
.troubleshooting-topic[open] summary::after { content: "−"; }
.troubleshooting-topic summary span { display: block; margin-top: 5px; color: var(--muted); font-family: Avenir, Arial, sans-serif; font-size: .75rem; font-weight: 400; line-height: 1.35; }
.troubleshooting-topic[open] .guide-group-body { border-top: 1px solid rgba(255,255,255,.08); }

.checklist-head { display: flex; justify-content: space-between; gap: 14px; align-items: end; margin: 28px 0 14px; }
.progress { color: var(--cyan); font-weight: 800; }
.step-list { display: grid; gap: 10px; }
.step { display: flex; gap: 14px; align-items: flex-start; padding: 16px; border: 1px solid rgba(255,255,255,.08); border-radius: 11px; background: var(--card); }
.step input { flex: 0 0 auto; width: 23px; height: 23px; margin: 0; accent-color: var(--blue); }
.step label { font-family: Avenir, Arial, sans-serif; font-size: .92rem; line-height: 1.45; }
.step.done label { color: #8d979d; text-decoration: line-through; }
.reset { margin-top: 18px; padding: 12px 15px; border: 1px solid rgba(255,255,255,.18); border-radius: 9px; background: transparent; color: var(--muted); cursor: pointer; }
.review-note { margin: 0 0 20px; padding: 14px 16px; border-left: 4px solid #ffd575; color: #ffe5a4; background: rgba(255,213,117,.08); border-radius: 4px 10px 10px 4px; font-family: Avenir, Arial, sans-serif; font-size: .87rem; line-height: 1.48; }

.issue-form { display: grid; gap: 18px; }
.report-form-section { display: grid; gap: 14px; margin-top: 4px; padding: 18px; border: 1px solid rgba(255,255,255,.1); border-radius: 13px; background: rgba(255,255,255,.025); }
.report-form-heading { padding-bottom: 13px; border-bottom: 1px solid rgba(255,255,255,.09); }
.report-form-heading .eyebrow { margin-bottom: 6px; }
.report-form-heading h2 { margin: 0; color: #f8fafb; font-size: 1.08rem; }
.report-form-heading > p:last-child { margin: 8px 0 0; color: var(--muted); font-family: Avenir, Arial, sans-serif; font-size: .78rem; line-height: 1.45; }
.form-field-featured { padding: 13px; border: 1px solid rgba(53,180,229,.28); border-radius: 11px; background: rgba(53,180,229,.07); }
.context-note { margin: 0; color: #9ee7ff; font-family: Avenir, Arial, sans-serif; font-size: .76rem; line-height: 1.4; }
.photo-field { position: relative; display: grid; place-items: center; min-height: 190px; overflow: hidden; border: 2px dashed rgba(53,180,229,.55); border-radius: 13px; background: rgba(53,180,229,.07); cursor: pointer; }
.photo-field:focus-within { outline: 3px solid var(--cyan); outline-offset: 3px; }
.photo-field input { position: absolute; width: 1px; height: 1px; opacity: 0; }
.photo-prompt { z-index: 2; display: grid; gap: 7px; padding: 25px; text-align: center; color: var(--cyan); }
.photo-prompt::before { content: "+"; display: grid; place-items: center; width: 56px; height: 56px; margin: 0 auto 5px; border-radius: 50%; color: #041216; background: var(--cyan); font: 700 2.1rem/1 Arial, sans-serif; }
.photo-prompt small { color: var(--muted); font-family: Avenir, Arial, sans-serif; }
.photo-prompt.has-photo { position: absolute; right: 10px; bottom: 10px; padding: 8px 10px; border-radius: 8px; color: white; background: rgba(0,0,0,.72); }
.photo-prompt.has-photo::before, .photo-prompt.has-photo small { display: none; }
#issuePhotoPreview { width: 100%; max-height: 390px; object-fit: contain; background: #05090c; }
.form-field { display: grid; gap: 7px; }
.form-field > label, .urgency-field legend { color: #f8fafb; font-size: .84rem; font-weight: 800; letter-spacing: .015em; }
.form-field > label span { color: var(--muted); font-family: Avenir, Arial, sans-serif; font-size: .76rem; font-weight: 400; }
.form-field input, .form-field select, .form-field textarea { width: 100%; min-height: 50px; padding: 12px 13px; border: 1px solid rgba(255,255,255,.17); border-radius: 10px; outline: none; color: white; background: #171e23; font-family: Avenir, Arial, sans-serif; font-size: 1rem; }
.form-field textarea { min-height: 124px; resize: vertical; line-height: 1.45; }
.form-field input:focus, .form-field select:focus, .form-field textarea:focus { border-color: var(--cyan); box-shadow: 0 0 0 3px rgba(53,180,229,.12); }
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.urgency-field { display: grid; grid-template-columns: repeat(3, 1fr); gap: 9px; margin: 0; padding: 0; border: 0; }
.urgency-field legend { grid-column: 1 / -1; margin-bottom: 7px; }
.urgency-field label { position: relative; min-width: 0; cursor: pointer; }
.urgency-field input { position: absolute; opacity: 0; }
.urgency-field span { display: grid; gap: 5px; min-height: 76px; padding: 12px 10px; border: 1px solid rgba(255,255,255,.14); border-radius: 10px; color: white; background: #171e23; font-size: .82rem; font-weight: 800; }
.urgency-field small { color: var(--muted); font-family: Avenir, Arial, sans-serif; font-size: .68rem; font-weight: 400; line-height: 1.25; }
.urgency-field input:checked + span { border-color: var(--cyan); background: rgba(53,180,229,.14); box-shadow: inset 0 0 0 1px var(--cyan); }
.urgency-field input:focus-visible + span { outline: 3px solid var(--cyan); outline-offset: 2px; }
.privacy-note { margin: 0; padding: 12px 14px; border-radius: 9px; color: var(--muted); background: rgba(255,255,255,.05); font-family: Avenir, Arial, sans-serif; font-size: .78rem; line-height: 1.45; }
.primary-submit { width: 100%; min-height: 52px; padding: 13px 16px; border: 0; border-radius: 10px; color: #031216; background: var(--cyan); font-weight: 900; cursor: pointer; }
.report-panel .primary-submit { color: white; background: var(--red); }
.primary-submit:disabled { cursor: default; opacity: .45; }
.outbox-link { display: flex; align-items: center; justify-content: center; gap: 9px; min-height: 48px; border: 1px solid rgba(255,255,255,.15); border-radius: 10px; color: var(--muted); background: transparent; cursor: pointer; }
.queue-count { display: grid; place-items: center; min-width: 24px; height: 24px; padding: 0 6px; border-radius: 999px; color: white; background: var(--orange); font-size: .72rem; }
.confirmation-panel { padding-block: 50px; text-align: center; }
.confirmation-mark { display: grid; place-items: center; width: 76px; height: 76px; margin: 0 auto 18px; border-radius: 50%; color: #04150c; background: var(--green); font: 900 2.4rem/1 Arial, sans-serif; }
.outbox-actions { display: grid; gap: 10px; margin-top: 22px; }
.outbox-actions .reset { width: 100%; margin-top: 0; }
.issue-list { display: grid; gap: 12px; }
.queued-issue { padding: 16px; border: 1px solid rgba(255,141,37,.28); border-radius: 11px; background: rgba(255,141,37,.06); }
.queued-issue div { display: flex; flex-wrap: wrap; align-items: baseline; justify-content: space-between; gap: 7px; }
.queued-issue div span { color: var(--orange); font-size: .74rem; }
.queued-issue p { margin: 11px 0; color: var(--muted); font-family: Avenir, Arial, sans-serif; font-size: .86rem; line-height: 1.4; }
.queued-issue small { display: block; color: #929da3; font-family: Avenir, Arial, sans-serif; }
.queued-issue .issue-error { margin-top: 7px; color: #ff938c; }
.discard-issue { margin-top: 14px; padding: 8px 0; border: 0; color: #ff938c; background: transparent; font-size: .74rem; font-weight: 800; cursor: pointer; }
.empty-outbox { padding: 34px 18px; border: 1px dashed rgba(255,255,255,.16); border-radius: 12px; text-align: center; color: var(--muted); }
.empty-outbox p { margin-bottom: 0; font-family: Avenir, Arial, sans-serif; font-size: .85rem; }

.bottom-nav { position: fixed; left: calc(12px + var(--safe-left)); right: calc(12px + var(--safe-right)); bottom: calc(10px + var(--safe-bottom)); z-index: 35; display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 3px; width: min(calc(100% - var(--safe-left) - var(--safe-right) - 24px), 540px); min-height: 70px; margin-inline: auto; padding: 5px; border: 1px solid rgba(255,255,255,.14); border-radius: 25px; background: rgba(20,27,33,.96); box-shadow: 0 14px 34px rgba(0,0,0,.42); backdrop-filter: blur(18px); }
.bottom-nav button { display: grid; grid-template-rows: 33px auto; place-items: center; min-width: 0; min-height: 58px; padding: 4px 2px 5px; border: 0; border-radius: 20px; color: #d9dfe3; background: transparent; font-size: .61rem; font-weight: 700; line-height: 1; cursor: pointer; transition: color .18s ease, background .18s ease, transform .18s ease; }
.bottom-nav button > * { pointer-events: none; }
.bottom-nav button:hover, .bottom-nav button:focus-visible { color: white; background: rgba(255,255,255,.07); }
.bottom-nav button:focus-visible { outline: 2px solid var(--cyan); outline-offset: 1px; }
.bottom-nav button.active { color: #6dcef2; background: rgba(53,180,229,.14); }
.bottom-nav-icon { display: grid; width: 32px; height: 32px; place-items: center; border-radius: 9px; }
.bottom-nav-icon img { width: 23px; height: 23px; object-fit: contain; filter: brightness(0) invert(1); opacity: .92; }
.bottom-nav button.active .bottom-nav-icon { background: var(--cyan); box-shadow: inset 0 0 0 1px rgba(255,255,255,.18); }
.bottom-nav button.active .bottom-nav-icon img { filter: brightness(0); opacity: .85; }
.bottom-nav-agua { overflow: visible; }
.agua-egg { position: relative; width: 29px; height: 32px; border: 1.5px solid #d9f3ff; border-radius: 50% 50% 46% 46% / 61% 61% 39% 39%; background: radial-gradient(circle at 68% 30%, #35b4e5 0 12%, transparent 13%), radial-gradient(ellipse at 30% 56%, #178ddd 0 16%, transparent 17%), radial-gradient(circle at 67% 72%, #8fe3ff 0 10%, transparent 11%), linear-gradient(145deg, #fff 10%, #d9f3ff 72%, #9bdaf2); box-shadow: inset -3px -3px 0 rgba(23,141,221,.16), 0 3px 6px rgba(0,0,0,.35); transform: rotate(4deg); }
.agua-egg::after { content: ""; position: absolute; top: 5px; left: 6px; width: 5px; height: 8px; border-radius: 50%; background: rgba(255,255,255,.88); transform: rotate(25deg); }
.bottom-nav-agua:hover .agua-egg, .bottom-nav-agua:focus-visible .agua-egg { box-shadow: inset -4px -5px 0 rgba(23,141,221,.16), 0 4px 9px rgba(0,0,0,.38), 0 0 0 3px rgba(53,180,229,.32); }

.toast { position: fixed; left: calc(18px + var(--safe-left)); right: calc(18px + var(--safe-right)); bottom: calc(92px + var(--safe-bottom)); z-index: 40; width:auto; max-width:520px; margin-inline:auto; padding: 14px 16px; transform: translateY(130%); opacity: 0; pointer-events: none; border: 1px solid rgba(53,180,229,.3); border-radius: 12px; color: var(--ink); background: #152a34; box-shadow: 0 20px 50px rgba(0,0,0,.46); transition: .25s ease; }
.toast.show { transform: translateY(0); opacity: 1; }

@media (max-width: 620px) {
  .topbar { padding-left: max(14px, var(--safe-left)); padding-right: max(14px, var(--safe-right)); }
  main { padding: 24px max(10px, var(--safe-right)) 0 max(10px, var(--safe-left)); }
  .content-panel { padding: 22px 14px 26px; border-radius: 6px; }
  .home-panel .hero-media, .hero-media { aspect-ratio: 4 / 3; }
  .action-card { grid-template-columns: 52px 1fr auto; gap: 12px; min-height: 76px; padding: 11px 13px 11px 10px; }
  .action-icon { width: 52px; height: 52px; font-size: 1.55rem; }
  .action-copy strong { font-size: .87rem; }
  .action-copy span { font-size: .75rem; }
  .fact-card { grid-template-columns: 90px 1fr; }
  .fact-card img { width: 90px; height: 112px; }
  .instruction-step { grid-template-columns: 24px 96px minmax(0,1fr); gap: 9px; min-height: 114px; padding: 9px; }
  .instruction-check { padding-top: 37px; }
  .instruction-check input { width: 21px; height: 21px; }
  .instruction-step > img { height: 96px; }
  .instruction-copy { padding-right: 2px; }
  .instruction-copy h3 { font-size: .76rem; }
  .instruction-copy > p { margin-top: 6px; font-size: .73rem; line-height: 1.38; }
  .guide-note { margin-top: 8px; padding: 8px 9px; font-size: .68rem; }
  .resource-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .resource-grid .action-card { min-height: 112px; padding: 10px; }
  .problem-panel { grid-template-columns: 42px minmax(0,1fr); gap: 11px; min-height: 106px; padding: 13px 11px; }
  .problem-icon { width: 42px; height: 42px; }
  .problem-icon img { width: 29px; height: 29px; }
  .problem-copy > strong { font-size: .82rem; }
  .problem-copy > strong + span { margin-top: 7px; font-size: .68rem; line-height: 1.34; }
  .solution-panel { grid-template-columns: 1fr; gap: 10px; padding: 10px; }
  .solution-panel > img { min-height: 86px; height: 86px; }
  .solution-panel > div { padding: 0; }
  .solution-panel h4 { font-size: .78rem; }
  .solution-panel ul { gap: 5px; margin-top: 8px; padding-left: 15px; font-size: .66rem; line-height: 1.35; }
  .care-group.has-visual-items .guide-group-body { padding-inline: 10px; }
  .care-group.has-visual-items .guide-group-body li.has-icon { grid-template-columns: 42px minmax(0, 1fr); gap: 8px; font-size: .75rem; }
  .care-group.has-visual-items .guide-item-icon { width: 42px; height: 42px; }
  .form-grid { grid-template-columns: 1fr; }
  .report-form-section { padding: 14px 12px; }
  .urgency-field { grid-template-columns: 1fr; }
  .urgency-field span { min-height: 62px; }
  .photo-field { min-height: 166px; }
}

@media (max-width: 390px) {
  .topbar { min-height: 62px; padding-left: max(10px, var(--safe-left)); padding-right: max(10px, var(--safe-right)); }
  .brand { gap: 0; }
  .brand > span { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0,0,0,0); }
  .brand-mark { width: 39px; height: 39px; }
  .topbar-actions { gap: 8px; }
  .status { padding: 6px 8px; font-size: .68rem; }
  .menu-button { width: 40px; height: 40px; }
  main { padding-left: max(8px, var(--safe-left)); padding-right: max(8px, var(--safe-right)); }
  .content-panel { padding-inline: 12px; }
  .action-card { grid-template-columns: 48px minmax(0, 1fr) 12px; gap: 10px; padding-inline: 9px 11px; }
  .action-icon { width: 48px; height: 48px; }
  .action-icon img { width: 28px; height: 28px; }
  .chevron { font-size: 1.7rem; }
  .app-menu { width: 100vw; border-left: 0; }
  .bottom-nav { left: calc(8px + var(--safe-left)); right: calc(8px + var(--safe-right)); bottom: calc(7px + var(--safe-bottom)); width: calc(100% - var(--safe-left) - var(--safe-right) - 16px); }
  .bottom-nav button { font-size: .57rem; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { scroll-behavior: auto !important; transition: none !important; }
}

/* WATA Field visual direction: existing content and routes, task-focused home. */
:root { --navy:#101214; --black:#101214; --card:#1b1f22; }
body { background:radial-gradient(ellipse at 50% 0, #12313b 0, #101214 48%); }
.home-panel { display:grid; grid-template-columns:1fr; gap:0; }
.home-panel .page-heading { text-align:left; }
.home-panel .eyebrow { color:var(--cyan); letter-spacing:.19em; font-size:11px; }
.home-panel h1 { font-size:clamp(30px,5vw,48px); line-height:1.05; letter-spacing:-.045em; max-width:500px; text-align:left; }
.home-panel .intro { margin:14px 0 24px; max-width:440px; }
.home-panel .hero-media { border-radius:22px; aspect-ratio:2.8/1; margin-bottom:24px; }
.home-panel>.action-grid { grid-template-columns:repeat(2,minmax(0,1fr)); gap:12px; }
.home-panel .action-card { position:relative; grid-template-columns:1fr; align-content:start; gap:14px; min-height:157px; padding:20px; border:1px solid #ffffff18; border-radius:20px; box-shadow:none; background:linear-gradient(145deg,#22272b,#191c1f); }
.home-panel .action-icon { width:42px; height:42px; border-radius:13px; background:color-mix(in srgb,var(--tone),transparent 88%); border-color:color-mix(in srgb,var(--tone),transparent 65%); }
.home-panel .action-icon img { width:24px; height:24px; }
.home-panel .action-copy strong { font-size:13px; letter-spacing:.015em; line-height:1.3; }
.home-panel .action-copy span { font-size:12px; line-height:1.45; }
.home-panel .chevron { position:absolute; right:18px; top:19px; font-size:24px; }
.home-panel .action-card.featured { grid-column:1/-1; grid-template-columns:48px 1fr; align-items:center; min-height:98px; background:linear-gradient(110deg,var(--cyan),#82d6ee); color:#081e27; }
.home-panel .action-card.featured .action-icon { background:#102d37; }
.home-panel .action-card.featured .action-copy strong { font-size:17px; }
.home-panel .action-card:last-child { grid-column:1/-1; min-height:76px; grid-template-columns:42px 1fr; align-items:center; }
.home-panel .action-card:hover { border-color:var(--tone); transform:translateY(-2px); }
@media(min-width:1000px) {
  body.field-home main { width:min(100%,1100px); }
  .home-panel { grid-template-columns:minmax(0,.9fr) minmax(0,1.1fr); column-gap:42px; }
  .home-panel .page-heading { grid-column:1; grid-row:1; }
  .home-panel .hero-media { grid-column:1; grid-row:2; aspect-ratio:1.2; margin:0; align-self:start; }
  .home-panel>.action-grid { grid-column:2; grid-row:1/3; }
}
@media(max-width:360px) { .home-panel .action-card { padding:14px; } .home-panel .action-copy strong { font-size:12px; } }
@media(prefers-reduced-motion:reduce) { .home-panel .action-card { transition:none; } }
.home-panel .tone-yellow .action-icon img { filter:brightness(0) invert(1); }
/* Blend the familiar Field colors with calmer reading surfaces. */
.home-panel .action-card:not(.featured) { border-color:color-mix(in srgb,var(--tone),transparent 48%); background:linear-gradient(135deg,color-mix(in srgb,var(--tone),#1b1f22 87%),#1b1f22); border-top:4px solid var(--tone); }
.home-panel .action-icon { background:var(--tone); border:0; }
.home-panel .tone-yellow .action-icon img { filter:brightness(0); }
.problem-panel { background:#111416; border-left:6px solid #e9433a; }
.problem-icon { background:#b42222; border-color:#e65c56; }
.problem-label { color:#ff918a; }.problem-copy>strong+span { color:#d2d6d9; }
.issue-fix-card { border-color:#8a3935; }.issue-toggle { border-color:#ae554e; background:#281a1b; min-height:44px; }
.issue-fix-card[open] .solution-panel { border:2px solid #239e58; border-radius:12px; margin:12px; background:#101a15; }
.issue-fix-card[open] .issue-toggle { border-color:#239e58; color:#8bedaf; background:#10271b; }
/* Compact phone page headings; instructional images remain in the guides. */
.page-heading { padding-bottom:12px; }.page-heading h1 { font-size:clamp(25px,4vw,36px); }.page-heading .intro { margin:10px 0 8px; font-size:14px; }.home-panel .page-heading { border-bottom:0; }.home-panel h1 { font-size:30px; }.home-panel .action-card { min-height:128px; padding:16px; }.home-panel .action-card.featured { min-height:86px; }
@media(max-width:700px) { main { padding-top:14px; }.content-panel { padding:14px; }.home-panel>.action-grid { margin-top:8px; }.page-heading { text-align:left; }.page-heading h1,.page-heading .intro { text-align:left; } }
.menu-group { padding:10px 0 16px; }.menu-group h2 { margin:0 0 10px; padding-left:8px; }.menu-group button { display:grid; grid-template-columns:20px minmax(0,1fr) 12px; gap:13px; align-items:center; background:#151c21; border-bottom:1px solid #293139; padding:14px; min-height:50px; }.menu-group button:first-of-type { border-radius:14px 14px 0 0; }.menu-group button:last-of-type { border-radius:0 0 14px 14px; border-bottom:0; }.menu-group button>svg { width:20px; height:20px; color:#73c5e4; }.menu-group button[aria-current="page"] { background:#143440; color:#9be0f7; }
.home-panel .eyebrow { display:none; }.home-panel .page-heading::after { display:none; }.home-panel .page-heading { padding-bottom:10px; }.home-panel .intro { margin:10px 0 6px; }.page-heading::after { margin:14px 0 12px; opacity:.35; }
@media(min-width:1000px) { .home-panel { display:block; max-width:850px; margin:auto; }.home-panel>.action-grid { margin-top:16px; }.home-panel .page-heading { text-align:left; } }
/* One Field appearance preference, including the embedded survey workspace. */
html[data-appearance="light"] { --ink:#192e38; --muted:#4d626d; --navy:#edf3f6; --black:#fff; --card:#f1f5f7; --line:#c8d5db; background:#edf3f6; }
html[data-appearance="light"] body { background:#edf3f6; }
html[data-appearance="light"] .topbar { background:#f9fcfef5; border-color:#cad8df; }
html[data-appearance="light"] .menu-button,html[data-appearance="light"] .menu-close { color:#193d4e; background:#fff; border-color:#c4d4db; }
html[data-appearance="light"] .app-menu { background:#f9fcfd; color:#19333e; border-color:#d0dde2; }
html[data-appearance="light"] .menu-search input { background:#fff; color:#19333e; border-color:#c7d7df; }
html[data-appearance="light"] .menu-group button { background:#edf3f6; color:#19333e; border-color:#cfdee4; }
html[data-appearance="light"] .menu-group h2,html[data-appearance="light"] .menu-group button>svg { color:#08779f; }
html[data-appearance="light"] .menu-group button[aria-current="page"] { background:#d4edf7; color:#075f80; }
html[data-appearance="light"] .home-panel .action-card:not(.featured) { background:color-mix(in srgb,var(--tone),#fff 95%); }
html[data-appearance="light"] .action-card:not(.featured):hover { background:#e6f0f5; }
html[data-appearance="light"] .content-panel { border-color:#d1dfe5; box-shadow:0 10px 30px #23404f0b; }
html[data-appearance="light"] .bottom-nav { background:#f7fbfdf5; border-color:#c3d6df; }
html[data-appearance="light"] .bottom-nav button { color:#35515f; }
html[data-appearance="light"] .bottom-nav button.active { background:#d4edf7; color:#08688b; }
html[data-appearance="light"] .bottom-nav-icon img { filter:brightness(0); }
html[data-appearance="light"] .problem-panel { background:#fff; color:#253b45; }
html[data-appearance="light"] .problem-copy>strong+span { color:#50646e; }
html[data-appearance="light"] .problem-label { color:#a6302b; }
html[data-appearance="light"] .issue-toggle { color:#8a2822; background:#fff3f1; border-color:#c17972; }
html[data-appearance="light"] .issue-fix-card[open] .solution-panel { background:#f1fbf5; }
html[data-appearance="light"] .solution-label { color:#176b3c; }
html[data-appearance="light"] .issue-fix-card[open] .issue-toggle { color:#176b3c; background:#e7f5eb; }
html[data-appearance="light"] .guide-group-body li { color:#253b45; }
html[data-appearance="light"] .instruction-copy h3,html[data-appearance="light"] .external-reference a { color:#076b92; }
html[data-appearance="light"] .toast { background:#fff; border-color:#b5d5e2; }
.field-settings summary { display:grid; grid-template-columns:20px 1fr 12px; align-items:center; gap:13px; cursor:pointer; padding:14px; min-height:58px; background:var(--card); border-radius:14px; list-style:none; }.field-settings summary::-webkit-details-marker { display:none; }.field-settings summary svg { width:20px; height:20px; }.field-settings summary small { display:block; margin-top:4px; color:var(--muted); font-size:12px; }
.field-appearance-options { display:grid; grid-template-columns:1fr 1fr; gap:10px; padding:12px 0; }.field-appearance-options button { display:flex; flex-direction:column; border:2px solid transparent; border-radius:12px!important; gap:8px; padding:12px; }.field-appearance-options button[aria-pressed="true"] { border-color:#35b4e5; }.appearance-sample { height:35px; width:64px; border-radius:8px; border:1px solid #8395a0; }.sample-light { background:linear-gradient(90deg,#d9e3e9 25%,#fff 25%); }.sample-dark { background:linear-gradient(90deg,#343e45 25%,#11181c 25%); }
html[data-appearance="light"] .status { color:#176b3c; }
html[data-appearance="light"] .status.offline { color:#9e332d; }
html[data-appearance="light"] .content-panel .eyebrow { color:#08779f; }
html[data-appearance="light"] .guide-note,html[data-appearance="light"] .review-note { color:#714319; background:#fff4e8; }
html[data-appearance="light"] .instruction-step.done .instruction-copy h3,html[data-appearance="light"] .care-do h3 { color:#176b3c; }
html[data-appearance="light"] .care-dont h3 { color:#a7352d; }
html[data-appearance="light"] .report-form-heading h2,html[data-appearance="light"] .form-field>label,html[data-appearance="light"] .urgency-field legend { color:#19333e; }
html[data-appearance="light"] .context-note { color:#08779f; }
html[data-appearance="light"] .form-field input,html[data-appearance="light"] .form-field select,html[data-appearance="light"] .form-field textarea { color:#19333e; background:#fff; border-color:#c4d5de; }
.menu-button { width:44px; height:44px; border-radius:13px; color:var(--ink); }.menu-button svg { width:20px; height:20px; }.app-menu:not(.open) { box-shadow:none; }

/* Shared Field card treatment for home, training and survey launchers. */
.content-panel .action-card{border-radius:20px;border-left:4px solid var(--tone)}
.content-panel .action-icon{border-radius:14px}
.content-panel .action-card:not(.featured){border-color:color-mix(in srgb,var(--tone),transparent 65%);border-left-color:var(--tone)}

/* Mode-aware language and interaction surfaces. */
.field-language-picker{position:relative;flex:none}
#fieldLanguageButton{width:44px;height:44px;border-radius:13px;border:1px solid var(--line);background:var(--card);color:var(--ink);cursor:pointer}
.field-language-options{padding:8px;background:var(--card);color:var(--ink);border:1px solid var(--line);border-radius:14px}
.field-language-picker>.field-language-options{position:absolute;right:0;top:52px;min-width:200px;box-shadow:0 12px 30px #0003;z-index:30}
.field-language-options[hidden]{display:none}
.field-language-options button{display:flex;align-items:center;justify-content:space-between;gap:16px;width:100%;min-height:48px;padding:12px;border:0;border-radius:10px!important;background:transparent;color:var(--ink);cursor:pointer}
.field-language-options button[aria-pressed="true"]{background:color-mix(in srgb,var(--cyan),var(--card) 87%)}
.language-check{visibility:hidden}.field-language-options button[aria-pressed="true"] .language-check{visibility:visible}
#fieldLanguageButton:focus-visible,.field-language-options button:focus-visible{outline:3px solid var(--cyan);outline-offset:3px}
html[data-appearance="light"] .brand{color:#086b92}
html[data-appearance="light"] .back,html[data-appearance="light"] .related-heading p,html[data-appearance="light"] .page-tool-section>header p{color:#076b92}
html[data-appearance="light"] .surveyor-entry{color:#006c63;border-color:#006c63}
.content-panel .tone-yellow .action-icon img,.content-panel .tone-green .action-icon img,.content-panel .tone-cyan:not(.featured) .action-icon img{filter:brightness(0)}
input::placeholder,textarea::placeholder{color:var(--muted);opacity:1}
@media(max-width:450px){.topbar-actions{gap:8px}.topbar #networkStatus{display:none}}
/* Shared utility icon geometry, independent of emoji rendering. */
#fieldLanguageButton{display:grid;place-items:center}
#fieldLanguageButton svg,.field-settings summary>span>svg{width:20px;height:20px}
.field-language-picker>.field-language-options{min-width:220px}
/* Workflow buttons use the same icon and palette as capture and history. */
.action-card[data-workflow]{--tone:var(--sf-flow-mark);border-left-color:var(--sf-flow);border-top-color:var(--sf-flow-mark)}
.action-card[data-workflow] .action-icon{background:var(--sf-flow)}
.content-panel .action-card[data-workflow] .action-icon img{filter:brightness(0) invert(1)}
.action-card[data-workflow] .chevron{color:var(--ink)}
.workflow-icon{width:24px;height:24px;object-fit:contain}
.topbar-actions{gap:12px}
/* A quieter, readable bottom bar with a single selected surface. */
.bottom-nav{max-width:560px;gap:4px;padding:7px;border-radius:22px;background:var(--black);border-color:var(--line);box-shadow:0 8px 24px #0003}
.bottom-nav button{grid-template-rows:28px auto;gap:5px;min-height:56px;padding:6px 2px;border-radius:15px;font-size:11px;line-height:1.2;color:var(--muted)}
.bottom-nav-icon{width:28px;height:28px;border-radius:0}.bottom-nav-icon svg{width:24px;height:24px}
.bottom-nav button.active .bottom-nav-icon{background:none;box-shadow:none;color:inherit}
.bottom-nav button.active{background:#163c4c;color:#a4e7ff}
.bottom-nav button:hover{color:var(--ink)}
html[data-appearance="light"] .bottom-nav button.active{color:#064f70;background:#d4edf7}
@media(max-width:380px){.bottom-nav button{font-size:10px}}

#networkStatus{display:inline-flex;align-items:center;justify-content:center;min-width:36px;min-height:36px;padding:7px}#networkStatus.paused{color:#dbab52;border-color:#9c793c;background:#9c793c18}
