/* ─────────────────────────────────────────────────────────────
   Dopra design system
   ───────────────────────────────────────────────────────────── */
:root {
	--accent: #4f46e5;
	--accent-contrast: #ffffff;
	--radius: 14px;
	--radius-sm: 9px;
	--maxw: 920px;
	--font: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif, "Apple Color Emoji";
	--mono: ui-monospace, SFMono-Regular, "SF Mono", Menlo, Consolas, monospace;
}

[data-theme="light"] {
	--bg: #f6f7fb;
	--bg-soft: #ffffff;
	--panel: #ffffff;
	--panel-border: #e6e8ef;
	--text: #1a1c23;
	--muted: #6b7280;
	--input-bg: #ffffff;
	--input-border: #d7dae3;
	--shadow: 0 1px 2px rgba(16, 24, 40, 0.05), 0 8px 24px rgba(16, 24, 40, 0.06);
	--hover: #f2f3f8;
}

[data-theme="dark"] {
	--bg: #0d0f14;
	--bg-soft: #141821;
	--panel: #141821;
	--panel-border: #232836;
	--text: #e8eaf0;
	--muted: #8b93a7;
	--input-bg: #10131a;
	--input-border: #2a3040;
	--shadow: 0 1px 2px rgba(0, 0, 0, 0.4), 0 12px 32px rgba(0, 0, 0, 0.35);
	--hover: #1b2130;
}

* { box-sizing: border-box; }

html, body { margin: 0; padding: 0; }

body {
	font-family: var(--font);
	background: var(--bg);
	color: var(--text);
	line-height: 1.55;
	-webkit-font-smoothing: antialiased;
	min-height: 100vh;
	display: flex;
	flex-direction: column;
}

a { color: var(--accent); text-decoration: none; }
a:hover { text-decoration: underline; }
code { font-family: var(--mono); font-size: 0.9em; }

.muted { color: var(--muted); }
.center { text-align: center; }
.hint { display: block; font-size: 0.78rem; color: var(--muted); margin-top: 4px; }
.link-like { color: var(--accent); }

/* Header / footer */
.site-header {
	display: flex; align-items: center; justify-content: space-between;
	max-width: var(--maxw); width: 100%; margin: 0 auto; padding: 18px 22px;
}
.brand { display: inline-flex; align-items: center; gap: 9px; font-weight: 700; color: var(--text); }
.brand:hover { text-decoration: none; }
.brand-name { font-size: 1.15rem; letter-spacing: -0.02em; }
.brand-logo { height: 26px; }
.site-nav { display: flex; align-items: center; gap: 14px; }
.site-nav a { color: var(--muted); font-weight: 500; }

.site-main { flex: 1; width: 100%; max-width: var(--maxw); margin: 0 auto; padding: 12px 22px 48px; }

.site-footer {
	max-width: var(--maxw); width: 100%; margin: 0 auto; padding: 26px 22px 34px;
	display: flex; flex-direction: column; gap: 8px; align-items: center; text-align: center;
	color: var(--muted); font-size: 0.85rem;
}
.footer-links { display: flex; gap: 16px; }

/* Theme toggle */
.theme-toggle {
	width: 34px; height: 34px; border-radius: 50%; border: 1px solid var(--panel-border);
	background: var(--panel); cursor: pointer; display: inline-flex; align-items: center; justify-content: center;
}
.theme-icon { width: 16px; height: 16px; border-radius: 50%; background: var(--accent); display: block; }
[data-theme="dark"] .theme-icon { box-shadow: inset -4px -4px 0 0 var(--panel); }

/* Hero */
.hero { text-align: center; padding: 40px 0 26px; }
.hero-title { font-size: clamp(1.9rem, 4vw, 2.7rem); margin: 0 0 8px; letter-spacing: -0.03em; }
.hero-sub { color: var(--muted); font-size: 1.05rem; margin: 0; }

/* Dropzone */
.uploader { max-width: 640px; margin: 0 auto; }
.dropzone {
	border: 2px dashed var(--input-border); border-radius: var(--radius); background: var(--bg-soft);
	padding: 48px 24px; text-align: center; cursor: pointer; transition: border-color .15s, background .15s;
}
.dropzone:hover, .dropzone.dragover { border-color: var(--accent); background: var(--hover); }
.dropzone-disabled { cursor: default; opacity: 0.8; }
.dropzone-icon { margin-bottom: 10px; }
.dropzone-title { font-size: 1.2rem; font-weight: 600; margin: 4px 0; }
.dropzone-sub { color: var(--muted); margin: 0; }

.upload-options { margin-top: 16px; border: 1px solid var(--panel-border); border-radius: var(--radius-sm); background: var(--panel); }
.upload-options summary { cursor: pointer; padding: 12px 16px; font-weight: 600; }
.options-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(180px, 1fr)); gap: 14px; padding: 0 16px 16px; }
.options-grid label { display: flex; flex-direction: column; gap: 6px; font-size: 0.9rem; font-weight: 500; }

.privacy-note { text-align: center; color: var(--muted); font-size: 0.85rem; margin-top: 18px; }

/* Upload list */
.upload-list { list-style: none; padding: 0; margin: 20px 0 0; display: flex; flex-direction: column; gap: 12px; }
.upload-item { background: var(--panel); border: 1px solid var(--panel-border); border-radius: var(--radius-sm); padding: 12px 14px; }
.upload-item-head { display: flex; justify-content: space-between; gap: 12px; font-size: 0.9rem; }
.upload-name { font-weight: 600; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.upload-status { color: var(--muted); white-space: nowrap; }
.progress { height: 6px; background: var(--hover); border-radius: 999px; margin-top: 8px; overflow: hidden; }
.progress-bar { height: 100%; width: 0; background: var(--accent); border-radius: 999px; transition: width .2s; }
.upload-result { display: flex; gap: 8px; margin-top: 10px; }
.result-link { flex: 1; }

/* Inputs & buttons */
input[type="text"], input[type="search"], input[type="password"], input[type="number"], input[type="color"], select, textarea {
	width: 100%; padding: 9px 11px; border-radius: var(--radius-sm); border: 1px solid var(--input-border);
	background: var(--input-bg); color: var(--text); font: inherit; font-size: 0.92rem;
}
input:focus, select:focus, textarea:focus { outline: 2px solid var(--accent); outline-offset: 1px; border-color: var(--accent); }
input[type="color"] { padding: 4px; height: 40px; }
textarea { resize: vertical; }

.btn {
	display: inline-flex; align-items: center; justify-content: center; gap: 6px;
	padding: 9px 16px; border-radius: var(--radius-sm); border: 1px solid transparent;
	font: inherit; font-weight: 600; font-size: 0.9rem; cursor: pointer; background: var(--panel); color: var(--text);
	border-color: var(--panel-border);
}
.btn:hover { text-decoration: none; background: var(--hover); }
.btn-primary { background: var(--accent); color: var(--accent-contrast); border-color: transparent; }
.btn-primary:hover { filter: brightness(1.07); background: var(--accent); }
.btn-ghost { background: transparent; }
.btn-small { padding: 6px 11px; font-size: 0.82rem; }

/* Centered card pages */
.page-centered .site-main, .page-centered { display: flex; align-items: center; justify-content: center; }
.centered-card {
	background: var(--panel); border: 1px solid var(--panel-border); border-radius: var(--radius);
	padding: 32px; max-width: 420px; width: 100%; box-shadow: var(--shadow); text-align: center; margin: 40px auto;
}
.centered-card h1 { margin-top: 0; }
.stack-form { display: flex; flex-direction: column; gap: 12px; text-align: left; margin-top: 16px; }
.stack-form label { display: flex; flex-direction: column; gap: 6px; font-weight: 500; font-size: 0.9rem; }
.form-error { color: #dc2626; background: rgba(220, 38, 38, 0.1); padding: 10px; border-radius: var(--radius-sm); }
.login-card .login-brand { display: flex; align-items: center; justify-content: center; gap: 8px; font-weight: 700; font-size: 1.2rem; margin-bottom: 6px; }
.error-status { font-size: 3rem; font-weight: 800; color: var(--accent); }

/* File page */
.file-card {
	background: var(--panel); border: 1px solid var(--panel-border); border-radius: var(--radius);
	box-shadow: var(--shadow); overflow: hidden; max-width: 720px; margin: 20px auto;
}
.preview { background: var(--bg); display: flex; align-items: center; justify-content: center; min-height: 220px; }
.preview img, .preview video { max-width: 100%; max-height: 460px; display: block; }
.preview-audio { padding: 40px 20px; width: 100%; }
.preview-audio audio { width: 100%; }
.preview-pdf object { width: 100%; height: 460px; }
.preview-text { width: 100%; }
.preview-text pre { margin: 0; padding: 18px; max-height: 460px; overflow: auto; width: 100%; font-family: var(--mono); font-size: 0.82rem; white-space: pre-wrap; word-break: break-word; }
.preview-generic { color: var(--muted); padding: 50px; }
.file-info { padding: 22px; }
.file-name { font-size: 1.3rem; margin: 0 0 14px; word-break: break-word; }
.file-meta { display: grid; grid-template-columns: repeat(auto-fit, minmax(120px, 1fr)); gap: 10px; margin-bottom: 18px; }
.meta-row { display: flex; flex-direction: column; font-size: 0.85rem; }
.meta-row span { color: var(--muted); }
.file-actions { display: flex; flex-wrap: wrap; gap: 10px; }
.report-link { display: inline-block; margin-top: 16px; color: var(--muted); font-size: 0.82rem; }

/* Notices */
.notice { background: rgba(79, 70, 229, 0.1); border: 1px solid var(--accent); color: var(--text); padding: 12px 14px; border-radius: var(--radius-sm); margin-bottom: 18px; }

/* ── Admin ─────────────────────────────────────────────────── */
body.admin { display: block; }
.admin-layout { display: flex; min-height: 100vh; }
.admin-sidebar {
	width: 232px; flex-shrink: 0; background: var(--bg-soft); border-right: 1px solid var(--panel-border);
	padding: 20px 14px; display: flex; flex-direction: column; gap: 18px; position: sticky; top: 0; height: 100vh;
}
.admin-sidebar .brand { padding: 4px 8px; }
.admin-nav { display: flex; flex-direction: column; gap: 2px; }
.nav-item { padding: 9px 12px; border-radius: var(--radius-sm); color: var(--muted); font-weight: 500; display: flex; justify-content: space-between; align-items: center; }
.nav-item:hover { background: var(--hover); text-decoration: none; color: var(--text); }
.nav-item.active { background: var(--accent); color: var(--accent-contrast); }
.nav-badge { background: #dc2626; color: #fff; border-radius: 999px; font-size: 0.72rem; padding: 1px 7px; }
.sidebar-foot { margin-top: auto; padding: 8px; font-size: 0.85rem; }
.admin-content { flex: 1; min-width: 0; display: flex; flex-direction: column; }
.admin-topbar { display: flex; align-items: center; justify-content: space-between; padding: 16px 26px; border-bottom: 1px solid var(--panel-border); }
.admin-topbar h1 { font-size: 1.25rem; margin: 0; }
.topbar-actions { display: flex; align-items: center; gap: 12px; }
.topbar-actions form { margin: 0; }
.admin-body { padding: 24px 26px; display: flex; flex-direction: column; gap: 20px; }

.stat-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(180px, 1fr)); gap: 14px; }
.stat-card { background: var(--panel); border: 1px solid var(--panel-border); border-radius: var(--radius); padding: 18px; box-shadow: var(--shadow); display: flex; flex-direction: column; gap: 4px; }
.stat-label { color: var(--muted); font-size: 0.82rem; }
.stat-value { font-size: 1.7rem; font-weight: 700; letter-spacing: -0.02em; }
.stat-sub { color: var(--muted); font-size: 0.8rem; }

.panel { background: var(--panel); border: 1px solid var(--panel-border); border-radius: var(--radius); padding: 18px 20px; box-shadow: var(--shadow); }
.panel h2 { margin: 0 0 14px; font-size: 1.05rem; }
.panel-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 16px; }
.mini-list { list-style: none; padding: 0; margin: 0; display: flex; flex-direction: column; gap: 8px; }
.mini-list li { display: flex; justify-content: space-between; gap: 10px; font-size: 0.88rem; }
.mini-list a { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }

/* Chart */
.chart-legend { display: flex; gap: 16px; font-size: 0.82rem; color: var(--muted); margin-bottom: 12px; align-items: center; }
.dot { width: 10px; height: 10px; border-radius: 3px; display: inline-block; margin-right: 4px; }
.dot.up, .chart-bar.up { background: var(--accent); }
.dot.down, .chart-bar.down { background: #22c55e; }
.chart-cols { display: flex; align-items: flex-end; gap: 6px; height: 140px; }
.chart-col { flex: 1; display: flex; flex-direction: column; align-items: center; gap: 6px; height: 100%; }
.chart-bars { flex: 1; display: flex; align-items: flex-end; gap: 3px; width: 100%; justify-content: center; }
.chart-bar { width: 42%; min-height: 2px; border-radius: 3px 3px 0 0; }
.chart-x { font-size: 0.62rem; color: var(--muted); }
.chart-summary { display: flex; gap: 20px; margin-top: 12px; font-size: 0.88rem; color: var(--muted); }

/* Tables */
.table-wrap { overflow-x: auto; border: 1px solid var(--panel-border); border-radius: var(--radius); }
.data-table { width: 100%; border-collapse: collapse; font-size: 0.86rem; background: var(--panel); }
.data-table th, .data-table td { text-align: left; padding: 10px 12px; border-bottom: 1px solid var(--panel-border); white-space: nowrap; }
.data-table thead th { color: var(--muted); font-weight: 600; font-size: 0.78rem; text-transform: uppercase; letter-spacing: 0.03em; }
.data-table tbody tr:hover { background: var(--hover); }
.cell-name { max-width: 220px; overflow: hidden; text-overflow: ellipsis; }
.cell-details { max-width: 260px; overflow: hidden; text-overflow: ellipsis; }
.info-table th { width: 180px; color: var(--muted); }

.badge { padding: 2px 9px; border-radius: 999px; font-size: 0.74rem; font-weight: 600; text-transform: capitalize; }
.badge-active { background: rgba(34, 197, 94, 0.15); color: #16a34a; }
.badge-disabled { background: rgba(148, 163, 184, 0.2); color: #64748b; }
.badge-expired { background: rgba(234, 179, 8, 0.16); color: #ca8a04; }
.badge-quarantined { background: rgba(220, 38, 38, 0.14); color: #dc2626; }
.badge-open { background: rgba(234, 179, 8, 0.16); color: #ca8a04; }
.badge-dismissed { background: rgba(148, 163, 184, 0.2); color: #64748b; }
.badge-actioned { background: rgba(34, 197, 94, 0.15); color: #16a34a; }

/* Filters, bulk, pagination */
.filters, .bulk-bar, .inline-form { display: flex; flex-wrap: wrap; gap: 10px; align-items: center; }
.filters input, .filters select { width: auto; min-width: 130px; }
.inline-form input { width: auto; }
.bulk-bar { margin-top: -6px; }
.bulk-bar select { width: auto; }
.pagination { display: flex; align-items: center; justify-content: space-between; gap: 12px; }

/* Row action menu */
.row-menu { position: relative; }
.row-menu > summary { list-style: none; display: inline-flex; cursor: pointer; }
.row-menu > summary::-webkit-details-marker { display: none; }
.row-menu-panel {
	/* Pinned to the viewport by admin.js so `.table-wrap` overflow cannot clip it. */
	position: fixed; top: 0; left: 0; z-index: 60; min-width: 230px; max-width: min(320px, calc(100vw - 16px));
	background: var(--panel); border: 1px solid var(--panel-border); border-radius: var(--radius-sm);
	box-shadow: 0 12px 32px rgba(15, 23, 42, 0.22); padding: 6px; display: flex; flex-direction: column; gap: 2px;
	overflow-y: auto; overscroll-behavior: contain;
}
.row-menu-panel form { margin: 0; }
.menu-link { display: block; width: 100%; text-align: left; background: none; border: none; padding: 7px 10px; border-radius: 6px; font: inherit; font-size: 0.85rem; color: var(--text); cursor: pointer; white-space: nowrap; }
.menu-link:hover { background: var(--hover); text-decoration: none; }
.menu-link.danger { color: #dc2626; }
.menu-inline { display: flex; gap: 4px; padding: 4px; }
.menu-inline input, .menu-inline select { font-size: 0.8rem; padding: 5px; }
.menu-sep { height: 1px; margin: 4px 2px; background: var(--panel-border); }
.menu-note { margin: 2px 4px 6px; padding: 7px 8px; border-radius: 6px; background: var(--hover); color: var(--muted); font-size: 0.78rem; line-height: 1.4; white-space: normal; }

/* Reports */
.col-actions { text-align: right; }
.cell-actions { width: 1%; text-align: right; }
.cell-target { max-width: 220px; }
.cell-sub { font-size: 0.76rem; max-width: 220px; overflow: hidden; text-overflow: ellipsis; }
.row-locked td { opacity: 0.72; }
.row-locked:hover td { opacity: 1; }
.target-gone code { text-decoration: line-through; opacity: 0.7; }
.tag { display: inline-block; padding: 1px 7px; border-radius: 999px; font-size: 0.68rem; font-weight: 600; text-transform: uppercase; letter-spacing: 0.04em; }
.tag-gone { background: rgba(220, 38, 38, 0.14); color: #dc2626; }
.badge-file_removed { background: rgba(220, 38, 38, 0.12); color: #b91c1c; }
.notice-warn { border-color: rgba(234, 179, 8, 0.4); background: rgba(234, 179, 8, 0.1); }
.btn-danger { border-color: rgba(220, 38, 38, 0.4); color: #dc2626; }

/* Intelligence map */
.intel-head { display: flex; align-items: center; gap: 10px; margin-bottom: 12px; }
.intel-head h2 { margin: 0; flex: 1; }
.live-dot { width: 9px; height: 9px; border-radius: 50%; background: #22c55e; box-shadow: 0 0 0 0 rgba(34, 197, 94, 0.55); animation: live-blink 2s ease-out infinite; }
#intel-status.is-stale { color: #ca8a04; }

.intel-map {
	position: relative; border-radius: var(--radius); overflow: hidden;
	background: radial-gradient(120% 140% at 50% 0%, #0b1b34 0%, #050d1c 55%, #02060f 100%);
	border: 1px solid rgba(56, 189, 248, 0.28);
	box-shadow: inset 0 0 60px rgba(56, 189, 248, 0.09), 0 10px 34px rgba(2, 6, 23, 0.35);
}
.holo-map { display: block; width: 100%; height: auto; }
.map-ocean { fill: url(#holo-ocean); }
.map-grid line { stroke: #7dd3fc; stroke-width: 0.5; opacity: 0.14; }
.map-land { fill: url(#holo-land); stroke: #7dd3fc; stroke-width: 0.7; stroke-opacity: 0.85; filter: url(#holo-glow); }
.map-borders { fill: none; stroke: #bae6fd; stroke-width: 0.4; stroke-opacity: 0.3; }
.map-scan { fill: url(#holo-scan); pointer-events: none; }
.map-sweep { fill: url(#holo-sweep); pointer-events: none; animation: holo-sweep 9s linear infinite; }

.map-marker { color: #7dd3fc; }
.marker-core { fill: #e0f2fe; filter: url(#holo-glow); }
.marker-halo { fill: #38bdf8; opacity: 0.16; filter: url(#holo-glow-soft); }
.marker-ring {
	fill: none; stroke: #7dd3fc; stroke-width: 1.4; opacity: 0.9;
	transform-box: fill-box; transform-origin: center;
	animation: marker-ring 3s cubic-bezier(0.16, 0.7, 0.3, 1) infinite;
	animation-delay: var(--delay, 0s);
}
.marker-ring-2 { animation-delay: calc(var(--delay, 0s) + 1.5s); }
.map-arc { fill: none; stroke: #e0f2fe; stroke-width: 1.6; stroke-linecap: round; stroke-dasharray: 8 460; animation: arc-travel 2.4s ease-out forwards; }
.map-arc-glow { stroke: #38bdf8; stroke-width: 5; opacity: 0.45; filter: url(#holo-glow-soft); }
.map-ping { fill: none; stroke: #7dd3fc; stroke-width: 1.6; transform-box: fill-box; transform-origin: center; animation: ping-out 1.8s ease-out forwards; }

/* Corner brackets that frame the projection. */
.holo-corners { position: absolute; inset: 10px; pointer-events: none; }
.holo-corners i { position: absolute; width: 18px; height: 18px; border: 1px solid rgba(125, 211, 252, 0.55); }
.holo-corners i:nth-child(1) { top: 0; left: 0; border-right: 0; border-bottom: 0; }
.holo-corners i:nth-child(2) { top: 0; right: 0; border-left: 0; border-bottom: 0; }
.holo-corners i:nth-child(3) { bottom: 0; left: 0; border-right: 0; border-top: 0; }
.holo-corners i:nth-child(4) { bottom: 0; right: 0; border-left: 0; border-top: 0; }

@keyframes marker-ring {
	0% { transform: scale(0.2); opacity: 0; }
	12% { opacity: 0.95; }
	100% { transform: scale(1); opacity: 0; }
}
@keyframes holo-sweep {
	0% { transform: translateX(-240px); }
	100% { transform: translateX(1000px); }
}
@keyframes arc-travel {
	0% { stroke-dashoffset: 468; opacity: 0; }
	15% { opacity: 1; }
	100% { stroke-dashoffset: 0; opacity: 0; }
}
@keyframes ping-out {
	0% { transform: scale(0.4); opacity: 0.9; }
	100% { transform: scale(3.4); opacity: 0; }
}
@keyframes live-blink {
	0% { box-shadow: 0 0 0 0 rgba(34, 197, 94, 0.5); }
	70% { box-shadow: 0 0 0 7px rgba(34, 197, 94, 0); }
	100% { box-shadow: 0 0 0 0 rgba(34, 197, 94, 0); }
}
@keyframes stat-bump {
	0% { transform: translateY(4px) scale(1.06); color: var(--accent); }
	100% { transform: none; }
}
@keyframes feed-in {
	0% { opacity: 0; transform: translateX(-10px); background: rgba(79, 70, 229, 0.14); }
	100% { opacity: 1; transform: none; }
}

.stat-bump { animation: stat-bump 0.6s ease-out; }

.geo-list, .feed-list { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 8px; }
.geo-row { display: grid; grid-template-columns: 22px minmax(0, 1fr) 90px 44px 66px; align-items: center; gap: 10px; font-size: 0.85rem; }
.geo-name { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.geo-bar { height: 6px; border-radius: 999px; background: var(--hover); overflow: hidden; }
.geo-bar-fill { display: block; height: 100%; border-radius: 999px; background: var(--accent); transition: width 0.6s ease; }
.geo-count { text-align: right; font-variant-numeric: tabular-nums; font-weight: 600; }
.geo-bytes { text-align: right; font-size: 0.76rem; }
.feed-item { display: grid; grid-template-columns: 22px minmax(0, 1fr) auto auto auto; align-items: center; gap: 10px; font-size: 0.84rem; padding: 4px 6px; border-radius: 8px; }
.feed-country { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.feed-time { font-variant-numeric: tabular-nums; }
.feed-new { animation: feed-in 0.7s ease-out; }

@media (prefers-reduced-motion: reduce) {
	.marker-ring, .map-arc, .map-ping, .map-sweep, .live-dot, .stat-bump, .feed-new { animation: none; }
	.marker-ring { opacity: 0.5; }
}

.settings-form { display: flex; flex-direction: column; gap: 18px; }
.field-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 14px; }
.field-grid label { display: flex; flex-direction: column; gap: 6px; font-size: 0.88rem; font-weight: 500; }
.field-grid label.check { flex-direction: row; align-items: center; gap: 8px; font-weight: 500; }
.field-grid label.check input { width: auto; }
.form-actions { display: flex; gap: 10px; }
.button-row { display: flex; flex-wrap: wrap; gap: 10px; margin-bottom: 8px; }
.button-row form { margin: 0; }

/* Responsive */
@media (max-width: 760px) {
	.admin-layout { flex-direction: column; }
	.admin-sidebar { width: 100%; height: auto; position: static; flex-direction: row; flex-wrap: wrap; align-items: center; }
	.admin-nav { flex-direction: row; flex-wrap: wrap; }
	.sidebar-foot { margin: 0; }
	.file-meta { grid-template-columns: repeat(2, 1fr); }
}
