/* Rum — scoped under .nbr-room. Theme colours come from CSS custom
   properties set inline (--nbr-*) by the settings page; defaults below keep the
   portal usable before a theme is configured. */

.nbr-room {
	--nbr-primary: #3d5e7b;
	--nbr-primary-hover: #5e7d99;
	--nbr-secondary: #5e7d99;
	--nbr-secondary-light: #e8f5f9;
	--nbr-accent: #3d5e7b;
	--nbr-text: #1f2937;
	--nbr-muted: #6b7280;
	--nbr-border: #e5e7eb;
	--nbr-radius: 12px;

	max-width: 1400px;
	margin: 0 auto;
	padding: 24px 16px 64px;
	color: var(--nbr-text);
	font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
	/* Inbound style-isolation: pin the inheritable typography so a host theme's
	   body rules don't bleed into the portal (it installs on arbitrary themes). */
	font-size: 16px;
	line-height: 1.5;
	font-weight: 400;
	font-style: normal;
	text-align: left;
	letter-spacing: normal;
	text-transform: none;
}
.nbr-room *, .nbr-room *::before, .nbr-room *::after { box-sizing: border-box; }

/* Integrated full-width fill (mindeportalen approach): make our wrapper FILL the
   theme's content column rather than shrink to intrinsic width inside a flex/grid
   container. The inner .nbr-room keeps its own max-width for readability. */
.nbr-portal-integrated { width: 100%; max-width: 100%; flex: 1 1 100%; margin: 0 auto; text-align: left; }

/* `hidden` must always win, even on components that set display (flex/grid),
   else the UA [hidden] rule loses to our component rules (e.g. the reply banner). */
.nbr-room [hidden], .nbr-signing [hidden] { display: none !important; }

/* Defensive armour for BARE elements only (`:not([class])`), so host theme
   bare-element rules (a/p/h*/img/ul) can't bleed in while our own component
   classes keep their styling. Known gap (deferred, as in mindeportalen): a host
   `!important` on a bare element still wins — that's the DSD escape-hatch case. */
.nbr-room a:not([class]) { color: var(--nbr-primary); text-decoration: underline; }
.nbr-room img:not([class]), .nbr-room svg:not([class]) { max-width: 100%; height: auto; border: 0; vertical-align: middle; }
.nbr-room p:not([class]) { margin: 0 0 1em; }
.nbr-room :is(h1,h2,h3,h4,h5,h6):not([class]) { color: inherit; margin: 0 0 .5em; font-weight: 600; line-height: 1.25; }
.nbr-room ul:not([class]), .nbr-room ol:not([class]) { margin: 0; padding: 0 0 0 1.2em; }
.nbr-room button:not([class]) { font-family: inherit; font-size: inherit; }

.nbr-muted { color: var(--nbr-muted); }

/* Inline icons (Heroicons) */
.nbr-icon { width: 1.25em; height: 1.25em; flex: 0 0 auto; vertical-align: -0.15em; }
.nbr-icon--sm { width: 1.05em; height: 1.05em; }
.nbr-icon--xs { width: 0.8em; height: 0.8em; }
.nbr-icon--green { color: #15803d; }
.nbr-stat__kr { font-weight: 600; color: var(--nbr-primary); }

/* ── Login / no-data ─────────────────────────────────────────────────── */
.nbr-login-card, .nbr-nodata {
	max-width: 480px; margin: 48px auto; padding: 32px; text-align: center;
	background: #fff; border: 1px solid var(--nbr-border); border-radius: var(--nbr-radius);
}
.nbr-login-title, .nbr-nodata__title { margin: 0 0 12px; font-size: 1.5rem; color: var(--nbr-primary); }
.nbr-login-title { font-weight: 700; }
.nbr-login-intro { margin: 0 0 24px; color: var(--nbr-muted); }
.nbr-login-help { margin: 20px 0 0; font-size: .85rem; color: var(--nbr-muted); }
.nbr-nodata__icon { font-size: 2.6rem; }

/* ── MitID button ────────────────────────────────────────────────────── */
/* MitID button — official brand blue (#0060e6) + white wordmark, never themed
   (matches the pnpm monorepo .nbs-button--mitid). */
.nbr-mitid-btn {
	display: inline-flex; align-items: center; justify-content: center; gap: 10px;
	height: 52px; padding: 0 28px; border-radius: 8px; line-height: 1;
	font-weight: 500; font-size: 16px; text-decoration: none; cursor: pointer;
	border: 2px solid #0060e6; background: #0060e6; color: #fff;
	box-shadow: 0 2px 4px rgba(0, 96, 230, .2);
	transition: background .15s, border-color .15s, box-shadow .15s;
}
.nbr-mitid-btn, .nbr-mitid-btn:hover, .nbr-mitid-btn:focus { color: #fff; }
.nbr-mitid-btn:hover { background: #0052cc; border-color: #0052cc; box-shadow: 0 4px 8px rgba(0, 96, 230, .3); }
.nbr-mitid-btn--outline, .nbr-mitid-btn--outline:hover, .nbr-mitid-btn--outline:focus { color: #0060e6; }
.nbr-mitid-btn--outline { background: #fff; box-shadow: none; }
.nbr-mitid-btn--outline:hover { background: #f0f6ff; border-color: #0052cc; color: #0052cc; }
.nbr-mitid-btn--compact { height: 44px; padding: 0 18px; font-size: 14px; }
.nbr-mitid-logo { height: 18px; width: auto; flex: 0 0 auto; display: block; fill: currentColor; }
.nbr-mitid-btn--compact .nbr-mitid-logo { height: 15px; }

/* ── Buttons / links / alerts ────────────────────────────────────────── */
.nbr-btn { display: inline-flex; align-items: center; gap: 6px; padding: 9px 16px; border-radius: 8px; border: 1px solid transparent; font-weight: 600; cursor: pointer; text-decoration: none; font-size: .95rem; }
.nbr-btn--primary { background: var(--nbr-primary); color: #fff; }
.nbr-btn--primary:hover { background: var(--nbr-primary-hover); }
.nbr-btn--ghost { background: transparent; border-color: var(--nbr-border); color: var(--nbr-text); }
.nbr-btn--ghost:hover { background: var(--nbr-secondary-light); }
.nbr-btn--sm { padding: 5px 10px; font-size: .85rem; }
.nbr-link { color: var(--nbr-primary); cursor: pointer; background: none; border: 0; padding: 0; text-decoration: underline; font: inherit; }
.nbr-link--icon { display: inline-flex; align-items: center; gap: 3px; text-decoration: none; }
.nbr-alert { padding: 10px 14px; border-radius: 8px; margin: 10px 0; font-size: .9rem; }
.nbr-alert--error { background: #fee2e2; color: #991b1b; }
.nbr-alert--ok { background: #dcfce7; color: #166534; }

/* ── Room layout ─────────────────────────────────────────────────────── */
.nbr-room__head-inner { display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.nbr-room__title { margin: 0; font-size: 1.6rem; color: var(--nbr-primary); }
.nbr-room__intro { margin: 8px 0 24px; color: var(--nbr-muted); }
/* Applicant card (ClientRoomApplicant.vue) */
.nbr-applicant { margin-bottom: 24px; background: #fff; border: 1px solid #d1d5db; border-radius: 16px; overflow: hidden; }
.nbr-applicant__head { display: flex; justify-content: space-between; align-items: flex-start; gap: 12px; padding: 24px; position: relative; }
.nbr-applicant--multi .nbr-applicant__head { cursor: pointer; }
.nbr-applicant__name { margin: 0 0 4px; font-size: 1.9rem; font-weight: 600; color: var(--nbr-primary); line-height: 1.15; }
.nbr-applicant__death { margin: 0; color: var(--nbr-muted); }
.nbr-applicant__badges { display: flex; align-items: center; gap: 8px; flex-shrink: 0; }
.nbr-badge-amber { background: #fffbeb; border: 1px solid #fde68a; color: #78350f; border-radius: 6px; padding: 2px 8px; font-size: .72rem; text-transform: uppercase; letter-spacing: .02em; }
.nbr-badge-case { background: #e5e7eb; color: #4b5563; border-radius: 6px; padding: 2px 8px; font-size: .72rem; text-transform: uppercase; letter-spacing: .02em; }
.nbr-applicant__chev { color: var(--nbr-primary); font-size: 1.2rem; transition: transform .15s; }
.nbr-applicant__head[aria-expanded="false"] .nbr-applicant__chev { transform: rotate(-90deg); }

/* Tinted panel behind the section cards (secondaryLight @ low opacity in Vue). */
.nbr-applicant__panel { padding: 24px; background: var(--nbr-secondary-light); background: color-mix(in srgb, var(--nbr-secondary-light) 35%, #fff); }
.nbr-unsigned-banner { display: flex; flex-direction: column; gap: 8px; align-items: center; justify-content: space-between; background: #fffbeb; border: 1px solid #fde68a; border-radius: 8px; padding: 12px 16px; margin-bottom: 24px; }
.nbr-unsigned-banner span { font-size: .9rem; font-weight: 500; color: #78350f; }

/* 2-column section grid: left ceremony+messaging (5/12), right manager+files (7/12). */
.nbr-grid { display: grid; gap: 24px; }
.nbr-grid__col { display: flex; flex-direction: column; gap: 24px; min-width: 0; }
.nbr-grid__col .nbr-card { margin-top: 0; }
@media (min-width: 1024px) {
	.nbr-grid { grid-template-columns: 5fr 7fr; align-items: start; }
	.nbr-unsigned-banner { flex-direction: row; }
}

/* ── Cards ───────────────────────────────────────────────────────────── */
.nbr-card { background: #fff; border: 1px solid var(--nbr-border); border-radius: var(--nbr-radius); padding: 20px; margin-top: 16px; }
.nbr-card__title { margin: 0 0 12px; font-size: 1.2rem; color: var(--nbr-primary); display: flex; align-items: center; gap: 8px; }

/* ── Ceremony ────────────────────────────────────────────────────────── */
.nbr-ceremony__rows { display: grid; gap: 12px; }
.nbr-ceremony__row { display: flex; flex-direction: column; }
.nbr-ceremony__label { color: #374151; font-weight: 500; min-width: 80px; }
.nbr-ceremony__value { font-weight: 600; color: var(--nbr-primary); }
.nbr-authorities { margin-top: 16px; padding-top: 16px; border-top: 1px solid var(--nbr-border); display: grid; gap: 12px; }
.nbr-authorities__title { margin: 0; font-size: 1.05rem; color: var(--nbr-primary); }
.nbr-authority { display: flex; align-items: center; justify-content: space-between; background: #f9fafb; border-radius: 8px; padding: 12px; }
.nbr-authority__name { display: flex; align-items: center; gap: 10px; font-weight: 500; }
.nbr-authority__status { background: #fff; border-radius: 999px; padding: 4px 12px; font-size: .8rem; font-weight: 600; color: var(--nbr-primary); }
.nbr-dot { width: 12px; height: 12px; border-radius: 50%; flex: 0 0 auto; background: #d1d5db; }
.nbr-dot--ok { background: green; }
@media (min-width: 640px) { .nbr-ceremony__row { flex-direction: row; align-items: center; } }

/* ── Memorial manager ────────────────────────────────────────────────── */
.nbr-mpmanager__head { display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.nbr-mpmanager__head-left { display: flex; align-items: center; gap: 16px; }
.nbr-mpmanager__head-left .nbr-card__title { margin: 0; }
.nbr-mpmanager__desc { margin: 12px 0; font-size: .9rem; }
.nbr-mpmanager__privacy { display: flex; align-items: center; justify-content: space-between; background: #f9fafb; border-radius: 8px; padding: 12px 16px; margin-bottom: 16px; }
.nbr-mpmanager__privacy-label { display: flex; align-items: center; gap: 8px; font-weight: 500; }
.nbr-info { cursor: help; color: var(--nbr-muted); }

/* Switch */
.nbr-switch { position: relative; display: inline-block; width: 44px; height: 24px; flex: 0 0 auto; }
.nbr-switch input { position: absolute; opacity: 0; width: 100%; height: 100%; margin: 0; cursor: pointer; }
.nbr-switch__track { position: absolute; inset: 0; background: #d1d5db; border-radius: 999px; transition: background .15s; }
.nbr-switch__track::after { content: ""; position: absolute; top: 4px; left: 4px; width: 16px; height: 16px; background: #fff; border-radius: 50%; transition: transform .15s; }
.nbr-switch input:checked + .nbr-switch__track { background: var(--nbr-primary); }
.nbr-switch input:checked + .nbr-switch__track::after { transform: translateX(20px); }

/* Stats */
.nbr-stats { display: grid; grid-template-columns: repeat(2, 1fr); gap: 12px; margin-bottom: 12px; }
.nbr-stat { display: flex; flex-direction: column; align-items: center; gap: 4px; background: #f9fafb; border-radius: 8px; padding: 16px; text-align: center; }
.nbr-stat--expandable { cursor: pointer; }
.nbr-stat__n { font-size: 1.5rem; font-weight: 700; color: var(--nbr-primary); }
.nbr-stat__label { font-size: .85rem; color: #374151; display: flex; align-items: center; gap: 4px; }
.nbr-expandable { margin-bottom: 12px; }
.nbr-expandable__title { margin: 8px 0; color: var(--nbr-primary); }
.nbr-expandable__list { display: grid; gap: 8px; max-height: 12rem; overflow-y: auto; }
.nbr-expandable__item { display: flex; align-items: center; justify-content: space-between; background: #f9fafb; border-radius: 8px; padding: 12px; font-size: .9rem; }
.nbr-expandable__name { font-weight: 500; display: block; }
.nbr-expandable__date { margin: 2px 0 0; font-size: .75rem; }
.nbr-expandable__amount { font-weight: 600; color: var(--nbr-primary); }
.nbr-expandable__right { text-align: right; }
.nbr-flowerstatus { display: block; font-size: .75rem; color: var(--nbr-muted); }
.nbr-flowerstatus--leveret, .nbr-flowerstatus--delivered { color: #16a34a; }
.nbr-flowerstatus--behandles, .nbr-flowerstatus--processing { color: #ca8a04; }
.nbr-flowerstatus--annulleret, .nbr-flowerstatus--cancelled { color: #dc2626; }
@media (min-width: 640px) { .nbr-stats { grid-template-columns: repeat(4, 1fr); } }

/* ── Messaging ───────────────────────────────────────────────────────── */
.nbr-messaging__intro { margin: 0 0 16px; font-size: .9rem; }
.nbr-threads { display: flex; flex-direction: column; gap: 12px; max-height: 16rem; overflow-y: auto; margin-bottom: 16px; }
.nbr-threads__empty { text-align: center; color: var(--nbr-muted); padding: 32px 0; }
.nbr-thread { display: grid; gap: 12px; }
.nbr-thread__msg { display: flex; gap: 8px; align-items: flex-start; }
.nbr-thread__msg--response { margin-left: 32px; }
.nbr-avatar { width: 24px; height: 24px; border-radius: 50%; background: var(--nbr-primary); color: #fff; display: flex; align-items: center; justify-content: center; font-size: .75rem; font-weight: 600; flex: 0 0 auto; }
.nbr-thread__msg--response .nbr-avatar { background: #4b5563; }
.nbr-bubble { flex: 1; min-width: 0; background: var(--nbr-secondary-light); border-radius: 8px; padding: 12px; }
.nbr-thread__msg--response .nbr-bubble { background: #f3f4f6; }
.nbr-bubble__text { margin: 0 0 8px; font-size: .9rem; }
.nbr-bubble__foot { display: flex; align-items: center; justify-content: space-between; border-top: 1px solid rgba(0,0,0,.08); padding-top: 6px; font-size: .75rem; color: var(--nbr-muted); }
.nbr-msg-foot { border-top: 1px solid var(--nbr-border); padding-top: 16px; }
.nbr-reply-banner { display: flex; align-items: flex-start; justify-content: space-between; gap: 8px; background: #f9fafb; border-left: 4px solid var(--nbr-primary); border-radius: 8px; padding: 10px 12px; margin-bottom: 8px; }
.nbr-reply-banner__to { margin: 0 0 2px; font-size: .75rem; font-weight: 600; color: #4b5563; }
.nbr-reply-banner__text { margin: 0; font-size: .85rem; color: #374151; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.nbr-reply-banner__close { background: none; border: 0; cursor: pointer; color: var(--nbr-muted); font-size: 1rem; }
.nbr-msg-form { position: relative; }
.nbr-msg-form textarea { width: 100%; padding: 10px 44px 10px 12px; border: 1px solid var(--nbr-border); border-radius: 8px; font: inherit; resize: none; }
.nbr-msg-form textarea:focus { outline: none; border-color: var(--nbr-primary); box-shadow: 0 0 0 1px var(--nbr-primary); }
.nbr-msg-send { position: absolute; right: 8px; top: 50%; transform: translateY(-50%); width: 32px; height: 32px; border: 0; border-radius: 6px; background: var(--nbr-primary); color: #fff; cursor: pointer; }
.nbr-msg-send:hover { background: var(--nbr-primary-hover); }

/* ── Files / disclosures ─────────────────────────────────────────────── */
.nbr-files .nbr-disclosure { border: 1px solid var(--nbr-border); border-radius: 8px; margin-top: 12px; overflow: hidden; }
.nbr-disclosure__btn { display: flex; align-items: center; justify-content: space-between; padding: 14px 16px; cursor: pointer; font-weight: 500; list-style: none; }
.nbr-disclosure__btn::-webkit-details-marker { display: none; }
.nbr-disclosure__btn::after { content: "▾"; color: var(--nbr-primary); transition: transform .15s; }
.nbr-disclosure[open] .nbr-disclosure__btn::after { transform: rotate(180deg); }
.nbr-disclosure__body { padding: 0 16px 16px; }
.nbr-count { display: inline-flex; align-items: center; justify-content: center; min-width: 20px; height: 20px; padding: 0 6px; border-radius: 999px; background: var(--nbr-primary); color: #fff; font-size: .75rem; margin-left: 8px; }
.nbr-files__caption { margin: 16px 0 8px; font-size: .7rem; font-weight: 600; letter-spacing: .04em; color: var(--nbr-muted); }
.nbr-upload__drop { display: flex; flex-direction: column; align-items: center; gap: 6px; padding: 24px; text-align: center; border: 2px dashed var(--nbr-border); border-radius: 8px; cursor: pointer; color: var(--nbr-muted); }
.nbr-upload__drop.is-dragover { border-color: #22c55e; background: #f0fdf4; }
.nbr-filelist { display: grid; gap: 8px; }
.nbr-fileitem { display: flex; align-items: center; justify-content: space-between; gap: 10px; padding: 12px 14px; border: 1px solid var(--nbr-border); border-radius: 8px; text-decoration: none; color: inherit; background: none; width: 100%; text-align: left; cursor: pointer; font: inherit; }
.nbr-fileitem:hover { background: var(--nbr-secondary-light); }
.nbr-fileitem--unsigned { border-color: #fecaca; }
.nbr-fileitem--unsigned:hover { background: #fef2f2; }
.nbr-fileitem__name { display: flex; flex-direction: column; font-weight: 500; }
.nbr-fileitem__name small { font-weight: 400; }
.nbr-download { display: inline-flex; align-items: center; gap: 4px; border: 1px solid var(--nbr-border); border-radius: 999px; padding: 4px 12px; font-size: .75rem; color: #374151; white-space: nowrap; }
.nbr-tag { font-size: .75rem; padding: 2px 8px; border-radius: 999px; white-space: nowrap; }
.nbr-tag--ok { background: #dcfce7; color: #166534; }
.nbr-tag--warn { border: 1px solid #ef4444; background: #fff; color: #ef4444; }
.nbr-empty { text-align: center; color: var(--nbr-muted); padding: 32px 0; }
.nbr-empty--ok { color: #374151; }
.nbr-signdivider { display: flex; justify-content: center; margin-top: 16px; }

/* ── Popups ──────────────────────────────────────────────────────────── */
/* Popups are appended to <body>, OUTSIDE .nbr-room, so they must carry the
   theme variables themselves (defaults here; the configured site theme is copied
   onto each overlay in room.js). Without this, var(--nbr-primary) buttons render
   transparent/invisible. */
.nbr-popup {
	--nbr-primary: #3d5e7b; --nbr-primary-hover: #5e7d99; --nbr-secondary: #5e7d99;
	--nbr-secondary-light: #e8f5f9; --nbr-accent: #3d5e7b; --nbr-text: #1f2937;
	--nbr-muted: #6b7280; --nbr-border: #e5e7eb; --nbr-radius: 12px;
	position: fixed; inset: 0; background: rgba(0,0,0,.45); display: flex; align-items: center; justify-content: center; padding: 16px; z-index: 99999;
	font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
	color: var(--nbr-text); line-height: 1.5;
	/* Pin typography — the overlay is outside .nbr-room, so the host theme's
	   (often large/fluid) base font would otherwise be inherited. */
	font-size: 16px; font-weight: 400; letter-spacing: normal;
}
.nbr-popup *, .nbr-popup *::before, .nbr-popup *::after { box-sizing: border-box; }
.nbr-popup[hidden] { display: none; }
.nbr-popup__box { background: #fff; border-radius: var(--nbr-radius); padding: 28px; max-width: 460px; text-align: center; }
.nbr-popup__box--confirm { text-align: left; }
.nbr-popup__box--confirm h2 { margin: 0 0 12px; color: var(--nbr-primary); }
.nbr-popup__actions { display: flex; justify-content: flex-end; gap: 12px; margin-top: 20px; }
.nbr-popup__icon { font-size: 2.4rem; color: #22c55e; }
.nbr-popup--loading .nbr-popup__box { display: flex; align-items: center; gap: 12px; }
.nbr-spinner { width: 24px; height: 24px; border: 3px solid var(--nbr-border); border-top-color: var(--nbr-primary); border-radius: 50%; animation: nbr-spin .8s linear infinite; flex: 0 0 auto; }
@keyframes nbr-spin { to { transform: rotate(360deg); } }

/* ── Signing modal ───────────────────────────────────────────────────── */
.nbr-signing { padding: 5vh 16px; }
.nbr-signing__panel { position: relative; display: flex; flex-direction: column; width: 100%; max-width: 1000px; height: 90vh; background: #fff; border-radius: 16px; overflow: hidden; box-shadow: 0 20px 50px rgba(0,0,0,.3); }
.nbr-signing__close { position: absolute; right: 12px; top: 12px; z-index: 5; width: 36px; height: 36px; display: inline-flex; align-items: center; justify-content: center; border: 0; border-radius: 8px; background: none; cursor: pointer; color: #6b7280; }
.nbr-signing__close:hover { background: #f3f4f6; }
.nbr-signing__head { flex: 0 0 auto; border-bottom: 1px solid var(--nbr-border); padding: 20px 56px 16px 24px; }
.nbr-signing__head h2 { margin: 0; font-size: 1.25rem; color: #111827; }
.nbr-signing__head p { margin: 4px 0 0; font-size: .9rem; }
.nbr-signing__body { flex: 1; min-height: 0; overflow: auto; background: #f3f4f6; padding: 16px; }
.nbr-signing__loading { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 12px; height: 100%; }
.nbr-signing__canvaswrap { display: flex; justify-content: center; }
.nbr-signing__canvaswrap canvas { max-width: 100%; height: auto; box-shadow: 0 2px 12px rgba(0,0,0,.15); background: #fff; }
.nbr-signing__grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(180px, 1fr)); gap: 16px; }
.nbr-signing__card { background: #fff; border: 1px solid var(--nbr-border); border-radius: 8px; padding: 12px; }
.nbr-signing__card h3 { margin: 8px 0 2px; font-size: .9rem; color: #111827; }
.nbr-signing__thumb { aspect-ratio: 3/4; overflow: hidden; border-radius: 4px; background: #f3f4f6; display: flex; align-items: flex-start; justify-content: center; }
.nbr-signing__thumb canvas { width: 100%; height: auto; }
.nbr-signing__foot { flex: 0 0 auto; border-top: 1px solid var(--nbr-border); background: #f9fafb; padding: 14px 20px; display: flex; align-items: center; justify-content: space-between; gap: 12px; flex-wrap: wrap; }
.nbr-signing__foot .nbr-muted { font-size: .875rem; }

@media (max-width: 600px) {
	.nbr-mpmanager__head { flex-direction: column; align-items: flex-start; }
	.nbr-signing__foot { flex-direction: column; }
	.nbr-signing__foot .nbr-mitid-btn { width: 100%; justify-content: center; }
}

/* ── Print ───────────────────────────────────────────────────────────── */
@media print {
	.nbr-room__head .nbr-btn, .nbr-msg-foot, .nbr-upload, .nbr-switch, [data-nbr-open-signing], .nbr-signdivider { display: none !important; }
	.nbr-card { border-color: #ccc; box-shadow: none; break-inside: avoid; }
}
