/* PIMS-SKNAU components (2026-11-13).
   Look aligned with the other SKNAU portals (jobnervistaar.sknau.ac.in): green gradient header (#1a4731 → #2d6a4f),
   emblem on a white circle, dark-green farm hero, gray-50 page, white rounded cards that lift on hover, Poppins.
   Component shapes follow shadcn/ui (as on test.sknau.ac.in); Motion effects live in pims.js.
   The earlier dark "Motion Lab" version is kept in ../backups/pims.css.dark-motionlab-2026-11-13. */
:root {
  --bg: #f9fafb; --fg: #1f2937; --muted-fg: #6b7280; --border: #e5e7eb; --input: #d1d5db; --card: #fff;
  --g900: #1a4731; --g800: #2d6a4f; --g700: #15803d; --g600: #16a34a; --g500: #22c55e; --g200: #bbf7d0; --g100: #dcfce7; --g50: #f0fdf4;
  --amber: #b45309; --red: #b91c1c; --teal: #0f766e; --blue: #1d4ed8; --grey: #6b7280;
  --radius: .625rem; --radius-xl: .875rem; --radius-2xl: 1.25rem; --radius-3xl: 1.5rem;
  --shadow: 0 10px 25px -10px rgba(16, 24, 40, .12); --shadow-lg: 0 25px 50px -12px rgba(0, 0, 0, .15);
  --ease: cubic-bezier(.22, 1, .36, 1);
  --hero-img: url('https://images.unsplash.com/photo-1500382017468-9049fed747ef?ixlib=rb-1.2.1&auto=format&fit=crop&w=1950&q=80');
  /* shell.css tokens */
  --ix-navy-900: #fff; --ix-navy-800: #dcfce7; --ix-navy-700: #2d6a4f; --ix-blue-50: #f0fdf4; --ix-gold: #4ade80;
  --ix-line: #e5e7eb; --ix-bg: #f9fafb; --ix-muted: #6b7280;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
body { margin: 0; min-height: 100dvh; display: flex; flex-direction: column; background: var(--bg) !important; color: var(--fg);
  font: 15px/1.55 'Poppins', 'Noto Sans Devanagari', system-ui, sans-serif; -webkit-font-smoothing: antialiased; }
[lang="hi"] { font-family: 'Noto Sans Devanagari', 'Poppins', sans-serif; }
::selection { background: var(--g200); }
a { color: var(--g800); text-underline-offset: 3px; }
a:hover { color: var(--g900); }
:focus-visible { outline: 2px solid var(--g600); outline-offset: 2px; }
.muted { color: var(--muted-fg); }
.small, small.muted { font-size: 13px; }
h1, h2, h3 { color: #111827; line-height: 1.25; letter-spacing: -.01em; }
h2 { font-size: 1.1rem; font-weight: 600; margin: 0 0 12px; }
h3 { font-size: 1rem; font-weight: 600; margin: 18px 0 8px; }
.scroll-progress { position: fixed; left: 0; right: 0; top: 0; z-index: 70; height: 3px; transform-origin: 0 50%; transform: scaleX(0); background: linear-gradient(90deg, #22c55e, #4ade80, #a3e635); }

/* ---------- shell re-theme: jobnervistaar green header ---------- */
header.ix-header { background: linear-gradient(90deg, #1a4731 0%, #2d6a4f 100%) !important; color: #fff !important; border-bottom: 0 !important;
  box-shadow: 0 10px 15px -3px rgba(0,0,0,.18) !important; font-family: 'Poppins', sans-serif !important; }
.ix-brand, .ix-brand-hi { color: #fff !important; }
.ix-brand-en { color: #ecfdf5 !important; }
.ix-brand-sub { color: #bbf7d0 !important; }
.ix-brand img { background: #fff; border-radius: 50%; box-shadow: 0 2px 6px rgba(0,0,0,.25); }
.ix-user-name { color: #dcfce7 !important; } .ix-user-name i { color: #86efac !important; }
.ix-btn-logout { background: rgba(255,255,255,.12) !important; color: #fff !important; border: 1px solid rgba(255,255,255,.25); }
.ix-btn-logout:hover { background: #fff !important; color: var(--g900) !important; }
.ix-btn-login { background: #fff !important; color: var(--g900) !important; }
.ix-burger { background: rgba(255,255,255,.12) !important; border-color: rgba(255,255,255,.3) !important; color: #fff !important; }
nav.ix-nav { background: rgba(0,0,0,.18) !important; border-top: 1px solid rgba(255,255,255,.12); }
.ix-nav-link { color: #dcfce7 !important; font-size: 14px !important; font-weight: 500 !important; }
.ix-nav-link i { color: #86efac; }
.ix-nav-link:hover { background: rgba(255,255,255,.08) !important; color: #fff !important; }
.ix-nav-link.is-active { color: #fff !important; background: rgba(255,255,255,.1) !important; border-bottom-color: #4ade80 !important; font-weight: 600 !important; }
.ix-drawer-head strong, .ix-drawer-link { color: #1f2937 !important; }
.ix-drawer-user { background: var(--g50) !important; color: var(--g900) !important; }
.ix-drawer-link i { color: var(--g800) !important; }
.ix-drawer-link:hover, .ix-drawer-link.is-active { background: var(--g50) !important; color: var(--g900) !important; }
footer.ix-footer { background: #fff !important; color: #6b7280 !important; border-top: 1px solid var(--border); font-family: 'Poppins', sans-serif !important; }
.ix-foot-hi { color: var(--g900) !important; } .ix-foot-en { color: var(--g800) !important; } .ix-foot-credit span { color: #9ca3af !important; }

main.page { flex: 1 0 auto; padding-top: 20px; padding-bottom: 40px; }

/* ---------- page title: dark-green farm hero (as jobnervistaar .bg-agriculture), Hindi above English ---------- */
.ptitle { position: relative; overflow: hidden; display: flex; flex-wrap: wrap; justify-content: space-between; align-items: flex-end; gap: 14px; margin: 0 0 20px;
  padding: 22px 22px 20px; border-radius: var(--radius-3xl); color: #fff;
  background: linear-gradient(rgba(0, 48, 0, .82), rgba(0, 20, 0, .74)), var(--hero-img) center / cover, #1a4731; box-shadow: var(--shadow-lg); }
.ptitle::after { content: ''; position: absolute; left: 22px; bottom: 0; width: 72px; height: 4px; border-radius: 4px 4px 0 0; background: #22c55e; }
.ptitle > div { position: relative; min-width: 0; }
.ptitle h1 { margin: 0; display: flex; flex-direction: column; gap: 2px; color: #fff; font-size: clamp(1.4rem, 1.05rem + 1.4vw, 2.05rem); font-weight: 800; letter-spacing: -.02em; }
.ptitle h1 small { font-size: .52em; font-weight: 600; letter-spacing: .01em; color: #86efac; }
.ptitle p { margin: 6px 0 0; color: #dcfce7; font-size: 14px; overflow-wrap: anywhere; }
.ptitle p a, .ptitle p b { color: #fff !important; }
.ptitle .muted { color: #d1fae5; }
.ptitle .chip { background: rgba(255,255,255,.14); border-color: rgba(255,255,255,.25); color: #fff; }
.ptitle-act { position: relative; display: flex; flex-wrap: wrap; gap: 8px; }
.ptitle .btn-ghost { background: rgba(255,255,255,.12); color: #fff !important; border-color: rgba(255,255,255,.35); }
.ptitle .btn-ghost:hover { background: rgba(255,255,255,.22); }
.ptitle .btn-violet, .ptitle .btn:not(.btn-ghost) { background: #fff; color: var(--g900) !important; }

/* ---------- cards (white, rounded, lift on hover like jobnervistaar .glass-card) ---------- */
.card { position: relative; background: var(--card); border: 1px solid #f3f4f6; border-radius: var(--radius-2xl); padding: 20px; margin-bottom: 16px; min-width: 0;
  box-shadow: var(--shadow); transition: box-shadow .3s, border-color .3s; }
.card:hover { box-shadow: 0 18px 40px -14px rgba(16, 24, 40, .18); }
.card > h2:first-child { display: flex; align-items: center; gap: 9px; flex-wrap: wrap; }
.card > h2 i { color: var(--g700); }
.grid { display: grid; gap: 16px; }
.g2 { grid-template-columns: repeat(auto-fit, minmax(min(100%, 420px), 1fr)); }
.g3 { grid-template-columns: repeat(auto-fit, minmax(min(100%, 280px), 1fr)); }
.stats { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 160px), 1fr)); gap: 14px; margin-bottom: 18px; }
.stat { position: relative; overflow: hidden; display: flex; flex-direction: column; gap: 3px; padding: 18px 16px 16px; border-radius: var(--radius-2xl); background: #fff;
  border: 1px solid #f3f4f6; box-shadow: var(--shadow); text-decoration: none !important; color: inherit !important; transition: box-shadow .3s, border-color .3s; }
.stat::before { content: ''; position: absolute; left: 0; top: 0; bottom: 0; width: 4px; background: var(--tone, var(--g600)); }
.stat::after { content: ''; position: absolute; inset: 0; pointer-events: none; opacity: 0; transition: opacity .3s;
  background: radial-gradient(240px circle at var(--gx, 50%) var(--gy, 50%), rgba(34,197,94,.10), transparent 60%); }
.stat:hover { box-shadow: var(--shadow-lg); border-color: var(--g200); } .stat:hover::after { opacity: 1; }
.stat i { position: absolute; right: 14px; top: 14px; font-size: 17px; width: 36px; height: 36px; display: grid; place-items: center; border-radius: 12px; background: var(--tone-bg, var(--g50)); color: var(--tone, var(--g700)); }
.stat b { font-size: 1.85rem; line-height: 1.1; font-weight: 700; color: #111827; }
.stat span { font-size: 12.5px; color: var(--muted-fg); padding-right: 36px; }
.t-blue { --tone: #2d6a4f; --tone-bg: #f0fdf4; } .t-green { --tone: #16a34a; --tone-bg: #dcfce7; } .t-amber { --tone: #d97706; --tone-bg: #fef3c7; }
.t-red { --tone: #dc2626; --tone-bg: #fee2e2; } .t-teal { --tone: #0d9488; --tone-bg: #ccfbf1; } .t-grey { --tone: #6b7280; --tone-bg: #f3f4f6; }
.t-red b { color: #b91c1c; }

/* ---------- badges / chips ---------- */
.badge { display: inline-flex; align-items: center; gap: 4px; padding: 2px 9px; border-radius: 999px; font-size: 11.5px; font-weight: 600; white-space: nowrap; border: 1px solid transparent; }
.b-grey { background: #f3f4f6; color: #374151; border-color: #e5e7eb; } .b-amber { background: #fef3c7; color: #92400e; border-color: #fde68a; }
.b-red { background: #fee2e2; color: #991b1b; border-color: #fecaca; } .b-green { background: #dcfce7; color: #166534; border-color: #bbf7d0; }
.b-blue { background: #ecfdf5; color: #1a4731; border-color: #a7f3d0; } .b-teal { background: #ccfbf1; color: #115e59; border-color: #99f6e4; }
.chip { display: inline-block; padding: 2px 9px; margin: 2px 3px 0 0; border-radius: 7px; background: #f3f4f6; border: 1px solid var(--border); font-size: 12px; color: #374151; }
button.chip:hover { border-color: var(--g500); background: var(--g50); }

/* ---------- alerts ---------- */
.alert { display: flex; gap: 10px; align-items: flex-start; padding: 12px 14px; border-radius: var(--radius-xl); margin: 0 0 14px; font-size: 14px; border: 1px solid; }
.alert-ok { background: #f0fdf4; border-color: #bbf7d0; color: #166534; } .alert-err { background: #fef2f2; border-color: #fecaca; color: #991b1b; }
.alert-warn { background: #fffbeb; border-color: #fde68a; color: #92400e; } .alert-info { background: #ecfdf5; border-color: #a7f3d0; color: #1a4731; }
.alert i { margin-top: 3px; }

/* ---------- buttons (shadcn shapes, SKNAU green) ---------- */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 7px; min-height: 40px; padding: 0 16px; border-radius: var(--radius); border: 1px solid transparent;
  background: var(--g800); color: #fff !important; font: 600 14px 'Poppins', 'Noto Sans Devanagari', sans-serif; text-decoration: none !important; cursor: pointer; white-space: nowrap;
  transition: background-color .2s, border-color .2s, transform .15s, box-shadow .2s; }
.btn:hover { background: var(--g900); }
.btn:active { transform: translateY(1px); }
.btn[disabled] { opacity: .5; pointer-events: none; }
.btn-ghost { background: #fff; color: var(--g800) !important; border-color: var(--input); }
.btn-ghost:hover { background: var(--g50); border-color: var(--g500); }
.btn-green { background: var(--g600); } .btn-green:hover { background: var(--g700); }
.btn-red { background: #fff; color: #b91c1c !important; border-color: #fecaca; } .btn-red:hover { background: #fef2f2; }
.btn-amber { background: #fff; color: #b45309 !important; border-color: #fde68a; } .btn-amber:hover { background: #fffbeb; }
.btn-violet { background: linear-gradient(90deg, #1a4731, #2d6a4f); color: #fff !important; } .btn-violet:hover { filter: brightness(1.12); }
.btn-sm { min-height: 32px; padding: 0 11px; font-size: 13px; border-radius: .5rem; }
.link-btn { border: 0; background: none; color: var(--g800); cursor: pointer; padding: 2px 6px; font: inherit; }
form.inline { display: inline; }
.actions { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; margin-top: 14px; }

/* ---------- forms ---------- */
label { display: block; font-weight: 600; font-size: 13.5px; color: #374151; margin: 0 0 6px; }
label .req { color: var(--red); }
.hint { display: block; font-weight: 400; font-size: 12.5px; color: var(--muted-fg); margin-top: 4px; }
input[type=text], input[type=email], input[type=password], input[type=number], input[type=date], input[type=search], input[type=url], select, textarea {
  width: 100%; max-width: 100%; min-height: 40px; padding: 8px 11px; border: 1px solid var(--input); border-radius: var(--radius);
  font: 14.5px 'Poppins', 'Noto Sans Devanagari', sans-serif; background: #fff; color: #111827; transition: border-color .2s, box-shadow .2s; }
input::placeholder, textarea::placeholder { color: #9ca3af; }
input[type=file] { color: var(--muted-fg); font: 13.5px 'Poppins', sans-serif; max-width: 100%; }
input[type=file]::file-selector-button { margin-right: 10px; padding: 7px 12px; border-radius: .5rem; border: 1px solid var(--input); background: var(--g50); color: var(--g900); cursor: pointer; font-weight: 600; }
input[type=checkbox] { accent-color: var(--g700); }
textarea { min-height: 96px; resize: vertical; line-height: 1.55; }
input:focus, select:focus, textarea:focus { outline: none; border-color: var(--g600); box-shadow: 0 0 0 3px rgba(34,197,94,.2); }
input:disabled, textarea:disabled, select:disabled { background: #f9fafb; color: #4b5563; }
.f { margin-bottom: 14px; min-width: 0; }
.frow { display: grid; gap: 0 14px; grid-template-columns: repeat(auto-fit, minmax(min(100%, 220px), 1fr)); }
fieldset { border: 1px solid var(--border); border-radius: var(--radius-xl); padding: 14px; margin: 0 0 14px; min-width: 0; background: #fcfdfc; }
legend { font-weight: 700; color: var(--g900); padding: 0 6px; font-size: 14px; }
.filters { display: grid; gap: 10px; grid-template-columns: repeat(auto-fit, minmax(min(100%, 170px), 1fr)); align-items: end; }

/* ---------- tables (scroll in own box; .cards-sm → cards on phones) ---------- */
.tbl-wrap { width: 100%; overflow-x: auto; -webkit-overflow-scrolling: touch; border: 1px solid var(--border); border-radius: var(--radius-xl); background: #fff; }
table.t { width: 100%; border-collapse: collapse; font-size: 14px; }
table.t th { background: var(--g50); color: var(--g900); text-align: left; font-weight: 600; font-size: 12.5px; padding: 10px 12px; border-bottom: 1px solid var(--border); white-space: nowrap; }
table.t td { padding: 10px 12px; border-bottom: 1px solid #f3f4f6; vertical-align: top; }
table.t tr:last-child td { border-bottom: 0; }
table.t tbody tr { transition: background-color .15s; }
table.t tbody tr:hover { background: #f9fefb; }
table.t td.num, table.t th.num { text-align: right; white-space: nowrap; font-variant-numeric: tabular-nums; }
table.t tfoot td { font-weight: 700; background: var(--g50); }
.t-title { font-weight: 600; color: #111827 !important; text-decoration: none; }
.t-title:hover { color: var(--g800) !important; text-decoration: underline; }
@media (max-width: 700px) {
  table.cards-sm, table.cards-sm tbody, table.cards-sm tr, table.cards-sm td { display: block; width: 100%; }
  table.cards-sm thead { display: none; }
  table.cards-sm tr { border-bottom: 1px solid var(--border); padding: 10px 4px; }
  table.cards-sm td { border: 0; padding: 3px 10px; }
  table.cards-sm td[data-l]::before { content: attr(data-l) ': '; font-weight: 600; color: var(--muted-fg); font-size: 12.5px; }
  table.cards-sm td.num { text-align: left; }
}

/* ---------- editable rows ---------- */
.rows .row-item { display: grid; gap: 8px; grid-template-columns: 1fr; padding: 12px; border: 1px dashed #cbd5d1; border-radius: var(--radius-xl); margin-bottom: 8px; position: relative; background: #fff; }
.rows .row-item .rm { position: absolute; right: 6px; top: 6px; color: #b91c1c; }
@media (min-width: 701px) {
  .rows .team-row { grid-template-columns: 2.4fr 1fr .8fr 2fr; padding-right: 40px; }
  .rows .act-row { grid-template-columns: .7fr 2.6fr .7fr .7fr 1.4fr 1.6fr; padding-right: 40px; }
  .rows .obj-row { padding-right: 40px; }
}
.budget input { min-width: 90px; text-align: right; }

/* ---------- staff picker (popover) ---------- */
.picker { position: relative; }
.picker-list { position: absolute; z-index: 30; left: 0; right: 0; top: calc(100% + 4px); background: #fff; border: 1px solid var(--border); border-radius: var(--radius-xl);
  box-shadow: var(--shadow-lg); max-height: 260px; overflow-y: auto; padding: 4px; animation: pop .18s var(--ease); }
.picker-list button { display: block; width: 100%; text-align: left; border: 0; background: none; padding: 8px 10px; border-radius: .5rem; font: 14px 'Poppins', sans-serif; color: #111827; cursor: pointer; }
.picker-list button:hover, .picker-list button:focus { background: var(--g50); outline: none; }
.picker-list small { display: block; color: var(--muted-fg); font-size: 12px; }
@keyframes pop { from { opacity: 0; transform: translateY(-4px) scale(.98); } }

/* ---------- wizard steps ---------- */
.steps { display: flex; gap: 6px; overflow-x: auto; margin: 0 0 16px; padding-bottom: 4px; scrollbar-width: thin; }
.steps a { flex: 0 0 auto; display: flex; align-items: center; gap: 8px; padding: 7px 13px 7px 8px; border-radius: 999px; background: #fff; border: 1px solid var(--border);
  text-decoration: none; color: #4b5563; font-size: 13px; font-weight: 500; transition: border-color .2s, color .2s, box-shadow .2s; }
.steps a:hover { border-color: var(--g500); }
.steps a b { display: grid; place-items: center; width: 22px; height: 22px; border-radius: 50%; background: #f3f4f6; font-size: 11.5px; color: #374151; }
.steps a.on { border-color: var(--g800); background: var(--g50); color: var(--g900); box-shadow: 0 4px 12px -6px rgba(45,106,79,.5); }
.steps a.on b { background: linear-gradient(135deg, #1a4731, #2d6a4f); color: #fff; }
.steps a.done b { background: var(--g100); color: var(--g700); }

/* ---------- key/value ---------- */
dl.kv { display: grid; grid-template-columns: minmax(120px, 190px) 1fr; gap: 8px 16px; margin: 0; font-size: 14px; }
dl.kv dt { color: var(--muted-fg); font-weight: 600; }
dl.kv dd { margin: 0; min-width: 0; overflow-wrap: anywhere; }
@media (max-width: 520px) { dl.kv { grid-template-columns: 1fr; gap: 2px; } dl.kv dd { margin-bottom: 8px; } }
.prose { white-space: pre-wrap; overflow-wrap: anywhere; font-size: 14.5px; }

/* ---------- tabs (segmented, shadcn) ---------- */
.tabs { display: flex; gap: 2px; overflow-x: auto; padding: 4px; margin: 0 0 16px; border-radius: var(--radius-xl); background: #eef2ef; scrollbar-width: thin; }
.tabs a { flex: 0 0 auto; padding: 7px 13px; border-radius: .55rem; text-decoration: none; color: #4b5563; font-weight: 500; font-size: 13.5px; transition: background-color .2s, color .2s, box-shadow .2s; }
.tabs a:hover { color: var(--g900); }
.tabs a.on { background: #fff; color: var(--g900); font-weight: 600; box-shadow: 0 1px 3px rgba(0,0,0,.1); }

/* ---------- timeline ---------- */
.timeline { list-style: none; margin: 0; padding: 0 0 0 18px; border-left: 2px solid var(--g100); }
.timeline li { position: relative; padding: 0 0 16px 10px; font-size: 14px; }
.timeline li::before { content: ''; position: absolute; left: -25px; top: 5px; width: 12px; height: 12px; border-radius: 50%; background: var(--g700); box-shadow: 0 0 0 4px var(--g100); }
.timeline .when { color: var(--muted-fg); font-size: 12.5px; }

/* ---------- approval chain ---------- */
.chain { display: flex; flex-wrap: wrap; gap: 6px; align-items: center; font-size: 13px; }
.chain span.st { padding: 5px 10px; border-radius: .6rem; background: #f3f4f6; border: 1px solid var(--border); }
.chain span.st small { color: var(--muted-fg); }
.chain span.st.done { background: var(--g50); border-color: var(--g200); color: var(--g900); }
.chain span.st.now { background: #fffbeb; border-color: #fcd34d; color: #92400e; font-weight: 600; }
.chain i.fa-chevron-right { color: #9ca3af; font-size: 10px; }

/* ---------- Gantt ---------- */
.gantt { font-size: 12.5px; }
.gantt td.gc { padding: 0; min-width: 14px; border-left: 1px solid #f3f4f6; }
.gantt td.gc.on { background: linear-gradient(180deg, #2d6a4f, #1a4731); }

/* ---------- bars ---------- */
.bars { display: flex; flex-direction: column; gap: 8px; }
.bar-row { display: grid; grid-template-columns: minmax(90px, 38%) 1fr 36px; align-items: center; gap: 10px; font-size: 13px; }
.bar-l { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.bar-t { height: 10px; background: #f3f4f6; border-radius: 6px; overflow: hidden; }
.bar-f { display: block; height: 100%; border-radius: 6px; background: linear-gradient(90deg, #2d6a4f, #22c55e); transform-origin: 0 50%; }
.bar-f.t-teal { background: linear-gradient(90deg, #0f766e, #2dd4bf); } .bar-f.t-amber { background: linear-gradient(90deg, #d97706, #fbbf24); } .bar-f.t-green { background: linear-gradient(90deg, #15803d, #4ade80); }
.bar-row b { text-align: right; font-weight: 600; }

/* ---------- dup check / meters / files ---------- */
.dup { border-left: 4px solid #f59e0b; }
.dup .score { font-weight: 700; color: var(--amber); }
.dup .score.hi { color: var(--red); }
.meter { height: 7px; background: #f3f4f6; border-radius: 4px; overflow: hidden; min-width: 70px; }
.meter > span { display: block; height: 100%; background: linear-gradient(90deg, #16a34a, #4ade80); }
.meter.over > span { background: linear-gradient(90deg, #dc2626, #f87171); }
ul.files { list-style: none; padding: 0; margin: 0; }
ul.files li { padding: 8px 0; border-bottom: 1px solid #f3f4f6; overflow-wrap: anywhere; }
.empty { text-align: center; padding: 30px 10px; color: var(--muted-fg); }
.empty i { font-size: 30px; opacity: .5; display: block; margin-bottom: 10px; color: var(--g700); }

/* ---------- login ---------- */
.login-hero { margin: 0 0 20px; }
.login-wrap { max-width: 460px; margin: 0 auto 10px; }
.login-wrap .card { padding: 26px; border-radius: var(--radius-3xl); }
.login-h { margin: 0 0 6px; font-size: 1.45rem; display: flex; flex-direction: column; color: var(--g900); }
.login-h small { font-size: .9rem; font-weight: 600; color: var(--g700); }
/* shared 2FA code card (sknau inc_2fa_login.php) inside .card.auth */
.auth .eyebrow { display: inline-flex; gap: 6px; align-items: center; font-size: 12px; font-weight: 600; color: var(--g800); padding: 3px 10px; border-radius: 999px; background: var(--g50); border: 1px solid var(--g200); }
.auth h2 { margin: 10px 0 4px; font-size: 1.3rem; }
.auth .sub { color: var(--muted-fg); font-size: 14px; }
.auth .alert { background: #fef2f2; border-color: #fecaca; color: #991b1b; }
.auth .alert.success { background: #f0fdf4; border-color: #bbf7d0; color: #166534; }
.auth .field { margin: 12px 0; }
.auth .control { position: relative; }
.auth .control i { position: absolute; right: 12px; top: 50%; transform: translateY(-50%); color: #9ca3af; }
.auth .btn { width: 100%; }
.auth .btn .spin, .auth .btn .arrow { display: none; }
.auth .meta { display: flex; margin-top: 12px; font-size: 13.5px; }
.auth .link, .auth .back { color: var(--g800); font: 600 13.5px 'Poppins', sans-serif; text-decoration: none; }
.auth .link:disabled { color: #9ca3af; }

@media (max-width: 700px) {
  input, select, textarea { font-size: 16px !important; }
  .card { padding: 15px; }
  .ptitle { padding: 18px 16px 18px; border-radius: var(--radius-2xl); }
  .ptitle-act { width: 100%; }
  .ptitle-act .btn { flex: 1 1 auto; }
  .actions .btn { flex: 1 1 auto; }
}
@media (prefers-reduced-motion: reduce) { .picker-list { animation: none; } }
@media print {
  .scroll-progress, .no-print, .actions, .ptitle-act, .tabs, .steps, .filters { display: none !important; }
  body { background: #fff !important; font-size: 12px; }
  .ptitle { background: none; color: #000; box-shadow: none; padding: 0; } .ptitle h1, .ptitle p, .ptitle h1 small { color: #000; }
  .card { box-shadow: none; border: 0; padding: 0; }
  .tbl-wrap { overflow: visible; border: 0; }
}

/* v2 (2026-11-13): tab counts, geo-tagged photo grid */
.tab-n { display: inline-grid; place-items: center; min-width: 18px; height: 18px; padding: 0 5px; margin-left: 4px; border-radius: 9px; background: var(--g800); color: #fff; font-size: 11px; font-weight: 700; }
.photos { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 170px), 1fr)); gap: 12px; }
.photos figure { margin: 0; border: 1px solid var(--border); border-radius: var(--radius-xl); overflow: hidden; background: #fff; }
.photos img { display: block; width: 100%; aspect-ratio: 4 / 3; object-fit: cover; background: #f3f4f6; }
.photos figcaption { padding: 7px 9px; font-size: 12px; line-height: 1.4; overflow-wrap: anywhere; }
.geo-note.ok { color: var(--g700); } .geo-note.err { color: var(--amber); }

/* Tablets (701–1023px): PIMS has 7–11 menu items, which wrapped into 2–3 rows of a sticky header (173px at 768).
   Use the ☰ drawer as on phones; the one-row menu bar starts at 1024px. (2026-11-13, found in the 768px check) */
@media (min-width: 701px) and (max-width: 1023px) {
  .ix-burger { display: grid !important; }
  nav.ix-nav { display: none !important; }
}
@media (min-width: 1024px) and (max-width: 1279px) {
  .ix-nav-link { padding: 0 11px !important; font-size: 14px !important; }
  .ix-nav-link i { display: none; }   /* manager menu (10 items) needs ~1060px with icons */
}

/* Phones: bigger tap targets for row-remove ✕, suggestion chips and icon-only link buttons (found in the 360px check) */
@media (max-width: 700px) {
  .rows .row-item .rm, .link-btn { min-width: 40px; min-height: 40px; display: inline-grid; place-items: center; }
  .rows .row-item { padding-top: 44px; }
  button.chip { min-height: 36px; padding: 6px 12px; }
}
