/* Adoni Tech ERP - brand layer (18-Oct-2026). Loaded LAST on every site.
   Colours and type follow adonitech.co.in: Poppins, orange #F57C00 actions, blue #467FF7 strip, navy band, crimson #CC3366 accents.
   Tables keep the narrow Barlow face so long item names and numbers still fit. */
@font-face { font-family: "Poppins"; font-weight: 400; font-display: swap; src: url(/fonts/poppins-latin-400-normal.woff2) format("woff2"); }
@font-face { font-family: "Poppins"; font-weight: 500; font-display: swap; src: url(/fonts/poppins-latin-500-normal.woff2) format("woff2"); }
@font-face { font-family: "Poppins"; font-weight: 600; font-display: swap; src: url(/fonts/poppins-latin-600-normal.woff2) format("woff2"); }
@font-face { font-family: "Poppins"; font-weight: 700; font-display: swap; src: url(/fonts/poppins-latin-700-normal.woff2) format("woff2"); }
@font-face { font-family: "Poppins"; font-weight: 800; font-display: swap; src: url(/fonts/poppins-latin-800-normal.woff2) format("woff2"); }
@font-face { font-family: "Mukta"; font-weight: 500; font-display: swap; unicode-range: U+0900-097F, U+1CD0-1CF9, U+200C-200D, U+20A8, U+20B9, U+25CC, U+A830-A839, U+A8E0-A8FF;
  src: url(/fonts/mukta-devanagari-500-normal.woff2) format("woff2"); }
@font-face { font-family: "Mukta"; font-weight: 700; font-display: swap; unicode-range: U+0900-097F, U+1CD0-1CF9, U+200C-200D, U+20A8, U+20B9, U+25CC, U+A830-A839, U+A8E0-A8FF;
  src: url(/fonts/mukta-devanagari-700-normal.woff2) format("woff2"); }

:root {
  --orange: #f57c00; --orange-d: #c25f00; --orange-soft: #fff1e0;
  --sky: #467ff7; --navy: #1b3263; --navy-2: #24427f; --crimson: #cc3366;
  --paper: #f3f4f6; --sheet: #ffffff; --ink: #1f2933; --ink-2: #55606d; --line: #d4d9e0; --hair: #e7eaee;
  --blue: #2a62d6; --blue-soft: #e8efff; --safety: #f57c00; --ok: #2e7d4f; --err: #b3261e;
  --head: "Poppins", "Mukta", system-ui, "Segoe UI", sans-serif;
  --body: "Poppins", "Mukta", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --narrow: "Barlow", "Mukta", system-ui, sans-serif;
  --radius: 10px;
  --shadow: 0 1px 2px rgba(16, 24, 40, .06), 0 4px 14px rgba(16, 24, 40, .08);
}
@media (prefers-color-scheme: dark) {
  :root { --paper: #0f1726; --sheet: #172235; --ink: #e8edf4; --ink-2: #a3b1c2; --line: #2c3a52; --hair: #223049;
    --blue: #7ea6ff; --blue-soft: #1c2c4d; --orange: #ff9a3c; --orange-soft: #3a2614; --shadow: 0 2px 10px rgba(0,0,0,.35); }
}
body { font: 400 15px/1.55 var(--body); background: var(--paper); }
[lang="mr"], .pc-mr { font-family: "Mukta", var(--body); }

/* Lettering: bold and confident */
h1 { font: 800 30px/1.15 var(--head); letter-spacing: -.01em; }
h2 { font: 700 20px/1.25 var(--head); letter-spacing: -.005em; }
h3, h4 { font-family: var(--head); font-weight: 700; }
@media (min-width: 640px) { h1 { font-size: 34px; } h2 { font-size: 22px; } }

/* Tables: compact narrow face for data, bold Poppins headers */
td, .tbl-wrap td { font-family: var(--narrow); font-size: 15px; }
th { font: 600 12px var(--head); text-transform: uppercase; letter-spacing: .04em; color: var(--ink-2); }

/* Top bar: website navy with the orange line */
.bar { background: linear-gradient(90deg, var(--navy) 0%, var(--navy-2) 100%); border-bottom: 3px solid var(--orange); box-shadow: 0 2px 10px rgba(27, 50, 99, .25); }
@media (prefers-color-scheme: dark) { .bar { background: linear-gradient(90deg, #0b1530, #13254a); } }
.brand { font: 700 18px/1 var(--head); }
.brand img { height: 28px; }
.brand span { font: 700 17px/1 var(--head); color: #fff; letter-spacing: .04em; }
.bar-btn { font: 600 14px var(--body); border-radius: 999px; padding: 7px 16px; border-color: rgba(255,255,255,.45); }
.bar-btn:hover { background: rgba(255,255,255,.12); }
.apps a { font: 500 14px var(--body); border-radius: 999px; }
.apps a.on { background: var(--orange); color: #fff; }

/* Buttons: orange for the main action, like the website */
.primary, .btn.blue, .og-acts .save, .pic-acts .save, .task .acts .fu-go, .task .mailadd button {
  background: var(--orange); border-color: var(--orange); color: #fff; font-weight: 700; box-shadow: 0 2px 6px rgba(245, 124, 0, .35); }
.primary:hover, .btn.blue:hover { background: var(--orange-d); border-color: var(--orange-d); }
.primary { border-radius: var(--radius); font: 700 17px var(--head); letter-spacing: .02em; padding: 15px; }
.btn { border-radius: 8px; font: 600 15px var(--head); letter-spacing: 0; }
.btn.go { font-weight: 700; box-shadow: 0 2px 6px rgba(46, 125, 79, .3); }
.btn svg, .bi { width: 20px; height: 20px; flex: none; }
input, select, textarea, .field { border-radius: 8px !important; font-family: var(--body); }
input:focus, select:focus, textarea:focus { border-color: var(--orange) !important; outline: 2px solid rgba(245, 124, 0, .25) !important; }
a { color: var(--blue); }

/* Tabs: icon on top of a bold label (sites plan, prod, pur, qc) */
.tabs { border-bottom: 2px solid var(--line); gap: 2px; }
.tabs button { display: inline-flex; flex-direction: column; align-items: center; gap: 4px; min-height: 72px; padding: 10px 14px 8px;
  font: 600 13.5px/1.15 var(--head); color: var(--ink-2); border-bottom: 4px solid transparent; border-radius: 8px 8px 0 0; }
.tabs button .ti { width: 30px; height: 30px; color: var(--ink-2); transition: transform .15s; }
.tabs button:hover { background: var(--blue-soft); color: var(--ink); }
.tabs button:hover .ti { transform: translateY(-2px); }
.tabs button[aria-selected="true"] { color: var(--ink); border-bottom-color: var(--orange); background: var(--sheet); font-weight: 700; }
.tabs button[aria-selected="true"] .ti { color: var(--orange); }
.tabs .cnt { background: var(--crimson); color: #fff; }

/* Home module tiles: big icons in a coloured disc */
.modules { gap: 14px; }
.module { gap: 16px; padding: 18px; border-radius: 14px; border: 1px solid var(--line); box-shadow: var(--shadow); transition: transform .15s, box-shadow .15s, border-color .15s; }
.module:hover { transform: translateY(-2px); border-color: var(--orange); box-shadow: 0 6px 20px rgba(245, 124, 0, .18); }
.module svg { width: 60px; height: 60px; padding: 13px; border-radius: 16px; color: #fff; background: linear-gradient(135deg, var(--sky), var(--navy)); stroke-width: 1.9; }
.module:nth-child(5n+2) svg { background: linear-gradient(135deg, #ff9f43, var(--orange-d)); }
.module:nth-child(5n+3) svg { background: linear-gradient(135deg, #2fb37a, #1d6f4c); }
.module:nth-child(5n+4) svg { background: linear-gradient(135deg, #e0527f, #9c2350); }
.module:nth-child(5n+5) svg { background: linear-gradient(135deg, #7c6cf2, #3f2fb0); }
.module b { font: 700 18px/1.2 var(--head); }
.module span { font-size: 13px; }
@media (max-width: 639px) { .module svg { width: 56px; height: 56px; padding: 12px; } .module { padding: 14px 6px; } .module b { font-size: 15px; } }

/* Cards, title block, plates: softer, rounder */
.card, .tasks, .week, #summary, #adminBox, #ownersBox, .note, .tbl-wrap, #progList li, .box { border-radius: var(--radius); }
.card .t1 b, .task .cust { font: 700 16.5px/1.3 var(--head); }
.tblock { border-radius: var(--radius); overflow: hidden; border-color: var(--navy); background: var(--navy); box-shadow: var(--shadow); }
.tblock b { font: 700 16px/1.3 var(--head); }
.tblock b.big { font: 800 34px/1 var(--head); color: var(--orange); }
.tblock span { font: 500 11px var(--body); text-transform: uppercase; letter-spacing: .06em; }
.seg { border-radius: 999px; padding: 3px; }
.seg button { border-radius: 999px; border-right: 0; font: 600 14px var(--body); }
.seg button[aria-selected="true"] { background: var(--navy); color: #fff; }
.tag { border-radius: 999px; padding: 2px 9px; font-weight: 600; }
.pbar2 { border-radius: 999px; overflow: hidden; border: 0; background: var(--hair); height: 9px; }
.pbar2 i { background: linear-gradient(90deg, var(--sky), var(--orange)); }
#progList .pt span { color: var(--orange); font-weight: 800; }
.pic-upload { border-radius: var(--radius); border-color: var(--orange); color: var(--orange-d); font: 700 15px var(--head); background: var(--orange-soft); }
.flash { border-radius: var(--radius); border-color: var(--navy); }
.flash::before { background: linear-gradient(90deg, var(--sky), var(--orange), var(--crimson)); }

/* ---------- Login: navy hero like the website band ---------- */
body.is-login { background: radial-gradient(1200px 600px at 85% -10%, rgba(245, 124, 0, .28), transparent 60%),
  linear-gradient(160deg, #13254a 0%, var(--navy) 45%, #0e1d3d 100%) fixed; }
body.is-login::before { content: ""; position: fixed; inset: 0; pointer-events: none; opacity: .09;
  background-image: linear-gradient(#fff 1px, transparent 1px), linear-gradient(90deg, #fff 1px, transparent 1px); background-size: 40px 40px; }
body.is-login .bar { background: transparent; box-shadow: none; border-bottom-color: transparent; }
body.is-login main { position: relative; display: grid; gap: 24px; align-items: center; max-width: 1180px; min-height: calc(100vh - 70px); }
@media (min-width: 960px) { body.is-login main { grid-template-columns: 1.1fr 440px; gap: 48px; padding-top: 24px; } }
body.is-login #loginView, body.is-login #changeView { margin: 0 auto 24px; width: 100%; border: 0; border-radius: 18px; overflow: hidden; box-shadow: 0 24px 60px rgba(0, 0, 0, .35); }
body.is-login #loginView::before, body.is-login #changeView::before { content: ""; display: block; height: 6px; background: linear-gradient(90deg, var(--sky), var(--orange), var(--crimson)); }
body.is-login .tblock-foot { border-radius: 0; box-shadow: none; }
.login-hero { display: none; color: #fff; }
body.is-login .login-hero { display: block; }
.login-hero .lh-logo { height: 46px; width: auto; display: block; margin-bottom: 26px; }
.login-hero h1 { font: 800 clamp(30px, 4.4vw, 52px)/1.08 var(--head); color: #fff; margin: 0 0 12px; letter-spacing: -.02em; }
.login-hero h1 em { font-style: normal; color: var(--orange); }
.login-hero .lh-sub { font: 400 16px/1.6 var(--body); color: #c9d6ee; max-width: 560px; margin: 0 0 22px; }
.lh-usp { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 10px; margin: 0 0 22px; padding: 0; list-style: none; max-width: 600px; }
.lh-usp li { display: flex; flex-direction: column; align-items: center; gap: 8px; text-align: center; font: 600 12.5px/1.25 var(--head); color: #e6edf9;
  padding: 14px 6px; border: 1px solid rgba(255,255,255,.14); border-radius: 12px; background: rgba(255,255,255,.05); }
.lh-usp svg { width: 34px; height: 34px; color: var(--orange); }
.lh-art { width: 100%; max-width: 560px; height: auto; margin: 6px 0 0; opacity: .95; }
@media (max-width: 959px) { .login-hero { text-align: center; padding-top: 8px; } .login-hero .lh-logo { margin: 0 auto 16px; height: 38px; }
  .login-hero .lh-sub, .lh-art, .lh-usp { margin-left: auto; margin-right: auto; } .lh-art { display: none; } .lh-usp { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 480px) { .lh-usp { display: none; } .login-hero h1 { font-size: 28px; } }

/* ---------- Panchang / festival strip ---------- */
.pc { margin: 0 0 18px; padding: 14px 16px; border-radius: 14px; background: linear-gradient(135deg, #fff7ec, #fff); border: 1px solid #f7d3a8; color: #3b2a14; }
@media (prefers-color-scheme: dark) { .pc { background: linear-gradient(135deg, #2a1d10, #1b2333); border-color: #5a3d1c; color: #f3e6d6; } }
.login-hero .pc { background: rgba(255,255,255,.07); border-color: rgba(255,255,255,.18); color: #fff; max-width: 600px; backdrop-filter: blur(4px); }
.pc-date b { display: block; font: 700 16px/1.3 var(--head); }
.pc-mr { display: block; font: 600 17px/1.4 "Mukta", var(--body); color: var(--orange-d); }
.login-hero .pc-mr { color: #ffb366; }
.pc-mr.big { font-size: 22px; font-weight: 700; }
.pc-en { display: block; font: 400 12.5px/1.4 var(--body); opacity: .78; }
.pc-fest { display: flex; gap: 14px; align-items: center; margin-top: 12px; padding-top: 12px; border-top: 1px dashed rgba(245, 124, 0, .45); }
.pc-fname { display: block; font: 800 19px/1.2 var(--head); color: var(--crimson); }
.login-hero .pc-fname { color: #ff8fb3; }
.pc-msg { margin: 6px 0 0; font: 500 14.5px/1.5 var(--body); }
.pc-next { display: flex; align-items: center; gap: 8px; margin-top: 10px; font: 500 13px var(--body); opacity: .9; }
.pc-big { padding: 22px; }
.pc-big .pc-fname { font-size: 26px; }
.fest-art { flex: none; filter: drop-shadow(0 3px 6px rgba(0,0,0,.18)); }

/* once-a-day greeting dialog */
dialog.greet { border: 0; padding: 0; border-radius: 20px; width: min(560px, calc(100vw - 24px)); background: var(--sheet); color: var(--ink); box-shadow: 0 30px 80px rgba(0,0,0,.45); overflow: hidden; }
dialog.greet::backdrop { background: rgba(14, 29, 61, .65); backdrop-filter: blur(3px); }
.greet-top { height: 8px; background: linear-gradient(90deg, var(--sky), var(--orange), var(--crimson)); }
.greet-in { padding: 22px 22px 18px; position: relative; }
.greet-in h2 { font: 800 26px/1.15 var(--head); margin: 0 0 4px; }
.greet-in .pc { margin: 14px 0 0; }
.greet-go { display: block; width: 100%; margin-top: 16px; min-height: 50px; border: 0; border-radius: 12px; background: var(--orange); color: #fff; font: 700 17px var(--head); cursor: pointer; }
.greet .sparks { position: absolute; inset: 0; pointer-events: none; overflow: hidden; }
.greet .sparks i { position: absolute; top: -10px; width: 8px; height: 8px; border-radius: 50%; animation: spark 2.6s ease-in forwards; }
@keyframes spark { to { transform: translateY(420px) rotate(260deg); opacity: 0; } }
@media (prefers-reduced-motion: reduce) { .greet .sparks { display: none; } .module, .tabs button .ti { transition: none; } }

/* Made by our team: product photo wall on the home page */
.wall { margin: 0 0 24px; }
.wall-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); gap: 10px; }
.wall-ph { position: relative; margin: 0; aspect-ratio: 4 / 5; border-radius: 14px; overflow: hidden; background: var(--hair); box-shadow: var(--shadow); }
.wall-ph img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform .3s; }
.wall-ph:hover img { transform: scale(1.04); }
.wall-ph figcaption { position: absolute; left: 0; right: 0; bottom: 0; padding: 22px 10px 8px; color: #fff; background: linear-gradient(transparent, rgba(10, 20, 40, .85)); }
.wall-ph b { display: block; font: 700 13.5px/1.2 var(--head); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.wall-ph span { display: block; font-size: 11px; opacity: .85; }
.wall-ph.selfie { outline: 3px solid var(--crimson); outline-offset: -3px; }
.wall-empty { grid-column: 1 / -1; margin: 0; padding: 16px; border: 2px dashed var(--line); border-radius: 14px; background: var(--sheet); }
.wall-lead { margin: 10px 0 0; }

/* login polish: one logo, form first on phones, full-height background */
html:has(body.is-login) { background: #0e1d3d; }
body.is-login { min-height: 100vh; }
.login-hero .lh-logo { display: none; }
@media (max-width: 959px) {
  body.is-login #loginView, body.is-login #changeView { order: -1; margin-top: 8px; }
  body.is-login main { align-items: start; }
  .login-hero h1 { font-size: 26px; margin-top: 4px; }
  .login-hero .lh-sub { font-size: 14px; }
}
@media (max-height: 760px) and (min-width: 960px) { .lh-art { display: none; } }

/* My points card on the my. home page (19-Oct-2026) */
.pts-card a { display: grid; grid-template-columns: 1fr auto; gap: 2px 10px; align-items: center; margin: 0 0 14px; padding: 14px 16px; border-radius: 16px; color: #fff; text-decoration: none;
  background: radial-gradient(300px 140px at 100% 0%, rgba(245,124,0,.45), transparent 60%), linear-gradient(135deg, var(--navy), #2a4c91); box-shadow: 0 8px 22px rgba(27,50,99,.3); }
.pts-card .pc-lv { grid-column: 1 / -1; font: 600 12px var(--body); opacity: .85; text-transform: uppercase; letter-spacing: .06em; }
.pts-card b { font: 800 34px/1 var(--head); color: #ffb366; }
.pts-card span:not(.pc-lv) { font-size: 13px; opacity: .9; }
.pts-card em { grid-column: 1 / -1; font: 700 14px var(--head); font-style: normal; color: #ffd9b0; margin-top: 4px; }
