/* ============================================================
   BeEngineer — dizayn tizimi.
   O'lchamlar, shriftlar, kataklar va bloklar iKAFEDRA (variables/layout/components/ik-page)
   bilan bir xil; faqat palitra: yashil + oltin (logotip) + oq.
   ============================================================ */
:root {
  /* Palitra «Asfalt va yo‘l chizig‘i»: asfalt-ko‘k (asosiy) + logotip sarig‘i (urg‘u) + oq */
  --brand-900: #10151F; --brand-800: #18202E; --brand-700: #222C3F; --brand-600: #2D3A53; --brand-500: #344867; --brand-400: #5B6F92; --brand-100: #E6EAF1; --brand-50: #F2F4F8;
  --gold-700: #9A6C0E; --gold-600: #B88518; --gold-500: #DAAF3F; --gold-400: #E8C866; --gold-300: #F2D88A; --gold-100: #FBF1D6; --gold-50: #FDF8EA;
  --lane: #F2C94C;

  --primary: var(--brand-500); --primary-hover: var(--brand-600); --primary-active: var(--brand-700);
  --primary-light: var(--brand-100); --primary-lighter: var(--brand-50); --primary-rgb: 52, 72, 103;
  --accent: var(--gold-500);

  --sidebar-bg: var(--brand-800); --sidebar-text: #C5CCD8; --sidebar-text-active: #FFFFFF; --sidebar-border: rgba(255,255,255,.09);
  --sidebar-width: 272px;

  --bg-page: #F5F6F8; --bg-card: #FFFFFF; --bg-input: #FFFFFF; --bg-header: rgba(255,255,255,.86);
  --text-primary: #111827; --text-secondary: #5B6475; --text-tertiary: #9AA2AF; --text-link: #2B5CB8;

  --success: #16A34A; --success-light: #E3F6EA; --success-dark: #15803D;
  --warning: #D99A06; --warning-light: #FFF4D6; --warning-dark: #9A6C0E;
  --danger: #DC2626; --danger-light: #FDECEC; --danger-dark: #B91C1C;
  --info: #0E8A8A; --info-light: #DDF4F3; --info-dark: #0B6E6E;

  --border-color: #E3E6EB; --border-light: #EEF0F3; --border-focus: var(--brand-500);
  --border-radius-xs: 6px; --border-radius-sm: 8px; --border-radius: 12px; --border-radius-lg: 16px; --border-radius-xl: 20px; --border-radius-2xl: 24px; --border-radius-full: 9999px;

  --shadow-xs: 0 1px 2px rgba(0,0,0,.04);
  --shadow-sm: 0 1px 3px rgba(0,0,0,.06), 0 1px 2px rgba(0,0,0,.04);
  --shadow-md: 0 10px 15px -3px rgba(0,0,0,.08), 0 4px 6px -4px rgba(0,0,0,.04);
  --shadow-lg: 0 20px 25px -5px rgba(0,0,0,.08), 0 8px 10px -6px rgba(0,0,0,.04);
  --shadow-card: 0 1px 3px rgba(0,0,0,.04), 0 4px 12px rgba(0,0,0,.04);
  --shadow-card-hover: 0 8px 30px rgba(0,0,0,.08);
  --ik-card-shadow: 0 1px 2px #0f172a0a, 0 12px 32px -24px #0f172a40;

  --font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  --text-xs: .75rem; --text-sm: .8125rem; --text-base: .875rem; --text-md: .9375rem; --text-lg: 1rem; --text-xl: 1.125rem; --text-2xl: 1.25rem; --text-3xl: 1.5rem; --text-4xl: 1.875rem;
  --font-medium: 500; --font-semibold: 600; --font-bold: 700; --font-extrabold: 800;
  --header-height: 68px;
  --ease: cubic-bezier(.2,.7,.1,1);
  --transition: 200ms cubic-bezier(.4,0,.2,1);
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body { margin: 0; font-family: var(--font-family); font-size: var(--text-base); line-height: 1.5; color: var(--text-primary); background: var(--bg-page); -webkit-font-smoothing: antialiased; }
a { color: var(--text-link); text-decoration: none; }
a:hover { text-decoration: underline; }
h1, h2, h3, h4, p { margin: 0; }
img { max-width: 100%; display: block; }
button, input, select, textarea { font: inherit; color: inherit; }
[hidden] { display: none !important; }
:focus-visible { outline: 2px solid var(--brand-500); outline-offset: 2px; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

/* ── Sidebar (iKAFEDRA: 272px, sarlavha, sariq punktir, bo'lim yorliqlari, 48px bandlar) ── */
.sidebar { position: fixed; inset: 0 auto 0 0; width: var(--sidebar-width); height: 100vh; display: flex; flex-direction: column; z-index: 400;
  background: linear-gradient(180deg, var(--brand-700) 0%, var(--brand-800) 55%, var(--brand-900) 100%); color: var(--sidebar-text); }
.sidebar-header { display: flex; align-items: center; gap: 12px; padding: 18px 20px 16px; flex-shrink: 0; position: relative; }
.sidebar-header::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 3px;
  background: repeating-linear-gradient(90deg, var(--lane) 0 22px, transparent 22px 38px); }
.sidebar-logo { display: flex; align-items: center; gap: 12px; text-decoration: none !important; min-width: 0; }
.sidebar-logo-icon { width: 42px; height: 42px; border-radius: 12px; background: var(--gold-500); flex-shrink: 0; display: grid; place-items: center; box-shadow: 0 4px 12px rgba(0,0,0,.18); }
.sidebar-logo-icon svg { width: 34px; height: 34px; }
.sidebar-logo-text { display: flex; flex-direction: column; min-width: 0; }
.sidebar-logo-text b { font-size: 17px; font-weight: 700; color: #fff; letter-spacing: -.01em; line-height: 1.2; }
.sidebar-logo-text small { font-size: 12px; color: #9AA4B5; line-height: 1.3; }
.mobile-menu-close { display: none; }
.sidebar-nav { flex: 1; overflow-y: auto; overflow-x: hidden; padding: 10px 8px; scrollbar-gutter: stable; }
.sidebar-nav::-webkit-scrollbar { width: 3px; }
.sidebar-nav::-webkit-scrollbar-thumb { background: rgba(255,255,255,.18); border-radius: 3px; }
.nav-section-label { display: flex; align-items: center; gap: 8px; padding: 14px 12px 6px; font-size: 10.5px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--lane); }
.nav-section-label::before { content: ""; width: 12px; height: 2px; background: currentColor; border-radius: 2px; }
.nav-item { margin: 0 0 3px; }
.nav-link { position: relative; display: flex; align-items: center; gap: 12px; min-height: 48px; padding: 8px 34px 8px 12px; border-radius: 11px; font-size: var(--text-base); font-weight: 500; line-height: 1.35;
  color: var(--sidebar-text); text-decoration: none !important; transition: background-color .12s ease, color .12s ease; }
.nav-icon { flex: 0 0 30px; width: 30px; height: 30px; display: grid; place-items: center; border-radius: 9px; font-size: 14px; background: rgba(255,255,255,.08); color: var(--gold-400); }
.nav-text { flex: 1; min-width: 0; overflow-wrap: anywhere; }
.nav-badge { margin-left: auto; min-width: 20px; padding: 1px 7px; border-radius: 99px; background: var(--lane); color: #1F1A0E; font-size: 11px; font-weight: 700; text-align: center; }
.nav-link:hover { background: rgba(255,255,255,.07); color: #fff; }
.nav-link.active, .nav-link.active:hover { background: var(--lane); color: #1A1A12; font-weight: 700; box-shadow: inset 0 0 0 1px #F8E3A0; }
.nav-link.active .nav-icon { background: rgba(255,255,255,.45); color: var(--brand-800); }
.nav-link.active::after { content: '✓'; position: absolute; right: 12px; top: 50%; transform: translateY(-50%); font: 700 15px/1 Arial, sans-serif; color: #1A1A12; }
.nav-link.active .nav-badge { background: var(--brand-700); color: #fff; }
.nav-link:focus-visible { outline: 3px dashed var(--lane); outline-offset: -3px; }
.sidebar-footer { padding: 14px 20px; border-top: 1px solid var(--sidebar-border); flex-shrink: 0; }
.sidebar-platform-name { font-size: 12px; font-weight: 600; color: #E4E8EF; }
.sidebar-platform-department { font-size: 10px; color: #8C97AA; letter-spacing: .02em; margin-top: 2px; }

/* ── Header (68px) ── */
.main-wrapper { margin-left: var(--sidebar-width); min-height: 100vh; display: flex; flex-direction: column; }
.top-header { position: sticky; top: 0; z-index: 300; height: var(--header-height); display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 0 28px;
  background: var(--bg-header); backdrop-filter: blur(16px); -webkit-backdrop-filter: blur(16px); border-bottom: 1px solid var(--border-color); }
.header-left { display: flex; align-items: center; gap: 20px; min-width: 0; flex: 1; }
.header-breadcrumb { display: flex; align-items: center; gap: 8px; font-size: var(--text-sm); color: var(--text-secondary); white-space: nowrap; }
.header-breadcrumb .separator { font-size: 9px; color: var(--text-tertiary); }
.header-breadcrumb .current { color: var(--text-primary); font-weight: 600; }
.header-search { position: relative; flex: 1; max-width: 420px; }
.header-search-input { width: 100%; height: 40px; padding: 0 56px 0 38px; border: 1px solid var(--border-color); border-radius: 12px; background: var(--bg-input); font-size: var(--text-sm); }
.header-search-input:focus { outline: 0; border-color: var(--brand-500); box-shadow: 0 0 0 3px rgba(52,72,103,.18); }
.header-search-icon { position: absolute; left: 13px; top: 50%; transform: translateY(-50%); color: var(--text-tertiary); font-size: 13px; }
.header-search-shortcut { position: absolute; right: 9px; top: 50%; transform: translateY(-50%); padding: 2px 7px; border: 1px solid var(--border-color); border-radius: 6px; font-size: 11px; color: var(--text-tertiary); background: var(--bg-page); }
.header-actions { display: flex; align-items: center; gap: 10px; flex-shrink: 0; }
.header-select { height: 40px; width: 132px; padding: 0 12px; border: 1px solid var(--border-color); border-radius: 10px; background: var(--bg-card); font-size: var(--text-sm); }
.header-action-btn { position: relative; width: 40px; height: 40px; display: grid; place-items: center; border: 0; border-radius: 10px; background: transparent; color: var(--text-secondary); cursor: pointer; font-size: 16px; }
.header-action-btn:hover { background: var(--primary-lighter); color: var(--brand-700); }
.header-action-btn .dot { position: absolute; top: 7px; right: 7px; min-width: 16px; height: 16px; padding: 0 4px; border-radius: 99px; background: var(--danger); color: #fff; font-size: 10px; font-weight: 700; line-height: 16px; }
.header-user { position: relative; display: flex; align-items: center; gap: 10px; padding: 4px 8px 4px 4px; border-radius: 12px; border: 0; background: transparent; cursor: pointer; text-align: left; }
.header-user:hover { background: var(--primary-lighter); }
.header-user-avatar { width: 40px; height: 40px; border-radius: 12px; display: grid; place-items: center; background: linear-gradient(135deg, var(--brand-600), var(--brand-400)); color: #fff; font-weight: 700; font-size: 14px; }
.header-user-name { font-size: var(--text-sm); font-weight: 600; line-height: 1.25; }
.header-user-role { font-size: var(--text-xs); color: var(--text-secondary); }
.dropdown { position: absolute; top: calc(100% + 8px); right: 0; min-width: 240px; padding: 8px; background: var(--bg-card); border: 1px solid var(--border-color); border-radius: 14px; box-shadow: var(--shadow-lg); z-index: 350; animation: fadeIn .14s ease-out; }
.dropdown-item { display: flex; align-items: center; gap: 12px; width: 100%; padding: 10px 12px; border: 0; border-radius: 9px; background: none; font-size: var(--text-base); color: var(--text-primary); cursor: pointer; text-align: left; text-decoration: none !important; }
.dropdown-item:hover { background: var(--primary-lighter); }
.dropdown-item i { width: 18px; color: var(--text-secondary); }
.dropdown-item.danger, .dropdown-item.danger i { color: var(--danger); }
.dropdown-sep { height: 1px; margin: 6px 4px; background: var(--border-light); }
.notif-list { max-height: 360px; overflow: auto; width: 340px; }
.notif { display: block; padding: 10px 12px; border-radius: 9px; font-size: var(--text-sm); color: var(--text-primary); }
.notif:hover { background: var(--primary-lighter); text-decoration: none; }
.notif.unread { background: var(--gold-50); }
.notif small { display: block; color: var(--text-tertiary); font-size: 11px; margin-top: 2px; }

/* ── Kontent ── */
.content-area { padding: 24px 28px 40px; flex: 1; }
.content-area > * { max-width: 1480px; margin-left: auto; margin-right: auto; }
.page { animation: fadeIn .22s ease-out; }
@keyframes fadeIn { from { opacity: 0; } to { opacity: 1; } }
@keyframes ikRise { from { opacity: 0; transform: translateY(10px); } to { opacity: 1; transform: none; } }

/* ── Hero (ik-hero: radius 24, padding 26/30/44) — oltin ── */
.ik-hero { position: relative; isolation: isolate; overflow: hidden; border-radius: 24px; padding: 26px 30px 44px; margin-bottom: 20px; color: #fff;
  background: radial-gradient(120% 140% at 85% 0%, rgba(255,255,255,.18) 0%, transparent 55%), linear-gradient(120deg, var(--brand-800) 0%, var(--brand-700) 50%, var(--brand-500) 100%);
  display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: 18px 28px; box-shadow: 0 18px 40px -22px rgba(16,21,31,.6); }
.ik-hero::before { content: ""; position: absolute; inset: 0; z-index: -1; opacity: .5; background-image: radial-gradient(rgba(255,255,255,.22) 1px, transparent 1.2px); background-size: 22px 22px;
  -webkit-mask: linear-gradient(180deg, #000, transparent 75%); mask: linear-gradient(180deg, #000, transparent 75%); }
.ik-hero::after { content: ""; position: absolute; left: 0; right: 0; bottom: 16px; height: 4px; z-index: -1; background: repeating-linear-gradient(90deg, var(--lane) 0 30px, transparent 30px 52px); }
.ik-hero-main { display: flex; flex-direction: column; gap: 8px; flex: 1 1 auto; min-width: min(100%, 360px); max-width: 100%; animation: ikRise .6s var(--ease) both; }
.ik-eyebrow { font-size: 11px; text-transform: uppercase; letter-spacing: .1em; font-weight: 700; color: var(--gold-400); }
.ik-hero h1 { font-size: clamp(26px, 3.2vw, 38px); line-height: 1.08; font-weight: 800; letter-spacing: -.015em; color: #fff; text-shadow: 0 1px 2px rgba(0,0,0,.25); }
.ik-lead { max-width: 68ch; color: #D9DFEA; font-size: 14.5px; line-height: 1.6; text-shadow: 0 1px 1px rgba(0,0,0,.2); }
.ik-hero-actions { display: flex; flex-wrap: wrap; gap: 10px; align-items: center; animation: ikRise .6s .08s var(--ease) both; }
.ik-hero-btn { display: inline-flex; align-items: center; gap: 8px; padding: 9px 14px; border-radius: 12px; background: var(--lane); color: #1A1A12; font: 700 13.5px var(--font-family); border: 0; cursor: pointer; text-decoration: none !important; transition: transform .2s var(--ease), box-shadow .2s; }
.ik-hero-btn:hover { transform: translateY(-1px); box-shadow: 0 8px 18px -8px rgba(242,201,76,.7); }
.ik-hero-btn.ghost { background: rgba(255,255,255,.18); border: 1px solid rgba(255,255,255,.4); color: #fff; }
.ik-hero-stats { display: flex; flex-wrap: wrap; gap: 8px; }
.ik-hero-stat { display: flex; flex-direction: column; gap: 2px; padding: 9px 13px; border-radius: 14px; background: rgba(255,255,255,.16); border: 1px solid rgba(255,255,255,.32); min-width: 96px; }
.ik-hero-stat strong { font-size: 22px; font-weight: 800; line-height: 1.1; color: #fff; font-variant-numeric: tabular-nums; }
.ik-hero-stat span { font-size: 11.5px; color: #C9D1DE; }
.ik-hero-logo { width: 120px; height: 120px; flex: none; opacity: .95; animation: ikRise .6s .1s var(--ease) both; }
.stages { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 10px; }
.stage { min-width: 170px; padding: 10px 14px; border-radius: 12px; font-size: 12.5px; background: rgba(255,255,255,.16); border: 1px solid rgba(255,255,255,.25); color: #D9DFEA; }
.stage b { display: block; font-size: 13.5px; color: #fff; }
.stage.done { background: var(--lane); border-color: var(--lane); color: #3A3212; }
.stage.done b { color: #1A1A12; }
.stage.on { background: #fff; color: var(--text-secondary); }
.stage.on b { color: var(--text-primary); }

/* ── Kartalar ── */
.k-card { background: var(--bg-card); border: 1px solid var(--border-color); border-radius: 20px; box-shadow: var(--ik-card-shadow); padding: 20px 22px; position: relative; animation: ikRise .5s .05s var(--ease) both; }
.k-card + .k-card { margin-top: 20px; }
.k-card-header { display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: 12px 16px; margin-bottom: 14px; }
.k-card-title { font-size: 18px; font-weight: 800; letter-spacing: -.015em; }
.k-card-subtitle { margin-top: 2px; font-size: 12.5px; color: var(--text-secondary); }
.grid { display: grid; gap: 20px; }
.grid-4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.grid-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.grid-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.grid-21 { grid-template-columns: minmax(0, 1.35fr) minmax(0, 1fr); }
.mt { margin-top: 20px; }
.stat-card { background: var(--bg-card); border: 1px solid var(--border-color); border-radius: var(--border-radius-lg); box-shadow: var(--shadow-card); padding: 20px; display: flex; align-items: flex-start; gap: 16px; transition: box-shadow var(--transition), transform var(--transition); animation: ikRise .5s var(--ease) both; }
.stat-card:hover { box-shadow: var(--shadow-card-hover); transform: translateY(-2px); }
.stat-card-icon { width: 48px; height: 48px; border-radius: var(--border-radius); display: grid; place-items: center; font-size: 1.2rem; flex-shrink: 0; }
.stat-card-icon.green { background: var(--brand-100); color: var(--brand-600); }
.stat-card-icon.gold { background: var(--gold-100); color: var(--gold-700); }
.stat-card-icon.teal { background: var(--info-light); color: var(--info-dark); }
.stat-card-icon.red { background: var(--danger-light); color: var(--danger); }
.stat-card-label { font-size: var(--text-sm); color: var(--text-secondary); font-weight: 500; margin-bottom: 4px; }
.stat-card-value { font-size: var(--text-3xl); font-weight: 700; line-height: 1.2; letter-spacing: -.025em; font-variant-numeric: tabular-nums; }
.stat-card-value small { font-size: 14px; color: var(--text-tertiary); font-weight: 600; }
.stat-card-note { margin-top: 6px; font-size: var(--text-xs); color: var(--text-secondary); }

/* ── Tugmalar ── */
.k-btn { display: inline-flex; align-items: center; justify-content: center; gap: 7px; min-height: 36px; padding: 7px 14px; border-radius: 10px; border: 1px solid var(--border-color); background: var(--bg-card);
  font: 600 13px var(--font-family); color: var(--text-primary); cursor: pointer; text-decoration: none !important; white-space: nowrap; transition: background .15s, border-color .15s, color .15s, box-shadow .15s; }
.k-btn:hover { border-color: var(--brand-500); color: var(--brand-700); }
.k-btn:disabled { opacity: .55; cursor: not-allowed; }
.k-btn-primary { background: var(--brand-500); border-color: var(--brand-500); color: #fff; }
.k-btn-primary:hover { background: var(--brand-600); border-color: var(--brand-600); color: #fff; box-shadow: 0 4px 14px rgba(52,72,103,.3); }
.k-btn-gold { background: var(--gold-500); border-color: var(--gold-500); color: #1F1A0E; }
.k-btn-gold:hover { background: var(--gold-600); border-color: var(--gold-600); color: #fff; }
.k-btn-danger { color: var(--danger); }
.k-btn-danger:hover { border-color: var(--danger); color: var(--danger); background: var(--danger-light); }
.k-btn-sm { min-height: 30px; padding: 4px 10px; font-size: 12.5px; border-radius: 8px; }
.k-btn-icon { width: 34px; padding: 0; }
.btn-row { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; }

/* ── Belgi, chip ── */
.k-badge { display: inline-flex; align-items: center; gap: 5px; padding: 3px 10px; border-radius: 99px; font-size: var(--text-xs); font-weight: 600; white-space: nowrap; }
.k-badge-success { background: var(--success-light); color: var(--success-dark); }
.k-badge-warning { background: var(--warning-light); color: var(--warning-dark); }
.k-badge-danger { background: var(--danger-light); color: var(--danger-dark); }
.k-badge-info { background: var(--info-light); color: var(--info-dark); }
.k-badge-green { background: var(--brand-100); color: var(--brand-700); }
.k-badge-gold { background: var(--gold-100); color: var(--gold-700); }
.k-badge-secondary { background: var(--border-light); color: var(--text-secondary); }

/* ── Jadval (k-table, sarlavha yumshoq, burchaklar yumaloq) ── */
.table-wrap { overflow-x: auto; border: 1px solid var(--border-color); border-radius: 14px; }
.k-table { width: 100%; border-collapse: collapse; font-size: var(--text-sm); }
.k-table th { position: sticky; top: 0; background: #F3F4F7; color: var(--text-primary); font-size: 12px; font-weight: 700; text-align: left; padding: 10px 14px; border-bottom: 1px solid var(--border-color); white-space: nowrap; }
.k-table th.sortable { cursor: pointer; user-select: none; }
.k-table th.sortable::after { content: ' ↕'; color: var(--text-tertiary); font-weight: 400; }
.k-table th[aria-sort="ascending"]::after { content: ' ↑'; color: var(--brand-600); }
.k-table th[aria-sort="descending"]::after { content: ' ↓'; color: var(--brand-600); }
.k-table td { padding: 11px 14px; border-bottom: 1px solid var(--border-light); vertical-align: middle; }
.k-table tbody tr:last-child td { border-bottom: 0; }
.k-table tbody tr:hover td { background: #FAFBFC; }
.k-table .num { text-align: right; font-variant-numeric: tabular-nums; }
.k-table td.wrap { white-space: normal; min-width: 220px; }
.k-table input.cell { width: 64px; height: 32px; padding: 0 8px; border: 1px solid var(--border-color); border-radius: 8px; text-align: right; font-variant-numeric: tabular-nums; }
.k-table input.cell:focus { outline: 0; border-color: var(--brand-500); box-shadow: 0 0 0 3px rgba(52,72,103,.18); }
.person { display: flex; align-items: center; gap: 10px; }
.avatar { width: 34px; height: 34px; border-radius: 10px; display: grid; place-items: center; font-size: 12px; font-weight: 700; color: #fff; background: linear-gradient(135deg, var(--brand-600), var(--brand-400)); flex-shrink: 0; }
.avatar.gold { background: linear-gradient(135deg, var(--gold-600), var(--gold-400)); }
.muted { color: var(--text-secondary); }
.small { font-size: 12px; }

/* ── Panel: qidiruv, filtr, tablar ── */
.toolbar { display: flex; flex-wrap: wrap; gap: 10px; align-items: center; margin-bottom: 14px; }
.toolbar .grow { flex: 1; }
.search-box { position: relative; min-width: 240px; flex: 1; max-width: 420px; }
.search-box i { position: absolute; left: 12px; top: 50%; transform: translateY(-50%); color: var(--text-tertiary); font-size: 13px; }
.search-box input { width: 100%; height: 38px; padding: 0 12px 0 34px; border: 1px solid var(--border-color); border-radius: 10px; font-size: 13px; background: #fff; }
.tabs { display: inline-flex; flex-wrap: wrap; gap: 4px; padding: 3px; border: 1px solid var(--border-color); border-radius: 12px; background: #F3F4F7; }
.tab { border: 0; background: transparent; border-radius: 9px; padding: 7px 13px; font: 600 12.5px var(--font-family); color: var(--text-secondary); cursor: pointer; display: inline-flex; gap: 6px; align-items: center; }
.tab[aria-selected="true"] { background: #fff; color: var(--brand-700); box-shadow: 0 1px 3px #0f172a22; }
.tab .count { padding: 0 6px; border-radius: 99px; background: var(--border-light); font-size: 11px; }

/* ── Formalar ── */
.form-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px 16px; }
.form-grid .full { grid-column: 1 / -1; }
.field { display: flex; flex-direction: column; gap: 6px; }
.field > span { font-size: 12.5px; font-weight: 600; color: var(--text-primary); }
.field > span em { font-style: normal; color: var(--danger); }
.field small { font-size: 11.5px; color: var(--text-secondary); }
.input, .field input:not([type=checkbox]):not([type=radio]):not([type=file]), .field select, .field textarea {
  width: 100%; min-height: 40px; padding: 8px 12px; border: 1px solid var(--border-color); border-radius: 10px; background: var(--bg-input); font-size: 13.5px; }
.field textarea { min-height: 92px; resize: vertical; line-height: 1.5; }
.field input:focus, .field select:focus, .field textarea:focus, .input:focus { outline: 0; border-color: var(--brand-500); box-shadow: 0 0 0 3px rgba(52,72,103,.18); }
.check { display: flex; align-items: flex-start; gap: 9px; font-size: 13px; cursor: pointer; }
.check input { width: 17px; height: 17px; margin-top: 1px; accent-color: var(--brand-500); flex-shrink: 0; }
.checks { display: grid; gap: 8px; }
.form-error { padding: 10px 12px; border-radius: 10px; background: var(--danger-light); color: var(--danger-dark); font-size: 13px; }
.note { padding: 12px 14px; border-radius: 12px; background: var(--gold-50); border: 1px solid var(--gold-100); color: #5D4708; font-size: 13px; line-height: 1.55; }
.note.green { background: var(--brand-50); border-color: var(--brand-100); color: var(--brand-800); }

/* ── Modal: ixcham, markazda ── */
.modal-backdrop { position: fixed; inset: 0; z-index: 600; display: grid; place-items: center; padding: 16px; background: rgba(16,21,31,.5); backdrop-filter: blur(3px); animation: fadeIn .15s ease-out; }
.modal { width: min(560px, 100%); max-height: calc(100vh - 32px); display: flex; flex-direction: column; background: var(--bg-card); border-radius: 18px; box-shadow: var(--shadow-lg); animation: modalIn .18s var(--ease); }
.modal.wide { width: min(820px, 100%); }
@keyframes modalIn { from { opacity: 0; transform: translateY(8px) scale(.98); } to { opacity: 1; transform: none; } }
.modal-header { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 16px 20px; border-bottom: 1px solid var(--border-light); }
.modal-title { font-size: 16px; font-weight: 700; }
.modal-close { width: 34px; height: 34px; border-radius: 50%; border: 0; background: var(--border-light); cursor: pointer; font-size: 15px; color: var(--text-secondary); }
.modal-close:hover { background: var(--danger-light); color: var(--danger); }
.modal-body { padding: 18px 20px; overflow-y: auto; }
.modal-footer { display: flex; justify-content: flex-end; gap: 8px; padding: 14px 20px; border-top: 1px solid var(--border-light); }
body.modal-open { overflow: hidden; }

/* ── Toast ── */
.toast-wrap { position: fixed; right: 20px; bottom: 20px; z-index: 700; display: flex; flex-direction: column; gap: 8px; }
.toast { min-width: 260px; max-width: 380px; padding: 12px 16px; border-radius: 12px; background: var(--brand-800); color: #fff; font-size: 13px; box-shadow: var(--shadow-lg); animation: ikRise .25s var(--ease); }
.toast.error { background: #8E1D1D; }

/* ── Progress, ko'nikmalar, ro'yxatlar ── */
.bar { height: 9px; border-radius: 9px; background: #ECEEF2; overflow: hidden; flex: 1; }
.bar > i { display: block; height: 100%; border-radius: 9px; background: linear-gradient(90deg, var(--brand-500), var(--brand-400)); transition: width .6s var(--ease); }
.bar.gold > i { background: linear-gradient(90deg, var(--gold-600), var(--gold-500)); }
.bar-row { display: flex; align-items: center; gap: 12px; margin: 10px 0; font-size: 13px; }
.bar-row .nm { width: 46%; min-width: 0; }
.bar-row .val { width: 64px; text-align: right; color: var(--text-secondary); font-variant-numeric: tabular-nums; }
.level { display: inline-flex; gap: 3px; }
.level i { width: 18px; height: 8px; border-radius: 3px; background: #E4E7EC; }
.level i.on { background: var(--brand-500); }
.list-row { display: flex; align-items: center; gap: 12px; padding: 11px 0; border-top: 1px solid var(--border-light); font-size: 13.5px; }
.list-row:first-child { border-top: 0; }
.list-row .grow { flex: 1; min-width: 0; }
.list-row small { display: block; color: var(--text-secondary); font-size: 12px; }
.mentor-box { display: flex; align-items: center; gap: 12px; margin-top: 14px; padding: 12px; border-radius: 14px; background: var(--brand-50); }
.empty { padding: 44px 16px; text-align: center; color: var(--text-secondary); border: 1px dashed var(--border-color); border-radius: 16px; background: #fff; }
.empty i { font-size: 30px; color: var(--brand-500); margin-bottom: 10px; display: block; }
.empty b { display: block; color: var(--text-primary); font-size: 15px; margin-bottom: 4px; }
.skeleton { height: 120px; border-radius: 20px; background: linear-gradient(90deg, #ECEEF2, #F5F6F8, #ECEEF2); background-size: 200% 100%; animation: shimmer 1.2s infinite; }
@keyframes shimmer { to { background-position: -200% 0; } }

/* Kartochkalar (portfolio ishlari, imkoniyatlar) */
.cards { display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 16px; }
.work-card { display: flex; flex-direction: column; gap: 10px; padding: 16px; border: 1px solid var(--border-color); border-radius: 16px; background: #fff; box-shadow: var(--shadow-card); transition: box-shadow var(--transition), transform var(--transition); }
.work-card:hover { box-shadow: var(--shadow-card-hover); transform: translateY(-2px); }
.work-card h4 { font-size: 14.5px; font-weight: 700; line-height: 1.35; }
.work-card p { font-size: 12.5px; color: var(--text-secondary); line-height: 1.5; }
.work-card .meta { display: flex; flex-wrap: wrap; gap: 6px; align-items: center; margin-top: auto; }
.work-icon { width: 40px; height: 40px; border-radius: 11px; display: grid; place-items: center; background: var(--gold-100); color: var(--gold-700); font-size: 17px; }

/* Bar diagramma (dashboard) */
.chart-bars { display: flex; align-items: flex-end; gap: 10px; height: 170px; padding-top: 10px; }
.chart-bars .col { flex: 1; display: flex; flex-direction: column; align-items: center; gap: 6px; height: 100%; justify-content: flex-end; }
.chart-bars .col i { width: 100%; max-width: 46px; border-radius: 8px 8px 4px 4px; background: linear-gradient(180deg, var(--brand-400), var(--brand-600)); min-height: 3px; }
.chart-bars .col b { font-size: 12px; font-variant-numeric: tabular-nums; }
.chart-bars .col span { font-size: 11px; color: var(--text-secondary); text-align: center; line-height: 1.2; }

/* CV */
.cv { max-width: 860px; margin: 0 auto; background: #fff; border: 1px solid var(--border-color); border-radius: 20px; overflow: hidden; box-shadow: var(--ik-card-shadow); }
.cv-head { display: flex; gap: 20px; align-items: center; padding: 26px 30px; background: linear-gradient(120deg, var(--brand-800), var(--brand-600)); color: #fff; position: relative; }
.cv-head::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 4px; background: repeating-linear-gradient(90deg, var(--lane) 0 26px, transparent 26px 44px); }
.cv-head h2 { font-size: 26px; font-weight: 800; letter-spacing: -.01em; }
.cv-head p { color: #D5DBE6; font-size: 14px; margin-top: 4px; }
.cv-body { display: grid; grid-template-columns: 260px 1fr; }
.cv-side { padding: 22px 24px; background: #F6F7F9; border-right: 1px solid var(--border-light); font-size: 13px; display: flex; flex-direction: column; gap: 18px; }
.cv-main { padding: 22px 28px; display: flex; flex-direction: column; gap: 18px; font-size: 13.5px; }
.cv h3 { font-size: 11px; letter-spacing: .12em; text-transform: uppercase; color: var(--gold-700); font-weight: 800; margin-bottom: 8px; display: flex; align-items: center; gap: 8px; }
.cv h3::before { content: ""; width: 12px; height: 2px; background: var(--gold-500); }
.cv ul { margin: 0; padding-left: 18px; display: grid; gap: 5px; }
.cv-foot { padding: 12px 28px; font-size: 11.5px; color: var(--text-tertiary); border-top: 1px solid var(--border-light); }

/* ── Mobil ── */
.mobile-nav { display: none; }
.sidebar-overlay { display: none; }
@media (max-width: 1200px) { .grid-4 { grid-template-columns: repeat(2, minmax(0, 1fr)); } .grid-3 { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 992px) {
  .main-wrapper { margin-left: 0; padding-bottom: 76px; }
  .sidebar { inset: auto 0 0; width: 100%; height: min(88dvh, 760px); border-radius: 18px 18px 0 0; transform: translateY(100%); visibility: hidden; transition: transform .28s var(--ease), visibility 0s .28s; box-shadow: 0 -12px 40px rgba(0,0,0,.22); }
  .sidebar.open { transform: none; visibility: visible; transition: transform .28s var(--ease); }
  .sidebar-overlay.active { display: block; position: fixed; inset: 0; z-index: 390; background: rgba(0,0,0,.45); }
  .mobile-menu-close { display: block; margin-left: auto; min-height: 40px; padding: 8px 12px; border: 1px solid rgba(255,255,255,.2); border-radius: 9px; background: rgba(255,255,255,.08); color: #fff; font-size: 13px; font-weight: 600; cursor: pointer; }
  .mobile-nav { display: flex; position: fixed; inset: auto 0 0; z-index: 380; min-height: 64px; padding: 4px 4px env(safe-area-inset-bottom, 0); background: var(--brand-800); border-top: 1px solid var(--brand-700); box-shadow: 0 -4px 18px rgba(16,21,31,.18); }
  .mobile-nav-item { flex: 1; min-width: 0; min-height: 56px; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 4px; padding: 6px 2px; border: 0; border-radius: 10px; background: transparent; color: #B7C0CE; font: 600 10.5px var(--font-family); text-decoration: none !important; cursor: pointer; }
  .mobile-nav-item i { font-size: 18px; }
  .mobile-nav-item.active { background: var(--lane); color: #1A1A12; }
  .top-header { padding: 0 16px; }
  .header-search, .header-breadcrumb, .header-select, .header-user-info { display: none; }
  .mobile-brand { display: flex !important; }
  .content-area { padding: 16px 16px 28px; }
  .grid-21, .grid-2 { grid-template-columns: minmax(0, 1fr); }
  .ik-hero-logo { display: none; }
}
@media (max-width: 600px) {
  .grid-4, .grid-3 { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
  .stat-card { flex-direction: column; gap: 10px; padding: 16px; }
  .ik-hero { padding: 20px 20px 40px; border-radius: 20px; }
  .stage { min-width: 0; flex: 1 1 100%; }
  .form-grid { grid-template-columns: minmax(0, 1fr); }
  .bar-row .nm { width: 52%; font-size: 12.5px; }
  .cv-body { grid-template-columns: 1fr; }
  .cv-side { border-right: 0; border-bottom: 1px solid var(--border-light); }
  .notif-list { width: min(340px, calc(100vw - 32px)); }
  .k-card { padding: 16px; border-radius: 18px; }
  .toolbar .search-box { max-width: none; min-width: 0; flex-basis: 100%; }
}
.mobile-brand { display: none; align-items: center; gap: 10px; font-weight: 800; font-size: 17px; color: var(--text-primary); text-decoration: none !important; }
.mobile-brand .sidebar-logo-icon { width: 34px; height: 34px; border-radius: 10px; }
.mobile-brand .sidebar-logo-icon svg { width: 27px; height: 27px; }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
}
@media print {
  .sidebar, .top-header, .mobile-nav, .no-print, .toast-wrap { display: none !important; }
  .main-wrapper { margin: 0; padding: 0; }
  .content-area { padding: 0; }
  body { background: #fff; }
  .cv { border: 0; box-shadow: none; }
  .cv-head, .cv-side { -webkit-print-color-adjust: exact; print-color-adjust: exact; }
}

/* ── Yordamchi sinflar (CSP: style="" atributlari o'rniga) ── */
.u1 { margin-bottom:14px; }
.u2 { font-size:14px; }
.u3 { width:auto; }
.u4 { margin-top:10px; }
.u5 { color:var(--danger); }
.u6 { margin-top:18px; }
.u7 { font-weight:600; }
.u8 { width:96px; }
.u9 { margin-top:4px;white-space:pre-wrap; }
.u10 { justify-content:space-between; }
.u11 { padding:8px 10px; }
.u12 { max-width:860px;margin:0 auto 14px; }
.u13 { border-radius:16px; }
.u14 { margin-bottom:8px; }
.u15 { white-space:pre-wrap; }
.u16 { font-size:15px; }
.u17 { white-space:pre-wrap;margin:4px 0 12px; }
.u18 { white-space:pre-wrap;margin-top:4px; }
.u19 { margin-top:4px; }
.u20 { color:var(--warning-dark); }
.u21 { color:var(--success); }
.u22 { margin-top:12px; }
.u23 { border:0;border-top:1px solid var(--border-light);margin:12px 0; }
.u24 { margin-top:14px;background:var(--brand-50); }
.u25 { font-size:15px;margin-bottom:10px; }
.u26 { margin-top:14px; }
.u27 { max-width:340px; }
.u28 { width:auto;background:rgba(255,255,255,.2);color:#fff;border-color:rgba(255,255,255,.4); }
.u29 { margin-left:auto; }
.u30 { margin:16px 0 8px; }
.u31 { width:auto;min-width:160px; }
.u32 { padding:22px;text-align:center; }
.u33 { padding:14px; }
.u34 { font-size:16px;margin-top:6px; }
.u35 { margin:6px 0 0; }
.u36 { position:relative; }
.u37 { max-width:880px; }
.u38 { font-size:18px; }

/* ── Klublar ── */
.club-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); gap: 20px; }
.club-card { --club: #2B5CB8; display: flex; flex-direction: column; background: var(--bg-card); border: 1px solid var(--border-color); border-radius: 20px; overflow: hidden; box-shadow: var(--ik-card-shadow); color: var(--text-primary); text-decoration: none !important; transition: transform .2s var(--ease), box-shadow .2s; animation: ikRise .5s var(--ease) both; }
.club-card:hover { transform: translateY(-2px); box-shadow: var(--shadow-card-hover); }
.club-card.off { opacity: .65; }
.club-banner { --club: #2B5CB8; position: relative; aspect-ratio: 16 / 9; display: grid; place-items: center; overflow: hidden; color: rgba(255,255,255,.85); font-size: 40px;
  background: linear-gradient(135deg, var(--club), color-mix(in srgb, var(--club) 55%, #10151F)); border-bottom: 3px solid var(--club); }
.club-banner::after { content: ""; position: absolute; left: 0; right: 0; bottom: 12px; height: 3px; background: repeating-linear-gradient(90deg, var(--lane) 0 22px, transparent 22px 38px); opacity: .85; }
.club-banner img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.club-body { padding: 16px 18px 18px; display: flex; flex-direction: column; gap: 6px; flex: 1; }
.club-body h3 { margin: 0; font-size: 16.5px; font-weight: 800; letter-spacing: -.01em; color: color-mix(in srgb, var(--club) 80%, #111827); }
.club-body p { margin: 4px 0 0; font-size: 13px; color: var(--text-secondary); }
.club-body .meta { display: flex; flex-wrap: wrap; gap: 8px 12px; align-items: center; margin-top: auto; padding-top: 10px; color: var(--text-secondary); }
.clamp { display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
.club-hero { --club: #2B5CB8; display: grid; grid-template-columns: minmax(0, 420px) minmax(0, 1fr); gap: 24px; align-items: center; background: var(--bg-card); border: 1px solid var(--border-color); border-radius: 24px; padding: 18px; box-shadow: var(--ik-card-shadow); border-top: 4px solid var(--club); }
.club-hero .club-banner { border-radius: 16px; border-bottom: 0; }
.club-hero h1 { margin: 6px 0 8px; font-size: clamp(22px, 2.6vw, 30px); font-weight: 800; letter-spacing: -.015em; color: color-mix(in srgb, var(--club) 80%, #111827); }
.club-hero-main { display: flex; flex-direction: column; gap: 8px; min-width: 0; }
.club-facts { display: flex; flex-wrap: wrap; gap: 6px 16px; font-size: 13px; color: var(--text-secondary); }
.club-facts i { color: var(--club); margin-right: 4px; }
@media (max-width: 992px) { .club-hero { grid-template-columns: 1fr; } }

/* ── Resurslar: kutubxona, me'yorlar, jurnal ── */
.res-layout > * { min-width: 0; }
.res-layout { display: grid; grid-template-columns: 250px minmax(0, 1fr); gap: 20px; align-items: start; }
.res-filters { position: sticky; top: 84px; display: flex; flex-direction: column; gap: 16px; }
.res-filters h4 { margin: 0 0 8px; font-size: 12px; font-weight: 700; text-transform: uppercase; letter-spacing: .06em; color: var(--text-tertiary); }
.res-filters .f-list { display: flex; flex-direction: column; gap: 2px; }
.f-opt { display: flex; align-items: center; gap: 8px; width: 100%; border: 0; background: transparent; border-radius: 9px; padding: 7px 10px; font: 500 13px var(--font-family); color: var(--text-secondary); cursor: pointer; text-align: left; }
.f-opt:hover { background: var(--brand-50); }
.f-opt[aria-pressed="true"] { background: var(--brand-100); color: var(--brand-800); font-weight: 700; }
.f-opt .n { margin-left: auto; font-size: 11px; padding: 0 7px; border-radius: 99px; background: var(--border-light); color: var(--text-secondary); }
.view-toggle { display: inline-flex; border: 1px solid var(--border-color); border-radius: 10px; overflow: hidden; }
.view-toggle button { border: 0; background: #fff; width: 36px; height: 36px; color: var(--text-secondary); cursor: pointer; }
.view-toggle button[aria-pressed="true"] { background: var(--brand-800); color: #fff; }
.book-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(230px, 1fr)); gap: 18px; }
.book { --book: #344867; display: flex; flex-direction: column; background: var(--bg-card); border: 1px solid var(--border-color); border-radius: 18px; overflow: hidden; box-shadow: var(--ik-card-shadow); transition: transform .2s var(--ease), box-shadow .2s; }
.book:hover { transform: translateY(-2px); box-shadow: var(--shadow-card-hover); }
.book-cover { position: relative; height: 128px; padding: 14px 16px; display: flex; flex-direction: column; justify-content: space-between; color: #fff;
  background: linear-gradient(135deg, var(--book), color-mix(in srgb, var(--book) 50%, #10151F)); }
.book-cover::before { content: ""; position: absolute; left: 10px; top: 0; bottom: 0; width: 3px; background: rgba(255,255,255,.25); }
.book-cover .kind { font-size: 11px; font-weight: 700; text-transform: uppercase; letter-spacing: .08em; opacity: .9; padding-left: 6px; }
.book-cover i { position: absolute; right: 14px; bottom: 12px; font-size: 34px; opacity: .3; }
.book-cover .yr { font-size: 22px; font-weight: 800; padding-left: 6px; }
.book-cover::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 3px; background: repeating-linear-gradient(90deg, var(--lane) 0 18px, transparent 18px 30px); }
.book-body { padding: 14px 16px 16px; display: flex; flex-direction: column; gap: 6px; flex: 1; }
.book-body h4 { margin: 0; font-size: 14.5px; font-weight: 700; line-height: 1.35; }
.book-body .meta { display: flex; flex-wrap: wrap; gap: 6px 12px; font-size: 12px; color: var(--text-tertiary); margin-top: auto; padding-top: 8px; }
.book.k-darslik { --book: #2B5CB8; } .book.k-oquv_qollanma { --book: #0F766E; } .book.k-uslubiy { --book: #B45309; }
.book.k-monografiya { --book: #6D28D9; } .book.k-maqola { --book: #0F7A55; } .book.k-boshqa { --book: #344867; }
.norm-list { display: flex; flex-direction: column; gap: 10px; }
.norm { display: grid; grid-template-columns: 110px minmax(0, 1fr) auto; gap: 14px; align-items: center; background: var(--bg-card); border: 1px solid var(--border-color); border-radius: 16px; padding: 14px 16px; box-shadow: var(--ik-card-shadow); }
.norm-type { display: grid; place-items: center; height: 58px; border-radius: 12px; background: var(--brand-800); color: #fff; font-weight: 800; font-size: 14px; letter-spacing: .02em; position: relative; overflow: hidden; }
.norm-type::after { content: ""; position: absolute; left: 0; right: 0; bottom: 8px; height: 2px; background: repeating-linear-gradient(90deg, var(--lane) 0 10px, transparent 10px 18px); }
.norm h4 { margin: 0 0 4px; font-size: 14px; font-weight: 700; }
.norm .code { font-family: ui-monospace, Menlo, Consolas, monospace; font-size: 12.5px; color: var(--brand-600); font-weight: 600; }
.norm .meta { display: flex; flex-wrap: wrap; gap: 6px 12px; font-size: 12px; color: var(--text-tertiary); margin-top: 4px; }
.norm-actions { display: flex; gap: 6px; flex-wrap: wrap; justify-content: flex-end; }
.norm-list.grid-view { display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 16px; }
.norm-list.grid-view .norm { grid-template-columns: 1fr; align-items: stretch; }
.norm-list.grid-view .norm-actions { justify-content: flex-start; }
.fav-btn { color: var(--text-tertiary); }
.fav-btn.on { color: var(--gold-600, #C8992C); border-color: var(--gold-300, #EBD08A); background: #FFF8E6; }
.reader-back { position: fixed; inset: 0; z-index: 1200; background: rgba(16,21,31,.82); display: flex; flex-direction: column; }
.reader-bar { display: flex; align-items: center; gap: 12px; padding: 10px 16px; background: var(--brand-900); color: #fff; border-bottom: 3px solid var(--lane); }
.reader-bar b { flex: 1; min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; font-size: 14px; }
.reader-bar .k-btn { background: rgba(255,255,255,.1); color: #fff; border-color: rgba(255,255,255,.25); }
.reader-frame { flex: 1; width: 100%; border: 0; background: #525659; }
.journal-frame-wrap { position: relative; border: 1px solid var(--border-color); border-radius: 18px; overflow: hidden; background: #fff; box-shadow: var(--ik-card-shadow); }
.journal-frame { display: block; width: 100%; height: calc(100vh - 280px); min-height: 520px; border: 0; }
@media (max-width: 992px) { .res-layout { grid-template-columns: 1fr; } .res-filters { position: static; } .norm { grid-template-columns: 1fr; } .norm-type { height: 40px; } .norm-actions { justify-content: flex-start; } }
@media (max-width: 992px) {
  .res-filters { gap: 10px; padding: 14px; }
  .res-filters h4 { margin-bottom: 4px; }
  .res-filters .f-list { flex-direction: row; flex-wrap: nowrap; overflow-x: auto; gap: 6px; padding-bottom: 2px; scrollbar-width: none; }
  .f-opt { width: auto; flex: 0 0 auto; white-space: nowrap; border: 1px solid var(--border-color); background: #fff; }
}
