/*!*****************************************************************************************************************************************************************************************************************************************************************!*\
  !*** css ./node_modules/next/dist/build/webpack/loaders/css-loader/src/index.js??ruleSet[1].rules[14].oneOf[12].use[2]!./node_modules/next/dist/build/webpack/loaders/postcss-loader/src/index.js??ruleSet[1].rules[14].oneOf[12].use[3]!./src/app/globals.css ***!
  \*****************************************************************************************************************************************************************************************************************************************************************/
/* ============================================================================
   Skylight Web-Business — Agribusiness Portal design system
   Ported from design/agribusiness-portal/*.html (approved mockups).
   Brand: orange #E85D04, navy sidebar #0D1B2A, leaf green #4A8824.
   ========================================================================== */

:root {
  color-scheme: light;
  --bg: #f7f7f5;
  --panel: #ffffff;
  --ink: #1b2332;
  --muted: #6b7280;
  --faint: #9ca3af;
  --line: #e5e7eb;
  --line-2: #f1f2f4;
  --primary: #e85d04;
  --primary-dark: #b84000;
  --primary-soft: #fff3ec;
  --green: #4a8824;
  --green-soft: #eff7e8;
  --navy: #0d1b2a;
  --navy-2: #1a2840;
  --blue: #2563eb;
  --blue-soft: #eff6ff;
  --red: #dc2626;
  --red-soft: #fef2f2;
  --amber: #b45309;
  --amber-soft: #fff7e6;
}

* { margin: 0; padding: 0; box-sizing: border-box; }
html, body { height: 100%; }
body {
  font-family: "Inter", "Segoe UI", -apple-system, sans-serif;
  background: var(--bg);
  color: var(--ink);
  font-size: 14px;
}
a { color: inherit; text-decoration: none; }
button { font-family: inherit; cursor: pointer; }
input, select, textarea { font-family: inherit; color: var(--ink); }

/* ── Shell ──────────────────────────────────────────────────────────────── */
.shell { display: flex; min-height: 100vh; }
.side {
  width: 232px; background: var(--navy); color: #fff;
  display: flex; flex-direction: column;
  position: fixed; top: 0; bottom: 0; z-index: 20;
}
.side-logo { display: flex; align-items: center; gap: 9px; font-weight: 800; font-size: 15.5px; padding: 20px 18px 16px; }
.side-logo .mark { width: 30px; height: 30px; border-radius: 8px; background: var(--primary); display: flex; align-items: center; justify-content: center; font-size: 15px; }
.side-logo .biz { color: #ff8c42; font-weight: 600; }
.nav { flex: 1 1; padding: 4px 10px; overflow-y: auto; }
.nav-grp { font-size: 10px; font-weight: 700; letter-spacing: 0.09em; color: #5e7187; padding: 13px 10px 5px; }
.nav-item {
  display: flex; align-items: center; gap: 10px; padding: 8px 10px; border-radius: 8px;
  color: #b8c2cf; font-size: 13px; font-weight: 500; margin-bottom: 2px;
}
.nav-item:hover { background: rgba(255, 255, 255, 0.06); color: #fff; }
.nav-item.active { background: var(--primary); color: #fff; font-weight: 700; }
.nav-lock { margin-left: auto; font-size: 10px; background: rgba(255, 255, 255, 0.12); border-radius: 5px; padding: 2px 6px; color: #8fa0b3; font-weight: 700; }
.nav-badge { margin-left: auto; font-size: 10px; background: var(--primary); border-radius: 99px; padding: 2px 7px; color: #fff; font-weight: 800; }
.tierbox { margin: 10px; padding: 12px; background: rgba(255, 255, 255, 0.06); border-radius: 10px; }
.tierbox .t { font-size: 11px; color: #8fa0b3; }
.tierbox .n { font-size: 13px; font-weight: 800; margin: 2px 0 8px; }
.tierbox .up { display: block; text-align: center; margin-top: 8px; background: #fff; color: var(--navy); border-radius: 7px; padding: 7px; font-size: 12px; font-weight: 800; }

.main { flex: 1 1; margin-left: 232px; display: flex; flex-direction: column; min-height: 100vh; }
.topbar {
  height: 60px; background: var(--panel); border-bottom: 1px solid var(--line);
  display: flex; align-items: center; gap: 16px; padding: 0 28px;
  position: -webkit-sticky;
  position: sticky; top: 0; z-index: 10;
}
.gsearch { flex: 1 1; max-width: 420px; display: flex; align-items: center; gap: 8px; background: var(--bg); border: 1px solid var(--line); border-radius: 9px; padding: 8px 12px; color: var(--faint); font-size: 13px; }
.gsearch input { border: none; outline: none; background: transparent; flex: 1 1; font-size: 13px; }
.top-right { margin-left: auto; display: flex; align-items: center; gap: 14px; }
.companychip { display: flex; align-items: center; gap: 9px; border: 1px solid var(--line); border-radius: 99px; padding: 5px 12px 5px 5px; }
.companychip .av { width: 28px; height: 28px; border-radius: 50%; background: var(--green-soft); color: var(--green); display: flex; align-items: center; justify-content: center; font-weight: 800; font-size: 11px; }
.companychip b { font-size: 12.5px; }
.tier-tag { font-size: 10px; font-weight: 800; border-radius: 5px; padding: 2px 6px; }
.tier-starter { background: #f3f4f6; color: var(--muted); }
.tier-growth { background: var(--amber-soft); color: var(--amber); }
.tier-enterprise { background: #e0e7ff; color: #3730a3; }
.linkbtn { background: none; border: none; font-size: 12px; font-weight: 700; color: var(--muted); }
.linkbtn:hover { color: var(--ink); }

.wrap { padding: 26px 28px 48px; max-width: 1180px; width: 100%; }
.page-head { display: flex; align-items: flex-start; gap: 14px; margin-bottom: 18px; }
.h1 { font-size: 21px; font-weight: 800; letter-spacing: -0.01em; }
.sub { color: var(--muted); font-size: 13px; margin-top: 3px; }
.crumb { font-size: 12px; color: var(--faint); margin-bottom: 4px; }

/* ── Primitives ─────────────────────────────────────────────────────────── */
.card { background: var(--panel); border: 1px solid var(--line); border-radius: 13px; padding: 18px; }
.card h3 { font-size: 14px; font-weight: 800; margin-bottom: 12px; display: flex; justify-content: space-between; align-items: center; }
.card h3 .h3a { font-size: 12px; color: var(--primary); font-weight: 700; cursor: pointer; }
.btn { background: var(--primary); color: #fff; border: none; border-radius: 9px; padding: 11px 18px; font-size: 13.5px; font-weight: 700; white-space: nowrap; }
.btn:hover { background: var(--primary-dark); }
.btn.full { width: 100%; }
.btn-ghost { background: var(--panel); color: var(--ink); border: 1.5px solid var(--line); border-radius: 9px; padding: 10px 16px; font-size: 13px; font-weight: 600; }
.btn-navy { background: var(--navy); color: #fff; border: none; border-radius: 9px; padding: 11px 18px; font-size: 13px; font-weight: 800; }
.btn-danger { background: var(--red); color: #fff; border: none; border-radius: 9px; padding: 10px 16px; font-size: 12.5px; font-weight: 700; }
.btn-sm { padding: 7px 12px; font-size: 12px; border-radius: 8px; }
.push { margin-left: auto; }

.pill { font-size: 10.5px; font-weight: 800; border-radius: 99px; padding: 3px 9px; display: inline-block; }
.pill-green { background: var(--green-soft); color: var(--green); }
.pill-blue { background: var(--blue-soft); color: var(--blue); }
.pill-amber { background: var(--amber-soft); color: var(--amber); }
.pill-gray { background: #f3f4f6; color: var(--muted); }
.pill-red { background: var(--red-soft); color: var(--red); }
.pill-deep { background: #dcfce7; color: #15803d; }

.kpis { display: grid; grid-template-columns: repeat(4, 1fr); grid-gap: 14px; gap: 14px; margin-bottom: 16px; }
.kpis.three { grid-template-columns: repeat(3, 1fr); }
.kpi { background: var(--panel); border: 1px solid var(--line); border-radius: 13px; padding: 16px; }
.kpi .l { font-size: 11.5px; font-weight: 600; color: var(--muted); display: flex; justify-content: space-between; }
.kpi .v { font-size: 25px; font-weight: 800; letter-spacing: -0.02em; margin: 7px 0 3px; }
.kpi .d { font-size: 11.5px; font-weight: 700; color: var(--faint); }
.kpi .d.up { color: var(--green); }
.kpi .d.down { color: var(--red); }

.grid2 { display: grid; grid-template-columns: 1.6fr 1fr; grid-gap: 14px; gap: 14px; align-items: start; }
.grid3 { display: grid; grid-template-columns: repeat(3, 1fr); grid-gap: 14px; gap: 14px; }
.stack { display: flex; flex-direction: column; gap: 14px; }

table.tbl { width: 100%; border-collapse: collapse; font-size: 12.5px; }
.tbl th { font-size: 10.5px; letter-spacing: 0.06em; color: var(--faint); text-align: left; font-weight: 700; padding: 9px 8px; border-bottom: 1px solid var(--line); text-transform: uppercase; }
.tbl td { padding: 11px 8px; border-bottom: 1px solid var(--line-2); vertical-align: middle; }
.tbl tr.click { cursor: pointer; }
.tbl tr.click:hover td { background: #fcfcfd; }
.tbl tr.sel td { background: var(--primary-soft); }

.field label { display: block; font-size: 12px; font-weight: 700; margin-bottom: 6px; }
.input, select.input, textarea.input {
  width: 100%; border: 1.5px solid var(--line); border-radius: 9px; padding: 10px 12px;
  font-size: 13px; background: #fbfbfa; margin-bottom: 13px;
}
.input:focus { outline: none; border-color: var(--primary); }
.two { display: flex; gap: 12px; }
.two > * { flex: 1 1; }

.chips { display: flex; gap: 7px; flex-wrap: wrap; margin-bottom: 13px; }
.chip-t { font-size: 12px; font-weight: 600; border: 1.5px solid var(--line); background: var(--panel); border-radius: 99px; padding: 7px 13px; color: var(--muted); }
.chip-t.on { border-color: var(--primary); background: var(--primary-soft); color: var(--primary); font-weight: 800; }
.chip-t.dark { background: var(--navy); border-color: var(--navy); color: #fff; }
.tag { font-size: 11.5px; font-weight: 700; background: var(--primary-soft); color: var(--primary); border-radius: 99px; padding: 5px 10px; border: none; }
.tag.gray { background: var(--bg); color: var(--muted); border: 1px dashed var(--line); }

.avatar { border-radius: 50%; display: flex; align-items: center; justify-content: center; font-weight: 800; flex-shrink: 0; }
.av-green { background: var(--green-soft); color: var(--green); }
.av-orange { background: var(--primary-soft); color: var(--primary); }
.av-blue { background: var(--blue-soft); color: var(--blue); }
.av-amber { background: var(--amber-soft); color: var(--amber); }

.empty { text-align: center; padding: 44px 20px; color: var(--muted); }
.empty .e { font-size: 36px; margin-bottom: 10px; }
.empty b { display: block; font-size: 15px; color: var(--ink); margin-bottom: 4px; }
.empty p { font-size: 12.5px; margin-bottom: 16px; }

/* ── Modal & drawer ─────────────────────────────────────────────────────── */
.scrim { position: fixed; inset: 0; background: rgba(13, 27, 42, 0.45); display: flex; align-items: center; justify-content: center; z-index: 50; padding: 24px; }
.modal { width: 580px; max-width: 100%; max-height: 88vh; overflow: auto; background: var(--panel); border-radius: 16px; padding: 26px; }
.modal h3 { font-size: 17px; font-weight: 800; margin-bottom: 2px; }
.modal .ms { font-size: 12.5px; color: var(--muted); margin-bottom: 18px; }
.mfoot { display: flex; gap: 10px; justify-content: flex-end; margin-top: 8px; }
.drawer { position: fixed; top: 0; right: 0; bottom: 0; width: 390px; background: var(--panel); border-left: 1px solid var(--line); box-shadow: -12px 0 30px rgba(13, 27, 42, 0.08); padding: 22px; overflow: auto; z-index: 40; }
.dsec { font-size: 10.5px; letter-spacing: 0.07em; font-weight: 800; color: var(--faint); margin: 18px 0 8px; }
.kv { display: flex; justify-content: space-between; font-size: 12.5px; padding: 7px 0; border-bottom: 1px solid #f5f6f7; gap: 10px; }
.kv span { color: var(--muted); }
.kv b { font-weight: 700; text-align: right; }
.xbtn { margin-left: auto; background: none; border: none; color: var(--faint); font-size: 18px; }

/* ── Toast ──────────────────────────────────────────────────────────────── */
.toast { position: fixed; bottom: 22px; left: 50%; transform: translateX(-50%); background: var(--navy); color: #fff; border-radius: 10px; padding: 11px 20px; font-size: 13px; font-weight: 600; z-index: 80; box-shadow: 0 10px 30px rgba(13, 27, 42, 0.3); }

/* ── Locked enterprise pattern ──────────────────────────────────────────── */
.locked-wrap { position: relative; }
.locked-preview { filter: blur(4px) saturate(0.8); opacity: 0.7; pointer-events: none; -webkit-user-select: none; -moz-user-select: none; user-select: none; }
.locked-overlay { position: absolute; inset: 0; display: flex; justify-content: center; padding-top: 70px; z-index: 5; }
.upcard { width: 460px; height: -moz-fit-content; height: fit-content; background: var(--panel); border: 1px solid var(--line); border-radius: 16px; box-shadow: 0 18px 50px rgba(13, 27, 42, 0.16); padding: 30px; text-align: center; }
.upcard .ic { width: 54px; height: 54px; border-radius: 14px; background: var(--navy); color: #fff; display: flex; align-items: center; justify-content: center; font-size: 24px; margin: 0 auto 14px; }
.upcard h2 { font-size: 18px; font-weight: 800; }
.upcard p { font-size: 13px; color: var(--muted); line-height: 1.55; margin: 8px 0 16px; }
.upcard .feat { display: flex; flex-direction: column; gap: 7px; text-align: left; margin-bottom: 18px; }
.upcard .feat span { font-size: 12.5px; display: flex; gap: 8px; }
.upcard .feat span::before { content: "✓"; color: var(--green); font-weight: 800; }

/* ── Login ──────────────────────────────────────────────────────────────── */
.login-body { display: flex; min-height: 100vh; }
.login-brand { width: 46%; background: linear-gradient(160deg, var(--navy) 0%, var(--navy-2) 100%); color: #fff; display: flex; flex-direction: column; justify-content: space-between; padding: 56px 64px; position: relative; overflow: hidden; }
.login-brand::after { content: ""; position: absolute; right: -120px; bottom: -120px; width: 420px; height: 420px; border-radius: 50%; background: radial-gradient(circle, rgba(232, 93, 4, 0.18), transparent 70%); }
.login-brand h1 { font-size: 34px; line-height: 1.2; font-weight: 800; letter-spacing: -0.02em; max-width: 420px; }
.login-brand h1 em { color: #ff8c42; font-style: normal; }
.login-brand .pp { margin-top: 16px; color: #b8c2cf; font-size: 15px; line-height: 1.6; max-width: 400px; }
.login-stats { display: flex; gap: 36px; margin-top: 36px; }
.login-stats b { display: block; font-size: 24px; font-weight: 800; }
.login-stats span { font-size: 12px; color: #8fa0b3; }
.login-panel { flex: 1 1; display: flex; align-items: center; justify-content: center; padding: 40px; }
.login-card { width: 420px; background: var(--panel); border: 1px solid var(--line); border-radius: 16px; padding: 36px; box-shadow: 0 8px 28px rgba(13, 27, 42, 0.06); }

/* ── Misc shared ────────────────────────────────────────────────────────── */
.bar { height: 7px; border-radius: 4px; background: var(--bg); overflow: hidden; }
.bar i { display: block; height: 100%; background: var(--primary); }
.switch { width: 38px; height: 22px; border-radius: 12px; background: #ccc; position: relative; border: none; flex-shrink: 0; transition: background 0.15s; }
.switch::after { content: ""; position: absolute; top: 2px; left: 2px; width: 18px; height: 18px; border-radius: 50%; background: #fff; transition: left 0.15s; }
.switch.on { background: var(--green); }
.switch.on::after { left: 18px; }
.heat { aspect-ratio: 1; border-radius: 5px; }
.flow-step { font-size: 11.5px; font-weight: 700; border-radius: 8px; padding: 6px 10px; display: inline-block; }
.flow-if { background: var(--amber-soft); color: var(--amber); }
.flow-then { background: var(--primary-soft); color: var(--primary); }
.flow-cap { background: var(--bg); color: var(--muted); }

