/* ==========================================================================
   Nordic Crumb Mediebank – frontend
   Built from "Mediebank Frontend" (Claude Design) + Nordic Crumb design system.
   Everything is scoped to .ncm so it survives inside an Elementor theme.
   ========================================================================== */

@font-face {
	font-family: 'Montserrat';
	src: url('../fonts/Montserrat-VariableFont_wght.ttf') format('truetype');
	font-weight: 100 900;
	font-style: normal;
	font-display: swap;
}
@font-face {
	font-family: 'Northwell';
	src: url('../fonts/Northwell.otf') format('opentype');
	font-weight: normal;
	font-style: normal;
	font-display: swap;
}

.ncm {
	--ncm-navy: #1d3a57;
	--ncm-ink: #24232a;
	--ncm-text: #3d3b43;
	--ncm-mauve: #9a6d74;
	--ncm-platinum: #F0EFF0;
	--ncm-dust: #DED8DB;
	--ncm-input-bg: #eeedee;
	--ncm-input-border: #d9d6d8;
	--ncm-outline: rgba(36, 35, 42, 0.35);
	--ncm-font: 'Montserrat', sans-serif;

	font-family: var(--ncm-font);
	color: var(--ncm-text);
	font-size: 15px;
	line-height: 1.5;
	-webkit-font-smoothing: antialiased;
}
.ncm *, .ncm *::before, .ncm *::after { box-sizing: border-box; }
/* Block themes cap post content at a narrow "content size"; the media bank needs its 1200px. */
.is-layout-constrained > .ncm { max-width: none; }
.ncm a { color: var(--ncm-navy); text-decoration: none; box-shadow: none; }
.ncm a:hover { color: var(--ncm-ink); }
.ncm img { max-width: 100%; border: 0; box-shadow: none; }
.ncm [hidden] { display: none !important; }
.ncm button {
	font-family: var(--ncm-font);
	text-shadow: none;
	box-shadow: none;
	margin: 0;
	line-height: normal;
	-webkit-appearance: none;
	appearance: none;
}
.ncm button:focus-visible, .ncm a:focus-visible, .ncm select:focus-visible, .ncm input:focus-visible {
	outline: 2px solid var(--ncm-navy);
	outline-offset: 2px;
}

/* ---------- Layout + type ---------- */

.ncm-wrap { max-width: 1200px; margin: 0 auto; padding: 0 32px; }
.ncm-section--auth { padding: 56px 0 88px; }
.ncm-section--pending { padding: 88px 0 120px; }
.ncm-section--overview { padding: 64px 0 88px; }
.ncm-section--category { padding: 48px 0 120px; }

.ncm-eyebrow {
	font-size: 12px; font-weight: 700; letter-spacing: 0.3em; text-transform: uppercase;
	color: var(--ncm-ink); margin-bottom: 18px; line-height: 1.5;
}
.ncm .ncm-h1 {
	margin: 0; font-family: var(--ncm-font); font-weight: 900; font-size: 40px; line-height: 1.12;
	letter-spacing: 0; text-transform: none; color: var(--ncm-ink);
}
.ncm .ncm-h1--auth { margin-bottom: 20px; }
.ncm .ncm-h1--register, .ncm .ncm-h1--overview { margin-bottom: 28px; }
.ncm .ncm-h1--pending { font-size: 36px; margin-bottom: 24px; }

.ncm .ncm-lead {
	margin: 0; font-family: var(--ncm-font); font-size: 18px; line-height: 1.45; color: var(--ncm-text); text-wrap: pretty;
}
.ncm .ncm-lead--auth { margin-bottom: 36px; }
.ncm .ncm-lead--overview { font-size: 20px; max-width: 760px; margin-bottom: 56px; }
.ncm .ncm-lead--category { max-width: 720px; margin-bottom: 40px; }
.ncm .ncm-lead--pending { line-height: 1.5; margin-bottom: 40px; }
.ncm .ncm-lead b { color: var(--ncm-ink); }

.ncm-script { font-family: 'Northwell', cursive; font-size: 72px; line-height: 0.75; color: var(--ncm-mauve); margin-bottom: 6px; }
.ncm-empty { padding: 64px 0; text-align: center; font-size: 18px; color: var(--ncm-text); }
.ncm-center { display: flex; justify-content: center; }

.ncm-link { color: var(--ncm-navy); }
.ncm-link--sm { font-size: 11px; letter-spacing: 0.2em; text-transform: uppercase; }
.ncm-form-actions .ncm-link--sm { letter-spacing: 0.22em; }

/* ---------- Buttons (design system Button) ---------- */

.ncm .ncm-btn {
	display: inline-block; font-family: var(--ncm-font); font-weight: 700; font-size: 13px; line-height: normal;
	text-transform: uppercase; letter-spacing: 0.22em; border-radius: 999px; padding: 14px 32px;
	cursor: pointer; white-space: nowrap; border: 1px solid var(--ncm-ink); background: var(--ncm-ink); color: #fff;
	text-decoration: none; transition: background-color .15s ease, color .15s ease;
}
.ncm .ncm-btn:hover, .ncm .ncm-btn:focus { background: var(--ncm-text); border-color: var(--ncm-text); color: #fff; }
.ncm .ncm-btn--outline { background: transparent; color: var(--ncm-ink); border-color: var(--ncm-outline); }
.ncm .ncm-btn--outline:hover, .ncm .ncm-btn--outline:focus { background: var(--ncm-ink); border-color: var(--ncm-ink); color: #fff; }
.ncm .ncm-btn--sm { font-size: 12px; letter-spacing: 0.16em; padding: 11px 16px; }

/* ---------- Cards, forms ---------- */

.ncm-card { background: #fff; border-radius: 14px; }
.ncm-rows { overflow: hidden; }

.ncm-auth { display: grid; gap: 64px; }
.ncm-auth--login { grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr); align-items: center; }
.ncm-auth--register { grid-template-columns: minmax(0, 0.9fr) minmax(0, 1fr); align-items: start; }
.ncm-auth-main { max-width: 440px; }
.ncm .ncm-auth-photo { width: 100%; height: auto; aspect-ratio: 5 / 6; object-fit: cover; border-radius: 1rem; display: block; }
.ncm-auth-alt { margin-top: 28px; display: flex; align-items: center; gap: 18px; flex-wrap: wrap; font-size: 15px; color: var(--ncm-text); }

.ncm-form { padding: 32px; display: flex; flex-direction: column; gap: 22px; }
.ncm-form--grid { display: grid; grid-template-columns: 1fr 1fr; gap: 22px 20px; }
.ncm-span { grid-column: 1 / -1; }
.ncm-form-row { display: flex; justify-content: space-between; align-items: center; gap: 12px; font-size: 14px; color: var(--ncm-text); }
.ncm-form-actions { display: flex; align-items: center; gap: 24px; flex-wrap: wrap; }

.ncm .ncm-field {
	display: flex; flex-direction: column; gap: 8px; margin: 0; font-family: var(--ncm-font);
	font-size: 12px; font-weight: 400; line-height: 1.5; letter-spacing: 0.2em; text-transform: uppercase; color: var(--ncm-navy);
}
.ncm .ncm-field input {
	width: 100%; margin: 0; font: 16px/1.5 var(--ncm-font); letter-spacing: 0; text-transform: none;
	padding: 11px 16px; background: var(--ncm-input-bg); border: 1px solid var(--ncm-input-border); border-radius: 4px;
	color: var(--ncm-ink); box-shadow: none; height: auto;
}
.ncm .ncm-field input:focus { border-color: var(--ncm-navy); outline: none; }
.ncm-req { color: #d04040; margin-left: 6px; }

.ncm .ncm-check-label {
	display: flex; gap: 8px; align-items: center; margin: 0; font-family: var(--ncm-font);
	font-size: 14px; font-weight: 400; letter-spacing: 0; text-transform: none; color: var(--ncm-text);
}
.ncm .ncm-check-label input { margin: 0; accent-color: var(--ncm-ink); }
.ncm .ncm-check-label--terms { gap: 10px; align-items: flex-start; line-height: 1.4; letter-spacing: 0.2px; }
.ncm .ncm-check-label--terms input { margin-top: 3px; flex: none; }

.ncm-errors {
	background: #fff; border: 1px solid #d04040; border-radius: 4px; padding: 12px 16px; margin-bottom: 22px;
	font-size: 14px; line-height: 1.45; color: #8a2424; display: flex; flex-direction: column; gap: 4px;
}

.ncm-step { padding: 22px 28px; display: flex; gap: 18px; align-items: center; border-bottom: 1px solid var(--ncm-platinum); color: var(--ncm-navy); font-size: 16px; }
.ncm-step:last-child { border-bottom: 0; }
.ncm-step-num {
	width: 28px; height: 28px; border-radius: 50%; background: var(--ncm-navy); color: #fff; flex: none;
	font-size: 12px; font-weight: 700; display: flex; align-items: center; justify-content: center;
}

/* ---------- Pending ---------- */

.ncm-pending { max-width: 640px; margin: 0 auto; padding: 0 32px; text-align: center; }
.ncm-info { text-align: left; margin-bottom: 40px; }
.ncm-info-row { padding: 20px 28px; display: flex; justify-content: space-between; align-items: center; gap: 16px; border-bottom: 1px solid var(--ncm-platinum); font-size: 15px; color: var(--ncm-text); }
.ncm-info-row:last-child { border-bottom: 0; }
.ncm-info-val { color: var(--ncm-navy); }
.ncm-status {
	color: var(--ncm-mauve); font-weight: 700; font-size: 11px; letter-spacing: 0.22em; text-transform: uppercase;
	border: 1px solid var(--ncm-mauve); border-radius: 999px; padding: 4px 10px; line-height: 1.5;
}

/* ---------- Logged-in bar ---------- */

.ncm-userbar { display: flex; justify-content: flex-end; gap: 14px; align-items: center; padding-top: 20px; font-size: 12px; color: var(--ncm-navy); }
.ncm-userbar-who { display: flex; align-items: center; gap: 8px; }
.ncm-avatar {
	width: 26px; height: 26px; border-radius: 50%; background: var(--ncm-navy); color: #fff;
	display: flex; align-items: center; justify-content: center; font-size: 10px; font-weight: 700;
}
.ncm .ncm-userbar-out { font-size: 11px; letter-spacing: 0.22em; text-transform: uppercase; color: var(--ncm-navy); border-left: 1px solid var(--ncm-input-border); padding-left: 14px; }
.ncm-userbar + .ncm-section { padding-top: 40px; }

/* ---------- Overview ---------- */

.ncm-cats { display: grid; grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); gap: 40px 32px; }
.ncm .ncm-cat { display: flex; flex-direction: column; gap: 18px; color: var(--ncm-navy); }
.ncm-cat-media { position: relative; aspect-ratio: 4 / 3; border-radius: 14px; overflow: hidden; }
.ncm .ncm-cat-media img {
	position: absolute; inset: 0; width: 100%; height: 100%; max-width: none; object-fit: cover; transition: transform .3s ease;
}
.ncm .ncm-cat-media.ncm-fit--cutout img,
.ncm .ncm-cat-media.ncm-fit--logo img { object-fit: contain; padding: 28px; }
.ncm .ncm-cat:hover .ncm-cat-media img { transform: scale(1.03); }
.ncm-badge {
	position: absolute; top: 14px; right: 14px; background: #fff; border: 1px solid var(--ncm-ink); border-radius: 999px;
	padding: 5px 11px; font-size: 10px; font-weight: 700; letter-spacing: 0.2em; text-transform: uppercase; color: var(--ncm-ink); line-height: 1.5;
}
.ncm-cat-text { display: flex; flex-direction: column; gap: 6px; }
.ncm-cat-name { font-weight: 900; font-size: 19px; letter-spacing: 0.02em; text-transform: uppercase; color: var(--ncm-navy); line-height: 1.3; }
.ncm-cat-desc { font-size: 15px; line-height: 1.4; color: var(--ncm-text); }
.ncm-cat-updated { font-size: 13px; color: var(--ncm-mauve); }

/* ---------- Category ---------- */

.ncm-crumbs { display: flex; gap: 10px; font-size: 11px; letter-spacing: 0.22em; text-transform: uppercase; color: var(--ncm-navy); margin-bottom: 28px; }
.ncm-crumbs-current { color: var(--ncm-ink); font-weight: 700; }
.ncm-cat-head { display: flex; justify-content: space-between; align-items: flex-end; gap: 24px; flex-wrap: wrap; margin-bottom: 12px; }
.ncm-cat-meta { display: flex; flex-direction: column; align-items: flex-end; gap: 10px; padding-bottom: 6px; }
.ncm-count { font-size: 15px; color: var(--ncm-text); }
.ncm-cat-head + .ncm-toolbar { margin-top: 28px; }

.ncm-toolbar {
	display: flex; justify-content: space-between; align-items: center; gap: 20px; flex-wrap: wrap;
	padding: 18px 0; border-top: 1px solid var(--ncm-dust); border-bottom: 1px solid var(--ncm-dust); margin-bottom: 36px;
}
.ncm-pills { display: flex; gap: 12px; flex-wrap: wrap; align-items: center; }
.ncm .ncm-pill {
	font: 700 12px/1.5 var(--ncm-font); letter-spacing: 0.2em; text-transform: uppercase; padding: 8px 16px;
	border-radius: 999px; cursor: pointer; border: none; background: var(--ncm-accent); color: #fff; opacity: 1;
	transition: opacity .15s ease, box-shadow .15s ease;
}
.ncm .ncm-pill:hover, .ncm .ncm-pill:focus { background: var(--ncm-accent); color: #fff; }
.ncm-pills.has-filter .ncm-pill { opacity: 0.55; }
.ncm-pills.has-filter .ncm-pill:hover { opacity: 0.8; }
.ncm .ncm-pills .ncm-pill.is-active { opacity: 1; box-shadow: 0 0 0 2px var(--ncm-platinum), 0 0 0 3.5px var(--ncm-accent); }

.ncm-tools { display: flex; gap: 24px; align-items: center; flex-wrap: wrap; }
.ncm .ncm-textbtn {
	background: none; border: none; cursor: pointer; padding: 0; font: 400 12px/1.5 var(--ncm-font);
	letter-spacing: 0.22em; text-transform: uppercase; color: var(--ncm-navy);
}
.ncm .ncm-textbtn:hover, .ncm .ncm-textbtn:focus { background: none; color: var(--ncm-ink); }
.ncm .ncm-sort {
	display: flex; align-items: center; gap: 10px; margin: 0; font-family: var(--ncm-font); font-size: 11px; font-weight: 400;
	letter-spacing: 0.22em; text-transform: uppercase; color: var(--ncm-navy);
}
.ncm .ncm-sort select {
	font: 15px/1.5 var(--ncm-font); letter-spacing: 0; text-transform: none; padding: 9px 34px 9px 14px; margin: 0;
	background: #fff url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 24 24' fill='none' stroke='%2324232a' stroke-width='2.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E") no-repeat right 12px center;
	border: 1px solid var(--ncm-input-border); border-radius: 4px; color: var(--ncm-ink); height: auto; width: auto;
	-webkit-appearance: none; appearance: none; cursor: pointer;
}

/* Masonry: CSS columns keep each image's own aspect ratio. */
.ncm-grid { columns: 3 300px; column-gap: 28px; }
.ncm-item { break-inside: avoid; margin: 0 0 32px; display: flex; flex-direction: column; gap: 12px; }
.ncm-item-media { position: relative; border-radius: 12px; overflow: hidden; outline: 2px solid transparent; outline-offset: 3px; transition: outline-color .15s ease; }
.ncm-item.is-selected .ncm-item-media { outline-color: var(--ncm-ink); }

.ncm .ncm-item-open {
	display: block; width: 100%; padding: 0; margin: 0; border: 0; border-radius: 0; background: none; cursor: zoom-in;
}
.ncm .ncm-item-open:hover, .ncm .ncm-item-open:focus { background: none; }
.ncm .ncm-item-open img { display: block; width: 100%; height: auto; transition: transform .3s ease; }
.ncm .ncm-item-open:hover img { transform: scale(1.03); }
.ncm .ncm-fit--cutout .ncm-item-open { padding: 28px 40px; }
.ncm .ncm-fit--logo .ncm-item-open { aspect-ratio: 4 / 3; display: flex; align-items: center; justify-content: center; padding: 12% 16%; }
.ncm .ncm-fit--logo .ncm-item-open img { width: auto; max-width: 100%; max-height: 100%; object-fit: contain; }

.ncm .ncm-check {
	position: absolute; top: 12px; left: 12px; width: 28px; height: 28px; border-radius: 50%; padding: 0;
	border: 1.5px solid rgba(36, 35, 42, 0.25); background: rgba(255, 255, 255, 0.85); color: rgba(36, 35, 42, 0.25);
	cursor: pointer; display: flex; align-items: center; justify-content: center; box-shadow: 0 1px 4px rgba(0, 0, 0, 0.15);
}
.ncm .ncm-check:hover, .ncm .ncm-check:focus { background: #fff; color: var(--ncm-ink); border-color: rgba(36, 35, 42, 0.5); }
.ncm .ncm-item.is-selected .ncm-check { background: var(--ncm-ink); border-color: var(--ncm-ink); color: #fff; }

.ncm-item-foot { display: flex; justify-content: space-between; align-items: flex-start; gap: 12px; }
.ncm-item-text { display: flex; flex-direction: column; gap: 5px; min-width: 0; }
.ncm-item-name { font-weight: 700; font-size: 15px; color: var(--ncm-navy); line-height: 1.3; }
.ncm-item-meta { display: flex; gap: 8px; align-items: center; font-size: 12px; color: var(--ncm-mauve); }
.ncm-dot { width: 8px; height: 8px; border-radius: 50%; flex: none; }

.ncm .ncm-roundbtn {
	flex: none; width: 36px; height: 36px; border-radius: 50%; border: 1px solid var(--ncm-outline); background: transparent;
	cursor: pointer; display: flex; align-items: center; justify-content: center; padding: 0; color: var(--ncm-navy);
	transition: background-color .15s ease, color .15s ease;
}
.ncm .ncm-roundbtn:hover, .ncm .ncm-roundbtn:focus { background: var(--ncm-ink); border-color: var(--ncm-ink); color: #fff; }
.ncm .ncm-roundbtn--ink { color: var(--ncm-ink); }

.ncm .ncm-back-link { display: inline-flex; gap: 10px; align-items: center; font-size: 12px; letter-spacing: 0.22em; text-transform: uppercase; color: var(--ncm-navy); }
.ncm .ncm-back-link:hover { color: var(--ncm-ink); }

/* ---------- Selection bar ---------- */

.ncm-selbar {
	position: fixed; left: 50%; bottom: 28px; transform: translateX(-50%); z-index: 9990;
	background: var(--ncm-ink); color: #fff; border-radius: 999px; padding: 8px 8px 8px 26px;
	display: flex; align-items: center; gap: 22px; box-shadow: 0 12px 32px rgba(0, 0, 0, 0.25); white-space: nowrap;
}
.ncm-selbar-label { font-size: 14px; font-weight: 600; }
.ncm .ncm-selbar-clear {
	background: none; border: none; color: #fff; opacity: 0.75; cursor: pointer; padding: 0;
	font: 400 11px/1.5 var(--ncm-font); letter-spacing: 0.22em; text-transform: uppercase;
}
.ncm .ncm-selbar-clear:hover, .ncm .ncm-selbar-clear:focus { background: none; color: #fff; opacity: 1; }
.ncm .ncm-selbar-zip {
	display: flex; gap: 10px; align-items: center; background: #fff; color: var(--ncm-ink); border: none; border-radius: 999px;
	padding: 12px 22px; cursor: pointer; font: 700 12px/1.5 var(--ncm-font); letter-spacing: 0.18em; text-transform: uppercase;
}
.ncm .ncm-selbar-zip:hover, .ncm .ncm-selbar-zip:focus { background: var(--ncm-platinum); color: var(--ncm-ink); }

/* ---------- Lightbox ---------- */

.ncm-lb {
	position: fixed; inset: 0; z-index: 100000; background: rgba(24, 23, 28, 0.94);
	display: grid; grid-template-columns: minmax(0, 1fr) 380px;
}
.ncm-lb-stage { position: relative; display: flex; align-items: center; justify-content: center; padding: 56px 88px; min-height: 0; }
.ncm-lb-frame { display: flex; border-radius: 12px; overflow: hidden; max-width: 100%; }
.ncm .ncm-lb-frame img { display: block; max-width: 100%; max-height: calc(100vh - 112px); width: auto; height: auto; }
.ncm .ncm-lb-frame.ncm-fit--cutout { padding: 28px 40px; }
.ncm .ncm-lb-frame.ncm-fit--cutout img { max-height: calc(100vh - 168px); }
.ncm .ncm-lb-frame.ncm-fit--logo { width: min(640px, 100%); aspect-ratio: 4 / 3; align-items: center; justify-content: center; padding: 10% 14%; }
.ncm .ncm-lb-frame.ncm-fit--logo img { max-height: 100%; object-fit: contain; }

.ncm .ncm-lb-nav {
	position: absolute; top: 50%; transform: translateY(-50%); width: 48px; height: 48px; border-radius: 50%; padding: 0;
	border: 1px solid rgba(255, 255, 255, 0.35); background: transparent; cursor: pointer;
	display: flex; align-items: center; justify-content: center;
}
.ncm .ncm-lb-nav:hover, .ncm .ncm-lb-nav:focus { background: rgba(255, 255, 255, 0.12); border-color: rgba(255, 255, 255, 0.35); }
.ncm-lb-nav--prev { left: 24px; }
.ncm-lb-nav--next { right: 24px; }
.ncm-lb-counter { position: absolute; left: 0; right: 0; bottom: 22px; text-align: center; color: rgba(255, 255, 255, 0.75); font-size: 12px; letter-spacing: 0.22em; }

.ncm-lb-side { background: #fff; padding: 36px 32px; display: flex; flex-direction: column; gap: 22px; overflow: auto; }
.ncm-lb-top { display: flex; justify-content: space-between; align-items: center; }
.ncm-lb-cat { font-size: 11px; font-weight: 700; letter-spacing: 0.3em; text-transform: uppercase; color: var(--ncm-ink); }
.ncm .ncm-lb-name { margin: 0; font-family: var(--ncm-font); font-weight: 900; font-size: 26px; line-height: 1.15; letter-spacing: 0; text-transform: none; color: var(--ncm-navy); }
.ncm-lb-product-wrap { display: flex; }
.ncm-lb-product { color: #fff; border-radius: 999px; padding: 7px 14px; font-size: 11px; font-weight: 700; letter-spacing: 0.2em; text-transform: uppercase; line-height: 1.5; }
.ncm .ncm-lb-desc { margin: 0; font-family: var(--ncm-font); font-size: 16px; line-height: 1.55; color: var(--ncm-text); text-wrap: pretty; }
.ncm-lb-facts { border-top: 1px solid var(--ncm-platinum); border-bottom: 1px solid var(--ncm-platinum); }
.ncm-lb-fact { display: flex; justify-content: space-between; padding: 12px 0; font-size: 14px; color: var(--ncm-text); }
.ncm-lb-fact + .ncm-lb-fact { border-top: 1px solid var(--ncm-platinum); }
.ncm-lb-fact span:last-child { color: var(--ncm-navy); text-align: right; margin-left: 16px; }
.ncm-lb-file { word-break: break-all; }
.ncm-lb-actions { display: flex; flex-direction: column; gap: 12px; margin-top: auto; }
.ncm .ncm-lb-dl {
	display: flex; justify-content: center; gap: 10px; align-items: center; background: var(--ncm-ink); color: #fff; border: none;
	border-radius: 999px; padding: 15px 24px; cursor: pointer; font: 700 13px/1.5 var(--ncm-font); letter-spacing: 0.2em; text-transform: uppercase;
}
.ncm .ncm-lb-dl:hover, .ncm .ncm-lb-dl:focus { background: var(--ncm-text); color: #fff; }
.ncm .ncm-lb-dl svg { stroke-width: 2.2; }
.ncm .ncm-lb-sel {
	background: transparent; color: var(--ncm-ink); border: 1px solid var(--ncm-outline); border-radius: 999px; padding: 14px 24px;
	cursor: pointer; font: 700 12px/1.5 var(--ncm-font); letter-spacing: 0.2em; text-transform: uppercase;
}
.ncm .ncm-lb-sel:hover, .ncm .ncm-lb-sel:focus { background: var(--ncm-platinum); color: var(--ncm-ink); border-color: var(--ncm-outline); }

body.ncm-lb-open { overflow: hidden; }

/* ---------- Toast ---------- */

.ncm-toast {
	position: fixed; top: 24px; right: 24px; z-index: 100010; background: #fff; border-radius: 12px; padding: 16px 20px;
	box-shadow: 0 10px 30px rgba(0, 0, 0, 0.18); display: flex; gap: 12px; align-items: center; font-size: 14px;
	color: var(--ncm-ink); max-width: 360px;
}
.ncm-toast-icon { width: 24px; height: 24px; border-radius: 50%; background: #659498; display: flex; align-items: center; justify-content: center; flex: none; }
body.admin-bar .ncm-toast { top: 56px; }

/* ---------- Smaller screens (design is desktop-first; this keeps it usable) ---------- */

@media (max-width: 900px) {
	.ncm-auth--login, .ncm-auth--register { grid-template-columns: minmax(0, 1fr); gap: 40px; }
	.ncm .ncm-auth--login .ncm-auth-photo { aspect-ratio: 16 / 9; }
	.ncm-auth-main { max-width: none; }
	.ncm-lb { grid-template-columns: minmax(0, 1fr); grid-template-rows: minmax(0, 1fr) auto; }
	.ncm-lb-stage { padding: 24px 16px 48px; }
	.ncm .ncm-lb-frame img { max-height: 55vh; }
	.ncm-lb-nav--prev { left: 8px; }
	.ncm-lb-nav--next { right: 8px; }
	.ncm-lb-side { max-height: 45vh; padding: 24px 20px; }
}
@media (max-width: 600px) {
	.ncm-wrap, .ncm-pending { padding: 0 16px; }
	.ncm .ncm-h1 { font-size: 32px; }
	.ncm .ncm-lead--overview { font-size: 18px; margin-bottom: 40px; }
	.ncm-form, .ncm-form--grid { padding: 24px 20px; }
	.ncm-form--grid { grid-template-columns: minmax(0, 1fr); }
	.ncm-cats { grid-template-columns: minmax(0, 1fr); }
	.ncm-cat-meta { align-items: flex-start; }
	.ncm-selbar { gap: 14px; padding-left: 18px; bottom: 16px; }
	.ncm-selbar-clear { display: none; }
}
