/*
====================================================
ファイル	admin.css 【管理画面スタイル】
作成者		chikara
作成日		2026/10/26
修正履歴	レイアウト管理・DB保存対応
		2026/10/27 セットアップ・ログアウトを左メニュー最下部へ移動
		端末管理・レイアウト割り当てに対応
		素材管理・アップロード連携を追加
====================================================
*/

:root {
	color-scheme: light;
	--ink: #243247;
	--muted: #7b8799;
	--line: #e7ebf1;
	--teal: #087e82;
	--nav: #172638;
	--bg: #f4f6f9;
}

* {
	box-sizing: border-box;
}

body {
	margin: 0;
	color: var(--ink);
	background: var(--bg);
	font-family: -apple-system, BlinkMacSystemFont, "Hiragino Kaku Gothic ProN", "Yu Gothic", sans-serif;
	font-size: 13px;
	line-height: 1.65;
}

button,
input,
select {
	font: inherit;
}

button,
a,
input,
select {
	-webkit-tap-highlight-color: transparent;
}

button {
	cursor: pointer;
}

button:disabled {
	opacity: .35;
	cursor: default;
}

a {
	color: inherit;
	text-decoration: none;
}

button:focus-visible,
a:focus-visible,
input:focus-visible,
select:focus-visible {
	outline: 3px solid #43bbc0;
	outline-offset: 3px;
}

[hidden] {
	display: none !important;
}

.app-shell {
	display: flex;
	min-height: 100vh;
}

.sidebar {
	width: 222px;
	flex-shrink: 0;
	background: var(--nav);
	color: #dce5ef;
	padding: 30px 18px;
	position: fixed;
	inset: 0 auto 0 0;
	display: flex;
	flex-direction: column;
}

.brand {
	display: flex;
	gap: 11px;
	align-items: center;
	padding: 0 9px 38px;
	font-size: 22px;
	letter-spacing: 2px;
	font-weight: 750;
	color: white;
}

.brand small {
	display: block;
	font-size: 10px;
	font-weight: 400;
	letter-spacing: .5px;
	color: #9dacbf;
}

.brand-mark {
	font-size: 35px;
	line-height: 1;
	color: #4ad0c5;
}

.nav-label {
	padding: 0 14px 12px;
	color: #8798ae;
	font-size: 10px;
	letter-spacing: 1px;
}

.nav-item {
	display: flex;
	align-items: center;
	gap: 12px;
	margin: 5px 0;
	padding: 12px 14px;
	border-radius: 7px;
	font-size: 12px;
}

.nav-item>span {
	font-size: 18px;
	line-height: 1;
}

.nav-item.active {
	background: #25434e;
	color: #7ce2d5;
	border-left: 3px solid #59cfc3;
	padding-left: 11px;
}

.nav-item small {
	font-size: 9px;
	margin-left: auto;
	color: #8e9caf;
}

.unavailable {
	color: #98a8ba;
}

.sidebar-note {
	margin-top: auto;
	padding: 20px 12px 0;
	border-top: 1px solid #304052;
	font-size: 11px;
	color: #b5c3d2;
}

.sidebar-note p {
	margin: 8px 0 0;
	color: #8e9fb3;
	font-size: 11px;
}

.status-dot {
	display: inline-block;
	width: 6px;
	height: 6px;
	border-radius: 50%;
	background: #edbb61;
	margin-right: 4px;
}

.workspace {
	margin-left: 222px;
	min-width: 0;
	width: calc(100% - 222px);
}

.topbar {
	height: 65px;
	background: white;
	border-bottom: 1px solid var(--line);
	padding: 0 34px;
	display: flex;
	justify-content: space-between;
	align-items: center;
	font-size: 11px;
	color: var(--muted);
}

.topbar strong {
	font-weight: 500;
	color: var(--ink);
}

.separator {
	padding: 0 13px;
	color: #bdc5d0;
}

.mode-badge {
	background: #f1f5f8;
	padding: 4px 12px;
	border-radius: 4px;
	color: #64758a;
}

main {
	max-width: 1560px;
	margin: auto;
	padding: 30px 34px 36px;
}

.page-heading {
	display: flex;
	justify-content: space-between;
	gap: 20px;
	align-items: center;
	margin-bottom: 24px;
}

.eyebrow {
	font-size: 9px;
	letter-spacing: 2px;
	color: var(--teal);
	font-weight: 750;
	margin: 0 0 6px;
}

h1 {
	font-size: 25px;
	letter-spacing: .5px;
	line-height: 1.4;
	margin: 0;
	font-weight: 700;
}

.page-heading p:not(.eyebrow) {
	margin: 8px 0 0;
	font-size: 12px;
	color: var(--muted);
}

.heading-actions {
	display: flex;
	gap: 9px;
}

.button {
	border: 1px solid transparent;
	border-radius: 5px;
	padding: 9px 17px;
	font-size: 12px;
	font-weight: 600;
	white-space: nowrap;
	transition: background .15s;
}

.primary {
	color: white;
	background: var(--teal);
}

.primary:hover {
	background: #056467;
}

.secondary {
	background: white;
	border-color: #dbe1e9;
	color: #41536a;
}

.secondary:hover {
	background: #f3f7f8;
}

.small {
	font-size: 11px;
	padding: 6px 11px;
}

.notice {
	padding: 12px 15px;
	display: flex;
	gap: 9px;
	align-items: center;
	border: 1px solid #dce8ed;
	background: #eef5f8;
	color: #5c7587;
	border-radius: 6px;
	margin-bottom: 23px;
	font-size: 11px;
}

#save-status {
	margin-left: auto;
	white-space: nowrap;
	color: #536a7c;
}

.editor-grid {
	display: grid;
	grid-template-columns: minmax(0, 1fr) 302px;
	gap: 20px;
}

.panel {
	background: white;
	border: 1px solid var(--line);
	border-radius: 8px;
	overflow: hidden;
	box-shadow: 0 2px 3px #23344c03;
}

.panel-heading {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 10px;
	padding: 17px 21px;
	border-bottom: 1px solid var(--line);
}

h2 {
	font-size: 13px;
	margin: 0;
	font-weight: 700;
}

.muted {
	color: var(--muted);
	font-size: 11px;
}

.step-number {
	font-size: 11px;
	color: #b5c0cd;
}

.preview-board {
	height: 335px;
	background-color: #e9edf2;
	background-image: radial-gradient(#c7d0db .7px, transparent .7px);
	background-size: 12px 12px;
	display: flex;
	align-items: center;
	justify-content: center;
	padding: 26px;
	overflow: hidden;
}

#preview-stage {
	position: relative;
	box-shadow: 0 6px 19px #1726382b;
	flex-shrink: 0;
	overflow: hidden;
}

.preview-zone {
	position: absolute;
	display: flex;
	flex-direction: column;
	justify-content: center;
	align-items: center;
	gap: 4px;
	border: 1px dashed #829ab1;
	color: #d4e5ef;
	background: #36556699;
	font-size: 11px;
	overflow: hidden;
	padding: 3px;
}

.preview-zone.selected {
	border: 2px solid #49ccbe;
	background: #1e665f99;
	color: #a6f5e7;
}

.preview-zone small {
	font-size: 9px;
}

.preview-zone span {
	max-width: 100%;
	overflow: hidden;
	text-overflow: ellipsis;
	white-space: nowrap;
}

.preview-clock {
	position: absolute;
	color: white;
	pointer-events: none;
	z-index: 2147483647;
	white-space: nowrap;
}

.preview-footer {
	display: flex;
	justify-content: space-between;
	gap: 10px;
	padding: 12px 19px;
	font-size: 10px;
	color: var(--muted);
}

.legend-dot {
	display: inline-block;
	width: 6px;
	height: 6px;
	background: #26a79e;
	margin-right: 7px;
}

form label {
	display: flex;
	flex-direction: column;
	gap: 6px;
	font-size: 11px;
	font-weight: 600;
	min-width: 0;
}

input:not([type=checkbox]),
select {
	width: 100%;
	min-width: 0;
	border: 1px solid #dce2e9;
	border-radius: 5px;
	padding: 8px 10px;
	background: white;
	color: #34465b;
	font-size: 12px;
	height: 36px;
}

input[type=color] {
	width: 47px;
	height: 28px;
	padding: 3px;
}

input[type=checkbox] {
	accent-color: var(--teal);
	width: 14px;
	height: 14px;
}

.settings-panel form {
	padding: 20px;
	display: flex;
	flex-direction: column;
	gap: 16px;
}

.field-row {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 12px;
}

.color-field {
	flex-direction: row;
	align-items: center;
	justify-content: space-between;
}

.divider {
	height: 1px;
	background: var(--line);
	margin: 1px 0;
}

.check-field {
	flex-direction: row;
	align-items: center;
	gap: 8px;
	font-weight: 400;
}

.check-field span {
	margin-left: auto;
	color: var(--muted);
	font-size: 10px;
}

.zones-panel {
	grid-column: 1/-1;
}

.count {
	font-weight: 400;
	background: #eff3f6;
	border-radius: 4px;
	font-size: 10px;
	padding: 2px 7px;
	margin-left: 5px;
}

.zone-tabs {
	display: flex;
	gap: 7px;
	padding: 16px 21px 0;
	overflow: auto;
}

.zone-tab {
	border: 1px solid #e1e6ec;
	background: white;
	border-radius: 5px;
	font-size: 11px;
	padding: 7px 13px;
	white-space: nowrap;
	color: #68798d;
}

.zone-tab.selected {
	color: var(--teal);
	background: #edf7f6;
	border-color: #a6d6d0;
}

.zone-fields {
	display: grid;
	grid-template-columns: 1.7fr repeat(4, 1fr) 1.4fr;
	gap: 12px;
	padding: 17px 21px 24px;
}

.content-heading {
	border-top: 1px solid var(--line);
	padding: 19px 21px 14px;
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 12px;
}

h3 {
	font-size: 12px;
	margin: 0;
}

.content-heading p {
	font-size: 10px;
	color: var(--muted);
	margin: 4px 0 0;
}

.table-scroll {
	overflow: auto;
	padding: 0 21px;
}

table {
	width: 100%;
	border-collapse: collapse;
	text-align: left;
	white-space: nowrap;
	font-size: 12px;
}

th {
	font-weight: 500;
	font-size: 10px;
	background: #f6f8fa;
	color: #7c899a;
	padding: 9px 12px;
}

td {
	padding: 12px;
	border-bottom: 1px solid #edf0f4;
}

td:first-child {
	color: #8c99a9;
	width: 65px;
}

.file-label {
	display: flex;
	align-items: center;
	gap: 10px;
}

.file-icon {
	display: inline-flex;
	width: 31px;
	height: 31px;
	align-items: center;
	justify-content: center;
	background: #edf5f5;
	color: #2e918d;
	border-radius: 5px;
	font-size: 17px;
}

.file-label small {
	display: block;
	color: var(--muted);
	font-size: 9px;
}

.type-badge {
	padding: 3px 7px;
	border-radius: 4px;
	font-size: 10px;
	background: #f0f3f8;
	color: #6a7d94;
}

.row-actions {
	display: flex;
	gap: 7px;
}

.row-actions button {
	border: 1px solid #e4e8ee;
	background: white;
	border-radius: 4px;
	padding: 3px 8px;
	color: #687a90;
	font-size: 11px;
}

.row-actions .danger,
.danger {
	color: #b25a5a;
}

.text-button {
	border: 0;
	background: transparent;
	padding: 4px;
	font-size: 11px;
}

.zone-footer {
	display: flex;
	justify-content: space-between;
	align-items: center;
	gap: 12px;
	padding: 15px 21px;
}

.zone-footer .muted {
	font-size: 10px;
}

.export-bar {
	display: flex;
	justify-content: space-between;
	align-items: center;
	gap: 15px;
	margin-top: 22px;
	padding: 20px 23px;
	background: #eaf0f4;
	border-radius: 7px;
}

.export-bar strong {
	font-size: 12px;
}

.export-bar p {
	margin: 3px 0 0;
	color: var(--muted);
	font-size: 11px;
}

.export-bar button span {
	padding-left: 12px;
}

dialog {
	border: 1px solid var(--line);
	padding: 24px;
	border-radius: 10px;
	max-width: 440px;
	width: calc(100% - 30px);
	color: var(--ink);
	box-shadow: 0 20px 80px #17263833;
}

dialog::backdrop {
	background: #17263866;
}

dialog form {
	display: flex;
	flex-direction: column;
	gap: 17px;
}

.dialog-heading {
	display: flex;
	justify-content: space-between;
	align-items: center;
}

.dialog-heading h2 {
	font-size: 17px;
}

.dialog-heading button {
	font-size: 22px;
}

.help {
	font-size: 11px;
	color: var(--muted);
	margin: 0;
}

.dialog-actions {
	display: flex;
	justify-content: flex-end;
	gap: 8px;
	margin-top: 8px;
}

.toast {
	position: fixed;
	bottom: 26px;
	left: 50%;
	transform: translateX(-50%);
	background: #203c48;
	color: white;
	padding: 13px 23px;
	border-radius: 7px;
	box-shadow: 0 5px 25px #0002;
	z-index: 100;
	max-width: 90vw;
	font-size: 12px;
}

.empty {
	text-align: center;
	color: var(--muted);
	padding: 30px;
}

@media(min-width:1500px) {
	.preview-board {
		height: 390px;
	}
}

@media(max-width:1150px) {
	.sidebar {
		width: 190px;
		padding: 25px 12px;
	}

	.workspace {
		margin-left: 190px;
		width: calc(100% - 190px);
	}

	main {
		padding: 25px 23px;
	}

	.editor-grid {
		grid-template-columns: minmax(0, 1fr) 270px;
	}

	.zone-fields {
		grid-template-columns: repeat(3, 1fr);
	}

	.page-heading {
		align-items: flex-start;
	}

	.heading-actions {
		flex-direction: column;
	}

	.brand {
		font-size: 19px;
	}

	.preview-board {
		height: 350px;
	}
}

@media(max-width:800px) {
	.sidebar {
		position: static;
		width: auto;
		padding: 16px 20px;
		display: block;
	}

	.brand {
		padding: 0;
		font-size: 18px;
	}

	.brand-mark {
		font-size: 28px;
	}

	.brand small {
		font-size: 9px;
	}

	.nav-label,
	.sidebar-note {
		display: none;
	}

	.sidebar nav {
		display: flex;
		gap: 8px;
		margin-top: 13px;
	}

	.nav-item {
		padding: 8px 10px;
		font-size: 11px;
		margin: 0;
	}

	.nav-item.active {
		padding-left: 8px;
	}

	.nav-item small {
		display: none;
	}

	.app-shell {
		display: block;
	}

	.workspace {
		margin: 0;
		width: 100%;
	}

	.topbar {
		height: 49px;
		padding: 0 20px;
	}

	main {
		padding: 23px 18px;
	}

	.editor-grid {
		grid-template-columns: 1fr;
	}

	.zones-panel {
		grid-column: auto;
	}

	.settings-panel form {
		display: grid;
		grid-template-columns: 1fr 1fr;
		gap: 17px;
	}

	.settings-panel .divider {
		display: none;
	}

	.page-heading {
		gap: 15px;
	}

	h1 {
		font-size: 23px;
	}

	.notice {
		flex-wrap: wrap;
	}

	.notice #save-status {
		margin-left: 22px;
	}

	.preview-board {
		height: 320px;
	}

	.preview-footer {
		font-size: 9px;
	}

	.zone-fields {
		grid-template-columns: repeat(2, 1fr);
	}

	.content-heading {
		align-items: flex-start;
	}

	.zone-footer {
		flex-wrap: wrap;
	}

	.export-bar {
		padding: 17px;
	}

	.heading-actions .button {
		padding: 8px 11px;
		font-size: 11px;
	}
}

@media(prefers-reduced-motion:reduce) {
	* {
		transition: none !important;
	}
}

.database-toolbar {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 16px;
	padding: 17px 20px;
	margin-bottom: 20px;
	border: 1px solid var(--line);
	border-radius: 7px;
	background: #fff;
}

.database-toolbar strong {
	display: block;
	font-size: 12px;
}

.database-toolbar .muted {
	display: block;
	margin-top: 4px;
}

.database-actions {
	display: flex;
	align-items: center;
	gap: 8px;
	flex-wrap: wrap;
}

.heading-actions {
	flex-wrap: wrap;
	justify-content: flex-end;
}

.form-error {
	margin: 0;
	color: #af4646;
	font-size: 12px;
}

.layout-list-dialog {
	max-width: 680px;
}

.layout-list-dialog>.help {
	margin-top: 10px;
}

.saved-layout-list {
	max-height: 50vh;
	overflow: auto;
	display: flex;
	flex-direction: column;
	gap: 8px;
}

.saved-layout {
	display: flex;
	flex-direction: column;
	align-items: flex-start;
	text-align: left;
	gap: 4px;
	border: 1px solid var(--line);
	border-radius: 5px;
	background: #fff;
	padding: 13px;
	color: var(--ink);
}

.saved-layout:hover {
	border-color: var(--teal);
	background: #f0f8f7;
}

.list-pagination {
	display: flex;
	justify-content: space-between;
	align-items: center;
	margin-top: 18px;
	font-size: 11px;
}

@media(max-width:800px) {
	.database-toolbar {
		align-items: flex-start;
		flex-direction: column;
	}

	.heading-actions {
		min-width: 125px;
	}

	.database-actions {
		width: 100%;
	}
}

/*
====================================================
素材管理・アップロード・選択画面
====================================================
*/

.media-panel {
	padding: 22px;
}

.media-toolbar {
	display: flex;
	gap: 12px;
	align-items: flex-end;
	flex-wrap: wrap;
}

.media-toolbar label:first-child {
	flex: 1;
	min-width: 160px;
}

.media-toolbar label {
	min-width: 100px;
}

.media-help,
.media-message {
	font-size: 11px;
	color: var(--muted);
	margin: 15px 0;
}

.media-message {
	color: #526a7e;
	overflow-wrap: anywhere;
}

.media-progress {
	width: 100%;
	height: 12px;
	accent-color: var(--teal);
	margin-bottom: 15px;
}

.media-grid {
	display: grid;
	grid-template-columns: repeat(auto-fill, minmax(230px, 1fr));
	gap: 18px;
}

.media-card {
	border: 1px solid var(--line);
	border-radius: 7px;
	overflow: hidden;
	min-width: 0;
	background: white;
}

.media-thumbnail {
	display: flex;
	flex-direction: column;
	justify-content: center;
	align-items: center;
	gap: 5px;
	width: 100%;
	height: 150px;
	border: 0;
	padding: 0;
	background: #eaf0f4;
	color: #6d8598;
}

.media-thumbnail img {
	width: 100%;
	height: 100%;
	object-fit: contain;
}

.media-thumbnail small {
	font-size: 10px;
}

.video-placeholder {
	font-size: 42px;
}

.media-card-info {
	padding: 13px;
}

.media-name {
	display: block;
	font-size: 12px;
	overflow-wrap: anywhere;
	margin-bottom: 5px;
}

.media-card-info .muted {
	display: block;
	font-size: 10px;
}

.media-card-actions {
	display: flex;
	flex-wrap: wrap;
	gap: 7px;
	margin-top: 13px;
}

.media-card-actions a {
	display: inline-block;
}

.media-download-help {
	margin-top: 18px;
}

.media-picker-dialog {
	width: min(1060px, calc(100% - 30px));
	max-width: 1060px;
	max-height: 90vh;
}

.media-picker-dialog>.dialog-heading {
	margin-bottom: 20px;
}

.media-preview-dialog {
	max-width: 900px;
	width: min(900px, calc(100% - 30px));
	max-height: 90vh;
}

.media-preview-dialog .dialog-heading h2 {
	overflow-wrap: anywhere;
	max-width: 80%;
	font-size: 14px;
}

.media-preview-body {
	margin-top: 18px;
	text-align: center;
}

.media-preview-body img,
.media-preview-body video {
	max-width: 100%;
	max-height: 68vh;
	background: #132132;
}

.preview-media {
	position: absolute;
	inset: 0;
	width: 100%;
	height: 100%;
	pointer-events: none;
}

.preview-zone>span,
.preview-zone>small {
	position: relative;
	z-index: 1;
	background: #17263899;
	padding: 1px 5px;
	border-radius: 3px;
}

@media (max-width: 800px) {
	.media-panel {
		padding: 15px;
	}

	.media-toolbar {
		gap: 9px;
	}

	.media-grid {
		grid-template-columns: repeat(auto-fill, minmax(190px, 1fr));
		gap: 12px;
	}

	.media-card-actions .button {
		padding: 6px 9px;
	}
}

/*
====================================================
ログイン画面
====================================================
*/

.login-page {
	min-height: 100vh;
	display: grid;
	place-items: center;
	padding: 30px 18px;
	background: linear-gradient(140deg, #172638 0%, #25434e 100%);
}

.login-card {
	width: 100%;
	max-width: 440px;
	margin: 0;
	padding: 38px;
	background: white;
	border-radius: 12px;
	box-shadow: 0 20px 70px #0003;
}

.login-brand {
	display: flex;
	gap: 12px;
	align-items: center;
	font-size: 24px;
	font-weight: 750;
	letter-spacing: 2px;
	margin-bottom: 35px;
}

.login-brand .brand-mark {
	color: var(--teal);
}

.login-brand small {
	display: block;
	font-size: 10px;
	font-weight: 400;
	letter-spacing: .5px;
	color: var(--muted);
}

.login-description {
	color: var(--muted);
	font-size: 12px;
	margin: 12px 0 25px;
}

.login-card form {
	display: flex;
	flex-direction: column;
	gap: 9px;
}

.login-card form label:not(:first-child) {
	margin-top: 12px;
}

.login-card form .button {
	margin-top: 20px;
	width: 100%;
	padding: 12px;
}

.login-card input:not([type=checkbox]) {
	height: 42px;
}

.login-card .help {
	margin-top: 15px;
}

@media (max-width: 500px) {
	.login-card {
		padding: 28px;
	}
}

/*
====================================================
端末管理・レイアウト割り当て
====================================================
*/

.device-toolbar {
	padding: 20px 21px 0;
}

.device-list-message {
	padding: 0 21px;
}

.device-pagination {
	padding: 0 21px 20px;
}

.device-table small {
	display: block;
	margin-top: 4px;
}

.device-table td:first-child {
	width: auto;
	color: var(--ink);
}

.device-name {
	display: block;
	font-weight: 600;
	max-width: 240px;
	overflow-wrap: anywhere;
	white-space: normal;
}

.device-table td:nth-child(3) {
	max-width: 260px;
	white-space: normal;
	overflow-wrap: anywhere;
}

.device-state {
	display: inline-block;
	padding: 3px 9px;
	border-radius: 4px;
	background: #eef0f4;
	color: #768295;
	font-size: 11px;
}

.device-state.enabled {
	background: #e7f5f0;
	color: #268478;
}

.device-dialog {
	max-width: 650px;
	width: calc(100% - 30px);
	max-height: 90vh;
}

.device-form-fields {
	display: flex;
	flex-direction: column;
	gap: 14px;
}

.device-layout-search {
	display: flex;
	align-items: flex-end;
	gap: 10px;
}

.device-layout-search label {
	flex: 1;
}

.device-layout-search button {
	height: 36px;
}

.device-dialog textarea {
	resize: vertical;
	min-height: 80px;
	width: 100%;
	padding: 10px;
	font: inherit;
	font-size: 12px;
	color: var(--ink);
	border: 1px solid #dce2e9;
	border-radius: 5px;
}

.device-dialog input[readonly] {
	background: #f3f5f8;
	color: #7b8799;
}

/*
====================================================
端末配信の設定・通信状態
====================================================
*/

.device-config-panel {
	border: 1px solid var(--line);
	background: #f3f8f8;
	border-radius: 6px;
	padding: 15px;
	display: flex;
	flex-direction: column;
	gap: 10px;
}

.device-config-panel strong {
	font-size: 12px;
}

.delivery-state {
	display: block;
	font-size: 11px;
	color: #466577;
}

@media (max-width: 800px) {
	.device-heading {
		flex-direction: column;
		align-items: stretch;
	}

	.device-heading .heading-actions {
		justify-content: flex-start;
	}

	.device-heading .button {
		white-space: normal;
		text-align: center;
	}
}

/*
====================================================
セットアップ・ログアウト（左メニュー最下部） 2026/10/27
====================================================
*/

.sidebar-actions {
	margin-top: 14px;
	padding-top: 12px;
	border-top: 1px solid #304052;
	display: flex;
	flex-direction: column;
	gap: 4px;
}

.sidebar-action {
	display: flex;
	align-items: center;
	gap: 8px;
	width: 100%;
	padding: 9px 8px;
	border: 0;
	border-radius: 5px;
	background: transparent;
	color: #bdcad8;
	text-align: left;
	font: inherit;
	font-size: 10px;
	line-height: 1.6;
	cursor: pointer;
}

.sidebar-action:hover,
.sidebar-action:focus-visible {
	background: #26384a;
	color: #fff;
}

.sidebar-action:disabled {
	opacity: .5;
	cursor: default;
}

@media (max-width: 800px) {
	.sidebar-actions {
		flex-direction: row;
		flex-wrap: wrap;
		gap: 8px 14px;
		margin-top: 12px;
		padding-top: 10px;
	}

	.sidebar-action {
		width: auto;
	}
}
