/* Equiva Lab visual system for the HotCRP review workspace. */

:root {
	--paper: #f7f7f8;
	--paper-transparent: rgba(247, 247, 248, 0);
	--text: #1d1d1f;
	--input-text: #1d1d1f;
	--brand-fg: #1d1d1f;
	--brand-bg: #f0f2f4;
	--brand-bg-dark: #f7f7f8;
	--brand-decor-light: #e4e5e8;
	--headline-fg: #1d1d1f;
	--headline-decor: #1d1d1f;
	--submission-bg-dark: #f0f2f4;
	--submission-bg: #f0f2f4;
	--submission-sidebar-bg: #f0f2f4;
	--seed-accent: #3c56f4;
	--seed-accent-hover: #2f49e8;
	--seed-accent-soft: #eef1ff;
	--seed-action: #1d1d1f;
	--seed-action-hover: #353538;
	--seed-link: #3c56f4;
	--seed-ink: #1d1d1f;
	--seed-muted: #4f5157;
	--seed-subtle: #858891;
	--seed-line: #e4e5e8;
	--seed-line-strong: #d5d7dc;
	--seed-surface: #ffffff;
	--seed-surface-soft: #f0f2f4;
	--seed-success: #147d52;
	--seed-danger: #c93838;
	--seed-warning: #9a6700;
	--seed-radius-sm: 8px;
	--seed-radius: 16px;
	--seed-radius-lg: 28px;
	--seed-shadow: 0 22px 70px rgba(43, 55, 73, 0.09);
	--seed-shadow-soft: 0 10px 32px rgba(43, 55, 73, 0.055);
	--seed-ease: cubic-bezier(0.22, 1, 0.36, 1);
	--seed-icon-search: url("../images/equivalab-icon-search.svg");
	--seed-icon-settings: url("../images/equivalab-icon-settings.svg");
	--seed-icon-users: url("../images/equivalab-icon-users.svg");
	--seed-icon-mail: url("../images/equivalab-icon-mail.svg");
	--seed-icon-history: url("../images/equivalab-icon-history.svg");
	--seed-icon-calendar: url("../images/equivalab-icon-calendar.svg");
	--seed-icon-external: url("../images/equivalab-icon-external.svg");
	--seed-icon-plus: url("../images/equivalab-icon-plus.svg");
	--seed-icon-check: url("../images/equivalab-icon-check.svg");
	--seed-icon-close: url("../images/equivalab-icon-close.svg");
	--seed-icon-tag: url("../images/equivalab-icon-tag.svg");
	--seed-icon-help: url("../images/equivalab-icon-help.svg");
	color: var(--seed-ink);
	background: var(--paper);
}

html {
	font-size: 16px;
	scroll-behavior: smooth;
}

body,
.text-default {
	font-family: Inter, "Helvetica Neue", "PingFang SC", "PingFang TC", "Microsoft YaHei", sans-serif;
	font-feature-settings: "kern" 1;
	letter-spacing: -0.004em;
}

body {
	background: var(--paper);
	line-height: 1.52;
	-webkit-font-smoothing: antialiased;
}

::selection {
	color: #fff;
	background: var(--seed-accent);
}

:link,
:visited,
.link {
	color: var(--seed-link);
	text-underline-offset: 0.18em;
	text-decoration-thickness: 1px;
}

a:hover,
a.track:hover,
a.ptitle:hover,
a.pnum:hover,
button.link:hover,
button.q:hover,
button.qo:hover,
.js-click-child:hover a.hover-child,
a:hover .pavfn {
	color: var(--seed-accent);
	text-decoration-color: currentColor;
}

a:focus-visible,
button:focus-visible,
input:focus-visible,
textarea:focus-visible,
select:focus-visible,
[tabindex]:focus-visible {
	outline: 2px solid var(--seed-accent);
	outline-offset: 3px;
}

.is-description,
.hint,
.f-d,
.field-d,
.dlsize,
.auaff,
.plet,
em.plx,
.asspref0 {
	color: var(--seed-muted);
}

.dim,
li.disabled {
	color: var(--seed-subtle);
}

/* Header and global navigation */
#p-header {
	z-index: 13;
	min-height: 88px;
	padding-bottom: 16px;
	border-bottom: 1px solid rgba(228, 229, 232, 0.8);
	background: rgba(247, 247, 248, 0.9);
	backdrop-filter: blur(18px) saturate(1.15);
	-webkit-backdrop-filter: blur(18px) saturate(1.15);
}

#h-site {
	padding: 28px 12px 14px max(32px, calc((100vw - 1280px) / 2));
	border: 0;
	border-radius: 0;
	background: transparent;
	color: var(--seed-ink);
}

#h-site > h1,
.header-site-name {
	font-weight: 600;
	letter-spacing: -0.025em;
}

#h-site > h1 {
	font-size: 1.25rem;
}

#h-site .q,
#h-site .q:hover {
	display: inline-flex;
	align-items: center;
	gap: 10px;
	color: var(--seed-ink);
	text-decoration: none;
}

#h-site .q::before {
	display: inline-block;
	width: 30px;
	height: 30px;
	flex: 0 0 30px;
	background: url("../images/equivalab-brand-mark.svg") center / contain no-repeat;
	content: "";
	transition: transform 0.55s var(--seed-ease);
}

#h-site .q:hover::before {
	transform: rotate(180deg);
}

#h-right {
	padding: 25px max(32px, calc((100vw - 1280px) / 2)) 0 20px;
	font-size: 0.8125rem;
}

.profile-dropmenu-menubutton {
	min-height: 38px;
	margin: 0;
	padding: 8px 12px !important;
	border: 1px solid transparent !important;
	border-radius: 999px !important;
	background: var(--seed-surface) !important;
	color: var(--seed-muted);
	box-shadow: 0 1px 2px rgba(43, 55, 73, 0.04), inset 0 0 0 1px rgba(29, 29, 31, 0.025);
}

.profile-dropmenu-menubutton:hover,
.profile-dropmenu-menubutton[aria-expanded="true"] {
	border-color: var(--seed-line) !important;
	background: var(--seed-surface) !important;
	color: var(--seed-ink);
}

.profile-dropmenu-menubutton .licon path {
	stroke: currentColor;
	stroke-width: 1.5;
}

#h-page {
	padding: 8px 0 0 48px;
}

#h-title {
	font-weight: 650;
	letter-spacing: -0.025em;
}

#p-quicklinks {
	margin-top: 8px;
	margin-right: 48px;
	font-size: 0.8125rem;
}

.quicklink-item {
	padding-left: 0.8rem;
}

.dropmenu-container {
	margin-top: 8px;
	max-width: calc(100vw - 24px);
}

.dropmenu-container::before,
.dropmenu-container::after {
	display: none;
}

.dropmenu {
	width: max-content;
	min-width: 220px;
	max-width: min(360px, calc(100vw - 32px));
	padding: 8px;
	border: 1px solid var(--seed-line);
	border-radius: var(--seed-radius);
	background: rgba(255, 255, 255, 0.98);
	box-shadow: var(--seed-shadow);
}

.dropmenu > li {
	box-sizing: border-box;
	padding: 0;
	border-radius: 7px;
	color: var(--seed-ink);
}

.dropmenu > li.focus,
.dropmenu > li:hover,
.dropmenu > li:focus-within {
	background: var(--seed-accent-soft);
	color: var(--seed-ink);
}

.dropmenu > li.focus.focus-disabled {
	background: var(--seed-surface-soft);
	color: var(--seed-subtle);
}

.dropmenu > li[role="separator"] {
	margin: 7px 4px;
	border-color: var(--seed-line);
}

.dropmenu [role="menuitem"] {
	display: block;
	width: 100%;
	box-sizing: border-box;
	padding: 9px 12px;
	overflow: hidden;
	color: inherit;
	text-align: left;
	text-overflow: ellipsis;
	white-space: nowrap;
	text-decoration: none;
}

.dropmenu [role="menuitem"]:hover,
.dropmenu [role="menuitem"]:focus {
	color: inherit;
	text-decoration: none;
}

#h-usermenu {
	min-width: 260px;
	max-width: min(360px, calc(100vw - 32px));
}

/* Page frame */
#p-body,
#p-body.body-home {
	margin-right: auto;
	margin-left: auto;
	padding-right: 32px;
	padding-left: 32px;
}

#p-body:not(.paper):not(.leftmenu) {
	max-width: 1280px;
}

#p-body.body-home {
	max-width: 1280px;
	padding-top: 48px;
}

#p-footer {
	padding: 12px 18px;
	border: 0;
	border-radius: 0;
	background: transparent;
	color: var(--seed-subtle);
	font-size: 0.6875rem;
	letter-spacing: 0.01em;
}

.review-portal-footer {
	color: var(--seed-subtle);
}

/* Home */
#p-page.body-home {
	background:
		radial-gradient(circle at 8% 8%, rgba(218, 230, 249, 0.6), transparent 24rem),
		radial-gradient(circle at 92% 18%, rgba(220, 242, 236, 0.45), transparent 27rem),
		var(--paper);
}

#p-body.body-home > .homegrp:not(.hidden) {
	max-width: 54rem;
	margin-bottom: 2.25rem;
	color: var(--seed-muted);
	font-size: 0.9375rem;
	line-height: 1.65;
}

.home-content {
	display: flex;
	align-items: flex-start;
	gap: clamp(2rem, 4vw, 3.5rem);
}

.home-main {
	flex: 1 1 auto;
	min-width: 0;
}

.avoid-home-sidebar {
	max-width: none;
}

.homegrp {
	margin-bottom: 2rem;
}

h2.home,
h4.home {
	margin-bottom: 1.125rem;
	color: var(--seed-ink);
	font-size: 1rem;
	font-weight: 650;
	letter-spacing: -0.02em;
}

h2.home::after {
	display: none;
}

#homelist h2.home,
#homerev h2.home,
#homeau h2.home {
	display: flex;
	align-items: center;
	gap: 9px;
}

#homelist h2.home::before,
#homerev h2.home::before,
#homeau h2.home::before {
	display: inline-block;
	width: 18px;
	height: 18px;
	flex: 0 0 18px;
	background: currentColor;
	content: "";
	opacity: 0.72;
	-webkit-mask: var(--seed-home-heading-icon) center / contain no-repeat;
	mask: var(--seed-home-heading-icon) center / contain no-repeat;
}

#homelist h2.home {
	--seed-home-heading-icon: var(--seed-icon-search);
}

#homerev h2.home {
	--seed-home-heading-icon: url("../images/equivalab-icon-review.svg");
}

#homeau h2.home {
	--seed-home-heading-icon: url("../images/equivalab-icon-text.svg");
}

.home-sidebar {
	float: none;
	flex: 0 0 18.75rem;
	width: 18.75rem;
	margin-left: 0;
	order: 2;
}

.home-sidebar .homegrp {
	margin-bottom: 16px;
	padding: 24px;
	border: 1px solid rgba(29, 29, 31, 0.06);
	border-radius: 20px;
	background: rgba(255, 255, 255, 0.82);
	box-shadow: 0 1px 2px rgba(43, 55, 73, 0.018);
	backdrop-filter: blur(12px);
}

.home-sidebar .homegrp:nth-child(2n) {
	background: rgba(240, 242, 244, 0.86);
}

.home-sidebar li + li {
	margin-top: 2px;
}

.home-sidebar li > a {
	--seed-sidebar-icon: url("../images/equivalab-icon-overview.svg");
	display: flex;
	width: calc(100% + 12px);
	min-width: 0;
	align-items: center;
	gap: 9px;
	margin-left: -6px;
	padding: 7px 8px;
	border-radius: 8px;
	color: var(--seed-muted);
	text-decoration: none;
	transition: color 140ms ease, background-color 140ms ease;
}

.home-sidebar li > a::before {
	display: inline-block;
	width: 16px;
	height: 16px;
	flex: 0 0 16px;
	background: currentColor;
	content: "";
	opacity: 0.68;
	-webkit-mask: var(--seed-sidebar-icon) center / contain no-repeat;
	mask: var(--seed-sidebar-icon) center / contain no-repeat;
}

.home-sidebar li > a:hover,
.home-sidebar li > a:focus-visible {
	background: rgba(29, 29, 31, 0.045);
	color: var(--seed-ink);
	text-decoration: none;
}

.home-sidebar a[href*="/settings"] {
	--seed-sidebar-icon: var(--seed-icon-settings);
}

.home-sidebar a[href*="/users"] {
	--seed-sidebar-icon: var(--seed-icon-users);
}

.home-sidebar a[href*="/autoassign"] {
	--seed-sidebar-icon: url("../images/equivalab-icon-assign.svg");
}

.home-sidebar a[href*="/mail"] {
	--seed-sidebar-icon: var(--seed-icon-mail);
}

.home-sidebar a[href*="/log"] {
	--seed-sidebar-icon: var(--seed-icon-history);
}

.home-sidebar a[href*="/deadlines"] {
	--seed-sidebar-icon: var(--seed-icon-calendar);
}

.home-sidebar a[href*="/help"] {
	--seed-sidebar-icon: var(--seed-icon-help);
}

.home-sidebar a[href*="/help"]::before {
	display: none;
}

.home-sidebar a[href^="http"] {
	--seed-sidebar-icon: var(--seed-icon-external);
}

.home-main > .homegrp:not(.d-table) {
	padding-top: 4px;
}

#homelist,
#homerev,
#homeau {
	width: auto;
	padding: 28px 30px;
	border: 1px solid rgba(29, 29, 31, 0.06);
	border-radius: 22px;
	background: rgba(255, 255, 255, 0.9);
	box-shadow: var(--seed-shadow-soft);
}

/* Sign in and account flows */
#p-page.body-signin,
#p-page.body-error {
	background:
		radial-gradient(circle at 8% 82%, rgba(222, 239, 235, 0.6), transparent 32rem),
		var(--paper);
}

body.body-signin #p-header {
	border-bottom-color: transparent;
	background: transparent;
}

#p-body.body-signin {
	position: relative;
	display: grid;
	width: min(100%, 1280px);
	min-height: calc(100vh - 160px);
	min-height: calc(100dvh - 160px);
	grid-template-columns: minmax(360px, 0.88fr) minmax(480px, 1.12fr);
	align-items: center;
	gap: clamp(48px, 7vw, 104px);
	padding-top: 32px;
	padding-bottom: 72px;
}

#p-body.body-signin::after {
	display: block;
	min-height: min(560px, calc(100dvh - 230px));
	border-radius: var(--seed-radius-lg);
	background:
		url("../images/equivalab-brand-mark.svg") center / 68px 68px no-repeat,
		radial-gradient(circle at 77% 20%, rgba(172, 205, 255, 0.78), transparent 35%),
		radial-gradient(circle at 60% 80%, rgba(177, 246, 228, 0.72), transparent 34%),
		linear-gradient(125deg, #edf1f5 0%, #e8eef5 45%, #dfe8f4 100%);
	box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.55);
	content: "";
}

#p-body.body-signin > hr.c {
	display: none;
}

.signingrp,
.signingrp.homegrp {
	width: min(100%, 430px);
	max-width: 430px;
	margin: 0 0 0 auto;
	padding: 36px 38px 34px;
	border: 1px solid rgba(29, 29, 31, 0.07);
	border-radius: 24px;
	background: rgba(255, 255, 255, 0.86);
	box-shadow: var(--seed-shadow-soft);
	backdrop-filter: blur(16px);
}

h1.signin {
	margin-bottom: 1.75rem;
	font-size: 1.875rem;
	font-weight: 600;
	letter-spacing: -0.035em;
}

/* Form controls */
input[type="text"],
input[type="email"],
input[type="password"],
input[type="date"],
input[type="number"],
textarea,
.textarea,
select {
	border: 1px solid var(--seed-line-strong);
	border-radius: var(--seed-radius-sm);
	background: var(--seed-surface);
	color: var(--seed-ink);
	box-shadow: 0 1px 1px rgba(18, 20, 28, 0.02);
	transition: border-color 160ms ease, box-shadow 160ms ease, background-color 160ms ease;
}

input[type="text"],
input[type="email"],
input[type="password"],
input[type="date"],
input[type="number"] {
	min-height: 40px;
	padding: 8px 11px;
}

textarea,
.textarea {
	padding: 10px 12px;
	line-height: 1.55;
}

input:hover,
textarea:hover,
.textarea:hover,
select:hover {
	border-color: #bfc2c9;
}

input:focus,
textarea:focus,
.textarea:focus,
select:focus {
	border-color: var(--seed-accent);
	box-shadow: 0 0 0 3px rgba(60, 86, 244, 0.12);
}

input[type="checkbox"],
input[type="radio"] {
	accent-color: var(--seed-accent);
}

.f-i > label,
.f-i > .label,
.f-c {
	margin-bottom: 6px;
	color: var(--seed-muted);
	font-size: 0.8125rem;
	font-weight: 600;
	letter-spacing: 0.005em;
}

fieldset {
	border-color: var(--seed-line);
	border-radius: var(--seed-radius);
}

.select > select {
	min-height: 38px;
	padding: 7px 2.2em 7px 11px;
}

.select::after {
	right: 0.75em;
	border-top-color: var(--seed-muted);
}

button,
.btn {
	min-height: 40px;
	padding: 8px 16px;
	border: 1px solid var(--seed-line-strong);
	border-radius: 999px;
	background: var(--seed-surface);
	background-image: none;
	color: var(--seed-ink);
	font-size: 0.875rem;
	font-weight: 520;
	transition: transform 180ms var(--seed-ease), border-color 160ms ease, background-color 160ms ease, box-shadow 160ms ease;
}

button:hover,
.btn:hover,
select:hover {
	border-color: #c5c7cc;
	background: var(--seed-surface-soft);
	background-image: none;
}

button:active,
.btn:active {
	transform: translateY(1px);
	background: #e8eaed;
	background-image: none;
}

button.link,
button.q,
button.qo,
button.qx {
	min-height: 0;
	padding: 0;
	border: 0;
	border-radius: 0;
	font-weight: inherit;
	transform: none;
}

.btn-default,
.btn-primary,
.btn-success,
input.btn:checked {
	border-color: var(--seed-action);
	background: var(--seed-action);
	background-image: none;
	color: #fff;
	box-shadow: none;
}

.btn-default:hover,
.btn-default:active,
.btn-primary:hover,
.btn-primary:active,
.btn-success:hover,
.btn-success:active,
input.btn:checked:hover,
input.btn:checked:active {
	border-color: var(--seed-action-hover);
	background: var(--seed-action-hover);
	background-image: none;
	color: #fff;
}

.btn-danger {
	border-color: #f0caca;
	background: #fffafa;
	color: var(--seed-danger);
}

.btn-danger:hover,
.btn-danger:active {
	border-color: var(--seed-danger);
	background: var(--seed-danger);
	background-image: none;
	color: #fff;
}

.differs .btn-default,
.differs .btn-primary,
.btn-highlight,
.btn-highlight.btn-danger {
	border-color: var(--seed-accent);
	background: var(--seed-accent);
	background-image: none;
	color: #fff;
}

button:disabled,
.btn:disabled,
button.disabled,
.btn.disabled {
	border-color: var(--seed-line);
	background: #f2f2f1;
	color: var(--seed-subtle);
	box-shadow: none;
	transform: none;
}

.tbtn,
.tbtn:hover,
.tbtn:active {
	width: 36px;
	height: 36px;
	min-height: 36px;
	padding: 0;
	border: 1px solid var(--seed-line-strong);
	border-radius: 50%;
	background: var(--seed-surface) url("../images/equivalab-icon-tracker.svg") center / 18px 18px no-repeat;
	color: transparent;
	font-size: 0;
	box-shadow: none;
}

.tbtn:hover {
	border-color: #c5c7cc;
	background-color: var(--seed-surface-soft);
}

.tbtn-on,
.tbtn-here,
.tbtn-on:hover,
.tbtn-here:hover {
	border-color: #bfc0c5;
	background-color: #e7e7e8;
}

#homeau a.btn[href*="/paper/new"],
#homelist .basic-search,
#m-users a.btn[href*="profile"],
#f-settings button[name="update"] {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 7px;
}

#homeau a.btn[href*="/paper/new"] {
	--seed-action-icon: var(--seed-icon-plus);
}

#homelist .basic-search {
	--seed-action-icon: var(--seed-icon-search);
}

#m-users a.btn[href*="profile"] {
	--seed-action-icon: url("../images/equivalab-icon-assign.svg");
}

#f-settings button[name="update"] {
	--seed-action-icon: var(--seed-icon-check);
}

#homeau a.btn[href*="/paper/new"]::before,
#homelist .basic-search::before,
#m-users a.btn[href*="profile"]::before,
#f-settings button[name="update"]::before {
	display: inline-block;
	width: 15px;
	height: 15px;
	flex: 0 0 15px;
	background: currentColor;
	content: "";
	opacity: 0.76;
	-webkit-mask: var(--seed-action-icon) center / contain no-repeat;
	mask: var(--seed-action-icon) center / contain no-repeat;
}

.aab {
	margin-top: 1.5rem;
}

/* Messages */
.msg {
	padding: 14px 17px;
	border: 1px solid var(--seed-line);
	border-radius: var(--seed-radius);
	box-shadow: 0 1px 2px rgba(43, 55, 73, 0.02);
}

.msg.msg-confirm,
.msg.msg-success {
	border-color: #b9dfcf;
	background: #f0faf6;
}

.msg.msg-warning {
	border-color: #ead9a2;
	background: #fffaf0;
}

.msg.msg-error {
	border-color: #efc4c4;
	background: #fff6f6;
}

/* Tables and searchable paper lists */
.pltable {
	border: 1px solid rgba(29, 29, 31, 0.075);
	border-radius: 16px;
	background: var(--seed-surface);
	box-shadow: 0 8px 24px rgba(43, 55, 73, 0.035);
	border-collapse: separate;
	overflow: hidden;
}

#m-users .users-table-scroll {
	width: 100%;
	max-width: 100%;
	box-sizing: border-box;
	overflow-x: auto;
	overflow-y: hidden;
	overscroll-behavior-inline: contain;
	scrollbar-gutter: stable;
}

tr.pl > td,
tr.plheading > td,
tr.pl_headrow > th,
tr.pl_headrow > td {
	border-bottom-color: var(--seed-line);
}

tr.pl {
	transition: background-color 140ms ease;
}

tr.pl:hover {
	background: #f4f6f8;
}

tr.plheading {
	background: #f3f4f6;
}

.pltable-thead {
	color: var(--seed-muted);
	font-size: 0.75rem;
	letter-spacing: 0.01em;
}

tr.pl_headrow > th,
tr.pl_headrow > td {
	font-weight: 600;
}

a.ptitle {
	color: var(--seed-ink);
	font-weight: 620;
}

.pnum {
	color: var(--seed-subtle);
	font-variant-numeric: tabular-nums;
}

.ctelt {
	padding: 6px;
}

.ctelti {
	border: 1px solid var(--seed-line);
	border-radius: 10px;
	background: var(--seed-surface);
}

/* Submission and review workspace */
#p-page.paper {
	background: linear-gradient(to right, var(--submission-bg), var(--submission-bg) 17.5rem, var(--paper) 17.5rem, var(--paper));
}

body.paper #p-header {
	min-height: 112px;
	padding-bottom: 8px;
	border-bottom: 1px solid var(--seed-line);
	background: rgba(247, 247, 248, 0.92);
}

#h-page.header-page-submission {
	top: 10px;
	margin-bottom: 10px;
	border-top: 1px solid var(--seed-line);
	border-bottom: 1px solid var(--seed-line);
	background: rgba(255, 255, 255, 0.9);
	backdrop-filter: blur(14px);
}

h1.paptitle {
	padding: 13px 48px;
	font-size: 1.1875rem;
	font-weight: 650;
	letter-spacing: -0.018em;
}

.submission-modes {
	padding: 16px 0 0 48px;
}

.submission-modes > ul {
	display: flex;
	align-items: center;
	gap: 32px;
}

.papmode {
	display: block;
	margin: 0;
	padding: 0 0 13px;
	border: 0;
	font-size: 0.8125rem;
	font-weight: 520;
}

.papmode.active {
	margin: 0;
	padding: 0 0 11px;
	border: 0;
	border-bottom: 2px solid var(--seed-action);
	border-radius: 0;
	background: transparent;
	color: var(--seed-ink);
}

.papmode:first-child,
.papmode.active:first-child {
	margin-left: 0;
	padding-left: 0;
}

.papmode > a {
	display: inline-flex;
	align-items: center;
	gap: 7px;
	color: var(--seed-muted);
	transition: color 160ms ease;
}

.papmode.active > a {
	color: var(--seed-ink);
	font-weight: 600;
}

.papmode u {
	text-decoration: none;
}

.papmode img,
.papmodeimg {
	position: static;
	bottom: auto;
	width: 18px;
	height: 18px;
	margin: 0;
	vertical-align: middle;
}

.papmodeimg {
	filter: none;
	opacity: 0.56;
}

.papmode.active .papmodeimg {
	opacity: 1;
}

img.dlimg,
img.sdlimg {
	position: static;
	flex: 0 0 auto;
	margin: 0;
	object-fit: contain;
	vertical-align: middle;
}

img.dlimg[src$=".svg"] {
	width: 20px;
	height: 20px;
	max-width: 20px;
	max-height: 20px;
}

img.sdlimg[src$=".svg"] {
	width: 14px;
	height: 14px;
	max-width: 14px;
	max-height: 14px;
}

.revlink {
	display: inline-flex;
	align-items: center;
	gap: 4px;
}

.revlink u {
	text-decoration: none;
	border-bottom: 1px solid var(--seed-line-strong);
}

.pspcard {
	padding: 26px 20px 28px 32px;
	border-right: 1px solid var(--seed-line);
	background: var(--submission-sidebar-bg);
	color: var(--seed-ink);
}

.psc {
	margin-bottom: 18px;
}

.psc + .psc {
	padding-top: 18px;
	border-top: 1px solid var(--seed-line);
}

.pavfn,
.pavfn a.q,
.psfn,
.psfn a.q {
	color: #3e4148;
	font-size: 0.8125rem;
	font-weight: 620;
	letter-spacing: -0.005em;
}

.pshint {
	color: var(--seed-muted);
	font-size: 0.75rem;
	line-height: 1.45;
}

.pcard {
	padding-top: 30px;
}

.papcard,
.notecard {
	padding-top: 30px;
}

.papcard > #foldpaper,
.papcard > form,
.notecard > form {
	max-width: 1080px;
}

.pcard + .papcard,
.pcard + .notecard,
.s-review {
	border-top: 1px solid var(--seed-line);
}

.notecard {
	padding-bottom: 24px;
	background: var(--seed-surface);
}

.papcard h2,
.notecard h2,
.pedcard-head h2,
.revcard-head h2,
h2.revcard-head {
	color: var(--seed-ink);
	font-weight: 620;
	letter-spacing: -0.015em;
}

.pedcard-header-name,
.revcard-header-name {
	border-bottom: 1.5px solid var(--seed-action);
}

.pedcard-head {
	margin-bottom: 1.5rem;
}

.pf.s-sf {
	margin-bottom: 2rem;
}

.pfehead,
.pfehead .field-title,
.pfehead label {
	color: #30333a;
	font-size: 0.9375rem;
	font-weight: 650;
	letter-spacing: -0.008em;
}

.papev {
	margin-top: 0.625rem;
}

.paperinfo {
	gap: clamp(28px, 5vw, 72px);
}

.paperinfo-abstract .pavb {
	color: #34373d;
	font-size: 0.9375rem;
	line-height: 1.65;
}

.author-entry {
	margin-bottom: 6px;
}

.author-entry input[type="text"] {
	min-height: 38px;
}

.review-meta-label {
	display: inline-flex;
	align-items: center;
	min-height: 24px;
	margin-left: 9px;
	padding: 2px 9px;
	border: 1px solid var(--seed-line-strong);
	border-radius: 999px;
	background: var(--seed-surface);
	color: var(--seed-muted);
	font-size: 0.72rem;
	font-weight: 600;
	letter-spacing: 0.015em;
	line-height: 1.25;
	vertical-align: 0.16em;
}

.revcard-head {
	margin-top: 2rem;
	margin-bottom: 1.25rem;
}

.s-rf,
.rge {
	margin-bottom: 36px;
	padding: 22px 24px;
	border: 1px solid rgba(29, 29, 31, 0.075);
	border-radius: 18px;
	background: var(--seed-surface);
	box-shadow: var(--seed-shadow-soft);
}

.s-rf-head {
	color: var(--seed-ink);
}

.field-visibility {
	color: var(--seed-subtle);
}

.pstat {
	display: inline-flex;
	align-items: center;
	gap: 5px;
	min-height: 28px;
	padding: 4px 10px;
	border-radius: 999px;
	background: var(--seed-surface-soft);
	font-size: 0.8125rem;
	font-weight: 650;
}

.pstat.dec-yes,
.pstat.ps-submitted {
	background: #eaf7f1;
	color: var(--seed-success);
}

.pstat.dec-no,
.pstat.ps-withdrawn {
	background: #fff0f0;
	color: var(--seed-danger);
}

.pstat.dec-yes::before,
.pstat.ps-submitted::before,
.pstat.dec-no::before,
.pstat.ps-withdrawn::before {
	display: inline-block;
	width: 13px;
	height: 13px;
	flex: 0 0 13px;
	background: currentColor;
	content: "";
	opacity: 0.86;
	-webkit-mask: var(--seed-status-icon) center / contain no-repeat;
	mask: var(--seed-status-icon) center / contain no-repeat;
}

.pstat.dec-yes,
.pstat.ps-submitted {
	--seed-status-icon: var(--seed-icon-check);
}

.pstat.dec-no,
.pstat.ps-withdrawn {
	--seed-status-icon: var(--seed-icon-close);
}

.settings-xf,
.settings-xf-viewbox,
.mail-preview-send,
.mail-editor {
	border-color: var(--seed-line);
	border-radius: 18px;
	background: var(--seed-surface);
	box-shadow: 0 8px 28px rgba(43, 55, 73, 0.035);
}

/* Settings and help left navigation */
#p-page.leftmenu {
	--seed-leftmenu-edge: 224px;
	background: linear-gradient(to right, var(--seed-surface-soft), var(--seed-surface-soft) var(--seed-leftmenu-edge), var(--paper) var(--seed-leftmenu-edge), var(--paper));
}

.leftmenu-left {
	width: 192px;
}

.leftmenu-menu {
	padding-left: 24px;
}

.leftmenu-item {
	max-width: calc(100% - 14px);
	box-sizing: border-box;
	min-height: 36px;
	margin: 2px 14px 2px 0;
	border-radius: var(--seed-radius-sm);
	transition: background-color 140ms ease;
}

.leftmenu-item > a {
	display: block;
	min-width: 0;
	padding: 7px 8px;
	overflow-wrap: anywhere;
}

.leftmenu-item.active,
.leftmenu-item:hover {
	background: rgba(29, 29, 31, 0.055);
}

.leftmenu-item.active {
	border-color: rgba(29, 29, 31, 0.075);
	background: rgba(255, 255, 255, 0.88);
	box-shadow: 0 5px 18px rgba(43, 55, 73, 0.055);
}

.leftmenu-item-on > a {
	color: var(--seed-ink);
	font-weight: 650;
}

#m-settings .leftmenu-item {
	--seed-settings-icon: url("../images/equivalab-icon-overview.svg");
	display: flex;
	align-items: center;
	gap: 9px;
	padding-left: 8px;
}

#m-settings .leftmenu-item::before {
	display: inline-block;
	width: 16px;
	height: 16px;
	flex: 0 0 16px;
	background: currentColor;
	content: "";
	opacity: 0.58;
	-webkit-mask: var(--seed-settings-icon) center / contain no-repeat;
	mask: var(--seed-settings-icon) center / contain no-repeat;
}

#m-settings .leftmenu-item > a {
	flex: 1 1 auto;
	padding-left: 0;
}

#m-settings .leftmenu-item:hover::before,
#m-settings .leftmenu-item.active::before {
	opacity: 0.82;
}

#m-settings .leftmenu-item:nth-child(2) {
	--seed-settings-icon: var(--seed-icon-users);
}

#m-settings .leftmenu-item:nth-child(3) {
	--seed-settings-icon: var(--seed-icon-mail);
}

#m-settings .leftmenu-item:nth-child(4) {
	--seed-settings-icon: var(--seed-icon-calendar);
}

#m-settings .leftmenu-item:nth-child(5) {
	--seed-settings-icon: url("../images/equivalab-icon-text.svg");
}

#m-settings .leftmenu-item:nth-child(6) {
	--seed-settings-icon: url("../images/equivalab-icon-review.svg");
}

#m-settings .leftmenu-item:nth-child(7) {
	--seed-settings-icon: url("../images/equivalab-icon-edit.svg");
}

#m-settings .leftmenu-item:nth-child(8) {
	--seed-settings-icon: var(--seed-icon-tag);
}

#m-settings .leftmenu-item:nth-child(9) {
	--seed-settings-icon: var(--seed-icon-check);
}

#m-settings .leftmenu-item:nth-child(10) {
	--seed-settings-icon: var(--seed-icon-settings);
}

.leftmenu-content {
	max-width: 1100px;
	padding-top: 38px;
	padding-right: 40px;
	padding-left: 54px;
}

.leftmenu-content h2.leftmenu {
	color: var(--seed-ink);
	font-size: 1.75rem;
	font-weight: 600;
	letter-spacing: -0.035em;
}

.leftmenu-content .form-h {
	color: #3d4047;
	font-weight: 620;
	letter-spacing: -0.015em;
}

.leftmenu-content .form-section {
	margin-bottom: 2.75rem;
}

/* Restrained page entrance motion. */
.home-content,
.signingrp,
.s-paper,
.leftmenu-content {
	animation: seed-enter 420ms cubic-bezier(0.22, 1, 0.36, 1) both;
}

@keyframes seed-enter {
	from {
		opacity: 0;
		transform: translateY(8px);
	}
	to {
		opacity: 1;
		transform: translateY(0);
	}
}

@media screen and (max-width: 900px) {
	#p-page.leftmenu {
		--seed-leftmenu-edge: 214px;
	}

	#p-body.body-signin {
		display: flex;
		width: min(100%, 560px);
		justify-content: center;
	}

	#p-body.body-signin::after {
		display: none;
	}

	.signingrp,
	.signingrp.homegrp {
		margin-right: auto;
		margin-left: auto;
	}

	#h-site {
		padding-left: 28px;
	}

	#h-right {
		padding-right: 28px;
	}

	#p-body,
	#p-body.body-home {
		padding-right: 24px;
		padding-left: 24px;
	}

	.home-sidebar {
		flex-basis: 17rem;
		width: 17rem;
	}

	#p-quicklinks {
		margin-right: 20px;
	}

	h1.paptitle {
		padding-right: 20px;
		padding-left: 20px;
	}
}

@media screen and (max-width: 768px) {
	body {
		background: var(--paper);
	}

	#p-header {
		min-height: 76px;
	}

	#h-site {
		padding-top: 20px;
		padding-left: 20px;
	}

	#h-site > h1,
	.header-site-name {
		font-size: 1.0625rem;
	}

	#h-site .q {
		gap: 8px;
	}

	#h-site .q::before {
		width: 26px;
		height: 26px;
		flex-basis: 26px;
	}

	#h-right {
		width: 58%;
		max-width: 58%;
		padding-top: 13px;
		padding-right: 16px;
	}

	#h-right .dropmenu-details {
		max-width: 100%;
	}

	.profile-dropmenu-menubutton {
		display: inline-flex;
		width: 100%;
		max-width: 100%;
		align-items: center;
		justify-content: flex-end;
		padding: 6px 8px !important;
		overflow: hidden;
		text-overflow: ellipsis;
		font-size: 0.75rem;
	}

	#p-page.paper,
	#p-page.leftmenu {
		background: var(--paper);
	}

	#p-body,
	#p-body.paper,
	#p-body.body-home {
		margin-right: 0;
		margin-left: 0;
		padding-right: 16px;
		padding-left: 16px;
	}

	#p-body.paper {
		padding-right: 0;
		padding-left: 0;
	}

	#p-body.body-home {
		padding-top: 32px;
	}

	#m-users .tlcontainer,
	#m-users .tld,
	#m-users .tld > form {
		width: 100%;
		max-width: 100%;
	}

	#m-users #default .select,
	#m-users #default .select > select {
		width: 100%;
		max-width: 100%;
	}

	#m-users #view {
		overflow-x: auto;
		overflow-y: hidden;
	}

	.home-sidebar {
		flex-basis: auto;
		width: auto;
		margin-left: 0;
	}

	.home-content {
		gap: 0;
	}

	.home-main {
		width: 100%;
		max-width: 100%;
	}

	.home-main a {
		overflow-wrap: anywhere;
	}

	#homeau .pltable {
		width: 100%;
		max-width: 100%;
		table-layout: fixed;
	}

	#homelist {
		display: block !important;
		width: 100%;
		max-width: 100%;
		box-sizing: border-box;
	}

	#homeau td.pl_id {
		width: 1.8rem;
	}

	#homeau td.pl_title {
		width: auto;
		min-width: 0;
		overflow-wrap: anywhere;
	}

	#homeau td.pl_status {
		width: 6rem;
	}

	.pltable-reviewerhome {
		width: 100%;
		max-width: 100%;
		table-layout: fixed;
	}

	.pltable-reviewerhome .pl_id {
		width: 1.8rem;
	}

	.pltable-reviewerhome .pl_title {
		width: auto;
		min-width: 0;
		overflow-wrap: anywhere;
	}

	.pltable-reviewerhome .pl_status {
		width: 5.5rem;
	}

	.pltable-reviewerhome .pl_revtype {
		width: 3rem;
	}

	.home-sidebar .homegrp,
	#homelist,
	#homerev,
	#homeau {
		padding: 20px;
		border-radius: 20px;
	}

	.signingrp,
	.signingrp.homegrp {
		padding: 30px 24px;
		border-radius: 22px;
	}

	#p-body.body-signin {
		min-height: calc(100dvh - 132px);
		padding-top: 16px;
		padding-bottom: 44px;
	}

	body.paper #p-header {
		min-height: auto;
	}

	#h-page.header-page-submission {
		top: 8px;
		margin-bottom: 8px;
	}

	h1.paptitle {
		padding: 10px 16px;
	}

	.submission-modes {
		padding-left: 16px;
	}

	.pspcard {
		padding: 14px 16px;
		border-right: 0;
		border-bottom: 1px solid var(--seed-line);
	}

	.pcard-left {
		margin-right: 0;
		margin-left: 0;
	}

	.pcard {
		margin-right: 0;
		margin-left: 0;
		padding-right: 20px;
		padding-left: 20px;
		padding-top: 20px;
	}

	.pcard .demargin {
		margin-right: -20px;
		margin-left: -20px;
	}

	.pcard .remargin-left {
		padding-left: 20px;
	}

	.pcard .remargin-right {
		padding-right: 20px;
	}

	.s-rf,
	.rge {
		padding: 16px;
	}

	.leftmenu-content {
		padding: 24px 16px;
	}

	#p-footer {
		padding: 5px 8px;
	}
}

@media screen and (max-width: 560px) {
	#h-site {
		float: none;
		width: auto;
		max-width: none;
		padding-right: 20px;
	}

	#h-site > h1 {
		display: block;
		overflow-wrap: anywhere;
	}

	#h-right {
		float: none;
		width: auto;
		max-width: none;
		padding: 2px 16px 0;
	}
}

@media (prefers-reduced-motion: reduce) {
	html {
		scroll-behavior: auto;
	}

	*,
	*::before,
	*::after {
		scroll-behavior: auto !important;
		animation-duration: 0.01ms !important;
		animation-iteration-count: 1 !important;
		transition-duration: 0.01ms !important;
	}
}

@media print {
	body,
	#p-page,
	#p-page.paper,
	#p-page.leftmenu {
		background: #fff !important;
	}

	#p-header,
	.pcard + .papcard,
	.pcard + .notecard,
	.s-review {
		border-color: #bbb !important;
	}

	.home-content,
	.signingrp,
	.s-paper,
	.leftmenu-content {
		animation: none !important;
	}
}
