/* Step 01: Feasibility & Site Assessment additions on top of seed-to-cup.css */
.fmain { padding-top: 68px; }
.fhero { padding: clamp(36px, 6vw, 64px) 0 42px; border-bottom: 2px solid rgba(243,238,227,.14); background: radial-gradient(900px 520px at 85% 20%, rgba(196,22,31,.16), transparent 65%); }
.crumb { display: flex; flex-wrap: wrap; gap: 10px; align-items: center; margin-bottom: 18px; font-family: 'Barlow Condensed', sans-serif; font-weight: 700; text-transform: uppercase; letter-spacing: .12em; font-size: 13.5px; }
.crumb a { text-decoration: none; color: var(--yel); }
.crumb a:hover { text-decoration: underline; }
.crumb .cur { opacity: .76; }
.fhero .eb { color: var(--yel); display: flex; align-items: center; gap: 10px; }
.fhero .eb::before { content: ""; width: 28px; height: 3px; background: var(--yel); }
.fhero h1 { font-size: clamp(38px, 6.2vw, 76px); margin: 12px 0 6px; line-height: .96; }
.fhero h1 .r { color: var(--live); }
.fhero .np { font-size: clamp(19px, 2.2vw, 24px); opacity: .9; }
.fhero p.lead { max-width: 44em; margin-top: 14px; font-size: 17.5px; opacity: .9; }

.fsec { padding: clamp(42px, 6vw, 72px) 0; border-bottom: 1px solid rgba(243,238,227,.12); scroll-margin-top: 84px; }
.sec-head { display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: 16px; margin-bottom: 24px; }
.sec-head .eb { color: var(--yel); }
.sec-head h2 { font-size: clamp(28px, 4.2vw, 48px); margin-top: 6px; }
.sec-head h2 span { color: var(--live); }
.sec-head .sdesc { max-width: 36em; font-size: 16px; opacity: .88; }

.table-wrap { overflow-x: auto; border: 2px solid rgba(243,238,227,.22); background: rgba(16,16,16,.9); }
.ptable { width: 100%; border-collapse: collapse; min-width: 680px; font-size: 15.5px; }
.ptable th { text-align: left; padding: 13px 14px; font-family: 'Barlow Condensed', sans-serif; font-weight: 700; text-transform: uppercase; letter-spacing: .12em; font-size: 13.5px; border-bottom: 2px solid var(--live); background: rgba(243,238,227,.05); }
.ptable td { padding: 12px 14px; border-bottom: 1px solid rgba(243,238,227,.14); vertical-align: top; line-height: 1.45; }
.ptable tr:last-child td { border-bottom: 0; }
.ptable td:first-child { font-weight: 700; color: var(--yel); white-space: nowrap; }
.ptable td.go { border-left: 3px solid var(--grn); }
.ptable td.fix { border-left: 3px solid var(--yel); }
.ptable td.nogo { border-left: 3px solid var(--live); }

.notes-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; margin-top: 22px; }
@media (max-width: 860px) { .notes-grid { grid-template-columns: 1fr; } }
.ncard { border: 1.5px solid rgba(243,238,227,.22); padding: 18px; background: rgba(243,238,227,.03); }
.ncard h3 { font-family: 'Barlow Condensed', sans-serif; font-weight: 700; text-transform: uppercase; letter-spacing: .08em; font-size: 18px; color: var(--yel); margin-bottom: 6px; }
.ncard p { font-size: 15px; line-height: 1.5; opacity: .9; }

/* Tool grid */
.toolband { background: rgba(243,238,227,.02); }
.tool-grid { display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(0, .95fr); gap: 22px; align-items: start; }
@media (max-width: 960px) { .tool-grid { grid-template-columns: 1fr; } }

.tform { display: grid; gap: 16px; }
.fgrp { border: 1.5px solid rgba(243,238,227,.24); padding: 18px; background: #111; }
.fgrp legend { padding: 0 8px; font-family: 'Barlow Condensed', sans-serif; font-weight: 700; text-transform: uppercase; letter-spacing: .12em; font-size: 14px; color: var(--yel); }
.frow2, .frow3 { display: grid; gap: 12px; }
.frow2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.frow3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
@media (max-width: 680px) { .frow2, .frow3 { grid-template-columns: 1fr; } }
.fgrp label { display: flex; flex-direction: column; gap: 6px; font-size: 14.5px; font-weight: 600; }
.fgrp input, .fgrp select { width: 100%; min-height: 44px; padding: 8px 10px; border: 1.5px solid rgba(243,238,227,.35); background: #0a0a0a; color: var(--bone); font: inherit; font-size: 15.5px; border-radius: 0; }
.fgrp input:disabled { opacity: .45; }
.pair { display: flex; gap: 6px; }
.pair input { flex: 1 1 auto; min-width: 0; }
.pair select, .pair button { flex: 0 0 auto; width: auto; }
.gpsrow { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; margin-top: 12px; }
.gpsmsg { font-size: 13.5px; opacity: .78; }
.fcheck { display: flex!important; flex-direction: row!important; align-items: center; gap: 10px; margin-top: 12px; font-weight: 500!important; cursor: pointer; }
.fcheck input { width: 20px!important; height: 20px!important; min-height: 20px!important; accent-color: var(--yel); flex: none; }

.tresult { position: sticky; top: 84px; border: 2px solid var(--yel); background: #101010; padding: 20px; display: grid; gap: 16px; }
@media (max-width: 960px) { .tresult { position: static; } }
.verdict { padding: 14px 16px; border-left: 6px solid var(--grn); background: rgba(91,123,69,.18); }
.verdict.fix { border-left-color: var(--yel); background: rgba(242,194,0,.14); }
.verdict.nogo { border-left-color: var(--live); background: rgba(196,22,31,.2); }
.verdict .vtag { font-family: 'Barlow Condensed', sans-serif; font-weight: 700; text-transform: uppercase; letter-spacing: .14em; font-size: 12.5px; opacity: .88; }
.verdict .vtitle { font-family: 'Saira Stencil One', sans-serif; font-size: clamp(24px, 3vw, 32px); line-height: 1.08; margin-top: 4px; }
.verdict p { font-size: 15px; margin-top: 6px; opacity: .94; }

.checks { list-style: none; display: grid; gap: 8px; }
.checks li { display: flex; justify-content: space-between; align-items: flex-start; gap: 10px; padding: 8px 10px; border: 1px solid rgba(243,238,227,.14); font-size: 14.5px; background: rgba(243,238,227,.02); }
.checks .ck-l b { display: block; font-size: 14px; }
.checks .ck-l small { display: block; opacity: .82; font-size: 13.5px; }
.badge { flex: none; font-family: 'Barlow Condensed', sans-serif; font-weight: 700; text-transform: uppercase; letter-spacing: .1em; font-size: 12px; padding: 3px 8px; border: 1.5px solid currentColor; }
.badge.go { color: #8ec06b; border-color: #8ec06b; }
.badge.fix { color: var(--yel); border-color: var(--yel); }
.badge.nogo { color: #ff5b62; border-color: #ff5b62; }

.advice { border-top: 1px solid rgba(243,238,227,.18); padding-top: 14px; display: grid; gap: 8px; font-size: 14.5px; }
.advice h3 { font-family: 'Barlow Condensed', sans-serif; font-weight: 700; text-transform: uppercase; letter-spacing: .1em; font-size: 14px; color: var(--yel); }
.advice ul { padding-left: 18px; display: grid; gap: 6px; }
.tactions { display: flex; flex-wrap: wrap; gap: 10px; padding-top: 6px; }
.savemsg { font-size: 13.5px; color: var(--yel); font-weight: 600; align-self: center; }

/* Future Map Placeholder */
.mcard { border: 2px dashed rgba(242,194,0,.55); padding: clamp(22px, 4vw, 32px); background: rgba(242,194,0,.04); display: grid; gap: 18px; }
.mhead { display: flex; flex-wrap: wrap; gap: 14px; align-items: flex-start; justify-content: space-between; }
.mhead h2 { font-size: clamp(24px, 3.6vw, 40px); margin-top: 10px; }
.mhead h2 span { color: var(--live); }
.muted-btn { opacity: .65; cursor: not-allowed!important; transform: none!important; box-shadow: none!important; }
.mlead { max-width: 48em; font-size: 16.5px; opacity: .9; }
.mflow { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; }
@media (max-width: 760px) { .mflow { grid-template-columns: 1fr; } }
.mstep { border: 1.5px solid rgba(243,238,227,.2); padding: 14px; background: rgba(10,10,10,.6); }
.mstep b { display: block; font-family: 'Barlow Condensed', sans-serif; text-transform: uppercase; letter-spacing: .08em; font-size: 16px; color: var(--yel); margin-bottom: 4px; }
.mstep span { font-size: 14.5px; opacity: .86; line-height: 1.45; }
.mfoot { display: flex; flex-wrap: wrap; gap: 12px; align-items: center; justify-content: space-between; padding-top: 10px; border-top: 1px solid rgba(243,238,227,.16); font-size: 15px; }
.step-nav { display: flex; flex-wrap: wrap; gap: 12px; justify-content: space-between; margin-top: 26px; }

/* Nepali adjustments */
html[lang=ne] .crumb, html[lang=ne] .fgrp legend, html[lang=ne] .ptable th, html[lang=ne] .verdict .vtitle, html[lang=ne] .ncard h3, html[lang=ne] .mstep b, html[lang=ne] .advice h3, html[lang=ne] .badge { font-family: Mukta, sans-serif; font-weight: 800; text-transform: none; letter-spacing: 0; }

/* Light mode */
html[data-theme=light] .fhero { border-color: rgba(10,10,10,.16); background: radial-gradient(900px 520px at 85% 20%, rgba(139,0,0,.08), transparent 65%); }
html[data-theme=light] .crumb a, html[data-theme=light] .fhero .eb, html[data-theme=light] .sec-head .eb, html[data-theme=light] .ptable td:first-child, html[data-theme=light] .ncard h3, html[data-theme=light] .fgrp legend, html[data-theme=light] .mstep b, html[data-theme=light] .advice h3, html[data-theme=light] .savemsg { color: var(--red); }
html[data-theme=light] .fhero .eb::before { background: var(--red); }
html[data-theme=light] .fhero h1 .r, html[data-theme=light] .sec-head h2 span, html[data-theme=light] .mhead h2 span { color: var(--red); }
html[data-theme=light] .fsec { border-color: rgba(10,10,10,.14); }
html[data-theme=light] .table-wrap, html[data-theme=light] .fgrp, html[data-theme=light] .tresult, html[data-theme=light] .ncard, html[data-theme=light] .mstep { background: #fff; border-color: rgba(10,10,10,.25); color: var(--black); }
html[data-theme=light] .ptable th { background: rgba(10,10,10,.05); border-bottom-color: var(--red); }
html[data-theme=light] .ptable td { border-bottom-color: rgba(10,10,10,.12); }
html[data-theme=light] .fgrp input, html[data-theme=light] .fgrp select { background: var(--bone); color: var(--black); border-color: rgba(10,10,10,.35); }
html[data-theme=light] .tresult { border-color: var(--black); }
html[data-theme=light] .checks li { border-color: rgba(10,10,10,.14); background: rgba(10,10,10,.02); }
html[data-theme=light] .badge.go { color: #365721; border-color: #365721; }
html[data-theme=light] .badge.fix { color: #8c6300; border-color: #8c6300; }
html[data-theme=light] .badge.nogo { color: var(--red); border-color: var(--red); }
html[data-theme=light] .advice, html[data-theme=light] .mfoot { border-color: rgba(10,10,10,.16); }
html[data-theme=light] .mcard { border-color: var(--red); background: rgba(139,0,0,.04); }

@media print {
  header, .cta, .gpsrow, .mfoot, .step-nav, footer, .tactions { display: none!important; }
  body, .tresult, .fgrp, .table-wrap, .mcard { background: #fff!important; color: #000!important; border-color: #000!important; }
  .fmain { padding-top: 0; }
  .tool-grid { grid-template-columns: 1fr; }
}
