/* ==========================================================================
   conf.tict.uz — dizayn tizimi
   1. Tokenlar va asos   2. Yordamchilar   3. Tugma, forma, belgi
   4. Ommaviy layout     5. Bosh sahifa    6. Konferensiya sahifasi
   7. Auth               8. Ish paneli (sidebar)   9. Panel komponentlari
   10. Rich text muharriri   11. Moslashuvchanlik
   ========================================================================== */

/* 1. Tokenlar va asos ------------------------------------------------------ */
[hidden] { display: none !important; }
:root {
  --bg: #f5f7fb;
  --surface: #ffffff;
  --surface-2: #f8fafc;
  --ink: #0b1630;
  --text: #14213d;
  --muted: #4f5d73;
  --faint: #94a3b8;
  --line: #e4e9f1;
  --line-strong: #cfd8e5;

  --brand: #15357f;
  --brand-700: #1b3f9e;
  --brand-600: #2453d4;
  --brand-500: #3b6cf0;
  --brand-100: #dce6ff;
  --brand-50: #eef3ff;
  --accent: #f59e0b;
  --navy-900: #0a1733;
  --navy-800: #0f2148;

  --ok: #067647;   --ok-bg: #ecfdf3;   --ok-line: #abefc6;
  --warn: #9a4a07; --warn-bg: #fff8eb; --warn-line: #fedf89;
  --err: #b42318;  --err-bg: #fef3f2;  --err-line: #fecdca;
  --info: #1d4ed8; --info-bg: #eef3ff; --info-line: #c7d7fe;

  --radius: 14px;
  --radius-sm: 10px;
  --shadow-sm: none;
  --shadow: none;
  --shadow-lg: 0 18px 50px rgba(15, 23, 42, .14); /* faqat suzuvchi menyu va dialoglar uchun */
  --plenary: #0e7490;
  --ease: cubic-bezier(.2, .7, .2, 1);
  --font: "Segoe UI Variable Text", "Segoe UI", system-ui, -apple-system, Roboto, "Helvetica Neue", Arial, sans-serif;
  --font-display: "Segoe UI Variable Display", "Segoe UI", system-ui, -apple-system, Roboto, Arial, sans-serif;
  --mono: ui-monospace, "Cascadia Code", Consolas, monospace; /* taste-skill-ignore: faqat kod bloklari uchun */
  --container: 1200px;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body { margin: 0; font: 16px/1.6 var(--font); color: var(--text); background: var(--bg); -webkit-font-smoothing: antialiased; }
img { max-width: 100%; height: auto; }
a { color: var(--brand-600); text-decoration-thickness: 1px; text-underline-offset: 3px; }
a:hover { color: var(--brand-700); }
h1, h2, h3, h4 { font-family: var(--font-display); color: var(--ink); line-height: 1.25; margin: 0 0 .6em; letter-spacing: -.01em; }
h1 { font-size: 1.75rem; font-weight: 700; }
h2 { font-size: 1.22rem; font-weight: 650; }
h3 { font-size: 1.05rem; font-weight: 650; }
p { margin: 0 0 1em; }
hr { border: 0; height: 2px; background: var(--surface-2); margin: 1.5em 0; }
:focus-visible { outline: 3px solid #93b4ff; outline-offset: 2px; border-radius: 6px; }
::selection { background: var(--brand-100); }
.icon { width: 18px; height: 18px; flex: none; vertical-align: -3px; }

/* 2. Yordamchilar ---------------------------------------------------------- */
.container { width: 100%; max-width: var(--container); margin: 0 auto; padding: 0 20px; }
.muted { color: var(--muted); }
.small { font-size: .86rem; }
.lead { font-size: 1.05rem; }
.nowrap { white-space: nowrap; }
.prewrap { white-space: pre-wrap; }
.inline { display: inline; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip { position: absolute; left: -999px; top: 8px; background: var(--surface); padding: 8px 12px; z-index: 100; border-radius: 8px; }
.skip:focus { left: 8px; }
.grid2 { display: grid; grid-template-columns: 1fr 1fr; gap: 0 16px; }
.grid3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 0 16px; }
.cards3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; margin-bottom: 20px; }
.btnrow { display: flex; gap: 10px; flex-wrap: wrap; }
.row-between { display: flex; justify-content: flex-end; margin: -6px 0 12px; font-size: .92rem; }
.narrow { max-width: 780px; }
.list { margin: 0; padding-left: 1.2em; }
.list--plain { list-style: none; padding: 0; }
.list--plain li { padding: 5px 0; }
.debug { white-space: pre-wrap; font: 13px/1.5 var(--mono); /* taste-skill-ignore: xato izi — kod */ background: var(--navy-900); color: #e2e8f0; padding: 14px; border-radius: 10px; overflow: auto; text-align: left; }
.dot { display: inline-block; width: 9px; height: 9px; border-radius: 50%; background: var(--faint); }
.dot--current { background: #16a34a; }
.dot--upcoming { background: var(--brand-600); }
.dot--past { background: var(--faint); }

/* 3. Tugma, forma, belgi --------------------------------------------------- */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; padding: 10px 18px; min-height: 42px; border-radius: 10px;
  border: 1px solid var(--brand-600); background: var(--brand-600); color: #fff; font: inherit; font-weight: 600; text-decoration: none;
  cursor: pointer; transition: background .18s var(--ease), color .18s var(--ease), transform .18s var(--ease); white-space: nowrap; }
.btn:hover { background: var(--brand-700); border-color: var(--brand-700); color: #fff; transform: translateY(-1px); }
.btn:active { transform: translateY(0) scale(.98); }
.btn .icon { width: 17px; height: 17px; }
.btn--ghost { background: var(--surface); color: var(--brand-700); border-color: var(--line-strong); }
.btn--ghost:hover { background: var(--brand-50); color: var(--brand-700); border-color: var(--brand-100); }
.btn--soft { background: var(--brand-50); color: var(--brand-700); border-color: transparent; }
.btn--soft:hover { background: var(--brand-100); color: var(--brand); }
.btn--danger { background: var(--err); border-color: var(--err); }
.btn--danger:hover { background: #912018; border-color: #912018; }
.btn--light { background: #fff; color: var(--brand); border-color: #fff; }
.btn--small { padding: 6px 12px; min-height: 34px; font-size: .9rem; }
.btn--lg { padding: 13px 20px; min-height: 50px; font-size: 1.02rem; }
.btn--block { width: 100%; margin-top: 8px; }
.btn:disabled, .btn.is-loading { opacity: .6; cursor: progress; transform: none; }
.linkbtn { background: none; border: 0; padding: 0; font: inherit; color: var(--brand-600); cursor: pointer; text-decoration: underline; text-underline-offset: 3px; }
.linkbtn--danger { color: var(--err); }
.iconbtn { display: inline-grid; place-items: center; width: 36px; height: 36px; border-radius: 10px; border: 1px solid var(--line-strong);
  background: var(--surface); cursor: pointer; font: inherit; color: var(--muted); padding: 0; }
.iconbtn:hover:not(:disabled) { border-color: var(--brand-600); color: var(--brand); }
.iconbtn:disabled { opacity: .35; cursor: default; }
.iconbtn--danger:hover:not(:disabled) { border-color: var(--err); color: var(--err); }

.field { margin-bottom: 18px; }
.field label, .ml legend { display: block; font-weight: 600; font-size: .9rem; color: var(--ink); margin-bottom: 7px; }
.req { color: var(--err); }
input[type=text], input[type=email], input[type=password], input[type=tel], input[type=url], input[type=date], input[type=number], input[type=search], select, textarea {
  width: 100%; padding: 10px 13px; min-height: 44px; border: 1px solid var(--line-strong); border-radius: 10px; font: inherit; color: var(--text);
  background-color: #fff; transition: border-color .15s, box-shadow .15s; } /* taste-skill-ignore: fokus halqasi */
textarea { resize: vertical; line-height: 1.55; }
select { appearance: none; padding-right: 36px; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='M1 1l5 5 5-5' fill='none' stroke='%2364748b' stroke-width='1.6' stroke-linecap='round'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 13px center; }
input:hover, select:hover, textarea:hover { border-color: #b6c2d4; }
input:focus, select:focus, textarea:focus { border-color: var(--brand-500); outline: none; box-shadow: 0 0 0 4px rgba(59, 108, 240, .14); } /* taste-skill-ignore: fokus halqasi (a11y) */
input[readonly] { background-color: var(--surface-2); color: var(--muted); }
input[type=file] { font: inherit; font-size: .9rem; color: var(--muted); }
input[type=file]::file-selector-button { font: inherit; font-weight: 600; margin-right: 12px; padding: 8px 14px; border-radius: 9px; border: 1px solid var(--line-strong); background: var(--surface-2); color: var(--text); cursor: pointer; }
input[type=checkbox], input[type=radio] { accent-color: var(--brand-600); width: 17px; height: 17px; }
.field--error input, .field--error select, .field--error textarea, .field--error .rte { border-color: var(--err); }
.field__error { color: var(--err); font-size: .86rem; margin: 6px 0 0; }
.field__hint { color: var(--muted); font-size: .84rem; margin: 6px 0 0; }
.counter { text-align: right; }
.counter.is-over { color: var(--err); font-weight: 700; }
.field__control--password { position: relative; }
.field__control--password input { padding-right: 46px; }
.pwtoggle { position: absolute; right: 6px; top: 50%; transform: translateY(-50%); background: none; border: 0; cursor: pointer; font-size: 1.05rem; padding: 4px 6px; opacity: .55; }
.pwtoggle[aria-pressed=true] { opacity: 1; }
.check, .radio { display: flex; gap: 10px; align-items: flex-start; font-weight: 400 !important; cursor: pointer; }
.check input, .radio input { margin-top: 3px; flex: none; }
.formbar { display: flex; gap: 12px; align-items: center; margin-top: 10px; }
.formbar--end { justify-content: flex-end; }
.formbar--between { justify-content: space-between; margin-top: 20px; }
.inlineform { display: flex; gap: 12px; align-items: flex-start; flex-wrap: wrap; }
.inlineform .field { flex: 1 1 300px; margin-bottom: 0; }
.inlineform .btn { margin-top: 29px; }
.switch { display: inline-flex; gap: 10px; align-items: center; cursor: pointer; font-size: .92rem; user-select: none; }
.switch input { appearance: none; width: 38px; height: 22px; border-radius: 999px; background: var(--line-strong); position: relative; transition: background .15s; margin: 0; cursor: pointer; }
.switch input::after { content: ""; position: absolute; top: 3px; left: 3px; width: 16px; height: 16px; border-radius: 50%; background: #fff; transition: transform .15s; }
.switch input:checked { background: var(--brand-600); }
.switch input:checked::after { transform: translateX(16px); }

.alert { display: flex; gap: 10px; align-items: flex-start; padding: 12px 16px; border-radius: 12px; margin-bottom: 18px; border: 1px solid transparent; }
.alert .icon { margin-top: 2px; }
.alert ul { margin: 6px 0 0; }
.alert--success { background: var(--ok-bg); color: var(--ok); border-color: var(--ok-line); }
.alert--error { background: var(--err-bg); color: var(--err); border-color: var(--err-line); }
.alert--info { background: var(--info-bg); color: var(--info); border-color: var(--info-line); }
.banner { padding: 10px 0; font-size: .92rem; }
.banner--info { background: var(--warn-bg); color: var(--warn); }

.badge, .tag { display: inline-flex; align-items: center; gap: 4px; font-size: .8125rem; font-weight: 650; padding: 1px 9px; border-radius: 999px;
  background: var(--brand-50); color: var(--brand-700); vertical-align: middle; white-space: nowrap; }
.badge { margin-left: 6px; }
.tag--muted, .badge--muted { background: #f1f4f8; color: var(--muted); }
.badge--ok { background: var(--ok-bg); color: var(--ok); }
.badge--warn { background: var(--warn-bg); color: var(--warn); }
.badge--light { background: rgba(255, 255, 255, .16); color: #fff; margin-left: 0; }
.pill { display: inline-flex; align-items: center; font-size: .8125rem; font-weight: 650; padding: 3px 11px; border-radius: 999px; background: rgba(255, 255, 255, .14); color: #fff; }
.pill--current { background: #16a34a; }
.pill--upcoming { background: var(--brand-600); }
.status { display: inline-block; font-size: .8125rem; font-weight: 700; padding: 3px 10px; border-radius: 999px; }
.status--draft { background: #f1f4f8; color: var(--muted); }
.status--published { background: var(--ok-bg); color: var(--ok); }
.status--archived { background: var(--warn-bg); color: var(--warn); }
.sbadge, .rstatus { display: inline-block; font-size: .8125rem; font-weight: 700; padding: 3px 10px; border-radius: 999px; background: #f1f4f8; color: var(--muted); white-space: nowrap; vertical-align: middle; }
.sbadge--submitted, .sbadge--under_review { background: var(--info-bg); color: var(--info); }
.sbadge--revision, .sbadge--payment_review, .sbadge--proof, .sbadge--proof_review, .rstatus--assigned { background: var(--warn-bg); color: var(--warn); }
.sbadge--accepted, .sbadge--paid, .sbadge--ready_to_publish, .sbadge--published, .rstatus--submitted { background: var(--ok-bg); color: var(--ok); }
.sbadge--rejected, .sbadge--withdrawn, .rstatus--declined, .rstatus--cancelled { background: var(--err-bg); color: var(--err); }
.avatar { display: inline-grid; place-items: center; width: 34px; height: 34px; border-radius: 50%; background: var(--brand-600); color: #fff; font-weight: 700; font-size: .82rem; flex: none; overflow: hidden; }
.avatar img { width: 100%; height: 100%; object-fit: cover; }
.avatar--lg { width: 46px; height: 46px; font-size: 1rem; }

/* 4. Ommaviy layout -------------------------------------------------------- */
.topnav { background: #fff; position: sticky; top: 0; z-index: 40; }
.topnav__inner { display: flex; align-items: center; gap: 24px; min-height: 66px; }
.topnav__links { display: flex; gap: 6px; flex: 1; }
.topnav__links a, .topnav__link { padding: 8px 12px; border-radius: 9px; color: var(--text); font-weight: 600; text-decoration: none; white-space: nowrap; }
.topnav__links a:hover, .topnav__link:hover, .topnav__links a[aria-current] { background: var(--brand-50); color: var(--brand-700); }
.topnav__right { display: flex; align-items: center; gap: 8px; margin-left: auto; }
.brand { display: flex; align-items: center; gap: 10px; text-decoration: none; color: var(--ink); }
.brand__mark { width: 36px; height: 36px; border-radius: 10px; background: var(--brand); color: #fff; display: grid; place-items: center; font-weight: 800; font-size: 1.05rem; flex: none; }
.brand__text { font-size: 1.04rem; letter-spacing: -.01em; white-space: nowrap; }
.brand__text b { color: var(--brand); }
.brand--light, .brand--light .brand__text b { color: #fff; }

.dropdown { position: relative; }
.dropdown > summary { list-style: none; cursor: pointer; display: flex; align-items: center; gap: 8px; padding: 6px 10px; border-radius: 10px; font-weight: 600; font-size: .9rem; color: var(--text); }
.dropdown > summary::-webkit-details-marker { display: none; }
.dropdown > summary:hover, .dropdown[open] > summary { background: var(--brand-50); }
.langmenu > summary { background: var(--surface-2); }
.dropdown__menu { position: absolute; right: 0; top: calc(100% + 8px); margin: 0; padding: 6px; list-style: none; background: var(--surface);
  border-radius: 14px; min-width: 220px; z-index: 50; }
.dropdown[open] > .dropdown__menu { box-shadow: var(--shadow-lg); } /* taste-skill-ignore: ochiq menyu — suzuvchi */
.dropdown__menu a, .dropdown__menu button { display: flex; align-items: center; gap: 10px; width: 100%; padding: 9px 12px; border-radius: 9px; text-decoration: none; color: var(--text); background: none; border: 0; font: inherit; cursor: pointer; text-align: left; }
.dropdown__menu a:hover, .dropdown__menu button:hover, .dropdown__menu a[aria-current] { background: var(--brand-50); color: var(--brand-700); }
.dropdown__menu .icon { color: var(--muted); }
.dropdown__menu form { margin: 0; }
.dropdown__head { padding: 10px 12px 12px; background: var(--surface-2); border-radius: 10px; margin-bottom: 6px; display: flex; flex-direction: column; }
.dropdown__head span { color: var(--muted); font-size: .84rem; word-break: break-all; }
.usermenu > summary { padding: 4px 10px 4px 4px; }
.usermenu__name { max-width: 140px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }

.main { min-height: calc(100dvh - 66px - 140px); padding: 32px 0 56px; }
.main--full { padding-top: 0; }
.footer { background: var(--navy-900); color: #b8c3d9; padding: 36px 0; font-size: 1rem; }
.footer__inner { display: grid; grid-template-columns: 2fr 1fr auto; gap: 24px; align-items: center; }
.footer__brand { display: flex; gap: 14px; align-items: center; }
.footer__brand strong { color: #fff; }
.footer__brand p { margin: 2px 0 0; }
.footer__links { display: flex; gap: 18px; flex-wrap: wrap; }
.footer__links a { color: #dbe3f2; text-decoration: none; }
.footer__links a:hover { color: #fff; }
.footer__copy { color: #8391ad; }

/* 5. Bosh sahifa ----------------------------------------------------------- */
.hero { position: relative; overflow: hidden; color: #fff; padding: clamp(56px, 8vw, 112px) 0 clamp(72px, 9vw, 128px); background: var(--navy-900); }
.hero__inner { position: relative; z-index: 1; }
.hero h1 { color: #fff; font-size: clamp(2.2rem, 4.6vw, 4rem); line-height: 1.04; letter-spacing: -.035em; font-weight: 750; margin-bottom: 36px; max-width: 30ch; text-wrap: balance; }
.hero__lead { font-size: 1.15rem; color: #d6e0f5; max-width: 620px; margin-bottom: 26px; }
.hero__search { display: flex; align-items: center; gap: 8px; background: #fff; border-radius: 14px; padding: 6px 6px 6px 16px; max-width: 680px; }
.hero__search > .icon { color: var(--muted); }
.hero__search input { border: 0; min-height: 44px; padding-left: 4px; }
.hero__search input:focus { outline: none; } .hero__search:focus-within { outline: 3px solid #93b4ff; outline-offset: 2px; }
.hero__facts { display: flex; flex-wrap: wrap; gap: 6px 28px; margin: 22px 0 0; color: #c9d5ee; font-size: 1.05rem; }
.hero__facts strong { color: #fff; font-variant-numeric: tabular-nums; }

.home { margin-top: -30px; position: relative; z-index: 2; padding-bottom: 20px; }
.filterbar { background: var(--surface); border-radius: var(--radius); padding: 14px; display: flex; flex-wrap: wrap; gap: 12px 16px; align-items: center; margin-bottom: 34px; }
.filterbar__selects { display: flex; flex-wrap: wrap; gap: 10px; align-items: center; flex: 1; }
.filterbar__selects select { width: auto; min-width: 150px; min-height: 40px; padding-top: 7px; padding-bottom: 7px; font-size: .92rem; }
.filterbar__reset { display: inline-flex; align-items: center; gap: 4px; font-size: .9rem; margin-left: auto; color: var(--muted); }
.segmented { display: inline-flex; background: #eef1f6; border-radius: 11px; padding: 3px; }
.segmented button { border: 0; background: none; padding: 7px 14px; border-radius: 8px; font: inherit; font-weight: 600; font-size: .9rem; color: var(--muted); cursor: pointer; }
.segmented button.is-active { background: #fff; color: var(--brand-700); }

.cgroup { margin-bottom: 42px; }
.cgroup__title { display: flex; align-items: center; gap: 12px; font-size: clamp(1.4rem, 2.2vw, 1.9rem); letter-spacing: -.02em; margin-bottom: 20px; }
.cgroup__count { font-size: .8rem; font-weight: 700; background: var(--brand-50); color: var(--brand-700); border-radius: 999px; padding: 2px 10px; }
.cgrid { display: grid; grid-template-columns: repeat(auto-fill, minmax(330px, 1fr)); gap: 22px; }
.ccard { position: relative; background: var(--surface); border-radius: 16px; overflow: hidden; transition: transform .25s var(--ease), background .25s var(--ease); display: flex; flex-direction: column; }
.ccard:hover { transform: translateY(-4px); }
.ccard:hover .ccard__title { color: var(--brand-600); }
.ccard__link { position: absolute; inset: 0; z-index: 2; border-radius: 16px; }
.ccard__cover { position: relative; aspect-ratio: 16 / 7; overflow: hidden; background: var(--navy-800); display: grid; place-items: center; }
.ccard__cover > img:first-child { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform .35s; }
.ccard:hover .ccard__cover > img:first-child { transform: scale(1.04); }
.ccard__abbr { color: #fff; font-family: var(--font-display); font-weight: 800; font-size: clamp(2rem, 3.4vw, 2.8rem); letter-spacing: -.02em; text-align: center; padding: 0 16px; }
.ccard__phase { position: absolute; top: 12px; left: 12px; font-size: .8125rem; font-weight: 650; padding: 3px 10px; border-radius: 999px; background: #fff; color: var(--ink); }
.ccard__phase--current { background: #16a34a; color: #fff; }
.ccard__logo { position: absolute; right: 14px; bottom: 12px; width: 52px; height: 52px; border-radius: 12px; background: #fff; padding: 5px; object-fit: contain; z-index: 1; }
.ccard__body { padding: 18px 20px 18px; display: flex; flex-direction: column; gap: 8px; flex: 1; }
.ccard__date { display: flex; gap: 6px; align-items: center; color: var(--brand-600); font-weight: 700; font-size: .9rem; }
.ccard__date .icon { width: 16px; height: 16px; }
.ccard__title { font-size: 1.2rem; letter-spacing: -.01em; transition: color .2s; margin: 0; line-height: 1.35; display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
.ccard__summary { color: var(--muted); font-size: 1rem; margin: 0; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.ccard__meta { color: var(--muted); font-size: .88rem; }
.ccard__meta span { display: inline-flex; gap: 6px; align-items: center; }
.ccard__meta .icon { width: 16px; height: 16px; }
.ccard__foot { display: flex; justify-content: space-between; align-items: center; gap: 10px; margin-top: auto; padding-top: 14px; }
.ccard__tags { display: flex; flex-wrap: wrap; gap: 5px; }
.ccard__open { display: inline-flex; gap: 5px; align-items: center; color: var(--ok); font-weight: 700; font-size: .8125rem; background: var(--ok-bg); padding: 3px 10px; border-radius: 999px; white-space: nowrap; }
.ccard__open .icon, .ccard__papers .icon { width: 15px; height: 15px; }
.ccard__papers { display: inline-flex; gap: 5px; align-items: center; color: var(--muted); font-size: .86rem; }

/* Afzalliklar: ikonkali kartalar o'rniga katta matnli ro'yxat */
.pitch { list-style: none; margin: clamp(64px, 9vw, 140px) 0 clamp(40px, 6vw, 96px); padding: 0; display: grid; gap: clamp(28px, 4vw, 52px); }
.pitch li { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 12px 48px; align-items: baseline; }
.pitch h3 { font-size: clamp(1.6rem, 3.2vw, 2.7rem); line-height: 1.08; letter-spacing: -.03em; margin: 0; }
.pitch p { font-size: 1.15rem; line-height: 1.55; color: var(--text); margin: 0; max-width: 46ch; }
.emptystate { text-align: center; padding: 48px 20px; color: var(--muted); background: var(--surface); border-radius: var(--radius); }
.emptystate > .icon { width: 40px; height: 40px; color: var(--faint); margin-bottom: 8px; }
.empty { text-align: center; padding: 20px 8px; }

/* 6. Konferensiya sahifasi ------------------------------------------------- */
.chero { position: relative; color: #fff; background: var(--navy-900); overflow: hidden; }
.chero__bg { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.chero--image::after { content: ""; position: absolute; inset: 0; background: rgba(8, 18, 45, .74); }
.chero__inner { position: relative; z-index: 1; display: flex; gap: 28px; align-items: center; padding-top: clamp(48px, 7vw, 96px); padding-bottom: clamp(48px, 7vw, 88px); }
.chero__logo { width: 104px; height: 104px; object-fit: contain; background: #fff; border-radius: 18px; padding: 8px; flex: none; }
.chero__text { flex: 1; min-width: 0; }
.chero h1 { color: #fff; font-size: clamp(2.1rem, 4.6vw, 3.9rem); line-height: 1.04; letter-spacing: -.03em; margin: 0 0 22px; max-width: 20ch; text-wrap: balance; }
.chero__meta { display: flex; gap: 8px 24px; flex-wrap: wrap; color: #e3eaf8; font-size: 1.1rem; font-weight: 600; }
.chero__tags { display: flex; gap: 6px 18px; flex-wrap: wrap; margin-top: 14px; color: #b9c6e4; font-size: .95rem; }
.chero__tags .is-phase { color: #fff; font-weight: 650; }
.chero__meta span { display: inline-flex; align-items: center; gap: 7px; }
.chero__meta .icon { color: #9db7ff; }
.ctabs { background: var(--surface); position: sticky; top: 66px; z-index: 30; }
.ctabs__inner { display: flex; gap: 4px; overflow-x: auto; scrollbar-width: none; }
.ctabs__inner::-webkit-scrollbar { display: none; }
.ctabs a { padding: 15px 14px 13px; text-decoration: none; color: var(--muted); font-weight: 600; border-bottom: 3px solid transparent; white-space: nowrap; transition: color .18s; }
.ctabs a:hover { color: var(--ink); }
.ctabs a[aria-current=page] { color: var(--brand-700); border-bottom-color: var(--brand-600); }
.clayout { display: grid; grid-template-columns: minmax(0, 1fr) 330px; gap: 26px; align-items: start; margin-top: 28px; }
.clayout__side { position: sticky; top: 132px; display: flex; flex-direction: column; gap: 16px; }
.card { background: var(--surface); border-radius: var(--radius); padding: 30px; margin-bottom: 20px; }
.clayout__side .card { margin-bottom: 0; padding: 22px; }
.card__head { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; margin-bottom: 16px; }
.card__head h2 { margin: 0; }
.card__head a { display: inline-flex; align-items: center; gap: 4px; font-weight: 600; font-size: 1rem; text-decoration: none; }
.card__title { display: flex; align-items: center; gap: 8px; font-size: 1.15rem; letter-spacing: -.01em; margin-bottom: 12px; }
.card__title .icon { color: var(--brand-600); }
.cta { background: var(--brand-50); }
.cta__count { display: flex; align-items: baseline; gap: 10px; }
.cta__count strong { font-family: var(--font-display); font-size: 3.4rem; letter-spacing: -.03em; color: var(--brand); line-height: 1; }
.cta__count span { color: var(--muted); font-weight: 600; }
.cta__deadline { display: flex; gap: 6px; align-items: center; color: var(--text); font-size: 1rem; margin: 10px 0 8px; }
.cta__closed { font-weight: 600; color: var(--muted); margin: 0 0 6px; }
.minidates { list-style: none; margin: 0; padding: 0; }
.minidates li { display: flex; flex-direction: column; padding: 9px 0 9px 14px; border-left: 2px solid var(--brand-100); font-size: 1rem; }
.minidates li span { font-weight: 700; color: var(--brand-700); font-size: .875rem; }
.side-contact { display: flex; flex-direction: column; gap: 4px; margin: 0; font-size: 1rem; }
.note { display: flex; gap: 8px; align-items: center; color: var(--muted); font-size: .9rem; background: var(--surface-2); border-radius: 10px; padding: 10px 14px; }

.prose { font-size: 1.05rem; line-height: 1.7; color: var(--text); overflow-wrap: anywhere; }
.prose p, .prose li { max-width: 72ch; }
.prose > :first-child { margin-top: 0; }
.prose h2 { font-size: 1.32rem; margin: 1.6em 0 .6em; }
.prose h3 { font-size: 1.12rem; margin: 1.4em 0 .5em; }
.prose h4 { font-size: 1rem; margin: 1.2em 0 .4em; }
.prose ul, .prose ol { padding-left: 1.4em; margin: 0 0 1em; }
.prose li { margin: .25em 0; }
.prose li::marker { color: var(--brand-600); }
.prose blockquote { margin: 1.2em 0; padding: 12px 18px; border-left: 4px solid var(--brand-500); background: var(--brand-50); border-radius: 0 10px 10px 0; color: var(--ink); }
.prose img { border-radius: 12px; margin: .6em 0; }
.prose figure { margin: 1.2em 0; }
.prose figcaption { color: var(--muted); font-size: .88rem; text-align: center; }
.prose table { width: 100%; border-collapse: collapse; margin: 1em 0; font-size: .94rem; display: block; overflow-x: auto; }
.prose th, .prose td { border: 1px solid var(--line); padding: 8px 12px; text-align: left; vertical-align: top; }
.prose th { background: var(--surface-2); font-weight: 650; }
.prose a { font-weight: 500; }
.prose--sm { font-size: .93rem; }
.ta-center { text-align: center !important; } .ta-right { text-align: right !important; } .ta-justify { text-align: justify !important; }

.seclist { list-style: none; padding: 0; margin: 0; }
.seclist { display: grid; gap: 18px; }
.seclist li { display: flex; gap: 16px; align-items: baseline; font-size: 1.1rem; }
.seclist__code { flex: none; font-weight: 750; font-size: .875rem; background: var(--brand-50); color: var(--brand-700); border-radius: 7px; padding: 3px 9px; height: fit-content; }
.seclist .muted p { margin: 4px 0 0; }
.timeline { list-style: none; margin: 0; padding: 0 0 0 22px; border-left: 2px solid var(--line); }
.timeline__item { position: relative; display: flex; gap: 18px; padding: 11px 0; flex-wrap: wrap; }
.timeline__item::before { content: ""; position: absolute; left: -29px; top: 16px; width: 12px; height: 12px; border-radius: 50%; background: #fff; border: 2px solid var(--brand-600); }
.timeline__item--key::before { background: var(--brand-600); }
.timeline__item--past { opacity: .55; }
.timeline__date { font-weight: 700; min-width: 170px; color: var(--ink); }

.speakers { display: grid; gap: 18px; }
.speakers--grid { grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); }
.speaker { display: flex; flex-direction: column; align-items: flex-start; text-align: left; gap: 14px; padding: 0; border-radius: 16px; }
.speaker__photo { width: 100%; aspect-ratio: 4 / 5; border-radius: 14px; overflow: hidden; background: var(--brand-50); display: grid; place-items: center; color: var(--brand); font-size: 3.4rem; font-weight: 750; flex: none; }
.speaker__photo img { width: 100%; height: 100%; object-fit: cover; }
.speaker h3 { margin: 0 0 2px; font-size: 1.25rem; letter-spacing: -.01em; }
.speaker__kind { font-size: .875rem; font-weight: 650; color: #9a4a07; }
.speaker__pos { margin: 0; color: var(--brand-700); font-weight: 600; font-size: .95rem; }
.speaker__aff { margin: 0; color: var(--muted); font-size: .95rem; }
.speaker__talk { margin: 6px 0 0; color: var(--ink); font-size: 1rem; font-weight: 600; }
.speaker__link { display: inline-flex; gap: 6px; align-items: center; font-weight: 600; font-size: .9rem; margin-top: 6px; }
.speaker--full { flex-direction: row; text-align: left; align-items: flex-start; gap: 28px; padding: 0 0 8px; }
.speaker--full .speaker__photo { width: 200px; }
.speaker--full .speaker__body { flex: 1; min-width: 0; }
.speaker--full .prose { margin-top: 10px; }
.members { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(270px, 1fr)); gap: 14px; }
.member { display: flex; gap: 14px; align-items: center; padding: 12px; background: var(--surface-2); border-radius: 12px; }
.member__photo { width: 58px; height: 58px; border-radius: 50%; object-fit: cover; flex: none; }
.member__photo--sm { width: 32px; height: 32px; }
.member__photo--empty { display: grid; place-items: center; background: var(--brand-50); color: var(--brand-700); font-weight: 800; }
.member__pos { color: var(--brand-700); font-size: .9rem; }
.contacts { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); gap: 14px; }
.contact { display: flex; gap: 14px; padding: 18px; background: var(--surface-2); border-radius: 12px; }
.contact a { display: flex; gap: 6px; align-items: center; margin-top: 4px; font-size: 1rem; text-decoration: none; }
.contact a .icon { width: 16px; height: 16px; color: var(--muted); }

/* 7. Auth ------------------------------------------------------------------ */
.authcard { max-width: 460px; margin: 16px auto; background: var(--surface); border-radius: 20px; padding: 36px; }
.authcard--wide { max-width: 660px; }
.authcard h1 { font-size: 1.55rem; }
.authcard__alt { text-align: center; margin: 20px 0 0; }
.bigicon { width: 66px; height: 66px; border-radius: 50%; background: var(--brand-50); color: var(--brand-600); display: grid; place-items: center; font-size: 1.6rem; font-weight: 800; margin: 0 auto 14px; }
.bigicon--warn { background: var(--warn-bg); color: var(--warn); font-size: 1.1rem; }
.authcard:has(.bigicon) h1, .authcard:has(.bigicon) > p { text-align: center; }
.steps { padding-left: 1.2em; }
.steps li { margin-bottom: 4px; }

/* 8. Ish paneli (sidebar) ------------------------------------------------- */
.app { background: var(--bg); }
.app__shell { display: flex; min-height: 100dvh; }
.sidebar { width: 268px; flex: none; background: var(--navy-900); color: #c3cde3; display: flex; flex-direction: column; position: sticky; top: 0; height: 100dvh; overflow-y: auto; scrollbar-width: thin; scrollbar-color: #2a3a63 transparent; }
.sidebar__top { display: flex; align-items: center; justify-content: space-between; padding: 18px 18px 14px; }
.sidebar__close { display: none; background: transparent; border-color: rgba(255, 255, 255, .15); color: #c3cde3; }
.sidebar__nav { flex: 1; padding: 6px 12px 16px; }
.sidebar__group { margin-top: 18px; }
.sidebar__title { font-size: .8125rem; font-weight: 650; color: #9fb0d6; padding: 0 10px 6px; }
.sidebar ul { list-style: none; margin: 0; padding: 0; }
.sidebar__link { display: flex; align-items: center; gap: 11px; padding: 9px 10px; border-radius: 9px; color: #c3cde3; text-decoration: none; font-size: .93rem; font-weight: 500; position: relative; }
.sidebar__link .icon { width: 18px; height: 18px; color: #7f90b8; }
.sidebar__link span { flex: 1; min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.sidebar__link:hover { background: rgba(255, 255, 255, .06); color: #fff; }
.sidebar__link:hover .icon { color: #fff; }
.sidebar__link.is-active { background: rgba(59, 108, 240, .24); color: #fff; }
.sidebar__link.is-active::before { content: ""; position: absolute; left: -12px; top: 8px; bottom: 8px; width: 3px; border-radius: 0 3px 3px 0; background: var(--brand-500); }
.sidebar__link.is-active .icon { color: #9db7ff; }
.sidebar__link--conf { font-weight: 650; }
li.is-open > .sidebar__link--conf { color: #fff; background: rgba(255, 255, 255, .05); }
.sidebar .sidebar__sub { margin: 4px 0 8px 18px; padding-left: 10px; }
.sidebar__sub .sidebar__link { padding: 7px 10px; font-size: .9rem; }
.sidebar__sub .sidebar__link.is-active::before { left: -11px; }
.sidebar__divider { font-size: .8125rem; color: #9fb0d6; padding: 12px 10px 4px; font-weight: 650; }
.sidebar__badge { font-style: normal; font-size: .8125rem; font-weight: 800; background: var(--accent); color: #1a1205; border-radius: 999px; padding: 1px 7px; }
.sidebar__bottom { padding: 12px; background: rgba(255, 255, 255, .03); }
.sidebar__backdrop { display: none; }
.app__main { flex: 1; min-width: 0; display: flex; flex-direction: column; }
.apptop { position: sticky; top: 0; z-index: 30; display: flex; align-items: center; gap: 14px; min-height: 62px; padding: 0 28px; background: #fff; }
.apptop__menu { display: none; }
.apptop__title { font-weight: 650; color: var(--ink); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; flex: 1; min-width: 0; }
.apptop .topnav__right { margin-left: 0; }
.app__content { padding: 28px; width: 100%; max-width: 1240px; }

/* 9. Panel komponentlari ---------------------------------------------------- */
.pagehead { display: flex; justify-content: space-between; align-items: flex-start; gap: 16px; flex-wrap: wrap; margin-bottom: 22px; }
.pagehead h1 { margin-bottom: 6px; font-size: 1.6rem; }
.pagehead__meta { display: flex; flex-wrap: wrap; align-items: center; gap: 6px 14px; color: var(--muted); font-size: .9rem; margin: 0; }
.pagehead__meta span { display: inline-flex; gap: 5px; align-items: center; }
.pagehead__meta .icon { width: 16px; height: 16px; }
.pagehead__conf { max-width: 520px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; display: inline-block !important; }
.crumbs { margin: 0 0 6px; font-size: .875rem; color: var(--muted); }
.crumbs a { color: var(--muted); text-decoration: none; }
.crumbs a:hover { color: var(--brand-600); }
.panel { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 24px; margin-bottom: 20px; }
.panel > h2 { margin-top: 2px; }
.panel h2 ~ h2 { margin-top: 38px; }
.panel--flush { padding: 0; overflow-x: auto; }
.panel--accent { border-color: var(--warn-line); background: #fffdf6; }
.tabs { display: flex; gap: 4px; flex-wrap: wrap; margin-bottom: 22px; }
.tabs a { padding: 10px 14px; text-decoration: none; color: var(--muted); font-weight: 600; border-bottom: 2px solid transparent; white-space: nowrap; }
.tabs a[aria-current=page] { color: var(--brand-700); border-bottom-color: var(--brand-600); }
.stat { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 20px; }
.stat__num { font-family: var(--font-display); font-size: 2rem; font-weight: 800; color: var(--brand); line-height: 1.1; }
.stat__label { color: var(--muted); font-size: .9rem; }
.table { width: 100%; border-collapse: collapse; }
.table th, .table td { padding: 13px 18px; text-align: left; border-top: 1px solid var(--line); vertical-align: top; }
.table th { border-top: 0; font-size: .875rem; color: var(--muted); background: var(--surface-2); font-weight: 650; }
.table tbody tr:hover { background: #fafcff; }
.table a { text-decoration: none; }
.chips { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 14px; }
.chip { display: inline-flex; gap: 6px; align-items: center; padding: 7px 13px; border-radius: 999px; border: 1px solid var(--line); background: var(--surface); text-decoration: none; color: var(--text); font-size: .88rem; font-weight: 600; }
.chip b { color: var(--muted); }
.chip:hover { border-color: var(--brand-100); }
.chip.is-active { border-color: var(--brand-600); background: var(--brand-50); color: var(--brand-700); }
.filters--inline { display: flex; gap: 10px; flex-wrap: wrap; margin-bottom: 18px; }
.filters--inline input[type=search] { flex: 1 1 280px; width: auto; }
.filters--inline select { width: auto; }
.mcard { display: flex; flex-direction: column; gap: 6px; padding: 18px; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); text-decoration: none; color: var(--text); transition: border-color .15s, transform .15s; }
.mcard:hover { border-color: var(--brand-500); transform: translateY(-2px); }
.mcard .status { align-self: flex-start; }
.dash { display: grid; grid-template-columns: minmax(0, 1fr) 330px; gap: 20px; align-items: start; }
.progress { height: 8px; background: #eef1f6; border-radius: 999px; overflow: hidden; margin: 12px 0 16px; }
.progress__bar { display: block; height: 100%; background: #16a34a; border-radius: 999px; width: 0; }
.progress__bar--10 { width: 10%; } .progress__bar--20 { width: 20%; } .progress__bar--30 { width: 30%; } .progress__bar--40 { width: 40%; }
.progress__bar--50 { width: 50%; } .progress__bar--60 { width: 60%; } .progress__bar--70 { width: 70%; } .progress__bar--80 { width: 80%; }
.progress__bar--90 { width: 90%; } .progress__bar--100 { width: 100%; }
.checklist { list-style: none; padding: 0; margin: 0; }
.checklist { display: grid; gap: 4px; }
.checklist li { display: flex; align-items: center; gap: 10px; padding: 7px 0; }
.checklist__mark { width: 22px; height: 22px; display: grid; place-items: center; border-radius: 50%; background: #eef1f6; color: var(--muted); flex: none; }
.checklist__mark .icon { width: 14px; height: 14px; }
.checklist__req { margin-left: auto; font-size: .875rem; color: var(--warn); font-weight: 600; }
.checklist li.is-done .checklist__req { color: var(--muted); font-weight: 400; }
.checklist li.is-done .checklist__mark { background: var(--ok-bg); color: var(--ok); }
.checklist li.is-done a { color: var(--muted); }
.checklist a { text-decoration: none; font-weight: 500; }
.checklist .badge { margin-left: auto; }
.emaillist { list-style: none; margin: 0; padding: 0; }
.emaillist { display: grid; gap: 6px; }
.emaillist__item { display: flex; justify-content: space-between; align-items: center; gap: 12px; padding: 10px 0; flex-wrap: wrap; }
.emaillist__actions { display: flex; gap: 14px; font-size: .92rem; }
.papers { list-style: none; margin: 0; padding: 0; }
.papers { display: grid; gap: 8px; }
.paper { display: flex; gap: 16px; align-items: center; justify-content: space-between; padding: 14px 0; }
.paper__main { min-width: 0; display: flex; flex-direction: column; gap: 4px; }
.paper__top { display: flex; gap: 8px; align-items: center; flex-wrap: wrap; }
.paper__number { font-weight: 700; color: var(--brand-700); font-size: .9rem; }
.paper__title { font-weight: 650; color: var(--ink); text-decoration: none; }
.paper__title:hover { color: var(--brand-600); }
.paper__next { font-size: .88rem; color: var(--brand-700); }
.is-overdue { color: var(--err); font-weight: 600; }

.item { border: 1px solid var(--line); border-radius: 12px; margin-bottom: 12px; padding: 0 16px; background: var(--surface); }
.item[open] { padding-bottom: 16px; }
.item--bare { border: 0; padding: 0; margin-bottom: 6px; background: none; }
.item--add { background: var(--surface-2); }
.item__head { cursor: pointer; display: flex; gap: 12px; align-items: center; padding: 13px 0; flex-wrap: wrap; list-style: none; }
.item__head::-webkit-details-marker { display: none; }
.item__title { display: flex; flex-direction: column; flex: 1; min-width: 0; }
.item__edit { color: var(--muted); margin-left: auto; }
.item[open] > .item__head { margin-bottom: 12px; }
.item--bare[open] > .item__head { border-bottom: 0; margin-bottom: 4px; }
.item__delete { margin-top: 10px; text-align: right; }
.inline-h { display: inline; margin: 0 !important; padding: 0 !important; border: 0 !important; }
.speaker-admin { margin-bottom: 20px; }
.photofield { display: flex; gap: 14px; align-items: center; flex-wrap: wrap; }
.photofield__img { width: 72px; height: 72px; border-radius: 50%; object-fit: cover; border: 1px solid var(--line); }

.ml { border: 0; padding: 0; margin: 0 0 20px; min-width: 0; }
.ml__row { display: flex; gap: 8px; align-items: flex-start; margin-bottom: 8px; }
.ml__lang { flex: none; width: 44px; min-height: 44px; display: grid !important; place-items: center; font-size: .8125rem !important; font-weight: 800 !important; color: var(--brand-700) !important; background: var(--brand-50); border-radius: 9px; margin: 0 !important; }
.ml__row input, .ml__row textarea { flex: 1; min-width: 0; }
.ml__pane { display: none; }
.ml__pane.is-active { display: block; }
.langtabs { display: flex; gap: 4px; margin-bottom: -1px; position: relative; z-index: 1; }
.langtabs__tab { border: 1px solid var(--line-strong); border-bottom-color: transparent; background: var(--surface-2); padding: 7px 14px; border-radius: 10px 10px 0 0; font: inherit; font-size: .86rem; font-weight: 600; color: var(--muted); cursor: pointer; }
.langtabs__tab.is-active { background: #fff; color: var(--brand-700); border-bottom-color: #fff; }
.langtabs ~ .ml__pane .rte { border-top-left-radius: 0; }
.fmthelp { margin: -8px 0 16px; font-size: .88rem; }
.fmthelp summary { cursor: pointer; color: var(--brand-600); }
.fmthelp code { background: #f1f4f8; padding: 1px 6px; border-radius: 5px; }
.langpick { display: grid; grid-template-columns: repeat(4, 1fr); gap: 10px; margin-bottom: 6px; }
.langpick__item { border: 1px solid var(--line); border-radius: 12px; padding: 12px 14px; display: flex; flex-direction: column; gap: 8px; }
.langpick__item:has(input[type=checkbox]:checked) { border-color: var(--brand-500); background: var(--brand-50); }
.thumb { display: block; max-height: 110px; max-width: 100%; border-radius: 10px; border: 1px solid var(--line); margin-bottom: 8px; }
.thumb--logo { max-height: 70px; }
.options { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 12px; margin-bottom: 16px; }
.option { display: flex; gap: 12px; align-items: flex-start; border: 1px solid var(--line); border-radius: 12px; padding: 14px; cursor: pointer; transition: border-color .15s, background .15s; }
.option:hover { border-color: var(--brand-100); }
.option:has(input:checked) { border-color: var(--brand-500); background: var(--brand-50); }
.option span { display: flex; flex-direction: column; gap: 3px; }
.option small { color: var(--muted); }
.contactrows { display: grid; gap: 10px; }
.contactrow { display: grid; grid-template-columns: 1.3fr 1fr 1.2fr 1fr; gap: 10px; }
.contactrow .field__error { grid-column: 1 / -1; margin: 0; }

.steps-bar { list-style: none; display: grid; grid-template-columns: repeat(4, 1fr); gap: 8px; padding: 0; margin: 0 0 20px; }
.steps-bar li > a, .steps-bar li > span { display: flex; align-items: center; gap: 10px; padding: 12px 14px; border-radius: 12px; background: var(--surface); color: var(--muted); text-decoration: none; font-weight: 600; font-size: .92rem; height: 100%; }
.steps-bar__n { flex: none; width: 26px; height: 26px; border-radius: 50%; display: grid; place-items: center; background: #eef1f6; font-size: .8rem; }
.steps-bar li.is-done > a { color: var(--ok); background: var(--ok-bg); }
.steps-bar li.is-done .steps-bar__n { background: var(--ok); color: #fff; }
.steps-bar li.is-current > span { color: var(--brand-700); background: var(--brand-50); }
.steps-bar li.is-current .steps-bar__n { background: var(--brand-600); color: #fff; }
.deadline { display: inline-flex; gap: 6px; align-items: center; background: var(--warn-bg); color: var(--warn); font-weight: 600; font-size: .9rem; padding: 7px 14px; border-radius: 999px; }
.extra { background: var(--surface-2); border-radius: 12px; padding: 12px 16px; margin-bottom: 16px; }
.extra summary { cursor: pointer; font-weight: 600; color: var(--brand-600); }
.extra[open] summary { margin-bottom: 12px; }
.author { position: relative; border: 0; border-radius: 14px; padding: 8px 18px 12px; margin: 0 0 16px; min-width: 0; background: var(--surface-2); }
.author__head { display: flex; align-items: center; gap: 10px; padding: 0 6px; font-weight: 650; }
.author__n { width: 28px; height: 28px; border-radius: 50%; background: var(--brand-600); color: #fff; display: grid; place-items: center; font-size: .85rem; }
.author__tools { position: absolute; top: 10px; right: 12px; display: flex; gap: 4px; }
.author__roles { display: flex; gap: 24px; flex-wrap: wrap; padding-top: 8px; }
.author-add { display: flex; gap: 12px; flex-wrap: wrap; align-items: center; justify-content: space-between; }
.author-add__known { display: flex; gap: 8px; flex: 1 1 340px; max-width: 520px; }
.author-add__known select { flex: 1; }
.filebox { display: flex; gap: 14px; align-items: center; padding: 14px 16px; border-radius: 12px; background: var(--surface-2); margin-bottom: 16px; }
.filebox__icon { color: var(--brand-600); }
.filebox__icon .icon { width: 26px; height: 26px; }
.review__head { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; }
.dl { display: grid; grid-template-columns: 190px 1fr; gap: 10px 18px; margin: 0; }
.dl dt { color: var(--muted); font-size: .9rem; }
.dl dd { margin: 0; }
.authorlist { margin: 0; padding-left: 1.3em; }
.authorlist li { padding: 7px 0; }
.authorlist li::marker { color: var(--brand-600); font-weight: 700; }
.refs { margin: 0; padding-left: 1.5em; font-size: .93rem; }
.refs li { padding: 3px 0; }
.subhead { display: flex; justify-content: space-between; gap: 14px; align-items: flex-start; margin-bottom: 16px; }
.subhead__number { font-weight: 800; color: var(--brand-700); display: flex; gap: 10px; align-items: center; margin-bottom: 6px; }
.subhead h1 { font-size: 1.5rem; }
.progress-steps { list-style: none; display: flex; margin: 0 0 20px; background: var(--surface); border-radius: var(--radius); padding: 18px 8px 16px; }
.progress-steps li { flex: 1 1 0; position: relative; padding: 24px 6px 0; font-size: .875rem; color: var(--muted); text-align: center; min-width: 0; font-weight: 600; }
.progress-steps li::before { content: ""; position: absolute; top: 4px; left: 50%; width: 14px; height: 14px; margin-left: -7px; border-radius: 50%; background: #fff; border: 2px solid var(--line-strong); z-index: 1; }
.progress-steps li::after { content: ""; position: absolute; top: 10px; left: -50%; width: 100%; height: 2px; background: var(--line); }
.progress-steps li:first-child::after { display: none; }
.progress-steps li.is-done::before { background: var(--ok); border-color: var(--ok); }
.progress-steps li.is-done::after, .progress-steps li.is-current::after { background: var(--ok); }
.progress-steps li.is-current { color: var(--brand-700); }
.progress-steps li.is-current::before { background: var(--brand-600); border-color: var(--brand-600); }
.nextstep { display: flex; gap: 8px; background: var(--brand-50); color: var(--brand-700); border-radius: 12px; padding: 13px 16px; margin-bottom: 20px; }
.history { list-style: none; padding: 0; margin: 0; }
.history { display: grid; gap: 6px; }
.history li { padding: 6px 0; }
.history__note { margin-top: 6px; font-size: .9rem; background: var(--surface-2); border-left: 3px solid var(--line-strong); padding: 6px 10px; border-radius: 0 8px 8px 0; }
.danger-zone summary { cursor: pointer; font-weight: 600; color: var(--err); }
.danger-zone[open] summary { margin-bottom: 12px; }
.decision-note { border-left: 4px solid var(--info); }
.decision-note--revision { border-left-color: #f79009; }
.decision-note--rejected { border-left-color: var(--err); }
.decision-note--accepted { border-left-color: #16a34a; }
.decision-options { display: grid; grid-template-columns: repeat(auto-fit, minmax(180px, 1fr)); gap: 10px; margin-bottom: 16px; }
.option--accept:has(input:checked) { border-color: #16a34a; background: var(--ok-bg); }
.option--revision:has(input:checked) { border-color: #f79009; background: var(--warn-bg); }
.option--reject:has(input:checked) { border-color: var(--err); background: var(--err-bg); }
.review-card { background: var(--surface-2); border-radius: 12px; padding: 16px 18px; margin-bottom: 12px; }
.review-card--cancelled, .review-card--declined { opacity: .6; }
.review-card__head { display: flex; gap: 8px; align-items: center; flex-wrap: wrap; margin-bottom: 8px; }
.review-card__head .badge { margin-left: 0; }
.review-card__text p { margin: 2px 0 8px; }
.review-card__text--staff { background: #fff; border-radius: 8px; padding: 8px 12px; }
.rec { font-weight: 700; }
.rec--accept { color: var(--ok); } .rec--revision { color: var(--warn); } .rec--reject { color: var(--err); }
.assign { display: grid; grid-template-columns: 1fr 180px auto; gap: 10px; align-items: end; background: var(--surface-2); border-radius: 12px; padding: 14px; margin-top: 12px; }
.assign .field { margin-bottom: 0; }
.thread { list-style: none; padding: 0; margin: 0 0 14px; display: flex; flex-direction: column; gap: 10px; }
.msg { max-width: 86%; background: #f2f5fa; border-radius: 14px 14px 14px 4px; padding: 11px 15px; }
.msg--mine { align-self: flex-end; background: var(--brand-50); border-radius: 14px 14px 4px 14px; }
.msg--internal { background: var(--warn-bg); }
.msg__head { display: flex; gap: 8px; align-items: center; flex-wrap: wrap; font-size: .88rem; }
.msg__head .badge { margin-left: 0; }
.msg p { margin: 4px 0 0; }
.msgform textarea { width: 100%; }
.msgform__bar { display: flex; gap: 14px; align-items: center; margin-top: 10px; flex-wrap: wrap; }
.msgform__bar .btn { margin-left: auto; }
.scores { display: flex; gap: 8px; align-items: center; flex-wrap: wrap; }
.score input { position: absolute; opacity: 0; }
.score span { display: grid; place-items: center; width: 44px; height: 44px; border: 1px solid var(--line-strong); border-radius: 12px; font-weight: 700; cursor: pointer; background: #fff; }
.score input:checked + span { background: var(--brand-600); border-color: var(--brand-600); color: #fff; }
.score input:focus-visible + span { outline: 3px solid #93b4ff; }
fieldset[disabled] { opacity: .85; }

/* To'lov, yakuniy PDF, DOI */
.decision-note--proof { border-left-color: #f79009; }
.panel h2 .icon { width: 20px; height: 20px; vertical-align: -3px; color: var(--brand-600); margin-right: 4px; }
.paybox { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 14px; margin: 4px 0 14px; }
.paybox__col { background: var(--brand-50); border-radius: var(--radius-sm); padding: 14px 16px; }
.paybox__col h3 { margin: 0 0 6px; font-size: .95rem; color: var(--brand-700); }
.paybox__col .prose > :last-child { margin-bottom: 0; }
.paylist { list-style: none; padding: 0; margin: 10px 0 16px; display: grid; gap: 8px; }
.paylist__item { display: flex; flex-wrap: wrap; align-items: center; gap: 6px 12px; padding: 10px 14px; border-radius: var(--radius-sm); background: var(--surface-2); }
.paylist__item a { display: inline-flex; align-items: center; gap: 6px; font-weight: 600; text-decoration: none; }
.paylist__item .icon { width: 18px; height: 18px; }
.paylist__item--rejected { background: var(--err-bg); }
.paylist__item--approved { background: var(--ok-bg); }
.paylist__note { flex-basis: 100%; font-size: .92rem; color: var(--text); border-left: 3px solid var(--err-line); padding-left: 10px; }
.pstatus { font-size: .8125rem; font-weight: 700; padding: 3px 10px; border-radius: 999px; background: var(--warn-bg); color: var(--warn); }
.pstatus--approved { background: var(--ok-bg); color: var(--ok); }
.pstatus--rejected { background: #fff; color: var(--err); }
.uploadform { padding-top: 10px; margin-top: 6px; }
.uploadform .field { margin-bottom: 12px; }
.reviewbar { padding-top: 10px; margin-top: 10px; }
.btn--ok { background: #16a34a; border-color: #16a34a; }
.btn--ok:hover { background: #15803d; border-color: #15803d; }
.btn--danger-text { color: var(--err); }
.btn--danger-text:hover { color: var(--err); background: var(--err-bg); border-color: var(--err-line); }
details.minor { margin-top: 10px; }
details.minor > summary { cursor: pointer; color: var(--muted); font-size: .9rem; }
details.minor[open] > summary { margin-bottom: 8px; }
details.minor textarea { margin-bottom: 8px; }
.doibox { display: flex; flex-wrap: wrap; align-items: center; gap: 6px 14px; padding: 14px 16px; margin: 4px 0 14px; border-radius: var(--radius-sm); background: var(--brand-50); }
.doibox--pending { background: #f1f4f8; }
.doibox__label { font-weight: 750; font-size: .875rem; color: #fff; background: var(--brand-600); border-radius: 6px; padding: 3px 8px; }
.doibox--pending .doibox__label { background: var(--muted); }
.doibox__value { flex: 1 1 260px; min-width: 0; }
.doibox__value code { font: 650 1rem/1.4 var(--font); font-variant-numeric: tabular-nums; color: var(--brand-700); overflow-wrap: anywhere; }
.doibox p { flex-basis: 100%; margin: 0; }

/* Nashr: ommaviy maqola, to'plam, mundarija, kotib jadvali */
.count { display: inline-block; min-width: 26px; padding: 1px 8px; border-radius: 999px; background: var(--brand-50); color: var(--brand-700); font-size: .8125rem; font-weight: 700; text-align: center; vertical-align: middle; }
.alert--warning { background: var(--warn-bg); color: var(--warn); border-color: var(--warn-line); }
.minisearch input { min-width: 240px; padding: 8px 12px; min-height: 38px; }
.psection { display: flex; align-items: center; gap: 10px; font-size: 1rem; margin: 22px 0 6px; color: var(--text); }
.psection:first-of-type { margin-top: 4px; }
.psection span { font-size: .8125rem; font-weight: 750; color: #fff; background: var(--brand-600); border-radius: 6px; padding: 2px 8px; }
.plist { list-style: none; padding: 0; margin: 0; }
.plist { display: grid; gap: 10px; }
.pitem { padding: 12px 0; }
.pitem__title { display: block; font-weight: 650; font-size: 1.12rem; line-height: 1.4; color: var(--text); text-decoration: none; }
.pitem__title:hover { color: var(--brand-600); }
.pitem__authors { color: var(--muted); font-size: 1rem; margin-top: 3px; }
.pitem__meta { display: flex; flex-wrap: wrap; gap: 6px 16px; align-items: center; margin-top: 6px; font-size: .875rem; color: var(--muted); }
.pitem__doi { color: var(--brand-700); text-decoration: none; font-variant-numeric: tabular-nums; }
.pitem__pdf { display: inline-flex; align-items: center; gap: 4px; font-weight: 700; text-decoration: none; }
.pitem__pdf .icon { width: 15px; height: 15px; }
.proccard { display: flex; gap: 22px; align-items: flex-start; }
.proccard__cover { flex: none; width: 130px; aspect-ratio: 3 / 4; border-radius: 6px; overflow: hidden; display: grid; place-items: center; background: var(--navy-900); color: #fff; }
.proccard__cover img { width: 100%; height: 100%; object-fit: cover; }
.proccard__cover .icon { width: 38px; height: 38px; opacity: .8; }
.proccard__kicker { font-size: .9rem; font-weight: 650; color: var(--brand-600); }
.proccard h2 { margin: 4px 0 6px; font-size: 1.45rem; letter-spacing: -.02em; }
.proccard h2 a { color: var(--text); text-decoration: none; }
.proccard .btnrow { margin-top: 12px; }

.phero { background: var(--navy-900); color: #fff; padding: clamp(36px, 5vw, 72px) 0 clamp(36px, 5vw, 64px); }
.phero a { color: #fff; }
.phero h1 { color: #fff; font-size: clamp(2rem, 4.4vw, 3.9rem); line-height: 1.08; letter-spacing: -.03em; margin: 18px 0 20px; max-width: 24ch; text-wrap: balance; }
.phero__crumbs { display: flex; flex-wrap: wrap; gap: 8px; font-size: .95rem; color: #c3cfe8; }
.phero__crumbs a { text-decoration: none; }
.phero__crumbs a:hover { text-decoration: underline; }
.phero__authors { list-style: none; padding: 0; margin: 0; display: flex; flex-wrap: wrap; gap: 4px 20px; font-weight: 650; font-size: 1.12rem; }
.phero__authors sup { font-size: .7em; margin-left: 1px; }
.phero__corr { margin-left: 4px; opacity: .8; }
.phero__corr .icon { width: 15px; height: 15px; vertical-align: -2px; }
.orcid { display: inline-grid; place-items: center; width: 20px; height: 20px; border-radius: 50%; background: #a6ce39; color: #fff !important; font-size: .8125rem; font-weight: 800; text-decoration: none; margin-left: 4px; vertical-align: 1px; }
.phero__affs { list-style: none; padding: 0; margin: 8px 0 0; font-size: .95rem; color: #c3cfe8; }
.phero__affs sup { margin-right: 3px; }
.phero__actions { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 22px; }
.phero .btn { background: #fff; color: var(--brand-700); border-color: #fff; }
.phero .btn:hover { background: var(--brand-50); }
.phero .btn--ghost { background: rgba(255, 255, 255, .12); color: #fff; border-color: transparent; }
.phero .btn--ghost:hover { background: rgba(255, 255, 255, .2); color: #fff; }
.citebox > summary.btn { padding: 10px 18px; font-size: 1rem; border-radius: 10px; }
.citebox .dropdown__menu { left: 0; right: auto; min-width: 260px; }
.citebox .dropdown__menu a { color: var(--text); }
.phero__grid { display: grid; grid-template-columns: 170px minmax(0, 1fr); gap: 30px; align-items: start; }
.phero__cover { aspect-ratio: 3 / 4; border-radius: 6px; overflow: hidden; display: grid; place-items: center; background: rgba(255, 255, 255, .1); }
.phero__cover img { width: 100%; height: 100%; object-fit: cover; }
.phero__cover .icon { width: 54px; height: 54px; opacity: .7; }
.phero__facts { display: flex; flex-wrap: wrap; gap: 10px 28px; margin: 0; }
.phero__facts dt { font-size: .875rem; color: #b9c6e4; }
.phero__facts dd { margin: 2px 0 0; font-weight: 650; }
.abstract { line-height: 1.7; font-size: 1.1rem; max-width: 70ch; }
.kwlist { display: flex; flex-wrap: wrap; gap: 6px; align-items: center; margin-top: 14px; font-size: .9rem; }
.kw { background: #eef1f6; border-radius: 999px; padding: 2px 11px; }
.doicard { display: flex; flex-direction: column; gap: 6px; align-items: flex-start; background: var(--brand-50); }
.doicard__value { font: 700 1.25rem/1.3 var(--font-display); letter-spacing: -.01em; color: var(--brand-700); font-variant-numeric: tabular-nums; overflow-wrap: anywhere; }
.doicard__hint { font-size: .875rem; color: var(--muted); }
.doicard a { text-decoration: none; }
.factlist { margin: 0; display: grid; gap: 10px; }
.factlist dt { font-size: .875rem; color: var(--muted); font-weight: 600; }
.factlist dd { margin: 2px 0 0; }
.statcard { display: grid; grid-template-columns: 1fr 1fr; text-align: center; }
.statcard strong { display: block; font-size: 1.5rem; color: var(--brand-700); }
.statcard span { font-size: .875rem; color: var(--muted); }

.toc h2 .icon { width: 20px; height: 20px; vertical-align: -3px; color: var(--brand-600); }
.toc__list { list-style: none; padding: 0; margin: 0 0 6px; }
.toc__item { display: flex; align-items: baseline; gap: 10px; padding: 9px 0; }
.toc__text { min-width: 0; flex: 0 1 auto; }
.toc__text a { font-weight: 600; color: var(--text); text-decoration: none; }
.toc__text a:hover { color: var(--brand-600); }
.toc__authors { display: block; font-size: .875rem; color: var(--muted); }
.toc__dots { flex: 1 1 30px; border-bottom: 2px dotted var(--line-strong); transform: translateY(-4px); min-width: 20px; } /* taste-skill-ignore: mundarija nuqta-chizig'i (bosma an'anasi) */
.toc__page { font-weight: 700; font-variant-numeric: tabular-nums; min-width: 28px; text-align: right; }
.toc__pdf { color: var(--brand-600); }
.toc__pdf .icon { width: 17px; height: 17px; }

.panel__head { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; flex-wrap: wrap; }
.tablewrap { overflow-x: auto; border: 1px solid var(--line); border-radius: 12px; margin: 10px 0 14px; }
.pubtable th, .pubtable td { padding: 11px 12px; }
.pubtable tr.is-ready { background: #fbfdff; }
.pubtable__check { width: 34px; }
.pubtable__num { font-weight: 700; font-size: .85rem; white-space: nowrap; }
.pubtable td:nth-child(2) { min-width: 260px; }
.pubtable td:nth-child(3) { min-width: 150px; }
.pubtable__title { font-weight: 600; line-height: 1.35; margin: 2px 0; max-width: 420px; }
.pubtable select { min-width: 150px; padding: 7px 10px; min-height: 36px; }
.pubtable__pages { white-space: nowrap; }
.pubtable__pages input { width: 74px; padding: 7px 8px; min-height: 36px; }
.formbar--split { display: flex; justify-content: space-between; gap: 12px; flex-wrap: wrap; }
.zstat { margin-top: 4px; font-weight: 600; }
.zstat--busy, .zstat--uploading { color: var(--warn); }
.zstat--err, .zstat--error { color: var(--err); }
.zstat--reserved { color: var(--brand-700); }
.zstat--published { color: var(--ok); }
.autopages { display: flex; flex-wrap: wrap; gap: 10px 14px; align-items: center; margin-top: 18px; padding: 14px 16px; border-radius: 12px; background: var(--surface-2); }
.autopages select { width: auto; min-width: 200px; padding: 7px 10px; min-height: 36px; }
.autopages input { width: 80px; padding: 7px 8px; min-height: 36px; margin-left: 6px; }
.autopages p { flex-basis: 100%; margin: 0; }
.procactions { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; margin-bottom: 16px; }
.procactions form.inline { display: inline-flex; flex-wrap: wrap; gap: 8px; align-items: center; }
.proc-mini { width: 40px; height: 52px; border-radius: 5px; overflow: hidden; display: grid; place-items: center; background: var(--brand-50); color: var(--brand-600); flex: none; }
.proc-mini img { width: 100%; height: 100%; object-fit: cover; }
.proc-thumb { display: block; width: 90px; border-radius: 6px; margin-bottom: 8px; }
.paper__public { display: inline-flex; align-items: center; gap: 4px; margin-top: 6px; font-weight: 600; text-decoration: none; }
.paper__public .icon { width: 15px; height: 15px; }
@media (max-width: 720px) {
  .phero h1 { font-size: 1.4rem; }
  .phero__grid { grid-template-columns: 1fr; }
  .phero__cover { width: 140px; }
  .proccard { flex-direction: column; }
  .minisearch input { min-width: 0; width: 100%; }
  .card__head { flex-wrap: wrap; }
  .toc__dots { display: none; }
}

/* 10. Rich text muharriri -------------------------------------------------- */
.rte { border: 1px solid var(--line-strong); border-radius: 12px; background: #fff; overflow: hidden; transition: border-color .15s, box-shadow .15s; } /* taste-skill-ignore: fokus */
.rte:focus-within { border-color: var(--brand-500); box-shadow: 0 0 0 4px rgba(59, 108, 240, .12); } /* taste-skill-ignore: fokus halqasi */
.rte__bar { display: flex; flex-wrap: wrap; gap: 2px; align-items: center; padding: 6px 8px; background: var(--surface-2); }
.rte__btn { min-width: 32px; height: 32px; padding: 0 7px; border: 1px solid transparent; border-radius: 8px; background: none; color: var(--text); font: 600 .9rem/1 var(--font); cursor: pointer; }
.rte__btn:hover:not(:disabled) { background: #fff; border-color: var(--line); }
.rte__btn.is-on { background: var(--brand-50); color: var(--brand-700); border-color: var(--brand-100); }
.rte__btn:disabled { opacity: .35; cursor: default; }
.rte__fmt { width: auto !important; min-height: 32px !important; height: 32px; padding: 0 30px 0 10px !important; font-size: .86rem !important; border-radius: 8px !important; margin-right: 4px; background-position: right 9px center !important; }
.rte__sep { width: 1px; height: 20px; background: var(--line-strong); margin: 0 4px; }
.rte__area { padding: 16px 18px; outline: none; max-height: 70vh; overflow-y: auto; }
.rte__area img:hover { outline: 2px dashed var(--brand-500); }
.rte__src { display: block; width: 100%; border: 0 !important; border-radius: 0 !important; font: 13px/1.6 var(--mono); /* taste-skill-ignore: HTML manba — kod */ padding: 14px 16px; background: #0f172a; color: #e2e8f0; min-height: 260px; }
.rte__status { font-size: .875rem; color: var(--muted); padding: 6px 12px; background: var(--surface-2); }
.rte__status:empty { display: none; }

/* 11. Moslashuvchanlik ----------------------------------------------------- */
@media (max-width: 1100px) {
  .clayout { grid-template-columns: 1fr; }
  .clayout__side { position: static; }
  .dash { grid-template-columns: 1fr; }
}
@media (max-width: 960px) {
  .sidebar { position: fixed; left: 0; top: 0; bottom: 0; z-index: 80; transform: translateX(-100%); transition: transform .22s ease; }
  .sidebar-open .sidebar { box-shadow: var(--shadow-lg); } /* taste-skill-ignore: ochiq drawer — suzuvchi */
  .sidebar-open .sidebar { transform: none; }
  .sidebar__close { display: inline-grid; }
  .sidebar-open .sidebar__backdrop { display: block; position: fixed; inset: 0; background: rgba(10, 23, 51, .45); z-index: 70; }
  .apptop { padding: 0 16px; }
  .apptop__menu { display: inline-grid; }
  .app__content { padding: 20px 16px; }
  .langpick { grid-template-columns: repeat(2, 1fr); }
  .footer__inner { grid-template-columns: 1fr; }
}
@media (max-width: 720px) {
  .container { padding: 0 16px; }
  .grid2, .grid3, .cards3, .features, .contactrow { grid-template-columns: 1fr; }
  .topnav__links { display: none; }
  .usermenu__name { display: none; }
  .hero__search { flex-wrap: wrap; padding: 8px; }
  .hero__search > .icon { display: none; }
  .hero__search input { flex: 1 1 100%; }
  .hero__search .btn { width: 100%; }
  .filterbar__selects select { flex: 1 1 45%; min-width: 0; }
  .segmented { width: 100%; overflow-x: auto; }
  .segmented button { flex: 1; white-space: nowrap; padding: 7px 10px; }
  .cgrid { grid-template-columns: 1fr; }
  .chero__inner { flex-direction: column; align-items: flex-start; padding-top: 36px; padding-bottom: 36px; }
  .chero__logo { width: 72px; height: 72px; }
  .card { padding: 20px; }
  .authcard { padding: 24px 18px; border-radius: 16px; }
  .steps-bar { grid-template-columns: repeat(2, 1fr); }
  .dl { grid-template-columns: 1fr; }
  .dl dt { margin-top: 6px; }
  .paper { flex-direction: column; align-items: flex-start; }
  .author__tools { position: static; justify-content: flex-end; margin-bottom: 6px; }
  .assign { grid-template-columns: 1fr; }
  .msg { max-width: 100%; }
  .inlineform .btn { margin-top: 0; width: 100%; }
  .table th:nth-child(4), .table td:nth-child(4), .table th:nth-child(5), .table td:nth-child(5) { display: none; }
  .timeline__date { min-width: 0; width: 100%; }
  .pagehead__conf { max-width: 100%; }
}
.publishedbox { display: flex; justify-content: space-between; align-items: center; gap: 14px; flex-wrap: wrap; background: var(--ok-bg); border-color: var(--ok-line); }
.publishedbox strong { color: var(--ok); display: inline-flex; align-items: center; gap: 6px; }
.publishedbox .icon { width: 18px; height: 18px; }

/* Admin: navbat va audit */
.chip--danger { border-color: var(--err-line); color: var(--err); }
.jstat { font-size: .8125rem; font-weight: 700; padding: 3px 10px; border-radius: 999px; background: var(--surface-2); color: var(--muted); }
.jstat--queued, .jstat--running { background: var(--warn-bg); color: var(--warn); }
.jstat--failed { background: var(--err-bg); color: var(--err); }
.jstat--done { background: var(--ok-bg); color: var(--ok); }
.joberr { margin-top: 4px; color: var(--err); font-family: var(--mono); font-size: .8125rem; word-break: break-word; } /* taste-skill-ignore: xato matni — kod */
.auditdata { font-family: var(--mono); font-size: .8125rem; word-break: break-word; } /* taste-skill-ignore: JSON — kod */
.pager { display: flex; flex-wrap: wrap; gap: 6px; justify-content: center; margin: 18px 0; }
.pager a, .pager span { padding: 6px 12px; border-radius: 9px; border: 1px solid var(--line); background: var(--surface); text-decoration: none; font-weight: 600; font-size: .9rem; }
.pager span { border-color: transparent; background: none; }
.pager .is-current { background: var(--brand-600); border-color: var(--brand-600); color: #fff; }
.todo h2 .icon { width: 20px; height: 20px; vertical-align: -3px; color: var(--brand-600); }
.todo__grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(170px, 1fr)); gap: 12px; }
.todo__item { display: flex; flex-direction: column; gap: 2px; padding: 14px 16px; border-radius: 12px; border: 1px solid var(--warn-line); background: var(--warn-bg); text-decoration: none; color: var(--warn); }
.todo__item strong { font-size: 1.6rem; line-height: 1; }
.todo__item span { font-size: .88rem; font-weight: 600; }
.todo__item:hover { border-color: var(--warn); }

/* Sertifikatlar */
.optgroup { border: 1px solid var(--line); border-radius: 12px; padding: 12px 16px; margin: 0 0 16px; display: grid; gap: 8px; }
.optgroup legend { font-weight: 700; font-size: .9rem; padding: 0 6px; }
.subhead2 { font-size: 1rem; margin: 30px 0 10px; }
.certgrid { display: grid; grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr); gap: 20px; align-items: start; }
.certstage { position: relative; aspect-ratio: 297 / 210; border: 1px solid var(--line-strong); border-radius: 8px; overflow: hidden; background: #f1f4f8; container-type: inline-size; }
.certstage--portrait { aspect-ratio: 210 / 297; max-width: 360px; }
.certstage img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: fill; }
.certstage__empty { position: absolute; inset: 0; display: grid; place-items: center; color: var(--muted); font-size: .9rem; padding: 20px; text-align: center; border: 6px double rgba(30, 58, 138, .35); border-radius: 8px; }
.cm { position: absolute; transform: translate(-50%, -50%); left: 50%; outline: 1.5px dashed rgba(37, 83, 212, .8); background: rgba(255, 255, 255, .55); color: var(--text); text-align: center; line-height: 1.2; white-space: nowrap; pointer-events: none; border-radius: 3px; padding: 1px 4px; }
.cm--name { font-weight: 700; }
.cm--body { white-space: normal; transform: translate(-50%, 0); }
.cm--qr { display: grid; place-items: center; font-size: 11px; font-weight: 800; background: rgba(15, 23, 42, .18); }
.certnums { display: grid; grid-template-columns: repeat(auto-fit, minmax(170px, 1fr)); gap: 14px; margin-bottom: 18px; }
.certnums > div { border-radius: 12px; padding: 12px 14px; background: var(--surface-2); }
.certnums strong { display: block; margin-bottom: 6px; font-size: .9rem; }
.field--compact { margin-bottom: 8px; }
.field--compact label { font-size: .82rem; margin-bottom: 3px; }
.field--compact input, .field--compact select { padding: 6px 10px; min-height: 34px; }
.field--compact input[type=color] { padding: 2px; width: 60px; height: 34px; }
tr.is-muted td { opacity: .55; }
.certcheck__badge { width: 64px; height: 64px; border-radius: 50%; display: grid; place-items: center; margin: 0 auto 10px; }
.certcheck__badge .icon { width: 34px; height: 34px; }
.certcheck--ok .certcheck__badge { background: var(--ok-bg); color: var(--ok); }
.certcheck--bad .certcheck__badge { background: var(--err-bg); color: var(--err); }
.certcheck h1 { text-align: center; }
.certcheck > p.muted { text-align: center; }
.certcheck__facts { margin: 18px 0; text-align: left; }
.certlist { list-style: none; padding: 0; margin: 0; display: grid; gap: 10px; }
.certlist li { display: flex; gap: 14px; align-items: center; justify-content: space-between; flex-wrap: wrap; padding: 12px 14px; border-radius: 12px; background: #fff8e8; }
.certlist .icon { color: #b7791f; }
@media (max-width: 720px) { .certgrid { grid-template-columns: 1fr; } }
.syslist { list-style: none; padding: 0; margin: 0; display: grid; gap: 6px; }
.syslist li { display: flex; justify-content: space-between; align-items: center; gap: 10px; padding: 7px 10px; border-radius: 8px; background: var(--surface-2); }
.toc__doi { display: block; font-size: .875rem; font-variant-numeric: tabular-nums; color: var(--brand-700); text-decoration: none; margin-top: 2px; }
.certcheck__paper + .certcheck__paper { margin-top: 8px; }
.typepick { border: 0; padding: 0; margin: 0 0 16px; }
.typepick legend { font-weight: 600; margin-bottom: 8px; }
.typepick__opts { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 10px; }
.typepick .option:has(input:checked) { border-color: var(--brand-600); background: var(--brand-50); }
.formbar--sticky { position: sticky; bottom: 0; z-index: 5; background: var(--bg); padding: 14px 0; display: flex; justify-content: flex-end; }
.filecur { display: flex; flex-wrap: wrap; gap: 6px 14px; align-items: center; margin: 0 0 8px; }
.filecur a { display: inline-flex; align-items: center; gap: 4px; font-weight: 600; }
.filecur .icon { width: 16px; height: 16px; }
.docbtns { display: grid; gap: 8px; }
.partbox { display: grid; gap: 10px; }
.chero__docs { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 26px; }
.chero__docs a { display: inline-flex; align-items: center; gap: 7px; padding: 9px 15px; border-radius: 10px; background: rgba(255, 255, 255, .14); color: #fff; font-weight: 600; font-size: .95rem; text-decoration: none; transition: background .18s; }
.chero__docs a:hover { background: rgba(255, 255, 255, .24); }
.chero__docs .icon { width: 17px; height: 17px; }

/* Statistika */
.kpis { display: grid; grid-template-columns: repeat(auto-fit, minmax(140px, 1fr)); gap: 12px; margin-bottom: 20px; }
.kpi { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 16px 18px; }
.kpi strong { display: block; font-size: 1.8rem; line-height: 1.1; color: var(--brand-700); }
.kpi span { font-size: .875rem; color: var(--muted); }
.statgrid { align-items: start; }
.statgrid .panel { margin-bottom: 20px; }
.barlist { list-style: none; padding: 0; margin: 0; display: grid; gap: 9px; }
.barlist li { display: grid; grid-template-columns: minmax(0, 1.3fr) minmax(60px, 1fr) 40px; gap: 10px; align-items: center; }
.barlist__label { font-size: .9rem; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.barlist__bar { width: 100%; height: 12px; display: block; }
.barlist__bar .bg { fill: var(--surface-2); }
.barlist__bar .fg { fill: var(--brand-500); }
.barlist--ok .barlist__bar .fg { fill: #16a34a; }
.barlist--warn .barlist__bar .fg { fill: #f59e0b; }
.barlist__value { text-align: right; font-variant-numeric: tabular-nums; }
.colchart { overflow-x: auto; }
.colchart svg { width: 100%; min-width: 300px; height: auto; display: block; }
.colchart .col { fill: var(--brand-500); }
.colchart .col:hover { fill: var(--brand-700); }
.colchart .axis { stroke: var(--line-strong); stroke-width: 1; }
.colchart .val { font-size: 11px; fill: var(--text); text-anchor: middle; font-weight: 700; }
.colchart .lbl { font-size: 11px; fill: var(--muted); text-anchor: middle; }
.table--compact th, .table--compact td { padding: 9px 12px; }
.table .num { text-align: right; font-variant-numeric: tabular-nums; white-space: nowrap; }
.table .is-bad { color: var(--err); font-weight: 700; }
.toplist { margin: 0; padding-left: 20px; display: grid; gap: 8px; }
.toplist a { font-weight: 600; text-decoration: none; display: block; }
.factlist--row { grid-template-columns: 1fr auto; column-gap: 16px; }
.factlist--row dd { margin: 0; font-weight: 700; text-align: right; }
.pstats { display: grid; grid-template-columns: repeat(auto-fit, minmax(120px, 1fr)); gap: 10px; margin-bottom: 18px; }
.pstats div { background: var(--surface-2); border-radius: 12px; padding: 12px 14px; text-align: center; }
.pstats strong { display: block; font-size: 1.5rem; color: var(--brand-700); }
.pstats span { font-size: .875rem; color: var(--muted); }

/* Dastur tuzuvchi */
.grid4 { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 14px; }
.field--btn { display: flex; align-items: flex-end; }
.progbar { display: flex; justify-content: space-between; align-items: center; gap: 14px; flex-wrap: wrap; }
.progday { display: flex; align-items: center; gap: 8px; font-size: 1.15rem; margin: 28px 0 12px; color: var(--brand-700); }
.progday .icon { width: 20px; height: 20px; }
.progsession { border-left: 4px solid var(--brand-500); }
.progsession--plenary { border-left-color: var(--plenary); }
.progsession--poster { border-left-color: #16a34a; }
.progsession--break { border-left-color: var(--line-strong); background: var(--surface-2); }
.progsession__head { display: flex; gap: 14px; align-items: flex-start; }
.progsession__time { font-weight: 800; font-size: 1.05rem; color: var(--brand-700); min-width: 92px; font-variant-numeric: tabular-nums; }
.progsession__title { flex: 1; min-width: 0; }
.progsession__title strong { display: block; margin-top: 3px; }
.progitems { list-style: none; padding: 0; margin: 14px 0 0; display: grid; gap: 6px; }
.progitem { display: grid; grid-template-columns: auto minmax(0, 1fr) auto; gap: 12px; align-items: center; padding: 8px 10px; border: 1px solid var(--line); border-radius: 10px; background: var(--surface); }
.progitem__time { display: flex; gap: 4px; align-items: center; }
.progitem__time input[type=time] { width: 96px; padding: 5px 6px; min-height: 32px; }
.progitem__time input[type=number] { width: 58px; padding: 5px 6px; min-height: 32px; }
.progitem__time .iconbtn, .progitem__ops .iconbtn { width: 30px; height: 30px; }
.progitem__ops { display: flex; gap: 4px; }
.progitem__body { min-width: 0; }
.progadd { margin-top: 12px; display: grid; gap: 8px; }
.progautofill { display: flex; flex-wrap: wrap; gap: 10px; align-items: center; padding: 10px 12px; border-radius: 10px; background: var(--brand-50); }
.progautofill input { width: 70px; padding: 5px 8px; min-height: 32px; margin-left: 4px; }
.unplaced { list-style: none; padding: 0; margin: 0; display: grid; gap: 6px; font-size: .92rem; }
.slotbox { display: flex; gap: 10px; align-items: center; padding: 12px 14px; margin-bottom: 12px; border-radius: 12px; background: var(--brand-50); }
.slotbox .icon { width: 22px; height: 22px; color: var(--brand-600); flex: none; }
.pday { font-size: 1.35rem; letter-spacing: -.02em; margin: 30px 0 12px; color: var(--ink); }
.pday:first-of-type { margin-top: 4px; }
.psession { display: grid; grid-template-columns: 100px minmax(0, 1fr); gap: 14px; padding: 12px 0; }
.psession--break { color: var(--muted); }
.psession__time { font-weight: 800; color: var(--brand-700); font-variant-numeric: tabular-nums; }
.psession__title { margin-bottom: 2px; }
.pitems { list-style: none; padding: 0; margin: 8px 0 0; display: grid; gap: 7px; }
.pitems li { display: grid; grid-template-columns: 52px minmax(0, 1fr); gap: 8px; font-size: .94rem; }
.pitems li .muted { display: block; }
.pitems__time { color: var(--brand-600); font-weight: 700; font-variant-numeric: tabular-nums; }

/* Ishtirokchilar va ro'yxatga olish */
.atype { display: inline-block; font-size: .8125rem; font-weight: 700; padding: 2px 9px; border-radius: 999px; color: #fff; background: #ea580c; }
.atype--author { background: #2553d4; }
.atype--speaker { background: var(--plenary); }
.atype--listener { background: #16a34a; }
.atype--organizer { background: #dc2626; }
.certcheck__center { text-align: center; }
.checkin { display: grid; gap: 16px; max-width: 720px; }
.checkin__row { display: flex; gap: 10px; }
.checkin__row input { flex: 1; font-size: 1.25rem; font-variant-numeric: tabular-nums; letter-spacing: .08em; text-transform: uppercase; }
.checkres { padding: 18px 20px; border-radius: 14px; border: 2px solid var(--line); background: var(--surface); }
.checkres strong { font-size: 1.1rem; }
.checkres__name { font-size: 1.5rem; font-weight: 800; margin: 6px 0; }
.checkres--ok { border-color: #16a34a; background: var(--ok-bg); color: var(--ok); }
.checkres--already { border-color: #f59e0b; background: var(--warn-bg); color: var(--warn); }
.checkres--not_found, .checkres--cancelled, .checkres--other_conf { border-color: var(--err); background: var(--err-bg); color: var(--err); }
@media (max-width: 720px) {
  .grid4 { grid-template-columns: 1fr 1fr; }
  .progsession__head { flex-wrap: wrap; }
  .progitem { grid-template-columns: 1fr; }
  .psession { grid-template-columns: 1fr; gap: 4px; }
}

/* Ommaviy xatlar */
.audfilters { display: grid; gap: 12px; margin: 14px 0 22px; }
.checkgrid { display: flex; flex-wrap: wrap; gap: 6px 16px; align-items: center; margin-top: 6px; }
.mailpreview { padding: 14px 16px; border-radius: 12px; background: var(--brand-50); margin: 10px 0 16px; display: grid; gap: 10px; }
.mailbody { border-radius: 10px; padding: 14px 16px; background: var(--surface-2); }

/* Onlayn ishtirok */
.psession__links { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 8px; }
.onlinebox > summary { display: flex; flex-wrap: wrap; gap: 6px 14px; align-items: baseline; cursor: pointer; list-style: none; }
.onlinebox > summary::-webkit-details-marker { display: none; }
.onlinebox[open] > summary { margin-bottom: 12px; }
.onlinebox select { min-height: 34px; }

/* Savollar muharriri: taqriz mezonlari, so'rovnoma */
.schema { display: grid; gap: 10px; }
.schema [data-row-list] { display: grid; gap: 10px; }
.schemarow { border-radius: 12px; padding: 12px; display: grid; gap: 8px; background: var(--surface-2); }
.schemarow__labels { display: grid; gap: 6px; }
.schemarow__opts { display: flex; flex-wrap: wrap; gap: 8px 16px; align-items: center; }
.schemarow__btns { margin-left: auto; display: flex; gap: 4px; }
.schemarow__choices { font-size: .9rem; }
.critbox { background: var(--brand-50); border-radius: 12px; padding: 14px 16px; margin: 0 0 18px; display: grid; gap: 4px; }
.critbox h3 { margin: 0 0 4px; font-size: 1rem; }
.critlist { display: grid; gap: 4px; margin: 6px 0 10px; }
.critlist__row { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 12px; padding: 6px 10px; border-radius: 8px; background: var(--surface-2); }
.critlist__row--text { grid-template-columns: 1fr; }
.critlist dt { color: var(--muted); font-size: .9rem; }
.critlist dd { margin: 0; font-weight: 600; }
.critlist__row--text dd { font-weight: 400; }

/* So'rovnoma natijalari */
.surveyres { display: grid; gap: 18px; }
.surveyres { gap: 30px; }
.surveyres__q h3 { margin: 0 0 8px; font-size: 1rem; }
.surveyres__avg { margin: 0 0 8px; font-size: 1.4rem; }
.surveyres__texts { margin: 0; padding-left: 18px; display: grid; gap: 6px; max-height: 360px; overflow: auto; }

/* ORCID holati (profil) */
.orcidstate { margin: -6px 0 14px; }
.orcidstate--ok { color: var(--ok); }

/* Ikki bosqichli kirish */
.twofa-setup { display: grid; grid-template-columns: 200px minmax(0, 1fr); gap: 24px; align-items: start; }
.twofa-setup__qr { width: 200px; height: 200px; border-radius: 12px; background: #fff; padding: 6px; }
.twofa-setup__steps { margin: 0; padding-left: 20px; display: grid; gap: 14px; }
.twofa-secret code { display: inline-block; margin-top: 6px; padding: 6px 10px; border-radius: 8px; background: var(--surface-2); letter-spacing: .08em; font-size: .95rem; word-break: break-all; }
.backupcodes { columns: 2; gap: 24px; margin: 10px 0 0; padding-left: 22px; }
.backupcodes li { margin: 4px 0; }
.backupcodes code { font-size: 1rem; letter-spacing: .05em; }
@media (max-width: 640px) { .twofa-setup { grid-template-columns: 1fr; } .backupcodes { columns: 1; } }

/* Plagiat */
.plagres { display: grid; grid-template-columns: auto minmax(0, 1fr) auto; gap: 14px; align-items: center; padding: 12px 14px; border-radius: 12px; background: var(--surface-2); margin-bottom: 10px; }
.plagres__score { font-size: 1.6rem; line-height: 1; }
.plagres--ok { background: var(--ok-bg); }
.plagres--ok .plagres__score { color: var(--ok); }
.plagres--high { background: #fef2f2; }
.plagres--high .plagres__score { color: #b91c1c; }
.plagtag { display: inline-block; font-size: .8125rem; font-weight: 700; padding: 1px 6px; border-radius: 6px; vertical-align: middle; }
.plagtag--ok { background: var(--ok-bg); color: var(--ok); }
.plagtag--high { background: #fef2f2; color: #b91c1c; }
@media (max-width: 640px) { .plagres { grid-template-columns: auto 1fr; } .plagres .btn { grid-column: 1 / -1; } }

/* 12. Taste audit: ommaviy sahifalar ---------------------------------------- */
/* Konferensiya yon paneli: bitta asosiy harakat, qolganlari — havolalar ro'yxati */
.linklist { list-style: none; margin: 18px 0 0; padding: 0; display: grid; gap: 2px; }
.linklist a { display: flex; align-items: center; gap: 10px; padding: 9px 2px; font-weight: 600; text-decoration: none; color: var(--brand-700); border-radius: 8px; transition: color .18s, transform .18s var(--ease); }
.linklist a:hover { color: var(--brand-600); transform: translateX(3px); }
.linklist .icon { color: var(--brand-600); }
.speakers--grid { grid-template-columns: repeat(auto-fill, minmax(200px, 1fr)); gap: 28px; }
.paper-number { font-variant-numeric: tabular-nums; }

/* Harakat: bo'lim qismlarining kirishi (skriptsiz ham kontent ko'rinadi) */
.js-motion [data-reveal] { opacity: 0; transform: translateY(24px); transition: opacity .6s var(--ease), transform .6s var(--ease); transition-delay: var(--d, 0ms); }
.js-motion [data-reveal].is-in { opacity: 1; transform: none; }
.hero h1, .chero h1, .phero h1 { animation: rise .7s var(--ease) both; }
.hero__search, .chero__meta, .phero__authors { animation: rise .7s var(--ease) .08s both; }
.hero__facts, .chero__docs, .phero__actions, .chero__tags, .phero__affs { animation: rise .7s var(--ease) .16s both; }
.phero__crumbs, .chero__logo { animation: rise .6s var(--ease) both; }
@keyframes rise { from { opacity: 0; transform: translateY(18px); } to { opacity: 1; transform: none; } }
.ccard__cover > img:first-child { transform-origin: 50% 50%; }
@media (prefers-reduced-motion: reduce) {
  .js-motion [data-reveal] { opacity: 1; transform: none; transition: none; }
  .hero h1, .chero h1, .phero h1, .hero__search, .chero__meta, .phero__authors, .hero__facts, .chero__docs, .phero__actions, .chero__tags, .phero__affs, .phero__crumbs, .chero__logo { animation: none; }
  .btn, .ccard, .linklist a { transition: none; }
  .btn:hover, .ccard:hover, .linklist a:hover { transform: none; }
}

@media (max-width: 1100px) {
  .ctabs { position: static; }
  .ctabs__inner { flex-wrap: wrap; overflow: visible; gap: 0 2px; }
}
@media (max-width: 720px) {
  /* Sarlavha 390 px da sig'ishi uchun */
  .topnav__inner { gap: 10px; }
  .topnav__right { gap: 6px; }
  .topnav__right .btn--small { padding: 6px 10px; }
  /* Tablar va bosqichlar yon tomonga siljimaydi */
  .ctabs { position: static; }
  .ctabs__inner { flex-wrap: wrap; overflow: visible; gap: 0 2px; }
  .ctabs a { padding: 11px 10px 9px; }
  .progress-steps { flex-direction: column; gap: 10px; padding: 14px 16px; }
  .progress-steps li { padding: 0 0 0 26px; text-align: left; }
  .progress-steps li::before { top: 3px; left: 0; margin-left: 0; }
  .progress-steps li::after { display: none; }
  .pitch li { grid-template-columns: 1fr; }
  .speakers--grid { grid-template-columns: 1fr 1fr; gap: 18px; }
  .speaker--full { flex-direction: column; }
  .speaker--full .speaker__photo { width: 100%; max-width: 280px; }
  .card { padding: 22px; }
}
@media (max-width: 480px) {
  .brand__text { display: none; }
}
@media print { .js-motion [data-reveal] { opacity: 1; transform: none; } }

/* ==========================================================================
   13. Minimal mavzu (yorug', toza, zamonaviy) — oldingi qoidalar ustidan
   ========================================================================== */
:root {
  --bg: #f6f7f9;
  --surface: #ffffff;
  --surface-2: #f3f5f8;
  --ink: #0b1220;
  --text: #1f2937;
  --muted: #5b6474;
  --line: #e6e9ef;
  --line-strong: #d5dae3;
  --radius: 18px;
  --container: 1320px;
  --card-shadow-hover: 0 14px 36px rgba(15, 23, 42, .07);
}

/* Havolalar: chiziqsiz, hover'da yumshoq tagchiziq */
a { color: var(--brand-600); text-decoration: none; text-decoration-thickness: 1.5px; text-underline-offset: 4px; transition: color .18s, text-decoration-color .18s; }
a:hover { color: var(--brand-700); text-decoration: underline; text-decoration-color: currentColor; }
.prose a, .factlist a, .side-contact a, .contact a, .critlist a { text-decoration: underline; text-decoration-color: color-mix(in srgb, currentColor 30%, transparent); }
.prose a:hover, .factlist a:hover, .side-contact a:hover, .contact a:hover { text-decoration-color: currentColor; }
.btn:hover, .btn:focus, .topnav__links a:hover, .topnav__link:hover, .dropdown__menu a:hover, .sidebar__link:hover,
.ctabs a:hover, .tabs a:hover, .chip:hover, .pager a:hover, .ccard__link:hover, .linklist a:hover, .chero__docs a:hover,
.segmented a:hover, .crumbs a:hover, .phero__crumbs a:hover, .pitem__title:hover, .paper__title:hover, .toc__text a:hover,
.brand:hover, .card__head a:hover { text-decoration: none; }
.linklist a { padding: 10px 12px; margin: 0 -12px; border-radius: 10px; }
.linklist a:hover { background: var(--surface-2); transform: none; }
.linklist a::after { content: "→"; margin-left: auto; opacity: 0; transform: translateX(-4px); transition: opacity .18s, transform .18s; }
.linklist a:hover::after { opacity: 1; transform: none; }

/* Asos */
.container { max-width: var(--container); padding: 0 24px; }
.topnav { background: rgba(255, 255, 255, .96); border-bottom: 1px solid var(--line); }
.topnav__links a[aria-current] { background: var(--surface-2); color: var(--ink); }
.btn { border-radius: 12px; }
.btn--ghost { border-color: var(--line-strong); }
.footer { background: var(--surface); color: var(--muted); border-top: 1px solid var(--line); }
.footer__brand strong { color: var(--ink); }
.footer__links a { color: var(--text); }
.footer__links a:hover { color: var(--brand-600); }
.footer__copy { color: var(--muted); }

/* Kartalar: oq, ingichka ramka, hover'da yengil ko'tarilish */
.card, .ccard, .perk, .authcard { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); }
.ccard { transition: transform .25s var(--ease), box-shadow .25s var(--ease), border-color .25s; }
.ccard:hover { transform: translateY(-3px); border-color: var(--brand-100); box-shadow: var(--card-shadow-hover); }
.cta { background: var(--surface); border-color: var(--brand-100); }

/* Bosh sahifa */
.hero { background: var(--surface); color: var(--ink); padding: clamp(48px, 7vw, 96px) 0 clamp(56px, 7vw, 96px); border-bottom: 1px solid var(--line); }
.hero h1 { color: var(--ink); font-size: clamp(2.1rem, 4.2vw, 3.6rem); line-height: 1.08; font-weight: 700; letter-spacing: -.035em; max-width: 22ch; margin-bottom: 30px; }
.hero__search { border: 1px solid var(--line-strong); border-radius: 16px; transition: border-color .18s, box-shadow .18s; }
.hero__search:focus-within { outline: none; border-color: var(--brand-500); box-shadow: 0 0 0 4px rgba(59, 108, 240, .12); }
.hero__facts { color: var(--muted); font-size: 1rem; }
.hero__facts strong { color: var(--ink); }
.home { margin-top: 28px; }
.filterbar { border: 1px solid var(--line); }
.segmented { background: var(--surface-2); }
.segmented a { padding: 7px 14px; border-radius: 8px; font-weight: 600; font-size: .92rem; color: var(--muted); white-space: nowrap; }
.segmented a:hover { color: var(--ink); }
.segmented a.is-active { background: #fff; color: var(--brand-700); box-shadow: 0 1px 2px rgba(15, 23, 42, .08); }
.cgroup__title { font-size: clamp(1.3rem, 2vw, 1.6rem); }
.ccard__cover { background: var(--surface-2); }
.ccard__abbr { color: var(--brand); }
.ccard__phase { border: 1px solid var(--line); }

.perks { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; margin: clamp(48px, 7vw, 88px) 0 clamp(32px, 5vw, 64px); }
.perk { padding: 28px; display: flex; flex-direction: column; gap: 10px; transition: transform .25s var(--ease), box-shadow .25s var(--ease), border-color .25s; }
.perk:hover { transform: translateY(-3px); border-color: var(--brand-100); box-shadow: var(--card-shadow-hover); }
.perk__icon { width: 48px; height: 48px; border-radius: 14px; display: grid; place-items: center; background: var(--brand-50); color: var(--brand-600); margin-bottom: 6px; }
.perk__icon .icon { width: 24px; height: 24px; }
.perk h3 { font-size: 1.25rem; letter-spacing: -.015em; margin: 0; }
.perk p { color: var(--muted); margin: 0; line-height: 1.6; }

/* Konferensiya sahifasi: yorug' hero, muqova o'ngda */
.chero { background: var(--surface); color: var(--ink); border-bottom: 1px solid var(--line); view-transition-name: chero; }
.chero--image::after { content: none; }
.chero__inner { display: grid; grid-template-columns: minmax(0, 1fr); gap: 40px; align-items: center; padding-top: clamp(36px, 5vw, 64px); padding-bottom: clamp(36px, 5vw, 64px); }
.chero--image .chero__inner { grid-template-columns: minmax(0, 1.15fr) minmax(0, .85fr); }
.chero__logo { display: block; width: 64px; height: 64px; border-radius: 14px; border: 1px solid var(--line); padding: 6px; margin-bottom: 20px; }
.chero h1 { color: var(--ink); font-size: clamp(2rem, 3.6vw, 3.1rem); line-height: 1.1; max-width: 24ch; margin-bottom: 18px; }
.chero__meta { color: var(--text); font-size: 1.05rem; }
.chero__meta .icon { color: var(--brand-600); }
.chero__tags { color: var(--muted); }
.chero__tags .is-phase { color: var(--brand-700); background: var(--brand-50); padding: 1px 10px; border-radius: 999px; }
.chero__docs a { background: var(--surface-2); color: var(--ink); border: 1px solid var(--line); }
.chero__docs a:hover { background: var(--brand-50); color: var(--brand-700); border-color: var(--brand-100); }
.chero__media { margin: 0; border-radius: 20px; overflow: hidden; aspect-ratio: 16 / 10; background: var(--surface-2); }
.chero__media img { width: 100%; height: 100%; object-fit: cover; display: block; }
.chero h1, .chero__meta, .chero__tags, .chero__docs, .chero__logo { animation: none; }
.ctabs { border-bottom: 1px solid var(--line); view-transition-name: ctabs; }
.ctabs a { color: var(--muted); border-bottom-width: 2px; }
.ctabs a[aria-current=page] { color: var(--ink); border-bottom-color: var(--brand-600); }
.clayout { grid-template-columns: minmax(0, 1fr) 340px; gap: 32px; margin-top: 32px; }
.clayout__side { top: 120px; }

/* Ma'ruzachilar: rasm 1:1 */
.speakers--grid { grid-template-columns: repeat(auto-fill, minmax(190px, 1fr)); gap: 24px; }
.speaker__photo { aspect-ratio: 1 / 1; width: 100%; border-radius: 16px; }
.speaker--full .speaker__photo { width: 180px; flex: none; }
.speaker__photo img { width: 100%; height: 100%; object-fit: cover; display: block; }

/* Maqola sahifasi: yorug' */
.phero { background: var(--surface); color: var(--ink); border-bottom: 1px solid var(--line); }
.phero a { color: var(--brand-600); }
.phero h1 { color: var(--ink); font-size: clamp(1.9rem, 3.4vw, 2.9rem); line-height: 1.12; max-width: 30ch; }
.phero__crumbs, .phero__affs { color: var(--muted); }
.phero__crumbs a { color: var(--muted); }
.phero__crumbs a:hover { color: var(--brand-600); }
.phero .btn { background: var(--brand-600); color: #fff; border-color: var(--brand-600); }
.phero .btn:hover { background: var(--brand-700); color: #fff; }
.phero .btn--ghost, .citebox > summary.btn--ghost { background: var(--surface); color: var(--brand-700); border-color: var(--line-strong); }
.phero .btn--ghost:hover { background: var(--brand-50); color: var(--brand-700); }
.phero h1, .phero__authors, .phero__actions, .phero__affs, .phero__crumbs { animation: none; }

/* Tablar orasida silliq o'tish: sahifa qayta chizilgandek ko'rinmasin */
@view-transition { navigation: auto; }
::view-transition-old(root), ::view-transition-new(root) { animation-duration: .18s; }
::view-transition-group(chero), ::view-transition-group(ctabs) { animation: none; }

@media (max-width: 1100px) {
  .chero--image .chero__inner { grid-template-columns: 1fr; }
  .chero__media { max-width: 720px; }
  .clayout { grid-template-columns: 1fr; }
}
@media (max-width: 900px) {
  .perks { grid-template-columns: 1fr; }
}
@media (max-width: 720px) {
  .container { padding: 0 16px; }
  .hero h1 { font-size: clamp(1.9rem, 8vw, 2.4rem); }
  .speakers--grid { grid-template-columns: 1fr 1fr; gap: 14px; }
  .speaker--full .speaker__photo { width: 100%; max-width: 240px; }
  .clayout { margin-top: 20px; gap: 20px; }
}
@media (prefers-reduced-motion: reduce) {
  @view-transition { navigation: none; }
  .perk, .ccard { transition: none; }
  .perk:hover, .ccard:hover { transform: none; }
}
.hero h1 { max-width: 30ch; }
@media (max-width: 1100px) {
  .chero__media { order: -1; aspect-ratio: 16 / 9; }
  .chero--image .chero__inner { gap: 24px; }
}
@media (max-width: 720px) {
  .chero__inner { padding-top: 20px; padding-bottom: 28px; }
  .chero__media { border-radius: 16px; }
}

/* Logotip */
.brand__logo { display: block; width: auto; height: 38px; flex: none; }
.footer__brand .brand__logo { height: 44px; }
.sidebar .brand__logo { height: 34px; padding: 4px 5px; background: #fff; border-radius: 10px; box-sizing: content-box; }
@media (max-width: 480px) { .brand__logo { height: 34px; } }

/* ==========================================================================
   14. Hero foni: suzuvchi belgilar (konferensiya, fan, maqola)
   animate skill: delight darajasi, CSS animation (asosiy oqimdan tashqarida),
   faqat transform + opacity, kirish — ease-out, doimiy harakat — linear
   ========================================================================== */
:root { --ease-out: cubic-bezier(0.23, 1, 0.32, 1); }
.hero__float { position: absolute; inset: 0; pointer-events: none; z-index: 0; }
.hero__defs { position: absolute; width: 0; height: 0; overflow: hidden; }
.hero__icon { position: absolute; display: block; fill: none; stroke: #b4c6f5; stroke-width: 1.5; stroke-linecap: round; stroke-linejoin: round; overflow: visible;
  opacity: 0; animation: hf-in 900ms var(--ease-out) forwards, var(--hf-path, hf-drift-a) var(--hf-dur, 20s) linear infinite; animation-delay: var(--hf-delay, 0ms), 0ms; }
.hero__icon .hf-fill { fill: #b4c6f5; stroke: none; }
.hero__icon--soft { stroke: #cfdcfa; }

/* Joylashuv: asosan o'ng tomondagi bo'sh joyda, sarlavha ostida emas */
.hero__icon--1  { width: 92px;  top: 14%; right: 9%;  --hf-dur: 22s; --hf-delay: 0ms; }
.hero__icon--2  { width: 64px;  top: 52%; right: 4%;  --hf-dur: 18s; --hf-delay: 60ms;  --hf-path: hf-drift-b; }
.hero__icon--3  { width: 58px;  top: 8%;  right: 31%; --hf-dur: 24s; --hf-delay: 120ms; --hf-path: hf-drift-c; }
.hero__icon--4  { width: 70px;  top: 60%; right: 24%; --hf-dur: 20s; --hf-delay: 180ms; }
.hero__icon--5  { width: 104px; top: 30%; right: 18%; --hf-dur: 26s; --hf-delay: 240ms; --hf-path: hf-drift-b; }
.hero__icon--6  { width: 60px;  top: 78%; right: 12%; --hf-dur: 19s; --hf-delay: 300ms; --hf-path: hf-drift-c; }
.hero__icon--7  { width: 52px;  top: 22%; right: 2%;  --hf-dur: 23s; --hf-delay: 360ms; }
.hero__icon--8  { width: 66px;  top: 74%; right: 36%; --hf-dur: 21s; --hf-delay: 420ms; --hf-path: hf-drift-b; }
.hero__icon--9  { width: 56px;  top: 40%; right: 36%; --hf-dur: 25s; --hf-delay: 480ms; --hf-path: hf-drift-c; }
.hero__icon--10 { width: 78px;  top: 4%;  right: 46%; --hf-dur: 22s; --hf-delay: 540ms; }
.hero__icon--11 { width: 44px;  top: 86%; right: 52%; --hf-dur: 17s; --hf-delay: 600ms; --hf-path: hf-drift-b; }
.hero__icon--12 { width: 40px;  top: 6%;  right: 62%; --hf-dur: 20s; --hf-delay: 660ms; --hf-path: hf-drift-c; }
.hero__icon--10, .hero__icon--11, .hero__icon--12 { stroke: #d3dffb; }
.hero__icon--10 .hf-fill, .hero__icon--11 .hf-fill, .hero__icon--12 .hf-fill { fill: #d3dffb; }

@keyframes hf-in { from { opacity: 0; } to { opacity: 1; } }
/* Yopiq yo'l: boshlanish = tugash, shuning uchun aylanish uzilmaydi */
@keyframes hf-drift-a {
  0%, 100% { transform: translate3d(0, 0, 0) rotate(0deg); }
  25% { transform: translate3d(10px, -14px, 0) rotate(4deg); }
  50% { transform: translate3d(0, -24px, 0) rotate(0deg); }
  75% { transform: translate3d(-10px, -12px, 0) rotate(-4deg); }
}
@keyframes hf-drift-b {
  0%, 100% { transform: translate3d(0, 0, 0) rotate(0deg); }
  25% { transform: translate3d(-12px, 10px, 0) rotate(-5deg); }
  50% { transform: translate3d(-4px, 20px, 0) rotate(0deg); }
  75% { transform: translate3d(8px, 8px, 0) rotate(5deg); }
}
@keyframes hf-drift-c {
  0%, 100% { transform: translate3d(0, 0, 0) rotate(0deg); }
  33% { transform: translate3d(14px, 8px, 0) rotate(6deg); }
  66% { transform: translate3d(-6px, -16px, 0) rotate(-3deg); }
}

/* Planshet va telefon: kamroq belgi, kichikroq va xiraroq — sarlavha o'qilishi buzilmasin */
@media (max-width: 1100px) {
  .hero__icon--9, .hero__icon--10, .hero__icon--11, .hero__icon--12 { display: none; }
}
@media (max-width: 720px) {
  .hero__icon { stroke: #d6e1fb; }
  .hero__icon .hf-fill { fill: #d6e1fb; }
  .hero__icon--3, .hero__icon--4, .hero__icon--5, .hero__icon--8 { display: none; }
  .hero__icon--1 { width: 64px; top: 3%; right: 4%; }
  .hero__icon--2 { width: 46px; top: auto; bottom: 6%; right: 6%; }
  .hero__icon--6 { width: 42px; top: auto; bottom: 18%; right: 30%; }
  .hero__icon--7 { width: 38px; top: 18%; right: 26%; }
}
/* Kamroq harakat: suzish yo'q, faqat yumshoq paydo bo'lish */
@media (prefers-reduced-motion: reduce) {
  .hero__icon { animation: hf-in 400ms ease forwards; animation-delay: 0ms; }
}
/* Joylashuv tuzatishlari: sarlavha va qidiruv bilan to'qnashmasin */
.hero__icon--9 { top: 68%; right: 30%; }
@media (max-width: 1100px) {
  .hero__icon--2, .hero__icon--4, .hero__icon--5, .hero__icon--6, .hero__icon--8 { display: none; }
  .hero__icon--1 { width: 72px; top: 5%; right: 4%; }
  .hero__icon--3 { width: 44px; top: 4%; right: 20%; }
  .hero__icon--7 { width: 40px; top: 30%; right: 3%; }
}
@media (max-width: 720px) {
  .hero__icon--2, .hero__icon--6 { display: none; }
  .hero__icon--1 { width: 40px; top: 10px; right: 16px; }
  .hero__icon--3 { width: 28px; top: 14px; right: 74px; }
  .hero__icon--7 { width: 26px; top: 12px; right: 118px; }
}
