/* Ahlan Operations — app styles, matched to design/final/refs (2026-11-10). */
@font-face { font-family: 'Hind Siliguri'; font-weight: 400; font-display: swap; src: url(/fonts/hind-siliguri-bengali-400-normal.woff2) format('woff2'); unicode-range: U+0951-0952, U+0964-0965, U+0980-09FE, U+1CD0, U+1CD2, U+1CD5-1CD6, U+1CD8, U+1CE1, U+1CEA, U+1CED, U+1CF2, U+1CF5-1CF7, U+200C-200D, U+20B9, U+25CC, U+A8F1; }
@font-face { font-family: 'Hind Siliguri'; font-weight: 500; font-display: swap; src: url(/fonts/hind-siliguri-bengali-500-normal.woff2) format('woff2'); unicode-range: U+0951-0952, U+0964-0965, U+0980-09FE, U+1CD0, U+1CD2, U+1CD5-1CD6, U+1CD8, U+1CE1, U+1CEA, U+1CED, U+1CF2, U+1CF5-1CF7, U+200C-200D, U+20B9, U+25CC, U+A8F1; }
@font-face { font-family: 'Hind Siliguri'; font-weight: 600; font-display: swap; src: url(/fonts/hind-siliguri-bengali-600-normal.woff2) format('woff2'); unicode-range: U+0951-0952, U+0964-0965, U+0980-09FE, U+1CD0, U+1CD2, U+1CD5-1CD6, U+1CD8, U+1CE1, U+1CEA, U+1CED, U+1CF2, U+1CF5-1CF7, U+200C-200D, U+20B9, U+25CC, U+A8F1; }
@font-face { font-family: 'Hind Siliguri'; font-weight: 700; font-display: swap; src: url(/fonts/hind-siliguri-bengali-700-normal.woff2) format('woff2'); unicode-range: U+0951-0952, U+0964-0965, U+0980-09FE, U+1CD0, U+1CD2, U+1CD5-1CD6, U+1CD8, U+1CE1, U+1CEA, U+1CED, U+1CF2, U+1CF5-1CF7, U+200C-200D, U+20B9, U+25CC, U+A8F1; }
@font-face { font-family: 'Hind Siliguri'; font-weight: 400; font-display: swap; src: url(/fonts/hind-siliguri-latin-400-normal.woff2) format('woff2'); unicode-range: U+0000-00FF, U+2000-206F, U+20AC, U+2122, U+2190-21FF; }
@font-face { font-family: 'Hind Siliguri'; font-weight: 500; font-display: swap; src: url(/fonts/hind-siliguri-latin-500-normal.woff2) format('woff2'); unicode-range: U+0000-00FF, U+2000-206F, U+20AC, U+2122, U+2190-21FF; }
@font-face { font-family: 'Hind Siliguri'; font-weight: 600; font-display: swap; src: url(/fonts/hind-siliguri-latin-600-normal.woff2) format('woff2'); unicode-range: U+0000-00FF, U+2000-206F, U+20AC, U+2122, U+2190-21FF; }
@font-face { font-family: 'Hind Siliguri'; font-weight: 700; font-display: swap; src: url(/fonts/hind-siliguri-latin-700-normal.woff2) format('woff2'); unicode-range: U+0000-00FF, U+2000-206F, U+20AC, U+2122, U+2190-21FF; }
:root {
  --sidebar: #123b27; --sidebar-ink: #e9e3d3; --sidebar-muted: #b9c2b4;
  --pill: #f4d9a2; --pill-ink: #1d2a20;
  --hero: #143d29; --hero-ink: #f6efe0; --hero-title: #f2c46c;
  --gold: #d99a2b; --gold-soft: #fbf0d9; --cta: #f5c56b; --cta-ink: #1f2618;
  --bg: #f6f2e8; --card: #fffdf8; --line: #ebe3d1; --ink: #1d2620; --muted: #6c6a60;
  --green: #1e5a37; --green-ink: #fff; --up: #2f8a3f; --danger: #c2413b; --danger-bg: #fbe7e4;
  --warn: #b7791f; --warn-bg: #fdf1d8; --ok-bg: #e4f2e5; --info: #2f6ea3; --info-bg: #e5eff9;
  --r-lg: 16px; --r-md: 12px; --r-sm: 9px;
  --shadow: 0 1px 2px rgba(40, 32, 15, .05), 0 4px 14px rgba(40, 32, 15, .05);
  --font: 'Hind Siliguri', 'Noto Sans Bengali', system-ui, sans-serif;
}
* { box-sizing: border-box; }
body { margin: 0; font: 400 15px/1.55 var(--font); color: var(--ink); background: var(--bg); }
a { color: inherit; text-decoration: none; }
button { font: inherit; cursor: pointer; }
button:disabled { opacity: .55; cursor: default; }
svg.i { width: 20px; height: 20px; flex: none; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
:focus-visible { outline: 3px solid var(--cta); outline-offset: 2px; }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }

.app { display: grid; grid-template-columns: 236px minmax(0, 1fr); min-height: 100vh; }

/* Sidebar */
.side { background: var(--sidebar); color: var(--sidebar-ink); padding: 22px 14px; display: flex; flex-direction: column; gap: 18px; position: sticky; top: 0; height: 100vh; }
.side .logo { display: block; width: 150px; margin: 0 auto 6px; }
.side nav { display: grid; gap: 2px; overflow: auto; }
.side nav a { display: flex; align-items: center; gap: 12px; padding: 9px 12px; border-radius: 10px; font-size: 15px; color: var(--sidebar-ink); }
.side nav a:hover { background: rgba(255, 255, 255, .06); }
.side nav a.on { background: var(--pill); color: var(--pill-ink); font-weight: 600; }
.side nav a svg.i { width: 19px; height: 19px; }
.side .venue { margin-top: auto; display: flex; gap: 10px; align-items: center; padding: 10px; border: 1px solid rgba(255, 255, 255, .14); border-radius: 12px; font-size: 13px; }
.side .venue img { width: 38px; height: 38px; border-radius: 8px; object-fit: cover; }
.side .venue small { display: block; color: var(--sidebar-muted); font-size: 11.5px; }

/* Main */
.main { padding: 24px 28px 40px; min-width: 0; }
.head { display: flex; align-items: flex-start; gap: 16px; margin-bottom: 18px; }
.head .title { flex: 1; }
.head h1 { margin: 0; display: flex; align-items: center; gap: 10px; font-size: 30px; line-height: 1.25; font-weight: 700; }
.head h1 svg.i { width: 30px; height: 30px; color: var(--gold); stroke-width: 1.7; }
.head p { margin: 2px 0 0; color: var(--muted); font-size: 15px; }
.date { display: flex; align-items: center; gap: 8px; padding: 9px 14px; border: 1px solid var(--line); border-radius: 12px; background: var(--card); font-size: 14px; }
.date svg.i { color: var(--green); width: 18px; height: 18px; }
.icon-btn { position: relative; width: 44px; height: 44px; display: grid; place-items: center; border: 0; background: none; color: var(--ink); }
.icon-btn .dot { position: absolute; top: 9px; right: 10px; width: 9px; height: 9px; border-radius: 50%; background: #f08a24; border: 2px solid var(--bg); }
.avatar { width: 44px; height: 44px; border-radius: 50%; display: grid; place-items: center; background: var(--green); color: #fff; font-weight: 700; }

/* Hero */
.hero { position: relative; display: grid; grid-template-columns: 1.15fr 1fr; min-height: 206px; border-radius: 18px; overflow: hidden; background: var(--hero); color: var(--hero-ink); margin-bottom: 18px; }
.hero .copy { padding: 24px 30px; position: relative; z-index: 1; }
.hero h2 { margin: 0 0 10px; font-size: 27px; line-height: 1.3; color: var(--hero-title); font-weight: 700; }
.hero ul { list-style: none; margin: 0 0 16px; padding: 0; display: grid; gap: 4px; font-size: 15.5px; }
.hero li { display: flex; gap: 10px; align-items: center; }
.hero li svg.i { width: 18px; height: 18px; }
.hero .art { position: relative; background-size: cover; background-position: center; }
.hero .art::before { content: ''; position: absolute; inset: 0; background: linear-gradient(90deg, var(--hero) 0%, rgba(20, 61, 41, .55) 35%, rgba(20, 61, 41, 0) 70%); }
.btn { display: inline-flex; align-items: center; gap: 8px; min-height: 44px; padding: 9px 18px; border-radius: 12px; border: 1px solid transparent; font-weight: 600; font-size: 15px; }
.btn svg.i { width: 18px; height: 18px; }
.btn.cta { background: var(--cta); color: var(--cta-ink); }
.btn.green { background: var(--green); color: var(--green-ink); }
.btn.line { background: var(--card); border-color: var(--line); color: var(--ink); }
.btn.danger { background: var(--card); border-color: #efc6c2; color: var(--danger); }
.btn.sm { min-height: 36px; padding: 6px 12px; font-size: 14px; border-radius: 10px; }

/* Panels on the hero (countdown / progress box) */
.hero .panel { position: absolute; right: 22px; top: 50%; transform: translateY(-50%); width: 300px; background: #fbf4e4; color: var(--ink); border-radius: 14px; padding: 16px 18px; box-shadow: var(--shadow); z-index: 2; }
.panel h3 { margin: 0 0 10px; font-size: 17px; }
.bar { height: 8px; border-radius: 99px; background: #eadfc7; overflow: hidden; }
.bar span { display: block; height: 100%; background: var(--green); border-radius: 99px; }
.prog { display: grid; gap: 9px; font-size: 13.5px; }
.prog .row { display: grid; grid-template-columns: 1fr auto; gap: 3px 10px; align-items: center; }
.prog .row .bar { grid-column: 1 / -1; height: 6px; }

/* Grids and cards */
.kpis { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 12px; margin-bottom: 16px; }
.card { background: var(--card); border: 1px solid var(--line); border-radius: var(--r-lg); box-shadow: var(--shadow); padding: 18px; min-width: 0; }
.kpi { display: flex; gap: 12px; align-items: flex-start; padding: 16px; }
.kpi .ic { width: 42px; height: 42px; border-radius: 12px; background: var(--gold-soft); color: var(--gold); display: grid; place-items: center; flex: none; }
.kpi .label { font-size: 14px; color: var(--muted); }
.kpi .num { font-size: 25px; font-weight: 700; line-height: 1.25; }
.kpi .delta { font-size: 13px; color: var(--up); font-weight: 600; }
.kpi .delta.down { color: var(--danger); }
.kpi .delta.muted { color: var(--muted); font-weight: 500; }
.grid { display: grid; gap: 16px; margin-bottom: 16px; }
.g-2 { grid-template-columns: 1.25fr 1fr; }
.g-2e { grid-template-columns: 1fr 1fr; }
.g-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.card-head { display: flex; align-items: center; justify-content: space-between; gap: 10px; margin-bottom: 12px; }
.card-head h3 { margin: 0; font-size: 19px; display: flex; align-items: center; gap: 9px; }
.card-head h3 svg.i { color: var(--gold); }
.card-head h3 small { font-size: 14px; font-weight: 400; color: var(--muted); }
.more { font-size: 14px; color: var(--green); font-weight: 600; display: inline-flex; align-items: center; gap: 2px; }
.more svg.i { width: 16px; height: 16px; }

/* Lists and tables */
.list { display: grid; }
.item { display: flex; gap: 12px; align-items: center; padding: 11px 0; border-top: 1px solid var(--line); }
.item:first-child { border-top: 0; padding-top: 0; }
.item .ic { width: 38px; height: 38px; border-radius: 11px; background: var(--gold-soft); color: var(--gold); display: grid; place-items: center; flex: none; }
.item .body { flex: 1; min-width: 0; }
.item .t { font-weight: 600; font-size: 15px; }
.item .s { font-size: 13px; color: var(--muted); }
.item .acts { display: flex; gap: 6px; }
.sq { width: 36px; height: 36px; border-radius: 10px; display: grid; place-items: center; border: 1px solid var(--line); background: var(--card); color: var(--ink); }
.sq.ok { background: var(--green); border-color: var(--green); color: #fff; }
.sq.no { color: var(--danger); border-color: #efc6c2; }
.chip { display: inline-flex; align-items: center; gap: 5px; padding: 3px 10px; border-radius: 99px; font-size: 12.5px; font-weight: 600; white-space: nowrap; }
.chip svg.i { width: 14px; height: 14px; }
.chip.ok { background: var(--ok-bg); color: var(--up); }
.chip.warn { background: var(--warn-bg); color: var(--warn); }
.chip.danger { background: var(--danger-bg); color: var(--danger); }
.chip.info { background: var(--info-bg); color: var(--info); }
.chip.muted { background: #efe9dc; color: var(--muted); }
table.t { width: 100%; border-collapse: collapse; font-size: 14px; }
table.t th { text-align: left; font-weight: 500; color: var(--muted); padding: 8px 10px; background: #f5efe2; }
table.t th:first-child { border-radius: 8px 0 0 8px; } table.t th:last-child { border-radius: 0 8px 8px 0; }
table.t td { padding: 10px; border-bottom: 1px solid var(--line); vertical-align: middle; }
table.t tr:last-child td { border-bottom: 0; }
.who { display: flex; align-items: center; gap: 10px; }
.who .av { width: 32px; height: 32px; border-radius: 50%; display: grid; place-items: center; background: #e8dcc2; color: #5d4a22; font-weight: 700; font-size: 13px; flex: none; }
.alert { display: flex; gap: 12px; align-items: center; padding: 12px 0; border-top: 1px solid var(--line); }
.alert:first-child { border-top: 0; padding-top: 0; }
.alert .dot { width: 34px; height: 34px; border-radius: 50%; display: grid; place-items: center; flex: none; }
.alert .dot.danger { background: var(--danger-bg); color: var(--danger); }
.alert .dot.warn { background: var(--warn-bg); color: var(--warn); }
.alert .dot.info { background: var(--info-bg); color: var(--info); }
.alert .body { flex: 1; } .alert .t { font-weight: 600; } .alert .s { font-size: 13px; color: var(--muted); }

/* Tiles (quick actions, page directory) */
.tiles { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 10px; }
.tile { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 6px; padding: 14px 8px; border: 1px solid var(--line); border-radius: 14px; background: #fffaf0; text-align: center; font-size: 13.5px; line-height: 1.35; min-height: 92px; }
.tile svg.i { width: 24px; height: 24px; color: var(--gold); }
.tile.wide { flex-direction: row; justify-content: flex-start; text-align: left; gap: 12px; padding: 14px; min-height: 0; }
.tile.wide .ic { width: 40px; height: 40px; border-radius: 12px; background: var(--gold-soft); display: grid; place-items: center; flex: none; }
.tile.wide b { display: block; font-size: 15px; }
.tile.wide small { color: var(--muted); font-size: 12.5px; }
.tip { background: #eef3e6; border-color: #dfe8d2; }
.tip ul { margin: 0; padding: 0; list-style: none; display: grid; gap: 6px; font-size: 14.5px; }
.tip li { display: flex; gap: 9px; align-items: flex-start; }
.tip li svg.i { color: var(--up); width: 18px; height: 18px; margin-top: 3px; }

/* Steps, FAQ, settings */
.steps { display: grid; gap: 0; counter-reset: s; }
.step { display: flex; gap: 14px; padding: 12px 0; border-top: 1px solid var(--line); }
.step:first-child { border-top: 0; padding-top: 0; }
.step .n { counter-increment: s; width: 30px; height: 30px; border-radius: 50%; background: var(--green); color: #fff; display: grid; place-items: center; font-weight: 700; font-size: 14px; flex: none; }
.step .n::before { content: counter(s, bengali); }
.step b { display: block; } .step span { font-size: 13.5px; color: var(--muted); }
details { border-top: 1px solid var(--line); padding: 11px 0; }
details:first-of-type { border-top: 0; padding-top: 0; }
summary { cursor: pointer; font-weight: 600; list-style: none; display: flex; justify-content: space-between; gap: 10px; }
summary::-webkit-details-marker { display: none; }
summary::after { content: '+'; color: var(--green); font-weight: 700; }
details[open] summary::after { content: '–'; }
details p { margin: 6px 0 0; color: var(--muted); font-size: 14px; }
.kv { display: flex; justify-content: space-between; align-items: center; gap: 10px; padding: 11px 0; border-top: 1px solid var(--line); }
.kv:first-child { border-top: 0; padding-top: 0; }
.kv .k { display: flex; align-items: center; gap: 10px; } .kv .k svg.i { color: var(--gold); }
.seg { display: inline-flex; border: 1px solid var(--line); border-radius: 10px; overflow: hidden; font-size: 13.5px; }
.seg span { padding: 5px 12px; } .seg span.on { background: var(--green); color: #fff; }
.note { font-size: 12px; color: var(--muted); text-align: center; margin-top: 8px; }

/* Mobile chrome */
.mtop, .mnav { display: none; }
@media (max-width: 900px) {
  .app { display: block; }
  .side { display: none; }
  .main { padding: 0 14px 96px; }
  .mtop { display: flex; align-items: center; justify-content: space-between; height: 62px; margin: 0 -14px 12px; padding: 0 14px; border-bottom: 1px solid var(--line); background: var(--card); position: sticky; top: 0; z-index: 5; }
  .mtop .brand { display: flex; align-items: baseline; gap: 6px; font-size: 21px; font-weight: 700; }
  .mtop .brand .dome { width: 30px; height: 20px; color: var(--gold); align-self: center; }
  .mtop .brand em { font-style: normal; color: var(--gold); font-weight: 600; }
  .head .date, .head .avatar, .head .icon-btn { display: none; }
  .head h1 { font-size: 26px; } .head h1 svg.i { width: 26px; height: 26px; }
  .head p { font-size: 14px; }
  .hero { grid-template-columns: 1fr; min-height: 0; border-radius: 16px; }
  .hero .copy { padding: 18px; }
  .hero h2 { font-size: 21px; }
  .hero ul { font-size: 14px; margin-bottom: 12px; }
  .hero .art { position: absolute; inset: 0 0 0 45%; }
  .hero .panel { position: static; transform: none; width: auto; margin: 0 14px 14px; }
  .kpis { grid-template-columns: 1fr 1fr; gap: 10px; }
  .kpis .kpi:nth-child(5) { grid-column: 1 / -1; }
  .kpi { padding: 13px; } .kpi .num { font-size: 21px; } .kpi .ic { width: 38px; height: 38px; }
  .g-2, .g-2e, .g-3 { grid-template-columns: 1fr; }
  .tiles { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .card { padding: 15px; }
  .hide-m { display: none !important; }
  table.t .hide-s { display: none; }
  .mnav { display: grid; grid-template-columns: repeat(5, 1fr); position: fixed; left: 0; right: 0; bottom: 0; background: var(--card); border-top: 1px solid var(--line); padding: 8px 8px max(10px, env(safe-area-inset-bottom)); z-index: 10; }
  .mnav a { display: flex; flex-direction: column; align-items: center; gap: 3px; padding: 7px 2px; border-radius: 14px; font-size: 12px; color: var(--ink); }
  .mnav a.on { background: var(--green); color: #fff; }
  .mnav svg.i { width: 22px; height: 22px; }
}
@media (min-width: 901px) { .hide-d { display: none !important; } }
