/* MyCVFolio dashboard — scoped to .mcv-app so it doesn't fight the theme. */
.mcv-app {
	--mcv-ink: #0f0f0f;
	--mcv-ink-2: #333333;
	--mcv-muted: #555555;
	--mcv-line: #e6e6e6;
	--mcv-line-2: #d4d4d4;
	--mcv-bg: #ffffff;
	--mcv-soft: #faf7f4;
	--mcv-accent: #ff6400;
	--mcv-accent-soft: #fff1e8;
	--mcv-accent-ink: #8a3500;
	--mcv-link: #b84700;
	--mcv-green: #1d6b3a;
	--mcv-green-soft: #e7f6ec;
	--mcv-blue: #1f4f8f;
	--mcv-blue-soft: #eaf1fb;
	--mcv-red: #a61b1b;
	--mcv-red-soft: #fdeceb;
	--mcv-radius: 16px;
	--mcv-head: 'Space Grotesk', system-ui, -apple-system, 'Segoe UI', sans-serif;
	--mcv-body: 'Manrope', system-ui, -apple-system, 'Segoe UI', sans-serif;

	font-family: var(--mcv-body);
	font-size: 15px;
	line-height: 1.55;
	color: var(--mcv-ink);
	background: var(--mcv-soft);
	display: flex;
	flex-wrap: wrap;
	align-items: stretch;
	min-height: 80vh;
	/* Break out of narrow theme content columns. */
	width: min(1360px, calc(100vw - 80px));
	max-width: none !important;
	position: relative;
	left: 50%;
	border-radius: 20px;
	overflow: hidden;
	text-align: left;
	-webkit-font-smoothing: antialiased;
}
.mcv-app *, .mcv-app *::before, .mcv-app *::after { box-sizing: border-box; }
.mcv-app a { color: var(--mcv-link); }
.mcv-app a:hover { color: var(--mcv-ink); }
.mcv-app h1, .mcv-app h2, .mcv-app h3 { font-family: var(--mcv-head); color: var(--mcv-ink); letter-spacing: -0.02em; margin: 0; }
.mcv-app p { margin: 0 0 10px; }
.mcv-app ul, .mcv-app ol { margin: 0; padding: 0; }
.mcv-app button, .mcv-app input, .mcv-app select, .mcv-app textarea { font: inherit; color: inherit; }
.mcv-app .screen-reader-text { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.mcv-app :focus-visible { outline: 3px solid var(--mcv-accent); outline-offset: 2px; }

.mcv-app--narrow, .mcv-app--plain { display: block; background: transparent; min-height: 0; border-radius: 0; overflow: visible; }
.mcv-app--plain { width: min(1200px, calc(100vw - 80px)); }
body .mcv-app:not(.mcv-app--narrow) { margin-left: calc(min(1360px, 100vw - 80px) / -2) !important; margin-right: 0 !important; }
body .mcv-app.mcv-app--plain { margin-left: calc(min(1200px, 100vw - 80px) / -2) !important; }
.mcv-app--narrow { position: static; width: auto; max-width: 560px !important; margin: 32px auto !important; }

/* Sidebar */
/* Sidebar stays 264px beside the content and only grows when it wraps above it. */
.mcv-sidebar { flex: 1 1 264px; max-width: 100%; background: var(--mcv-ink); color: #ffffff; padding: 24px 18px; display: flex; flex-direction: column; gap: 18px; }
.mcv-sidebar__top { display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.mcv-brand { display: inline-flex; align-items: center; gap: 10px; font-family: var(--mcv-head); font-weight: 700; font-size: 20px; color: #ffffff !important; text-decoration: none; }
.mcv-brand__mark { width: 22px; height: 22px; border-radius: 7px; background: var(--mcv-accent); display: inline-block; }
.mcv-menu-toggle { display: none; background: transparent; color: #ffffff; border: 1px solid #3a3a3a; border-radius: 999px; padding: 8px 16px; min-height: 44px; cursor: pointer; }
.mcv-nav { display: flex; flex-direction: column; gap: 18px; }
.mcv-nav__group ul { list-style: none; display: flex; flex-direction: column; gap: 2px; }
.mcv-nav__label { display: block; font-size: 12px; font-weight: 700; text-transform: uppercase; letter-spacing: 0.08em; color: #a8a8a8; padding: 0 12px 6px; }
.mcv-nav a { display: flex; align-items: center; justify-content: space-between; gap: 8px; color: #e6e6e6; text-decoration: none; padding: 9px 12px; border-radius: 10px; font-weight: 600; font-size: 14px; }
.mcv-nav a:hover { background: #1f1f1f; color: #ffffff; }
.mcv-nav a.is-active { background: #262626; color: #ffffff; box-shadow: inset 3px 0 0 var(--mcv-accent); }
.mcv-nav__foot { margin-top: auto; border-top: 1px solid #2a2a2a; padding-top: 14px; display: flex; justify-content: space-between; gap: 8px; font-size: 13px; }
.mcv-nav__foot a { padding: 0; color: #cfcfcf; }
.mcv-user { color: #a8a8a8; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.mcv-area-switch { display: flex; flex-wrap: wrap; gap: 6px; background: #1a1a1a; border-radius: 12px; padding: 6px; }
.mcv-area-switch a { flex: 1 1 auto; justify-content: center; padding: 7px 10px; font-size: 13px; border-radius: 8px; }
.mcv-area-switch a.is-active { background: var(--mcv-accent); color: var(--mcv-ink); box-shadow: none; }

/* Main */
.mcv-main { flex: 999 1 560px; padding: 32px clamp(16px, 3vw, 40px) 48px; display: flex; flex-direction: column; gap: 20px; min-width: 0; }
.mcv-page-head { display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: 16px; }
.mcv-page-head h1 { font-size: 30px; line-height: 1.15; }
.mcv-page-head p { color: var(--mcv-muted); margin: 6px 0 0; max-width: 680px; }
.mcv-page-head__actions { display: flex; flex-wrap: wrap; gap: 8px; }
.mcv-h2 { font-size: 20px; margin: 8px 0 0 !important; }
.mcv-h3 { font-size: 16px; margin: 16px 0 8px !important; }

/* Cards */
.mcv-card { background: var(--mcv-bg); border: 1px solid var(--mcv-line); border-radius: var(--mcv-radius); }
.mcv-card__head { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 12px; padding: 18px 22px 0; }
.mcv-card__title { font-size: 17px; }
.mcv-card__body { padding: 18px 22px 22px; }
.mcv-card--highlight { border-color: var(--mcv-accent); box-shadow: 0 0 0 3px var(--mcv-accent-soft); }
.mcv-collapse > summary { cursor: pointer; padding: 16px 22px; font-weight: 700; font-family: var(--mcv-head); list-style: none; }
.mcv-collapse > summary::-webkit-details-marker { display: none; }
.mcv-collapse > summary::after { content: '+'; float: right; color: var(--mcv-muted); }
.mcv-collapse[open] > summary::after { content: '–'; }
.mcv-collapse .mcv-card__body { padding-top: 0; }

.mcv-split { display: flex; flex-wrap: wrap; gap: 20px; align-items: flex-start; }
.mcv-split__main, .mcv-split__side { display: flex; flex-direction: column; gap: 20px; min-width: 0; }
.mcv-split__main { flex: 999 1 480px; }
.mcv-split__side { flex: 1 1 300px; }
.mcv-cols { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 20px; }

/* Stats */
.mcv-stats { display: grid; grid-template-columns: repeat(auto-fill, minmax(180px, 1fr)); gap: 12px; }
.mcv-stat { background: var(--mcv-bg); border: 1px solid var(--mcv-line); border-radius: 14px; padding: 16px 18px; display: flex; flex-direction: column; gap: 4px; }
.mcv-stat__label { font-size: 13px; font-weight: 600; color: var(--mcv-muted); }
.mcv-stat__value { font-family: var(--mcv-head); font-size: 26px; font-weight: 700; letter-spacing: -0.02em; line-height: 1.1; }
.mcv-stat__hint { font-size: 12px; color: var(--mcv-muted); }
.mcv-stat--alert { border-color: var(--mcv-accent); background: var(--mcv-accent-soft); }

.mcv-progress { height: 8px; border-radius: 999px; background: #eeeeee; overflow: hidden; margin-top: 6px; }
.mcv-progress span { display: block; height: 100%; background: var(--mcv-accent); border-radius: 999px; }

/* Badges */
.mcv-badge { display: inline-flex; align-items: center; gap: 4px; font-size: 12px; font-weight: 700; padding: 4px 10px; border-radius: 999px; background: #f0f0f0; color: #3a3a3a; white-space: nowrap; vertical-align: middle; }
.mcv-badge--green { background: var(--mcv-green-soft); color: var(--mcv-green); }
.mcv-badge--blue { background: var(--mcv-blue-soft); color: var(--mcv-blue); }
.mcv-badge--orange { background: var(--mcv-accent-soft); color: var(--mcv-accent-ink); }
.mcv-badge--red { background: var(--mcv-red-soft); color: var(--mcv-red); }
.mcv-count { display: inline-flex; min-width: 22px; height: 22px; padding: 0 7px; align-items: center; justify-content: center; border-radius: 999px; background: var(--mcv-accent); color: var(--mcv-ink); font-size: 12px; font-weight: 700; }

/* Buttons */
.mcv-btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 44px; padding: 10px 20px; border-radius: 999px; border: 1px solid transparent; font-weight: 700; font-size: 14px; text-decoration: none !important; cursor: pointer; line-height: 1.2; transition: background-color .15s, border-color .15s, opacity .15s; }
.mcv-btn--primary { background: var(--mcv-accent); color: var(--mcv-ink) !important; }
.mcv-btn--primary:hover { background: #e85a00; }
.mcv-btn--dark { background: var(--mcv-ink); color: #ffffff !important; }
.mcv-btn--dark:hover { background: #2b2b2b; }
.mcv-btn--secondary { background: #ffffff; color: var(--mcv-ink) !important; border-color: var(--mcv-line-2); }
.mcv-btn--secondary:hover { border-color: var(--mcv-ink); }
.mcv-btn--ghost { background: transparent; color: var(--mcv-ink) !important; border-color: transparent; }
.mcv-btn--ghost:hover { background: #f0f0f0; }
.mcv-btn--danger { background: var(--mcv-red); color: #ffffff !important; }
.mcv-btn--sm { min-height: 36px; padding: 6px 14px; font-size: 13px; }
.mcv-btn[disabled], .mcv-btn.is-busy { opacity: .6; cursor: progress; }
.mcv-icon-btn { width: 44px; height: 44px; border-radius: 999px; border: 1px solid var(--mcv-line-2); background: #ffffff; display: inline-flex; align-items: center; justify-content: center; cursor: pointer; color: var(--mcv-ink); }
.mcv-icon-btn.is-on { background: var(--mcv-accent); border-color: var(--mcv-accent); }
.mcv-row { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; margin-top: 12px; }
.mcv-row--wrap { margin-top: 0; }

/* Forms */
.mcv-form { display: flex; flex-direction: column; gap: 14px; }
.mcv-form--compact { gap: 10px; margin-top: 12px; }
.mcv-form--inline { flex-direction: row; align-items: flex-end; gap: 8px; }
.mcv-form--inline .mcv-field { max-width: 110px; }
.mcv-form--inline .mcv-field label { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
.mcv-form__actions { display: flex; gap: 8px; }
.mcv-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 14px; }
.mcv-field { display: flex; flex-direction: column; gap: 6px; min-width: 0; }
.mcv-field--full { grid-column: 1 / -1; }
.mcv-field > label, .mcv-field legend { font-size: 13px; font-weight: 700; color: var(--mcv-ink-2); }
.mcv-field input[type=text], .mcv-field input[type=email], .mcv-field input[type=tel], .mcv-field input[type=url], .mcv-field input[type=number], .mcv-field input[type=password], .mcv-field input[type=search], .mcv-field input[type=date], .mcv-field input[type=datetime-local], .mcv-field input[type=month], .mcv-field select, .mcv-field textarea,
.mcv-auth input[type=text], .mcv-auth input[type=password] {
	width: 100%; min-height: 44px; padding: 10px 14px; border: 1px solid var(--mcv-line-2); border-radius: 12px; background: #ffffff; font-size: 15px;
}
.mcv-field textarea { min-height: 0; resize: vertical; }
.mcv-field input:focus, .mcv-field select:focus, .mcv-field textarea:focus { border-color: var(--mcv-ink); outline: none; box-shadow: 0 0 0 3px var(--mcv-accent-soft); }
.mcv-field input[type=file] { padding: 10px; border: 1px dashed var(--mcv-line-2); border-radius: 12px; background: var(--mcv-soft); width: 100%; }
.mcv-field--check { flex-direction: row; align-items: flex-start; gap: 10px; }
.mcv-field--check input[type=checkbox] { width: 20px; height: 20px; margin-top: 2px; flex: none; accent-color: var(--mcv-accent); }
.mcv-field--check > label { font-weight: 500; color: var(--mcv-ink); font-size: 14px; }
.mcv-checks { border: 0; padding: 0; margin: 0; display: flex; flex-wrap: wrap; gap: 8px 18px; }
.mcv-checks label { display: inline-flex; align-items: center; gap: 8px; font-weight: 500; min-height: 32px; }
.mcv-checks input { width: 18px; height: 18px; accent-color: var(--mcv-accent); }
.mcv-help { font-size: 13px; color: var(--mcv-muted); }
.mcv-field.has-error input, .mcv-field.has-error select, .mcv-field.has-error textarea { border-color: var(--mcv-red); }
.mcv-consent { padding: 12px 14px; border: 1px solid var(--mcv-line); border-radius: 12px; background: var(--mcv-soft); }
.mcv-hp { position: absolute; left: -9999px; }

.mcv-filters { display: flex; flex-wrap: wrap; align-items: flex-end; gap: 12px; background: var(--mcv-bg); border: 1px solid var(--mcv-line); border-radius: var(--mcv-radius); padding: 16px; }
.mcv-filters .mcv-field { flex: 1 1 200px; }
.mcv-filters__go { flex: 0 0 auto; }

.mcv-repeater { display: flex; flex-direction: column; gap: 12px; }
.mcv-repeater__row { border: 1px solid var(--mcv-line); border-radius: 14px; padding: 16px; display: flex; flex-direction: column; gap: 12px; background: var(--mcv-soft); }
.mcv-repeater__row > [data-mcv-remove] { align-self: flex-start; }
.mcv-repeater > [data-mcv-add] { align-self: flex-start; }

/* Tables & lists */
.mcv-table-wrap { overflow-x: auto; margin: 0 -4px; }
.mcv-table { width: 100%; border-collapse: collapse; font-size: 14px; }
.mcv-table th { text-align: left; font-size: 12px; text-transform: uppercase; letter-spacing: .06em; color: var(--mcv-muted); font-weight: 700; padding: 10px 12px; border-bottom: 1px solid var(--mcv-line); white-space: nowrap; }
.mcv-table td { padding: 12px; border-bottom: 1px solid #f0f0f0; vertical-align: top; }
.mcv-table tr:last-child td { border-bottom: 0; }
.mcv-table .mcv-form { margin: 0; }
.mcv-strong { font-weight: 700; color: var(--mcv-ink) !important; text-decoration: none; display: block; }
a.mcv-strong:hover { text-decoration: underline; }
.mcv-sub { display: block; color: var(--mcv-muted); font-size: 13px; }
.mcv-muted { color: var(--mcv-muted); }
.mcv-center { text-align: center; }
.mcv-code { font-size: 12px; word-break: break-all; background: #f4f4f4; padding: 2px 6px; border-radius: 6px; }
.mcv-dl { display: grid; gap: 0; margin: 0; }
.mcv-dl > div { display: grid; grid-template-columns: minmax(120px, 34%) 1fr; gap: 12px; padding: 10px 0; border-bottom: 1px solid #f0f0f0; }
.mcv-dl > div:last-child { border-bottom: 0; }
.mcv-dl dt { font-weight: 700; color: var(--mcv-muted); font-size: 13px; }
.mcv-dl dd { margin: 0; min-width: 0; overflow-wrap: anywhere; }
.mcv-list { list-style: none; display: flex; flex-direction: column; gap: 10px; }
.mcv-list li p { margin: 4px 0 0; color: var(--mcv-ink-2); }
.mcv-callout { background: var(--mcv-accent-soft); border-radius: 12px; padding: 14px 16px; color: var(--mcv-ink); }

.mcv-checklist { list-style: none; display: flex; flex-direction: column; gap: 8px; margin-top: 14px; }
.mcv-checklist li { display: flex; align-items: center; gap: 10px; font-weight: 600; }
.mcv-check { width: 22px; height: 22px; border-radius: 999px; border: 2px solid var(--mcv-line-2); flex: none; }
.mcv-checklist li.is-done { color: var(--mcv-muted); font-weight: 500; }
.mcv-checklist li.is-done .mcv-check { background: var(--mcv-green); border-color: var(--mcv-green); box-shadow: inset 0 0 0 4px #ffffff; }
.mcv-checklist--plain li { font-weight: 500; align-items: flex-start; }
.mcv-checklist--plain li::before { content: ''; width: 8px; height: 8px; border-radius: 999px; background: var(--mcv-accent); margin-top: 8px; flex: none; }

.mcv-timeline { list-style: none; display: flex; flex-direction: column; gap: 0; }
.mcv-timeline li { padding: 12px 0 12px 18px; border-left: 2px solid var(--mcv-line); position: relative; }
.mcv-timeline li::before { content: ''; position: absolute; left: -6px; top: 18px; width: 10px; height: 10px; border-radius: 999px; background: var(--mcv-ink); }
.mcv-timeline li p { margin: 6px 0 0; color: var(--mcv-ink-2); }
.mcv-timeline__meta { font-size: 12px; color: var(--mcv-muted); margin-bottom: 4px; }
.mcv-notes li.is-unread::before { background: var(--mcv-accent); }

.mcv-thread { list-style: none; display: flex; flex-direction: column; gap: 12px; margin-bottom: 18px; }
.mcv-thread li { background: var(--mcv-soft); border-radius: 14px; padding: 12px 14px; max-width: 88%; }
.mcv-thread li.is-mine { align-self: flex-end; background: var(--mcv-accent-soft); }
.mcv-thread li.is-internal { border: 1px dashed var(--mcv-accent); }
.mcv-thread__meta { font-size: 12px; color: var(--mcv-muted); margin-bottom: 4px; }
.mcv-thread li p { margin: 0; }

/* Tabs & chips */
.mcv-tabs, .mcv-chips { display: flex; flex-wrap: wrap; gap: 8px; }
.mcv-tabs a, .mcv-chips a { display: inline-flex; align-items: center; gap: 6px; min-height: 40px; padding: 8px 16px; border-radius: 999px; border: 1px solid var(--mcv-line-2); background: #ffffff; color: var(--mcv-ink) !important; text-decoration: none; font-weight: 700; font-size: 14px; }
.mcv-tabs a.is-active, .mcv-chips a.is-active { background: var(--mcv-ink); border-color: var(--mcv-ink); color: #ffffff !important; }

/* Notices & empty states */
.mcv-notice { padding: 14px 18px; border-radius: 14px; font-weight: 600; background: var(--mcv-blue-soft); color: var(--mcv-blue); }
.mcv-notice--success { background: var(--mcv-green-soft); color: var(--mcv-green); }
.mcv-notice--warning { background: var(--mcv-accent-soft); color: var(--mcv-accent-ink); }
.mcv-notice--error { background: var(--mcv-red-soft); color: var(--mcv-red); }
.mcv-empty { text-align: center; padding: 28px 12px; color: var(--mcv-muted); display: flex; flex-direction: column; align-items: center; gap: 12px; }
.mcv-empty p { margin: 0; }
.mcv-debug { white-space: pre-wrap; font-size: 12px; background: #fff; padding: 12px; border-radius: 8px; }

/* Kanban */
.mcv-kanban { display: grid; grid-auto-flow: column; grid-auto-columns: minmax(240px, 1fr); gap: 14px; overflow-x: auto; padding-bottom: 8px; }
.mcv-kcol { background: #f1eeea; border-radius: 16px; padding: 14px; display: flex; flex-direction: column; gap: 10px; min-height: 160px; }
.mcv-kcol h2 { font-size: 14px; display: flex; justify-content: space-between; align-items: center; }
.mcv-kcard { background: #ffffff; border: 1px solid var(--mcv-line); border-radius: 12px; padding: 12px; display: flex; flex-direction: column; gap: 4px; text-decoration: none; color: var(--mcv-ink) !important; }
.mcv-kcard:hover { border-color: var(--mcv-ink); }
.mcv-kcard span { color: var(--mcv-muted); font-size: 13px; }
.mcv-kcard .mcv-badge { align-self: flex-start; margin-top: 4px; }

/* Opportunities */
.mcv-opp-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); gap: 16px; }
.mcv-opp { background: #ffffff; border: 1px solid var(--mcv-line); border-radius: 18px; padding: 20px; display: flex; flex-direction: column; gap: 12px; }
.mcv-opp__top { display: flex; justify-content: space-between; align-items: center; gap: 8px; }
.mcv-opp__title { font-size: 18px; line-height: 1.3; }
.mcv-opp__org { color: var(--mcv-muted); margin: 0; }
.mcv-opp__facts { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; font-size: 13px; }
.mcv-opp__facts span { display: block; color: var(--mcv-muted); }
.mcv-opp__elig { background: var(--mcv-soft); border-radius: 10px; padding: 10px 12px; font-size: 13px; margin: 0; }
.mcv-opp__foot { margin-top: auto; display: flex; flex-direction: column; gap: 10px; font-size: 13px; }
.mcv-mini > summary { list-style: none; display: inline-flex; }
.mcv-mini > summary::-webkit-details-marker { display: none; }
.mcv-mini[open] > summary { margin-bottom: 12px; }
.mcv-opps { display: flex; flex-direction: column; gap: 16px; }

/* Plans */
.mcv-plans { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 16px; margin-bottom: 12px; }
.mcv-plan { border: 1px solid var(--mcv-line-2); border-radius: 22px; padding: 26px; display: flex; flex-direction: column; gap: 12px; background: #ffffff; }
.mcv-plan--featured { background: var(--mcv-ink); color: #ffffff; border-color: var(--mcv-ink); }
.mcv-plan--featured h3, .mcv-plan--featured .mcv-plan__price { color: #ffffff; }
.mcv-plan--featured .mcv-plan__desc, .mcv-plan--featured .mcv-plan__price span { color: #cfcfcf; }
.mcv-plan__head { display: flex; justify-content: space-between; align-items: center; gap: 8px; }
.mcv-plan__price { font-family: var(--mcv-head); font-size: 40px; font-weight: 700; letter-spacing: -0.03em; margin: 0; }
.mcv-plan__price span { font-size: 15px; font-weight: 500; color: var(--mcv-muted); letter-spacing: 0; }
.mcv-plan__quota { font-weight: 700; margin: 0; }
.mcv-plan__desc { color: var(--mcv-muted); margin: 0; }
.mcv-plan .mcv-btn { margin-top: auto; }

/* Auth */
.mcv-auth .mcv-card__body { padding: 32px; }
.mcv-auth__title { font-size: 28px; margin-bottom: 8px !important; }
.mcv-auth form p { margin: 0 0 14px; display: flex; flex-direction: column; gap: 6px; }
.mcv-auth form label { font-weight: 700; font-size: 13px; }
.mcv-auth .login-remember label { flex-direction: row; display: flex; gap: 8px; font-weight: 500; }
.mcv-auth .login-submit input { background: var(--mcv-accent); color: var(--mcv-ink); border: 0; border-radius: 999px; min-height: 44px; padding: 10px 24px; font-weight: 700; cursor: pointer; }
.mcv-auth__links { margin-top: 16px !important; font-size: 14px; }

.mcv-pager { display: flex; gap: 8px; justify-content: flex-end; padding-top: 12px; }

/* Toast */
.mcv-toast { position: fixed; right: 20px; bottom: 20px; z-index: 99999; max-width: min(420px, calc(100vw - 40px)); background: var(--mcv-ink, #0f0f0f); color: #ffffff; padding: 14px 18px; border-radius: 14px; font-weight: 600; box-shadow: 0 20px 40px -20px rgba(0,0,0,.5); font-family: 'Manrope', system-ui, sans-serif; }
.mcv-toast.is-error { background: #a61b1b; }

/* Responsive */
@media (max-width: 900px) {
	body .mcv-app:not(.mcv-app--narrow), body .mcv-app.mcv-app--plain { border-radius: 14px; width: auto; left: 0; margin-left: 0 !important; }
	.mcv-app--narrow { width: auto; margin: 16px auto !important; }
	.mcv-sidebar { padding: 14px 16px; gap: 12px; }
	.mcv-menu-toggle { display: inline-flex; align-items: center; }
	.mcv-nav { display: none; }
	.mcv-nav.is-open { display: flex; }
	.mcv-main { padding: 20px 16px 40px; }
	.mcv-page-head h1 { font-size: 24px; }
	.mcv-dl > div { grid-template-columns: 1fr; gap: 2px; }
	.mcv-thread li { max-width: 100%; }
	.mcv-kanban { grid-auto-columns: minmax(220px, 80%); }
}
@media (prefers-reduced-motion: reduce) {
	.mcv-app *, .mcv-btn { transition: none !important; }
}
