:root { --forest: #183d2b; --green: #2f7d4c; --leaf: #dcebdc; --cream: #f7f6f1; --ink: #203128; }
.navbar-brand,.ops-brand{align-items:center;display:inline-flex;gap:.62rem}.navbar-brand::before,.ops-brand::before{background:url('../favicon.svg') center/contain no-repeat;content:'';display:inline-block;flex:0 0 32px;height:32px;width:32px}.brand-lockup{align-items:center;display:inline-flex;gap:.7rem}.brand-lockup img{display:block;height:42px;width:42px}.brand-stamp{align-items:center;border:1px solid rgba(47,125,76,.35);border-radius:.65rem;color:#245d37;display:inline-flex;font-size:.72rem;font-weight:700;gap:.45rem;letter-spacing:.04em;padding:.45rem .65rem;text-transform:uppercase}.brand-stamp img{height:24px;width:24px}@media print{.brand-stamp{border-color:#777;color:#333}.brand-stamp img{filter:grayscale(1)}}
.dashboard-card>.d-flex:first-child h1{align-items:center;display:flex;gap:.65rem}.dashboard-card>.d-flex:first-child h1::before{background:url('../favicon.svg') center/contain no-repeat;content:'';display:inline-block;flex:0 0 38px;height:38px;width:38px}
.navbar-brand.brand-explicit::before{display:none}.navbar-brand.brand-explicit img{display:block;flex:0 0 32px}
.form-card>.eyebrow:first-child::before{background:url('../favicon.svg') center/contain no-repeat;content:'';display:block;height:42px;margin-bottom:1rem;width:42px}
html { scroll-behavior: smooth; }
body { color: var(--ink); font-family: 'Poppins', sans-serif; line-height: 1.65; }
.topbar { background: var(--forest) !important; font-size: .86rem; letter-spacing: .01em; }
.navbar.navbar-dark { background: #fff !important; box-shadow: 0 1px 0 rgba(24, 61, 43, .08); }
.navbar.navbar-dark .navbar-brand { color: var(--forest) !important; font-size: 1.4rem; font-weight: 700; letter-spacing: -.04em; }
.navbar.navbar-dark .navbar-nav .nav-link { color: #435148 !important; font-size: .92rem; font-weight: 500; }
.navbar.navbar-dark .navbar-nav .nav-link:hover, .navbar.navbar-dark .navbar-nav .nav-link.active { color: var(--green) !important; }
.navbar-toggler { border-color: rgba(24, 61, 43, .3) !important; }
.navbar-toggler-icon { filter: invert(21%) sepia(25%) saturate(961%) hue-rotate(102deg) brightness(87%) contrast(89%); }
.btn { border-radius: .45rem; font-weight: 600; padding: .7rem 1.25rem; }
.btn-success { background: var(--green); border-color: var(--green); }
.btn-success:hover, .btn-success:focus { background: #24663c; border-color: #24663c; }
.hero { background: linear-gradient(90deg, rgba(20, 53, 37, .94), rgba(20, 53, 37, .71)), url('../images/bg_1.jpg') center/cover !important; color: #fff; padding: 6.25rem 0 !important; }
.hero h1 { color: #fff; font-size: clamp(2.35rem, 4vw, 3.75rem); font-weight: 700; letter-spacing: -.05em; line-height: 1.1; }
.hero p, .hero .text-muted { color: #e5f0e6 !important; font-size: 1.05rem; }
.step-card, .contact-card { border: 1px solid #dfe6df !important; border-radius: .8rem !important; box-shadow: 0 5px 20px rgba(24, 61, 43, .04); padding: 2rem !important; }
.step-card:hover, .contact-card:hover { box-shadow: 0 14px 35px rgba(24, 61, 43, .10) !important; transform: translateY(-3px); }
.step-number { color: var(--green) !important; font-size: .84rem !important; font-weight: 700 !important; letter-spacing: .1em; }
.content-section, .content { background: var(--cream); padding: 5rem 0 !important; }
.content-section .col-md-9, .content .col-md-9 { background: #fff; border: 1px solid #dfe6df; border-radius: .8rem; box-shadow: 0 5px 20px rgba(24, 61, 43, .04); padding: clamp(1.6rem, 4vw, 3rem); }
.content-section h2, .content h2 { color: var(--forest); font-size: 1.35rem; margin-top: 2.5rem; }
.content-section h2:first-child, .content h2:first-child { margin-top: 0; }
.content-section p, .content p, .content-section li, .content li { color: #59665f; }
.content-section a, .content a { color: var(--green); font-weight: 600; }
.form-control { border-color: #d7ded8; border-radius: .42rem; padding: .68rem .75rem; }
.form-control:focus { border-color: var(--green); box-shadow: 0 0 0 .2rem rgba(47, 125, 76, .12); }
.page-shell { background: var(--cream); min-height: 100vh; }
.form-card, .dashboard-card { background: #fff; border: 1px solid #dfe6df; border-radius: .8rem; box-shadow: 0 5px 20px rgba(24, 61, 43, .04); padding: clamp(1.5rem, 4vw, 2.5rem); }
.choice-input { position: absolute; opacity: 0; pointer-events: none; }
.choice-card { border: 1px solid #d7ded8; border-radius: .75rem; cursor: pointer; display: block; height: 100%; padding: 1.5rem; transition: border-color .2s, box-shadow .2s, transform .2s; }
.choice-card:hover, .choice-input:focus + .choice-card { border-color: var(--green); box-shadow: 0 8px 20px rgba(24, 61, 43, .08); transform: translateY(-2px); }
.choice-input:checked + .choice-card { background: #edf4ec; border-color: var(--green); box-shadow: 0 0 0 .18rem rgba(47, 125, 76, .12); }
.dashboard-card .card-label { color: var(--green); font-size: .77rem; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; }
.dashboard-card .card-value { color: var(--forest); font-size: 1.1rem; font-weight: 600; }
.status-pill { background: var(--leaf); border-radius: 999px; color: #245d37; display: inline-block; font-size: .72rem; font-weight: 700; padding: .3rem .65rem; }
.confirmation-mark { align-items: center; background: var(--leaf); border-radius: 50%; color: var(--green); display: flex; font-size: 2rem; font-weight: 700; height: 64px; justify-content: center; width: 64px; }
.request-quantity { color: var(--green); font-size: 1.35rem; font-weight: 700; }
.request-details dt { color: #66736b; font-size: .75rem; letter-spacing: .08em; margin-top: 1rem; text-transform: uppercase; }
.request-details dd { color: var(--ink); margin-bottom: 0; }
.status-timeline { list-style: none; padding: 0; }
.status-step { display: flex; gap: 1rem; min-height: 74px; position: relative; }
.status-step:not(:last-child):before { background: #dfe6df; content: ''; height: calc(100% - 25px); left: 11px; position: absolute; top: 25px; width: 2px; }
.status-marker { align-items: center; background: #fff; border-radius: 50%; color: #9aa59e; display: flex; flex: 0 0 24px; font-weight: 700; height: 24px; justify-content: center; position: relative; z-index: 1; }
.status-step p { color: #748078; font-size: .88rem; margin: .2rem 0 1rem; }
.status-done .status-marker { background: var(--green); color: #fff; }
.status-current .status-marker { background: var(--leaf); color: var(--green); }
.status-current strong { color: var(--green); }
.ops-body { background: #f3f5f2; }
.ops-nav { align-items: center; background: var(--forest); color: #fff; display: flex; justify-content: space-between; min-height: 64px; padding: .75rem 2rem; }
.ops-brand { color: #fff; font-size: 1.15rem; font-weight: 700; text-decoration: none; }
.ops-brand span { color: #b8d5bf; font-weight: 400; margin-left: .4rem; }
.ops-shell { margin: 0 auto; max-width: 1500px; padding: 2.5rem 2rem 5rem; }
.ops-title { color: var(--forest); font-size: clamp(2rem,3vw,3rem); font-weight: 700; letter-spacing: -.045em; }
.ops-panel,.ops-stat { background: #fff; border: 1px solid #dfe6df; border-radius: .75rem; box-shadow: 0 4px 16px rgba(24,61,43,.04); padding: 1.5rem; }
.ops-stat { align-items: center; display: flex; justify-content: space-between; }
.ops-stat span { color: #657168; font-size: .86rem; }
.ops-stat strong { color: var(--forest); font-size: 1.8rem; }
.ops-table th { color: #78827b; font-size: .72rem; letter-spacing: .08em; text-transform: uppercase; white-space: nowrap; }
.ops-table td { border-color: #edf0ed; padding-bottom: 1rem; padding-top: 1rem; }
.ops-table td small { color: #849087; display: block; font-size: .75rem; }
.ops-stage { background: #edf4ec; border-radius: 999px; color: #28613b; display: inline-block; font-size: .74rem; font-weight: 700; padding: .38rem .7rem; white-space: nowrap; }
.ops-stage-completed { background: #dcebdc; }
.ops-stage-cancelled { background: #f6dddd; color: #8a3131; }
.economics-grid { display: grid; gap: .75rem; grid-template-columns: repeat(4,1fr); }
.economics-grid>div { background: #f5f7f4; border-radius: .55rem; padding: 1rem; }
.economics-grid span { color: #718077; display: block; font-size: .74rem; margin-bottom: .25rem; text-transform: uppercase; }
.economics-grid strong { color: var(--forest); font-size: 1.18rem; }
.economics-grid .economics-margin { background: var(--forest); }
.economics-grid .economics-margin span { color: #b8d5bf; }
.economics-grid .economics-margin strong { color: #fff; }
.ops-timeline { display: grid; grid-template-columns: repeat(9,1fr); list-style: none; margin: 0; padding: 0; }
.ops-timeline li { color: #98a29b; position: relative; text-align: center; }
.ops-timeline li:not(:last-child):before { background: #dfe6df; content: ''; height: 2px; left: 56%; position: absolute; top: 12px; width: 88%; }
.ops-timeline li span { background: #fff; display: block; font-weight: 700; margin: 0 auto .5rem; position: relative; width: 24px; z-index: 1; }
.ops-timeline li small { display: block; font-size: .68rem; }
.ops-timeline .done,.ops-timeline .current { color: var(--green); }
.account-heading { max-width: 720px; }
.account-card { background: #fff; border: 1px solid #dfe6df; border-radius: .9rem; box-shadow: 0 8px 25px rgba(24,61,43,.06); height: 100%; padding: clamp(1.75rem,4vw,2.75rem); }
.account-number { align-items: center; background: var(--leaf); border-radius: 50%; color: var(--forest); display: inline-flex; font-size: .78rem; font-weight: 700; height: 44px; justify-content: center; margin-bottom: 1.5rem; width: 44px; }
.account-card p { color: #66736b; margin-bottom: 1.75rem; }
.farmer-stat { background:#fff; border:1px solid #dfe6df; border-radius:.8rem; box-shadow:0 4px 16px rgba(24,61,43,.04); height:100%; padding:1.25rem; }
.farmer-stat span { color:#6c786f; display:block; font-size:.76rem; letter-spacing:.06em; text-transform:uppercase; }
.farmer-stat strong { color:var(--forest); display:block; font-size:2rem; margin-top:.35rem; }
.profile-progress { min-width:220px; }
.profile-progress strong { color:var(--forest); }
.profile-progress .progress { height:7px; margin:.4rem 0; }
.profile-progress a { color:var(--green); font-size:.85rem; font-weight:600; }
.offer-card { background:#fff; border:1px solid #dfe6df; border-radius:.7rem; display:flex; flex-direction:column; height:100%; min-width:0; overflow:hidden; position:relative; }
.offer-card > img.offer-image { aspect-ratio:16/9; background:#edf1ed; display:block; flex:0 0 auto; height:180px !important; max-height:180px; max-width:100%; object-fit:cover !important; object-position:center; width:100% !important; }
.offer-image-empty { align-items:center; color:#829087; display:flex; font-size:.85rem; justify-content:center; }
.offer-body { background:#fff; flex:1 1 auto; padding:1.15rem; position:relative; z-index:1; }
.offer-body small { color:#748078; }
.offer-quantity { color:var(--green); font-size:1.15rem; font-weight:700; margin:.6rem 0; }
.empty-state { background:#f5f7f4; border-radius:.6rem; color:#6c786f; padding:1.5rem; }
.demand-response { display:grid; gap:.4rem; grid-template-columns:100px 100px 145px minmax(130px,1fr) auto; min-width:650px; }
.dashboard-card table th { color:#77827a; font-size:.72rem; letter-spacing:.06em; text-transform:uppercase; }
.dashboard-card table td { border-color:#edf0ed; padding-bottom:.85rem; padding-top:.85rem; }
@media(max-width:991.98px){.economics-grid{grid-template-columns:repeat(2,1fr)}.ops-timeline{gap:.75rem;grid-template-columns:repeat(3,1fr);row-gap:1.5rem}.ops-timeline li:before{display:none}}
footer.bg-dark { background: #102d20 !important; } footer a { text-decoration: none; }
@media (max-width: 991.98px) { .navbar-nav { padding: 1rem 0; } .navbar .btn { margin-top: .5rem; } }
@media (max-width: 767.98px) { .hero { padding: 4.75rem 1.25rem !important; } .content-section, .content { padding: 3.5rem 0 !important; } }

/* Account dashboards: keep daily work visible and group secondary settings. */
.dashboard-navbar { position: sticky; top: 0; z-index: 1030; }
.dashboard-nav-actions { align-items: center; flex-wrap: nowrap !important; }
.dashboard-account-menu { position: relative; }
.dashboard-account-menu > summary { list-style: none; cursor: pointer; }
.dashboard-account-menu > summary::-webkit-details-marker { display: none; }
.dashboard-account-menu > summary::after { content: ' ▾'; font-size: .72em; }
.dashboard-account-menu[open] > summary::after { content: ' ▴'; }
.dashboard-account-panel { background: #fff; border: 1px solid #dfe6df; border-radius: .65rem; box-shadow: 0 16px 36px rgba(24,61,43,.16); display: grid; min-width: 210px; padding: .45rem; position: absolute; right: 0; top: calc(100% + .5rem); z-index: 1040; }
.dashboard-account-link { border-radius: .4rem; color: #31463a; font-size: .88rem; font-weight: 500; padding: .65rem .75rem; text-decoration: none; }
.dashboard-account-link:hover,.dashboard-account-link:focus { background: #edf4ec; color: var(--green); }
.dashboard-shell.py-5 { padding-bottom: 4rem !important; padding-top: 2.25rem !important; }
.dashboard-shell .section-title { font-size: clamp(1.75rem,3vw,2.55rem); line-height: 1.15; }
.dashboard-shell .dashboard-card { padding: clamp(1.15rem,2.5vw,1.75rem); }
.dashboard-shell .row.g-4 { --bs-gutter-x: 1rem; --bs-gutter-y: 1rem; }
.dashboard-shell .table { margin-bottom: 0; }
.dashboard-shell .table > :not(caption) > * > * { vertical-align: middle; }
.dashboard-shell section + section { margin-top: 1.25rem; }

/* A role-aware action inbox for the work that matters now. */
.attention-panel { background:#fff; border:1px solid #dfe6df; border-left:4px solid var(--green); border-radius:.8rem; box-shadow:0 6px 20px rgba(24,61,43,.06); overflow:hidden; }
.attention-heading { align-items:center; border-bottom:1px solid #edf0ed; display:flex; justify-content:space-between; padding:1.15rem 1.35rem; }
.attention-heading .card-label { color:var(--green); display:block; font-size:.72rem; font-weight:700; letter-spacing:.1em; text-transform:uppercase; }
.attention-count { align-items:center; background:#e7f2e7; border-radius:999px; color:var(--forest); display:inline-flex; font-size:.85rem; font-weight:700; height:2rem; justify-content:center; min-width:2rem; padding:0 .65rem; }
.attention-list { display:grid; }
.attention-item { align-items:center; border-bottom:1px solid #edf0ed; color:#263b30; display:grid; gap:.9rem; grid-template-columns:auto minmax(0,1fr) auto; padding:1rem 1.35rem; text-decoration:none; transition:background-color .15s ease; }
.attention-item:last-child { border-bottom:0; }
.attention-item:hover,.attention-item:focus { background:#f7faf7; color:var(--forest); }
.attention-dot { background:#237a45; border-radius:50%; height:.65rem; width:.65rem; }
.attention-copy strong,.attention-copy small { display:block; }
.attention-copy small { color:#69766e; margin-top:.18rem; }
.attention-action { color:var(--green); font-size:.84rem; font-weight:700; white-space:nowrap; }
.attention-urgent .attention-dot { background:#d93d4b; box-shadow:0 0 0 4px #fbeaec; }
.attention-warning .attention-dot { background:#d28a16; box-shadow:0 0 0 4px #fff4df; }
.attention-info .attention-dot { background:#3478b8; box-shadow:0 0 0 4px #e8f2fb; }
.attention-success .attention-dot { background:#27834b; box-shadow:0 0 0 4px #e5f3e9; }
.attention-clear { align-items:center; color:#607067; display:flex; gap:.85rem; padding:1.1rem 1.35rem; }
.attention-clear>span { align-items:center; background:#e7f2e7; border-radius:50%; color:var(--green); display:inline-flex; flex:0 0 auto; font-weight:700; height:2rem; justify-content:center; width:2rem; }
.attention-clear strong { color:var(--forest); display:block; }
.attention-clear p { font-size:.88rem; }
.activity-feed-panel { overflow:hidden; }
.activity-feed-list { border-top:1px solid #edf0ed; margin-left:-1.5rem; margin-right:-1.5rem; margin-bottom:-1.5rem; }
.activity-feed-item { align-items:center; border-bottom:1px solid #edf0ed; color:#263b30; display:grid; gap:.85rem; grid-template-columns:auto minmax(0,1fr) auto; padding:.9rem 1.5rem; text-decoration:none; }
.activity-feed-item:last-child { border-bottom:0; }
a.activity-feed-item:hover,a.activity-feed-item:focus { background:#f7faf7; color:var(--forest); }
.activity-feed-item.is-new { background:#fbfdf9; }
.activity-icon { background:#7c8a81; border-radius:50%; height:.58rem; width:.58rem; }
.activity-important { background:#d28a16; box-shadow:0 0 0 4px #fff4df; }
.activity-urgent { background:#d93d4b; box-shadow:0 0 0 4px #fbeaec; }
.activity-feed-copy strong,.activity-feed-copy small,.activity-feed-copy time { display:block; }
.activity-feed-copy small { color:#69766e; margin-top:.1rem; }
.activity-feed-copy time { color:#8a958e; font-size:.72rem; margin-top:.25rem; }
.activity-arrow { color:var(--green); font-weight:700; }
.activity-empty { background:#f7faf7; border-radius:.6rem; color:#69766e; padding:1rem; }
.activity-empty strong { color:var(--forest); display:block; }
.activity-empty p { font-size:.88rem; margin-top:.15rem; }

@media (max-width: 767.98px) {
  .dashboard-navbar .container { align-items: flex-start; gap: .75rem; }
  .dashboard-navbar .navbar-brand { padding-top: .45rem; }
  .dashboard-nav-actions { display: grid !important; grid-template-columns: auto auto; margin-left: auto !important; }
  .dashboard-account-panel { position: fixed; left: 1rem; right: 1rem; top: 4.5rem; }
  .dashboard-shell.py-5 { padding-top: 1.5rem !important; }
  .dashboard-shell .container { padding-left: 1rem; padding-right: 1rem; }
  .dashboard-shell .dashboard-card { padding: 1.1rem; }
  .dashboard-shell .table-responsive { margin-left: -.25rem; margin-right: -.25rem; }
  .attention-heading,.attention-item,.attention-clear { padding-left:1rem; padding-right:1rem; }
  .attention-item { align-items:start; grid-template-columns:auto minmax(0,1fr); }
  .attention-action { grid-column:2; white-space:normal; }
  .activity-feed-list { margin-left:-1.1rem; margin-right:-1.1rem; margin-bottom:-1.1rem; }
  .activity-feed-item { align-items:start; padding-left:1.1rem; padding-right:1.1rem; }
}

/* Compact operational header: do not inherit the public landing-page hero. */
body.bg-light > header.hero {
  background: var(--forest) !important;
  background-image: none !important;
  min-height: 0 !important;
  padding: 0 !important;
}
body.bg-light > header.hero .container { min-height: 86px; }
body.bg-light > header.hero p,
body.bg-light > header.hero .text-muted { font-size: inherit; }
@media (max-width: 575.98px) {
  body.bg-light > header.hero { padding: 0 !important; }
  body.bg-light > header.hero .container { min-height: 0; }
}
