: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;
  --green: #19c763;
  --orange: #ff8d25;
  --pink: #ff00a8;
  --indigo: #3e52b6;
  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; 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; padding-bottom: calc(124px + env(safe-area-inset-bottom)); }
.topbar { position: sticky; top: 0; z-index: 20; display: flex; align-items: center; justify-content: space-between; min-height: 66px; padding: max(10px, env(safe-area-inset-top)) max(18px, 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, env(safe-area-inset-top)) 18px max(22px, env(safe-area-inset-bottom)); 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 18px 0; }
main:focus { outline: none; }
.content-panel { 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-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; }
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(--cyan); 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-green { --tone: var(--green); }
.tone-orange { --tone: var(--orange); }
.tone-pink { --tone: var(--pink); }
.tone-indigo { --tone: var(--indigo); }

.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(--cyan); 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: 25px; height: 25px; object-fit: contain; filter: brightness(0) invert(1); }
.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; }
.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; }
.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: 50%; bottom: calc(10px + env(safe-area-inset-bottom)); z-index: 35; display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 3px; width: min(calc(100% - 24px), 540px); min-height: 70px; padding: 5px; transform: translateX(-50%); 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: 50%; bottom: calc(92px + env(safe-area-inset-bottom)); z-index: 40; width: min(calc(100% - 36px), 520px); padding: 14px 16px; transform: translate(-50%, 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: translate(-50%, 0); opacity: 1; }

@media (max-width: 620px) {
  .topbar { padding-inline: 14px; }
  main { padding: 24px 10px 0; }
  .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: 22px; height: 22px; }
  .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; }
  .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-inline: 10px; }
  .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-inline: 8px; }
  .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 { bottom: calc(7px + env(safe-area-inset-bottom)); width: calc(100% - 16px); }
  .bottom-nav button { font-size: .57rem; }
}

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