:root {
	--blue: #2271b1;
	--blue-dark: #135e96;
	--border: #dcdcde;
	--canvas: #f6f7f7;
	--ink: #1d2327;
	--muted: #646970;
	--success: #008a20;
	--danger: #d63638;
}

* { box-sizing: border-box; }

body {
	margin: 0;
	background: var(--canvas);
	color: var(--ink);
	font: 14px/1.5 -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
}

button,
input { font: inherit; }

h1,
h2,
p { margin-top: 0; }

h1 { margin-bottom: 4px; font-size: 24px; }
h2 { margin-bottom: 6px; font-size: 17px; }
.muted { margin-bottom: 0; color: var(--muted); }

.login-shell {
	display: grid;
	min-height: 100vh;
	place-items: center;
	padding: 24px;
}

.login-panel {
	width: min(100%, 380px);
	padding: 32px;
	background: #fff;
	border: 1px solid var(--border);
	border-radius: 8px;
	box-shadow: 0 1px 3px rgba(0, 0, 0, .05);
}

.brand-mark {
	display: grid;
	width: 42px;
	height: 42px;
	margin-bottom: 18px;
	place-items: center;
	border-radius: 6px;
	background: var(--blue);
	color: #fff;
	font-size: 20px;
	font-weight: 700;
}

.brand-mark.is-small {
	width: 30px;
	height: 30px;
	margin: 0;
	font-size: 15px;
}

label {
	display: block;
	margin: 18px 0 6px;
	font-weight: 600;
}

input[type="text"],
input[type="password"] {
	width: 100%;
	height: 40px;
	padding: 7px 10px;
	border: 1px solid #8c8f94;
	border-radius: 4px;
	background: #fff;
}

input:focus {
	border-color: var(--blue);
	box-shadow: 0 0 0 1px var(--blue);
	outline: 0;
}

.button {
	min-height: 38px;
	padding: 7px 14px;
	border: 1px solid transparent;
	border-radius: 4px;
	cursor: pointer;
	font-weight: 600;
}

.button.is-primary { background: var(--blue); color: #fff; }
.button.is-primary:hover { background: var(--blue-dark); }
.button.is-secondary { border-color: var(--border); background: #fff; color: var(--ink); }
.button.is-full { width: 100%; margin-top: 24px; }

.notice {
	margin: 20px 0;
	padding: 11px 13px;
	border-left: 4px solid var(--blue);
	background: #fff;
}

.notice.is-error { border-color: var(--danger); background: #fcf0f1; }
.notice.is-success { border-color: var(--success); background: #edfaef; }

.app-header {
	background: #fff;
	border-bottom: 1px solid var(--border);
}

.app-header-inner,
.app-shell {
	width: min(1180px, calc(100% - 40px));
	margin: 0 auto;
}

.app-header-inner {
	display: flex;
	height: 64px;
	align-items: center;
	justify-content: space-between;
}

.brand { display: flex; align-items: center; gap: 10px; font-size: 16px; }
.app-shell { padding: 32px 0 48px; }

.page-heading,
.section-heading,
.upload-panel,
.upload-form {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 20px;
}

.status { display: inline-flex; align-items: center; gap: 7px; color: var(--muted); }
.status span { width: 8px; height: 8px; border-radius: 50%; background: var(--success); }

.panel {
	margin-top: 24px;
	padding: 24px;
	background: #fff;
	border: 1px solid var(--border);
	border-radius: 8px;
}

.panel.compact { max-width: 900px; }
.upload-form { justify-content: flex-end; }
.file-field { display: flex; align-items: center; gap: 10px; margin: 0; font-weight: 400; }
.file-field span { white-space: nowrap; }

.form-grid {
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: 16px;
	align-items: end;
}

.form-grid label { margin-top: 12px; }
.form-action { grid-column: 1 / -1; }

.release-section { margin-top: 32px; }
.section-heading { margin-bottom: 12px; }
.section-heading h2 { margin: 0; }
.section-heading span { color: var(--muted); }

.table-wrap {
	overflow-x: auto;
	background: #fff;
	border: 1px solid var(--border);
	border-radius: 8px;
}

table { width: 100%; border-collapse: collapse; }
th, td { padding: 14px 16px; border-bottom: 1px solid #eee; text-align: left; vertical-align: middle; }
th { background: #f9f9f9; color: #50575e; font-size: 12px; text-transform: uppercase; }
tbody tr:last-child td { border-bottom: 0; }
td code { display: block; margin-top: 2px; color: var(--muted); }
td a { color: var(--blue); font-weight: 600; text-decoration: none; }
td small { display: block; color: var(--muted); }
.version { display: inline-block; min-width: 58px; font-weight: 700; }
.empty { padding: 28px; color: var(--muted); text-align: center; }

@media (max-width: 760px) {
	.app-header-inner,
	.app-shell { width: min(100% - 24px, 1180px); }
	.page-heading,
	.upload-panel,
	.upload-form { align-items: stretch; flex-direction: column; }
	.upload-form { width: 100%; }
	.file-field { align-items: flex-start; flex-direction: column; }
	.form-grid { grid-template-columns: 1fr; }
	.button { width: 100%; }
}

