/* ==========================================================================
   DEPOCEN Working Paper Series — site stylesheet (2026 redesign)
   ========================================================================== */

:root {
	--navy-900: #111a4d;
	--navy-800: #172266;
	--navy-700: #1c2a78;
	--navy-600: #2a3a92;
	--navy-100: #e8ebf7;
	--navy-50:  #f3f5fb;
	--gold-600: #a8862a;
	--gold-500: #c9a640;
	--gold-100: #f6efd9;
	--ink:      #1b2030;
	--ink-2:    #444b5e;
	--muted:    #6a7186;
	--line:     #e3e6ee;
	--line-2:   #d3d8e4;
	--bg:       #f6f7fa;
	--surface:  #ffffff;
	--ok:       #1f7a4d;
	--ok-bg:    #e6f4ec;
	--danger:   #b3261e;
	--danger-bg:#fbeaea;
	--radius:   12px;
	--radius-sm: 8px;
	--shadow-sm: 0 1px 2px rgba(17, 26, 77, .06);
	--shadow:   0 1px 2px rgba(17, 26, 77, .05), 0 6px 20px -6px rgba(17, 26, 77, .12);
	--serif: "Source Serif 4", Georgia, "Times New Roman", serif;
	--sans: Inter, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
	--container: 1180px;
}

/* --- base ---------------------------------------------------------------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
	margin: 0;
	background: var(--bg);
	color: var(--ink);
	font: 400 16px/1.6 var(--sans);
	-webkit-font-smoothing: antialiased;
	text-rendering: optimizeLegibility;
}
img { max-width: 100%; height: auto; }
a { color: var(--navy-600); text-decoration: none; }
a:hover { color: var(--navy-800); text-decoration: underline; text-underline-offset: 2px; }
a:focus-visible, button:focus-visible, input:focus-visible, select:focus-visible, textarea:focus-visible {
	outline: 3px solid var(--gold-500); outline-offset: 2px; border-radius: 4px;
}
p { margin: 0 0 1em; }
h1, h2, h3, h4 { font-family: var(--serif); color: var(--navy-900); line-height: 1.25; margin: 0 0 .5em; font-weight: 600; }
h1 { font-size: clamp(1.75rem, 1.3rem + 1.6vw, 2.4rem); letter-spacing: -.01em; }
h2 { font-size: 1.45rem; }
h3 { font-size: 1.15rem; }
h4 { font-size: 1rem; }
ul, ol { padding-left: 1.3em; }
td, th { font: inherit; color: inherit; }
code { font-size: .9em; background: var(--navy-50); padding: .1em .35em; border-radius: 4px; }
hr { border: 0; border-top: 1px solid var(--line); margin: 2rem 0; }

.container { width: 100%; max-width: var(--container); margin: 0 auto; padding: 0 24px; }
.visually-hidden { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip-link { position: absolute; left: 12px; top: -48px; z-index: 100; background: var(--navy-700); color: #fff; padding: 8px 14px; border-radius: 6px; }
.skip-link:focus { top: 12px; color: #fff; }
.muted { color: var(--muted); }
.small { font-size: .875rem; }

/* --- header -------------------------------------------------------------- */
.site-header { background: var(--surface); border-bottom: 1px solid var(--line); position: relative; z-index: 10; }
.topbar { background: var(--navy-900); color: #c9cfe6; font-size: .8125rem; }
.topbar__inner { display: flex; justify-content: space-between; align-items: center; gap: 16px; min-height: 34px; }
.topbar a { color: #fff; white-space: nowrap; }
.masthead { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding-top: 14px; padding-bottom: 14px; }
.brand { display: flex; align-items: center; gap: 18px; color: inherit; text-decoration: none; min-width: 0; }
.brand:hover { text-decoration: none; }
.brand__logo { width: 260px; height: auto; display: block; flex: none; }
.brand__text { display: flex; flex-direction: column; border-left: 1px solid var(--line-2); padding-left: 18px; min-width: 0; }
.brand__title { font-family: var(--serif); font-size: 1.35rem; font-weight: 600; color: var(--navy-800); line-height: 1.2; }
.brand__sub { font-size: .8125rem; color: var(--muted); }
.masthead__tools { display: flex; align-items: center; gap: 6px; }
.icon-btn {
	display: inline-grid; place-items: center; width: 42px; height: 42px; border-radius: 10px;
	color: var(--navy-700); background: transparent; border: 1px solid transparent; cursor: pointer;
}
.icon-btn:hover { background: var(--navy-50); border-color: var(--line); color: var(--navy-800); }
.nav-toggle { display: none; }

.site-nav { border-top: 1px solid var(--line); }
.nav { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 2px; }
.nav__link {
	display: block; padding: 13px 14px; color: var(--ink-2); font-weight: 500; font-size: .9375rem;
	border-bottom: 3px solid transparent; margin-bottom: -1px;
}
.nav__link:hover { color: var(--navy-800); text-decoration: none; background: var(--navy-50); }
.nav__link.is-current { color: var(--navy-800); border-bottom-color: var(--gold-500); font-weight: 600; }
.nav__search { display: none; }

/* --- layout shell (old templates emit table cells; they become blocks) --- */
.site-main { padding: 36px 0 64px; }
.shell, .shell > tbody { display: block; width: 100%; border-collapse: collapse; }
.shell > tbody > tr { display: flex; flex-wrap: wrap; align-items: flex-start; gap: 32px; }
.shell > tbody > tr > td { display: block; flex: 1 1 0; min-width: 0; width: auto !important; padding: 0; }
.shell > tbody > tr > td:empty { display: none; }
.shell-main { flex: 1 1 100% !important; }

/* legacy content wrapper: a white card */
#workingPaper, .legacy-card {
	width: 100% !important; background: var(--surface); border: 1px solid var(--line);
	border-radius: var(--radius); box-shadow: var(--shadow-sm); padding: 28px 32px; margin: 0 auto;
	display: block; border-spacing: 0;
}
#workingPaper > tbody, #workingPaper > tbody > tr, #workingPaper > tbody > tr > td { display: block; width: auto !important; }
#workingPaper td { line-height: 1.65; padding: 0; }
#workingPaper h2, #workingPaper h3, #workingPaper h4 { font-style: normal; color: var(--navy-900); }
#workingPaper p { line-height: 1.7; }

/* --- buttons, tags ------------------------------------------------------- */
.btn {
	display: inline-flex; align-items: center; justify-content: center; gap: 8px;
	padding: 10px 18px; border-radius: 999px; font: 600 .9375rem/1.2 var(--sans);
	border: 1px solid transparent; cursor: pointer; text-decoration: none; white-space: nowrap;
	transition: background-color .15s, border-color .15s, color .15s;
}
.btn:hover { text-decoration: none; }
.btn--primary { background: var(--navy-700); color: #fff; }
.btn--primary:hover { background: var(--navy-900); color: #fff; }
.btn--ghost { background: var(--surface); color: var(--navy-700); border-color: var(--line-2); }
.btn--ghost:hover { border-color: var(--navy-600); color: var(--navy-800); background: var(--navy-50); }
.btn--gold { background: var(--gold-500); color: var(--navy-900); }
.btn--gold:hover { background: #d7b654; color: var(--navy-900); }
.btn--light { background: rgba(255, 255, 255, .1); color: #fff; border-color: rgba(255, 255, 255, .35); }
.btn--light:hover { background: rgba(255, 255, 255, .18); color: #fff; }
.btn--sm { padding: 7px 14px; font-size: .875rem; }
.btn__note { font-weight: 500; opacity: .75; font-size: .8125rem; }

.tag {
	display: inline-block; padding: 3px 10px; border-radius: 999px; font-size: .75rem; font-weight: 600;
	letter-spacing: .02em; background: var(--navy-50); color: var(--navy-700); border: 1px solid var(--navy-100);
	line-height: 1.5; white-space: nowrap;
}
a.tag:hover { background: var(--navy-100); text-decoration: none; }
.tag--quiet { background: #f1f2f5; color: var(--ink-2); border-color: var(--line); }
.tag--ok { background: var(--ok-bg); color: var(--ok); border-color: #cbe6d6; }
.tag--warn { background: var(--gold-100); color: #7a5f12; border-color: #ecdcae; }
.dot { color: var(--line-2); margin: 0 .45em; }

.eyebrow { text-transform: uppercase; letter-spacing: .12em; font-size: .75rem; font-weight: 700; color: var(--gold-600); margin: 0 0 .6em; }
.eyebrow--light { color: var(--gold-500); }
.lead { font-size: 1.0625rem; color: var(--ink-2); max-width: 70ch; }
.section-title { font-size: 1.15rem; margin: 0 0 .75em; }
.section-title:empty { display: none; }

/* --- home ---------------------------------------------------------------- */
.hero {
	position: relative; overflow: hidden; border-radius: 18px; color: #fff; padding: 44px 48px;
	background:
		radial-gradient(900px 360px at 100% 0%, rgba(201, 166, 64, .22), transparent 60%),
		linear-gradient(135deg, var(--navy-900) 0%, var(--navy-700) 60%, var(--navy-600) 100%);
	display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 40px; align-items: end;
	box-shadow: var(--shadow);
}
.hero::after {
	content: ""; position: absolute; right: -90px; top: -90px; width: 320px; height: 320px; border-radius: 50%;
	border: 26px solid rgba(201, 166, 64, .18); pointer-events: none;
}
.hero__title { color: #fff; font-size: clamp(1.6rem, 1.2rem + 1.6vw, 2.35rem); max-width: 26ch; margin-bottom: .45em; }
.hero__lead { color: #d6dbef; max-width: 62ch; font-size: 1.0125rem; }
.hero__cta { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 22px; }
.hero__stats { display: grid; gap: 14px; margin: 0; position: relative; z-index: 1; }
.hero__stats div { background: rgba(255, 255, 255, .07); border: 1px solid rgba(255, 255, 255, .14); border-radius: 12px; padding: 12px 18px; min-width: 190px; }
.hero__stats dt { font-size: .8125rem; color: #c3c9e4; }
.hero__stats dd { margin: 0; font-family: var(--serif); font-size: 1.75rem; font-weight: 600; line-height: 1.2; }
.hero__stats dd.hero__stat-src { font: 400 .75rem/1.4 var(--sans); margin-top: 2px; }
.hero__stat-src a { color: #c3c9e4; }
.hero__stat-src a:hover { color: #fff; }

.home-grid { display: grid; grid-template-columns: minmax(0, 1fr) 320px; gap: 32px; margin-top: 36px; align-items: start; }
.section-head { display: flex; align-items: baseline; justify-content: space-between; gap: 16px; margin-bottom: 14px; }
.section-head h2 { margin: 0; }

.wp-list { list-style: none; margin: 0; padding: 0; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); box-shadow: var(--shadow-sm); }
.wp { display: grid; grid-template-columns: 92px minmax(0, 1fr); gap: 20px; padding: 22px 26px; border-top: 1px solid var(--line); }
.wp:first-child { border-top: 0; }
.wp__no { font-family: var(--serif); font-weight: 600; color: var(--navy-700); font-size: 1.1rem; line-height: 1.3; padding-top: 2px; }
.wp__no span { color: var(--gold-600); }
.wp__no .wp__series { display: block; color: var(--muted); font: 600 .6875rem/1.4 var(--sans); letter-spacing: .06em; text-transform: uppercase; margin-bottom: 2px; }
/* most cited working papers (homepage) */
.home-cited { margin-top: 40px; }
.cited-list { list-style: none; margin: 0; padding: 0; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); box-shadow: var(--shadow-sm); counter-reset: cited; }
.cited { display: grid; grid-template-columns: 78px minmax(0, 1fr); gap: 18px; align-items: start; padding: 16px 24px; border-top: 1px solid var(--line); }
.cited:first-child { border-top: 0; }
.cited__count { text-align: center; padding: 6px 4px; border-radius: 10px; background: var(--gold-100); color: var(--gold-600); font-size: .6875rem; font-weight: 600; text-transform: uppercase; letter-spacing: .05em; line-height: 1.2; }
.cited__count strong { display: block; font: 600 1.35rem/1.1 var(--serif); color: var(--navy-900); letter-spacing: 0; text-transform: none; }
.cited__title { display: block; font: 600 1.0625rem/1.35 var(--serif); color: var(--navy-900); }
.cited__title:hover { color: var(--navy-600); }
.cited__meta { display: block; margin-top: 4px; font-size: .875rem; color: var(--muted); }
.cited-note { margin: 10px 2px 0; font-size: .8125rem; color: var(--muted); }
@media (max-width: 720px) {
	.cited { grid-template-columns: 62px minmax(0, 1fr); gap: 12px; padding: 14px 16px; }
}
.wp__title { font-size: 1.125rem; margin: 0 0 6px; line-height: 1.35; }
.wp__title a { color: var(--navy-900); }
.wp__title a:hover { color: var(--navy-600); }
.wp__authors { margin: 0 0 6px; color: var(--ink-2); font-size: .9375rem; }
.wp__authors a { color: var(--navy-600); font-weight: 500; }
.wp__published { margin: 2px 0 8px; font-size: .875rem; color: var(--ink-2); line-height: 1.5; }
.wp__published em { color: var(--navy-900); }
.wp__published-tag { display: inline-block; margin-right: 4px; padding: 1px 8px; border-radius: 999px; background: var(--gold-100); border: 1px solid #ecdcae; color: var(--gold-600); font-size: .6875rem; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; vertical-align: 1px; }
.wp__pub { margin: 0 0 8px; font-size: .8125rem; color: var(--muted); background: var(--gold-100); border-radius: 6px; padding: 5px 10px; display: inline-block; }
.wp__pub a { color: #6d5410; font-weight: 600; }
.wp__links { margin: 6px 0 0; display: flex; gap: 18px; font-size: .875rem; font-weight: 600; }
.wp__pdf { display: inline-flex; align-items: center; gap: 5px; }

.pager { display: flex; flex-wrap: wrap; gap: 6px; margin: 22px 0 0; }
.pager__item {
	display: inline-grid; place-items: center; min-width: 38px; height: 38px; padding: 0 10px; border-radius: 10px;
	background: var(--surface); border: 1px solid var(--line); color: var(--ink-2); font-weight: 600; font-size: .9rem;
}
a.pager__item:hover { border-color: var(--navy-600); color: var(--navy-800); text-decoration: none; }
.pager__item.is-current { background: var(--navy-700); border-color: var(--navy-700); color: #fff; }

.home-aside { display: grid; gap: 20px; }
.widget { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 20px 22px; box-shadow: var(--shadow-sm); }
.widget__title { font-size: 1.05rem; margin: 0 0 12px; padding-bottom: 10px; border-bottom: 1px solid var(--line); }
.widget__more { display: inline-block; margin-top: 12px; font-size: .875rem; font-weight: 600; }
.widget--accent { background: var(--gold-100); border-color: #ecdcae; }
.widget--accent .widget__title { border-color: #e6d39f; }
.widget p { font-size: .9375rem; color: var(--ink-2); }

.mini-list { list-style: none; margin: 0; padding: 0; }
.mini-list li { padding: 10px 0; border-top: 1px solid var(--line); line-height: 1.4; }
.mini-list li:first-child { border-top: 0; padding-top: 0; }
.mini-list a { font-weight: 600; color: var(--navy-900); font-size: .9375rem; }
.mini-list a:hover { color: var(--navy-600); }
.mini-list__meta { display: block; font-size: .8125rem; color: var(--muted); margin-top: 3px; }

/* --- module pages (Publications / Reports / Projects) --------------------- */
.page-head { margin-bottom: 24px; }
.page-title { margin-bottom: .3em; }
.filters {
	display: flex; flex-wrap: wrap; gap: 10px; align-items: center;
	background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 12px; box-shadow: var(--shadow-sm);
}
.filters label { margin: 0; }
.filters__search { flex: 1 1 260px; position: relative; display: flex; align-items: center; }
.filters__search svg { position: absolute; left: 12px; color: var(--muted); pointer-events: none; }
.filters .filters__search input { padding-left: 38px; width: 100%; }
.filters--compact { box-shadow: none; padding: 0; border: 0; margin: 0 0 16px; }
.filters--compact.filters .filters__search input { padding-left: 14px; }
input[type="text"], input[type="search"], input[type="password"], input[type="url"], input[type="date"], input[type="number"], input[type="email"], select, textarea {
	font: 400 .9375rem/1.4 var(--sans); color: var(--ink); background: #fff;
	border: 1px solid var(--line-2); border-radius: var(--radius-sm); padding: 10px 12px; max-width: 100%;
}
select { padding-right: 32px; }
textarea { width: 100%; resize: vertical; }
input:focus, select:focus, textarea:focus { border-color: var(--navy-600); outline: none; box-shadow: 0 0 0 3px rgba(42, 58, 146, .15); }
.result-count { color: var(--muted); font-size: .875rem; margin: 16px 0 12px; }
.result-count:empty { margin: 8px 0; }

.doc-list { display: grid; gap: 14px; }
.doc { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 22px 26px; box-shadow: var(--shadow-sm); transition: border-color .15s, box-shadow .15s; }
.doc:hover { border-color: var(--line-2); box-shadow: var(--shadow); }
.doc__head { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; margin-bottom: 10px; }
.doc__meta { font-size: .875rem; color: var(--muted); }
.doc__title { font-size: 1.2rem; margin: 0 0 8px; }
.doc__title a { color: var(--navy-900); }
.doc__title a:hover { color: var(--navy-600); }
.doc__excerpt { color: var(--ink-2); margin: 0 0 14px; font-size: .9688rem; }
.doc__actions, .detail__actions { display: flex; flex-wrap: wrap; gap: 10px; }

/* publications grid with journal covers */
.paper-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(330px, 1fr)); gap: 16px; }
.paper {
	display: grid; grid-template-columns: 112px minmax(0, 1fr); gap: 18px; align-items: start;
	background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 18px; box-shadow: var(--shadow-sm);
	transition: border-color .15s, box-shadow .15s;
}
.paper:hover { border-color: var(--line-2); box-shadow: var(--shadow); }
.paper__meta { font-size: .8125rem; color: var(--muted); margin: 0 0 6px; }
.paper__meta em { color: var(--ink-2); font-style: italic; }
.paper__title { font-size: 1.0625rem; line-height: 1.35; margin: 0 0 6px; }
.paper__title a { color: var(--navy-900); }
.paper__title a:hover { color: var(--navy-600); }
.paper__authors { font-size: .875rem; color: var(--ink-2); margin: 0 0 10px; }
.paper__links { display: flex; align-items: center; gap: 12px; font-size: .8125rem; font-weight: 600; margin: 0; }

.cover {
	position: relative; display: block; aspect-ratio: 3 / 4; border-radius: 6px; overflow: hidden;
	background: var(--navy-50); box-shadow: 0 1px 2px rgba(0, 0, 0, .12), 0 8px 18px -8px rgba(17, 26, 77, .35);
	transition: transform .18s ease, box-shadow .18s ease; text-decoration: none; color: inherit;
}
a.cover:hover { transform: translateY(-3px); box-shadow: 0 2px 4px rgba(0, 0, 0, .12), 0 14px 26px -10px rgba(17, 26, 77, .45); text-decoration: none; }
.cover__img { width: 100%; height: 100%; object-fit: cover; display: block; }
.cover__gen {
	--c1: #1c2a78; --c2: #111a4d; --accent: #c9a640;
	position: absolute; inset: 0; display: flex; flex-direction: column; padding: 10px 9px; gap: 6px;
	background:
		radial-gradient(120% 60% at 100% 0%, rgba(255, 255, 255, .14), transparent 60%),
		linear-gradient(165deg, var(--c1), var(--c2));
	color: #fff; font-family: var(--serif);
}
.cover__gen--1 { --c1: #7a1f2b; --c2: #4a0f19; --accent: #e8c27a; }
.cover__gen--2 { --c1: #1f5a46; --c2: #0f3328; --accent: #d9c77f; }
.cover__gen--3 { --c1: #155e75; --c2: #0b3644; --accent: #f2b880; }
.cover__gen--4 { --c1: #4c2a6e; --c2: #2b1543; --accent: #e3b5ff; }
.cover__gen--5 { --c1: #374151; --c2: #1f2430; --accent: #f0c24b; }
.cover__gen--6 { --c1: #8a5a12; --c2: #5a3608; --accent: #fde7b0; }
.cover__gen--7 { --c1: #2a4a9a; --c2: #172c63; --accent: #9fd3ff; }
.cover__gen::before { content: ""; height: 4px; width: 34px; background: var(--accent); border-radius: 2px; flex: none; }
.cover__abbr { display: none; }
.cover__kind { font: 600 .5625rem/1.2 var(--sans); text-transform: uppercase; letter-spacing: .12em; opacity: .8; }
.cover__venue { font-weight: 600; font-size: .9rem; line-height: 1.15; overflow-wrap: break-word; hyphens: auto; }
.cover__gen.is-mid .cover__venue { font-size: .78rem; }
.cover__gen.is-long .cover__venue { font-size: .68rem; }
.cover__year { margin-top: auto; font: 600 .75rem var(--sans); opacity: .85; }
.cover__go {
	position: absolute; left: 6px; right: 6px; bottom: 6px; text-align: center; font: 600 .6875rem/1 var(--sans);
	background: rgba(255, 255, 255, .94); color: var(--navy-800); padding: 6px 4px; border-radius: 4px;
	opacity: 0; transform: translateY(4px); transition: opacity .15s, transform .15s;
}
a.cover:hover .cover__go, a.cover:focus-visible .cover__go { opacity: 1; transform: none; }
.cover--lg { width: 220px; }
.cover--lg .cover__venue { font-size: 1.25rem; }
.cover--lg .cover__gen { padding: 18px 16px; gap: 10px; }
.cover--lg .cover__kind { font-size: .6875rem; }
.cover--lg .cover__year { font-size: .9rem; }
.cover-strip { display: grid; grid-template-columns: repeat(4, 1fr); gap: 10px; }
.cover--sm .cover__kind, .cover--sm .cover__year, .cover--sm .cover__venue { display: none; }
.cover--sm .cover__gen { padding: 8px 7px; }
.cover--sm .cover__abbr { display: block; font-family: var(--sans); font-weight: 700; font-size: .8rem; letter-spacing: .04em; margin-top: auto; }

/* detail page */
.crumbs { font-size: .875rem; color: var(--muted); margin: 0 0 16px; display: flex; flex-wrap: wrap; gap: 8px; }
.crumbs span { color: var(--line-2); }
.detail { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 32px 36px; box-shadow: var(--shadow-sm); }
.detail--with-cover { display: grid; grid-template-columns: 220px minmax(0, 1fr); gap: 36px; }
.detail__aside:empty { display: none; }
.detail__meta { font-size: .9rem; color: var(--muted); margin: 0 0 8px; }
.detail__title { margin-bottom: 18px; }
.detail__actions { margin-bottom: 24px; }
.facts { display: grid; grid-template-columns: repeat(auto-fill, minmax(200px, 1fr)); gap: 14px 24px; margin: 0 0 24px; padding: 18px 20px; background: var(--navy-50); border-radius: var(--radius-sm); }
.facts:empty { display: none; }
.facts dt { font-size: .75rem; text-transform: uppercase; letter-spacing: .08em; color: var(--muted); font-weight: 600; }
.facts dd { margin: 2px 0 0; font-weight: 500; overflow-wrap: anywhere; }
.prose { max-width: 72ch; }
.prose p { line-height: 1.75; }
.cite { margin-top: 24px; padding-top: 20px; border-top: 1px solid var(--line); }
.cite__text { font-family: var(--serif); font-size: 1rem; background: var(--bg); border-left: 3px solid var(--gold-500); padding: 12px 16px; border-radius: 0 6px 6px 0; overflow-wrap: anywhere; }
.cite__actions { display: flex; flex-wrap: wrap; gap: 8px; }
.cite__bib { margin-top: 12px; }
.cite__bib summary { cursor: pointer; font-size: .875rem; font-weight: 600; color: var(--navy-700); width: max-content; }
.cite__bib pre { margin: 10px 0; padding: 12px 14px; background: var(--bg); border: 1px solid var(--line); border-radius: 8px; font: .8125rem/1.55 ui-monospace, SFMono-Regular, Menlo, Consolas, monospace; white-space: pre-wrap; overflow-wrap: anywhere; max-height: 360px; overflow: auto; }
.bib-export { font-weight: 600; }
.preview { margin-top: 28px; }
.preview iframe { width: 100%; height: 78vh; min-height: 520px; border: 1px solid var(--line); border-radius: var(--radius); background: #fff; }
.related { margin-top: 28px; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 22px 26px; }
.back-link { margin-top: 24px; font-weight: 600; }
.admin-note { margin-top: 20px; font-size: .875rem; font-weight: 600; }

.empty { text-align: center; padding: 56px 24px; background: var(--surface); border: 1px dashed var(--line-2); border-radius: var(--radius); color: var(--ink-2); }
.empty__title { font-family: var(--serif); font-size: 1.25rem; color: var(--navy-900); margin-bottom: .4em; }

/* --- manage screens ------------------------------------------------------ */
.manage-top { display: flex; justify-content: space-between; align-items: center; gap: 16px; margin-bottom: 18px; flex-wrap: wrap; }
.manage-tabs { display: inline-flex; background: var(--surface); border: 1px solid var(--line); border-radius: 999px; padding: 4px; gap: 2px; }
.manage-tabs__item { padding: 7px 16px; border-radius: 999px; font-weight: 600; font-size: .9rem; color: var(--ink-2); }
.manage-tabs__item:hover { text-decoration: none; background: var(--navy-50); }
.manage-tabs__item.is-current { background: var(--navy-700); color: #fff; }
.manage-card { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 28px 32px; box-shadow: var(--shadow-sm); }
.manage-card--narrow { max-width: 440px; margin: 24px auto; }
.manage-head { display: flex; justify-content: space-between; align-items: flex-start; gap: 16px; flex-wrap: wrap; margin-bottom: 8px; }
.manage-head h1 { margin-bottom: .2em; }
.table-wrap { overflow-x: auto; }
.manage-table { width: 100%; border-collapse: collapse; font-size: .9rem; }
.manage-table th { text-align: left; font-size: .75rem; text-transform: uppercase; letter-spacing: .06em; color: var(--muted); padding: 10px 12px; border-bottom: 2px solid var(--line); white-space: nowrap; }
.manage-table td { padding: 12px; border-bottom: 1px solid var(--line); vertical-align: top; }
.manage-table tr:hover td { background: var(--navy-50); }
.manage-table__title { min-width: 280px; font-weight: 500; }
.manage-table__actions { white-space: nowrap; }
.manage-table__actions form { display: inline; margin-left: 12px; }
.manage-table .num { white-space: nowrap; color: var(--muted); }
.linklike { background: none; border: 0; padding: 0; font: inherit; color: var(--navy-600); cursor: pointer; }
.linklike--danger { color: var(--danger); }
.linklike:hover { text-decoration: underline; }

.form { display: grid; gap: 18px; max-width: 760px; }
.field { display: grid; gap: 6px; }
.field__label { font-weight: 600; font-size: .9rem; }
.field__label abbr { color: var(--danger); text-decoration: none; }
.field__help { font-size: .8125rem; color: var(--muted); }
.field input[type="text"], .field input[type="url"], .field input[type="password"], .field textarea { width: 100%; }
.field__current { display: flex; align-items: center; gap: 14px; flex-wrap: wrap; font-size: .875rem; padding: 8px 10px; background: var(--bg); border-radius: 8px; }
.field__current img { border-radius: 3px; box-shadow: var(--shadow-sm); }
.check { display: inline-flex; align-items: center; gap: 8px; font-size: .9rem; cursor: pointer; }
.check--block { font-weight: 600; }
.form__actions { display: flex; gap: 10px; flex-wrap: wrap; padding-top: 6px; }
.flash { padding: 10px 14px; border-radius: 8px; font-weight: 500; margin: 12px 0; }
.flash--ok { background: var(--ok-bg); color: var(--ok); }
.flash--error { background: var(--danger-bg); color: var(--danger); }

/* --- restyled legacy pages ---------------------------------------------- */
.content-card { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 32px 36px; box-shadow: var(--shadow-sm); }
.content-card > :last-child { margin-bottom: 0; }
.people-group { margin-top: 28px; }
.people-group:first-of-type { margin-top: 8px; }
.people-group h2 { font-size: .8125rem; font-family: var(--sans); text-transform: uppercase; letter-spacing: .12em; color: var(--gold-600); margin-bottom: 12px; }
.people { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(250px, 1fr)); gap: 10px; }
.people li { padding: 12px 14px; border: 1px solid var(--line); border-radius: 10px; background: var(--bg); line-height: 1.4; }
.people strong { display: block; color: var(--navy-900); font-weight: 600; }
.people span { font-size: .875rem; color: var(--muted); }
.people--lead li { background: var(--navy-50); border-color: var(--navy-100); }
.people span.people__role { display: block; margin-bottom: 2px; font-size: .72rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--gold-600); }

.article-meta { color: var(--muted); font-size: .875rem; }
.news-list { display: grid; gap: 14px; }
.news-item { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 22px 26px; box-shadow: var(--shadow-sm); display: grid; grid-template-columns: auto minmax(0, 1fr); gap: 20px; }
.news-item__img:empty { display: none; }
.news-item__img img { max-width: 160px; border-radius: 8px; }
.news-item h2 { font-size: 1.2rem; margin-bottom: 6px; }
.news-item h2 a { color: var(--navy-900); }
.news-item__body { color: var(--ink-2); }
.news-item__body div { font-size: inherit !important; color: inherit !important; }
.news-item__body br + br { display: none; }
.news-admin { font-size: .875rem; margin-top: 8px; }
.news-content img[align="left"] { float: left; margin: 0 18px 12px 0; border-radius: 8px; max-width: 220px; }

.abstract { font-size: 1.0rem; line-height: 1.75; }
.wp-detail__pub { font-size: .875rem; color: var(--muted); }

/* working paper page */
.wp-detail { padding: 36px 44px 40px; }
.wp-detail__head { padding-bottom: 24px; border-bottom: 1px solid var(--line); margin-bottom: 28px; }
.wp-detail__title { font-size: clamp(1.6rem, 1.2rem + 1.4vw, 2.2rem); line-height: 1.22; margin: .1em 0 .55em; text-wrap: balance; }
.wp-detail__authors { font-size: 1.0625rem; color: var(--ink-2); margin: 0 0 20px; line-height: 1.6; }
.wp-detail__authors a { font-weight: 500; }
.wp-detail__actions { display: flex; flex-wrap: wrap; gap: 10px; }
.wp-detail__abstract .section-title { margin-bottom: .7em; }
.wp-detail__text { font-size: 1.0625rem; line-height: 1.8; color: var(--ink); text-align: justify; hyphens: auto; -webkit-hyphens: auto; overflow-wrap: break-word; }
.wp-detail__text p { margin: 0 0 1em; }
.wp-detail__text p:last-child { margin-bottom: 0; }
.wp-detail .cite { margin-top: 32px; padding-top: 24px; }
.wp-published { margin: 0 0 28px; padding: 16px 20px; background: var(--gold-100); border: 1px solid #ecdcae; border-left: 4px solid var(--gold-500); border-radius: 0 10px 10px 0; }
.wp-published p { margin: 0; }
.wp-published__label { font-size: .75rem; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: var(--gold-600); margin-bottom: 4px !important; }
.wp-published__ref { font-family: var(--serif); font-size: 1.0625rem; line-height: 1.55; color: var(--navy-900); }
.wp-published .btn { margin-top: 12px; }
.nowrap { white-space: nowrap; }
@media (max-width: 720px) {
	.wp-detail { padding: 24px 20px 28px; }
	.wp-detail__text { text-align: left; }
}

.content-card .wp-list--plain { border: 0; box-shadow: none; border-radius: 0; }
.content-card .wp-list--plain .wp { padding: 16px 0; grid-template-columns: 48px minmax(0, 1fr); }
.guidelines h2 { margin-top: 1.6em; font-size: 1.3rem; }
.guidelines h2:first-child { margin-top: 0; }
.guidelines li { margin-bottom: .4em; }
.address-block { background: var(--bg); border-left: 3px solid var(--gold-500); padding: 14px 18px; border-radius: 0 8px 8px 0; }
.contact-card p { margin-bottom: .9em; }
.contact-card strong { color: var(--navy-900); }

/* search form and other forms generated by the old code */
.legacy-form table { width: 100%; border-collapse: collapse; }
.legacy-form td { padding: 3px 0; }
.legacy-form .LabelText { font-weight: 600; font-size: .9rem; color: var(--ink); padding-top: 6px; }
.legacy-form input[type="text"] { width: 100%; max-width: 520px; }
.legacy-form tr[height="12"] td { height: 8px; }
.legacy-form input[type="Submit"], .legacy-form input[type="submit"], .legacy-form input[type="reset"] {
	font: 600 .9375rem var(--sans); padding: 10px 20px; border-radius: 999px; cursor: pointer; margin: 6px 8px 0 0;
	border: 1px solid var(--line-2); background: var(--surface); color: var(--navy-700);
}
.legacy-form input[type="Submit"], .legacy-form input[type="submit"] { background: var(--navy-700); color: #fff; border-color: var(--navy-700); }
.search-results { margin-top: 8px; display: grid; gap: 28px; }
.search-block .section-head h2 { font-size: 1.25rem; margin: 0; }
.search-block__n { display: inline-block; min-width: 1.6em; padding: 1px 8px; margin-left: 6px; border-radius: 999px; background: var(--navy-50); color: var(--navy-700); font: 600 .8rem/1.5 var(--sans); text-align: center; vertical-align: middle; }
.search-others { display: grid; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); gap: 16px; }
.search-other { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 18px 20px; box-shadow: var(--shadow-sm); }
.search-other h3 { font-size: 1.05rem; margin: 0 0 12px; }
.search-other__all { display: inline-block; margin-top: 12px; font-size: .875rem; font-weight: 600; }
.search-tips p { margin-top: 0; }
.search-tips ul { margin: .6em 0 0; padding-left: 1.2em; }
.search-tips li { margin: .35em 0; }

/* --- 2026-11 additions: ranking badge, archive, logos, submit & contact pages --- */
.hero__side { display: grid; gap: 14px; position: relative; z-index: 1; align-self: stretch; align-content: space-between; width: 300px; }
.hero__side .hero__stats div { min-width: 0; }
.rank-badge {
	display: flex; align-items: center; gap: 14px; padding: 12px 16px 12px 12px; border-radius: 14px; text-decoration: none;
	background: linear-gradient(135deg, rgba(201, 166, 64, .28), rgba(201, 166, 64, .1)); border: 1px solid rgba(201, 166, 64, .55);
	color: #fff; transition: background-color .15s, transform .15s;
}
.rank-badge:hover { text-decoration: none; color: #fff; transform: translateY(-1px); background: linear-gradient(135deg, rgba(201, 166, 64, .4), rgba(201, 166, 64, .16)); }
.rank-badge__rank {
	flex: none; display: flex; align-items: center; justify-content: center; width: 62px; height: 62px; border-radius: 50%;
	background: var(--gold-500); color: var(--navy-900); font: 700 1.6rem/1 var(--serif); letter-spacing: -.02em;
	box-shadow: 0 0 0 4px rgba(201, 166, 64, .25);
}
.rank-badge__hash { font-size: .95rem; align-self: flex-start; margin: 14px 1px 0 0; }
.rank-badge__text { display: grid; gap: 3px; }
.rank-badge__title { font-weight: 600; font-size: .9375rem; line-height: 1.3; }
.rank-badge__src { font-size: .75rem; color: #e7d9ad; }
.home-more { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 18px; }

.wp-archive { display: grid; gap: 26px; }
.wp-year__title { font-size: 1.05rem; color: var(--gold-600); font-family: var(--sans); letter-spacing: .08em; margin: 0 0 10px; display: flex; align-items: center; gap: 12px; }
.wp-year__title::after { content: ""; flex: 1; height: 1px; background: var(--line); }

.doc--with-logo { display: grid; grid-template-columns: 112px minmax(0, 1fr); gap: 22px; align-items: start; }
.client-logo {
	display: grid; place-items: center; width: 112px; height: 84px; padding: 10px; border-radius: 10px;
	background: #fff; border: 1px solid var(--line); overflow: hidden;
}
.client-logo img { width: 100%; height: 100%; object-fit: contain; display: block; }
.client-logo--text { background: var(--navy-50); border-color: var(--navy-100); color: var(--navy-700); font: 700 1.15rem/1 var(--serif); letter-spacing: .04em; }
.client-logo--lg { width: 168px; height: 96px; margin-bottom: 14px; }

.submit-head__cta { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 18px; }
.guide-grid { display: grid; grid-template-columns: minmax(0, 1fr) 320px; gap: 32px; align-items: start; }
.guide-main { display: grid; gap: 20px; }
.guide-section { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 28px 32px; box-shadow: var(--shadow-sm); }
.guide-section__title { font-size: 1.35rem; margin-bottom: .7em; }
.guide-sub { font-size: 1.05rem; margin: 1.2em 0 .4em; }
.guide-section > :last-child { margin-bottom: 0; }
.steps { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px; counter-reset: none; }
.step { background: var(--bg); border: 1px solid var(--line); border-radius: 10px; padding: 18px; position: relative; }
.step__num { display: grid; place-items: center; width: 32px; height: 32px; border-radius: 50%; background: var(--navy-700); color: #fff; font-weight: 700; font-size: .9rem; margin-bottom: 10px; }
.step__title { font-family: var(--sans); font-size: 1rem; margin-bottom: 4px; }
.step p { font-size: .9rem; color: var(--ink-2); margin: 0; overflow-wrap: anywhere; }
.checklist { list-style: none; padding: 0; margin: 0 0 16px; display: grid; gap: 8px; }
.checklist li { position: relative; padding: 10px 14px 10px 44px; background: var(--bg); border-radius: 8px; overflow-wrap: anywhere; }
.checklist li::before {
	content: ""; position: absolute; left: 14px; top: 12px; width: 18px; height: 18px; border-radius: 50%; background: var(--ok);
	-webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M12 1a11 11 0 1 0 0 22 11 11 0 0 0 0-22zm-1.5 15.5-4.5-4.5 1.4-1.4 3.1 3.1 6.6-6.6 1.4 1.4z'/%3E%3C/svg%3E") center / contain no-repeat;
	mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M12 1a11 11 0 1 0 0 22 11 11 0 0 0 0-22zm-1.5 15.5-4.5-4.5 1.4-1.4 3.1 3.1 6.6-6.6 1.4 1.4z'/%3E%3C/svg%3E") center / contain no-repeat;
}
.callout { background: var(--navy-50); border-left: 3px solid var(--navy-600); padding: 12px 16px; border-radius: 0 8px 8px 0; font-size: .9375rem; color: var(--ink-2); }
.callout--warn { background: var(--gold-100); border-left-color: var(--gold-500); color: #5f4a0f; font-weight: 500; }
.format-cards { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; }
.format-card { border: 1px solid var(--line); border-radius: 10px; padding: 18px 20px; }
.format-card p { font-size: .9375rem; color: var(--ink-2); }
.format-card__tag { display: inline-block; font-size: .6875rem !important; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: var(--ok) !important; background: var(--ok-bg); padding: 3px 8px; border-radius: 999px; margin-bottom: 8px; }
.format-card__tag--quiet { color: var(--muted) !important; background: #f1f2f5; }
.format-card__title { font-family: var(--sans); font-size: 1.05rem; margin-bottom: 4px; }
.ref-table { margin: 0; border: 1px solid var(--line); border-radius: 10px; overflow: hidden; }
.ref-table div { display: grid; grid-template-columns: 170px minmax(0, 1fr); border-top: 1px solid var(--line); }
.ref-table div:first-child { border-top: 0; }
.ref-table dt { padding: 12px 14px; background: var(--bg); font-weight: 600; font-size: .875rem; }
.ref-table dd { margin: 0; padding: 12px 14px; font-family: var(--serif); font-size: .9375rem; overflow-wrap: anywhere; }
.guide-aside { display: grid; gap: 18px; position: sticky; top: 20px; }
.submit-card { background: linear-gradient(160deg, var(--navy-800), var(--navy-600)); color: #fff; border-radius: var(--radius); padding: 22px; box-shadow: var(--shadow); }
.submit-card__title { color: #fff; font-size: 1.15rem; margin-bottom: 12px; }
.submit-card__list { margin: 0 0 16px; display: grid; gap: 10px; }
.submit-card__list dt { font-size: .6875rem; text-transform: uppercase; letter-spacing: .1em; color: #b9c0dc; }
.submit-card__list dd { margin: 2px 0 0; font-size: .9rem; overflow-wrap: anywhere; }
.submit-card a:not(.btn) { color: #fff; }
.submit-card__btn { width: 100%; }
.guide-aside address { font-style: normal; line-height: 1.6; color: var(--ink-2); }

.contact-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; align-items: start; }
.contact-block__title { display: flex; align-items: center; gap: 10px; font-size: 1.15rem; }
.contact-block__title svg { color: var(--gold-600); }
.contact-block address { font-style: normal; font-size: 1.05rem; line-height: 1.6; margin-bottom: 10px; }
.contact-list { display: grid; gap: 8px; margin: 16px 0 0; padding-top: 14px; border-top: 1px solid var(--line); }
.contact-list div { display: flex; gap: 12px; }
.contact-list dt { width: 40px; color: var(--muted); font-size: .875rem; }
.contact-list dd { margin: 0; }
.contact-emails { list-style: none; padding: 0; margin: 0 0 16px; display: grid; gap: 10px; }
.contact-emails a { font-weight: 600; overflow-wrap: anywhere; }
.contact-links { list-style: none; padding: 0; margin: 0; display: grid; gap: 12px; }
.contact-links a { font-weight: 600; }
.contact-links span { display: block; font-size: .8125rem; color: var(--muted); }

/* Seminars/News */
.news-strip { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 20px 24px; box-shadow: var(--shadow-sm); margin-bottom: 28px; }
.news-strip__list { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 12px 24px; }
.news-strip__item { padding: 12px 0 0; border-top: 1px solid var(--line); }
.news-strip__item > a { font-weight: 600; color: var(--navy-900); }
.news-strip__text { display: block; font-size: .875rem; color: var(--ink-2); margin-top: 4px; }
.events-title { margin-top: 4px; }
.event-list { display: grid; gap: 14px; }
.event {
	display: grid; grid-template-columns: 260px minmax(0, 1fr); gap: 22px; align-items: start;
	background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 18px; box-shadow: var(--shadow-sm);
	transition: border-color .15s, box-shadow .15s;
}
.event:hover { border-color: var(--line-2); box-shadow: var(--shadow); }
.event__poster { position: relative; display: block; aspect-ratio: 16 / 9; border-radius: 8px; overflow: hidden; background: var(--navy-50); border: 1px solid var(--line); }
.event__poster::before { content: ""; position: absolute; inset: -16px; background: var(--poster, none) center / cover; filter: blur(14px) brightness(.85); }
.event__poster img { position: relative; width: 100%; height: 100%; object-fit: contain; display: block; transition: transform .25s ease; }
a.event__poster:hover img { transform: scale(1.03); }
.event__noposter { display: grid; place-items: center; height: 100%; font: 600 1rem var(--serif); color: var(--navy-700); }
.event__play {
	position: absolute; right: 8px; bottom: 8px; display: grid; place-items: center; width: 34px; height: 34px; border-radius: 50%;
	background: rgba(17, 26, 77, .82); color: #fff; font-size: .75rem; padding-left: 2px;
}
.event__speakers { font-size: .9rem; color: var(--navy-700); font-weight: 500; margin: -2px 0 8px; }
.detail--with-poster { display: grid; grid-template-columns: minmax(0, 1fr); gap: 24px; }
.detail--poster-side { display: grid; grid-template-columns: 340px minmax(0, 1fr); gap: 36px; align-items: start; }
.detail--poster-side .event-poster { max-height: none; width: 100%; }
.event-poster { width: auto; max-width: 100%; max-height: 720px; border-radius: 10px; border: 1px solid var(--line); display: block; }
.video { margin-top: 28px; }
.video__frame { position: relative; aspect-ratio: 16 / 9; border-radius: var(--radius); overflow: hidden; background: #000; box-shadow: var(--shadow); }
.video__frame iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }

/* --- footer -------------------------------------------------------------- */
.site-footer { background: var(--navy-900); color: #b9c0dc; font-size: .9rem; }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1.3fr; gap: 32px; padding-top: 48px; padding-bottom: 36px; }
.footer-brand { font-family: var(--serif); font-size: 1.15rem; font-weight: 600; color: #fff; margin-bottom: .5em; }
.footer-heading { color: #fff; font-weight: 600; margin-bottom: .8em; font-size: .8125rem; text-transform: uppercase; letter-spacing: .1em; }
.footer-col ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; }
.site-footer a { color: #e3e7f5; }
.site-footer a:hover { color: var(--gold-500); }
.site-footer address { font-style: normal; line-height: 1.75; }
.footer-bottom { display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; border-top: 1px solid rgba(255, 255, 255, .1); padding-top: 18px; padding-bottom: 24px; font-size: .8125rem; color: #8e96b8; }

/* --- old class names still used by some module templates ----------------- */
.normalText, .NormalText, .bodyText { font-size: inherit; color: inherit; line-height: inherit; }
.LabelText { font-weight: 600; }
.focusTitle { font-family: var(--serif); font-size: 1.25rem; font-weight: 600; color: var(--navy-900); padding: 0 0 10px !important; }
.NTitle, .MBTitle { font-family: var(--serif) !important; color: var(--navy-900) !important; }
.tdTitle { font-weight: 600; padding: 16px 0 8px; font-family: var(--serif); font-size: 1.1rem; color: var(--navy-900); }
.pageName { font-family: var(--serif); font-size: 1.5rem; color: var(--navy-900); }
img[src=""], td[background=""] > img { display: none; }

/* --- responsive ---------------------------------------------------------- */
@media (max-width: 1080px) {
	.nav-toggle { display: inline-grid; }
	.site-nav { display: none; border-top: 1px solid var(--line); }
	.site-nav.is-open { display: block; }
	.nav { flex-direction: column; padding: 8px 0 14px; }
	.nav__link { border-bottom: 0; border-left: 3px solid transparent; border-radius: 0 8px 8px 0; padding: 11px 14px; }
	.nav__link.is-current { border-left-color: var(--gold-500); background: var(--navy-50); }
	.nav__search { display: block; }
	.home-grid { grid-template-columns: minmax(0, 1fr); }
	.home-aside { grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); }
	.footer-grid { grid-template-columns: 1fr 1fr; }
	.guide-grid { grid-template-columns: minmax(0, 1fr); }
	.guide-aside { position: static; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); }
	.contact-grid { grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); }
}
@media (max-width: 760px) {
	.container { padding: 0 16px; }
	.site-main { padding: 20px 0 48px; }
	.topbar__inner > span { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
	.brand { gap: 12px; }
	.brand__logo { width: 168px; }
	.brand__text { padding-left: 12px; }
	.brand__title { font-size: 1.05rem; }
	.brand__sub { display: none; }
	.hero { grid-template-columns: minmax(0, 1fr); padding: 28px 22px; gap: 24px; border-radius: 14px; }
	.hero__stats { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px; }
	.hero__stats div { min-width: 0; padding: 10px 12px; }
	.hero__stats dd { font-size: 1.35rem; }
	.hero__stats dt { font-size: .6875rem; line-height: 1.3; }
	.wp { grid-template-columns: minmax(0, 1fr); gap: 4px; padding: 18px; }
	.doc, .detail, .content-card, #workingPaper, .manage-card, .related { padding: 20px 18px; }
	.detail--with-cover { grid-template-columns: minmax(0, 1fr); gap: 20px; }
	.cover--lg { width: 150px; }
	.paper-grid { grid-template-columns: minmax(0, 1fr); }
	.paper { grid-template-columns: 88px minmax(0, 1fr); gap: 14px; padding: 14px; }
	.paper .cover__venue { font-size: .7rem; }
	.paper .cover__gen.is-mid .cover__venue { font-size: .62rem; }
	.paper .cover__gen.is-long .cover__venue { font-size: .56rem; }
	.paper .cover__kind { font-size: .5rem; }
	.hero__lead { font-size: .95rem; }
	.filters { padding: 10px; }
	.filters label:not(.filters__search) { flex: 1 1 40%; }
	.filters select { width: 100%; }
	.preview { display: none; }
	.footer-grid { grid-template-columns: minmax(0, 1fr); gap: 24px; }
	.news-item { grid-template-columns: minmax(0, 1fr); }
	.hero__side { width: auto; }
	.steps, .format-cards { grid-template-columns: minmax(0, 1fr); }
	.guide-section { padding: 20px 18px; }
	.ref-table div { grid-template-columns: minmax(0, 1fr); }
	.ref-table dt { padding-bottom: 4px; }
	.doc--with-logo { grid-template-columns: minmax(0, 1fr); gap: 12px; }
	.event { grid-template-columns: minmax(0, 1fr); gap: 14px; padding: 14px; }
	.detail--poster-side { grid-template-columns: minmax(0, 1fr); gap: 20px; }
	.detail--poster-side .event-poster { max-height: 520px; width: auto; }
	.client-logo { width: 96px; height: 64px; }
	.section-head { flex-wrap: wrap; }
	.shell > tbody > tr { gap: 20px; }
	.shell > tbody > tr > td { flex-basis: 100% !important; }
}
@media (max-width: 480px) {
	.brand__text { display: none; }
	.brand__logo { width: 200px; }
}
@media (prefers-reduced-motion: reduce) {
	*, *::before, *::after { transition: none !important; scroll-behavior: auto !important; }
}
@media print {
	.site-header, .site-footer, .filters, .pager, .home-aside, .preview { display: none !important; }
	body { background: #fff; }
}
