/* StrongStays — team dashboard */
.roh-app, .roh-login, .roh-modal {
	--roh-ink: #1b2a2f;
	--roh-muted: #5d6d71;
	--roh-line: #dbe3e1;
	--roh-bg: #f4f7f6;
	--roh-card: #ffffff;
	/* Theme tokens. The agency's Colors screen overrides these (see ROH_Branding::tokens). */
	--roh-pine: #1f5f53;
	--roh-on-pine: #ffffff;
	--roh-pine-dark: #1a5046;
	--roh-pine-soft: #e3efec;
	--roh-pine-text: #1f5f53;
	--roh-sidebar: #164a40;
	--roh-on-sidebar: #ffffff;
	--roh-tag: #f2c14e;
	--roh-tag-soft: #fdf3d8;
	--roh-on-tag: #1b2a2f;
	--roh-red: #b8432d;
	--roh-red-soft: #fbe9e5;
	--roh-blue: #2c6a91;
	--roh-radius: 10px;
	font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
	font-size: 16px;
	line-height: 1.5;
	color: var(--roh-ink);
	box-sizing: border-box;
}
.roh-app *, .roh-app *::before, .roh-app *::after, .roh-modal *, .roh-modal *::before, .roh-modal *::after { box-sizing: inherit; }

/* Take over the theme's content width so the dashboard has room. */
.roh-app {
	display: grid;
	grid-template-columns: 220px minmax(0, 1fr);
	min-height: 80vh;
	background: var(--roh-bg);
	border-radius: var(--roh-radius);
	overflow: hidden;
	width: min(1280px, 100vw - 32px);
	max-width: none !important; /* Block themes constrain post content to ~650px. */
	position: relative;
	left: 50%;
	transform: translateX(-50%);
	margin: 0 0 32px;
}
.roh-loading { padding: 48px; color: var(--roh-muted); }

/* ---------- Navigation ---------- */
.roh-nav { background: var(--roh-sidebar); color: var(--roh-on-sidebar); padding: 20px 12px; display: flex; flex-direction: column; gap: 2px; }
.roh-team-name { font-weight: 700; font-size: 17px; padding: 0 10px 4px; line-height: 1.25; }
.roh-team-switch { margin: 0 10px 16px; background: color-mix(in srgb, var(--roh-on-sidebar) 8%, transparent); color: var(--roh-on-sidebar); border: 1px solid color-mix(in srgb, var(--roh-on-sidebar) 25%, transparent); border-radius: 6px; padding: 4px 6px; font-size: 13px; }
.roh-team-switch option { color: var(--roh-ink); }
.roh-role { font-size: 13px; opacity: .7; padding: 0 10px 16px; }
.roh-nav a { color: color-mix(in srgb, var(--roh-on-sidebar) 85%, transparent); text-decoration: none; padding: 9px 10px; border-radius: 7px; display: flex; align-items: center; gap: 10px; font-size: 15px; }
.roh-nav a:hover { background: color-mix(in srgb, var(--roh-on-sidebar) 10%, transparent); color: var(--roh-on-sidebar); }
.roh-nav a.is-active { background: var(--roh-on-sidebar); color: var(--roh-sidebar); font-weight: 600; }
.roh-nav .roh-nav-badge { margin-left: auto; background: var(--roh-tag); color: var(--roh-on-tag); border-radius: 999px; font-size: 12px; font-weight: 700; padding: 0 7px; }
.roh-nav-foot { margin-top: auto; padding-top: 16px; font-size: 13px; }
.roh-nav-foot a { font-size: 13px; opacity: .8; }

.roh-main { padding: 28px 32px 48px; min-width: 0; }
.roh-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 12px; flex-wrap: wrap; margin-bottom: 20px; }
.roh-head h1 { font-size: 26px; line-height: 1.2; margin: 0; font-weight: 700; letter-spacing: -.01em; }
.roh-head p { margin: 4px 0 0; color: var(--roh-muted); }
.roh-head-actions { display: flex; gap: 8px; flex-wrap: wrap; }
.roh-back { display: inline-block; color: var(--roh-muted); text-decoration: none; margin-bottom: 8px; font-size: 14px; }
.roh-back:hover { color: var(--roh-pine-text); }

/* ---------- Team logo ---------- */
/* Logos sit on a light plate so dark logos stay visible on any menu color. */
.roh-logo { display: block; background: var(--roh-card); border-radius: 8px; padding: 10px 12px; margin: 0 4px 8px; text-align: center; }
.roh-logo img { display: inline-block; max-width: 100%; max-height: 56px; width: auto; height: auto; vertical-align: middle; }
.roh-logo-sm { display: inline-flex; align-items: center; gap: 8px; }
.roh-logo-sm img { max-height: 28px; max-width: 120px; width: auto; height: auto; }
.roh-logo-stage { display: flex; gap: 16px; flex-wrap: wrap; align-items: stretch; margin-bottom: 16px; }
.roh-logo-stage > div { flex: 1 1 220px; border-radius: var(--roh-radius); padding: 18px; display: flex; align-items: center; justify-content: center; min-height: 110px; }
.roh-logo-stage .on-menu { background: var(--roh-sidebar); }
.roh-logo-stage .on-email { background: var(--roh-card); border: 1px solid var(--roh-line); }
.roh-logo-stage .on-menu .roh-logo { width: 196px; margin: 0; }
.roh-logo-stage .on-email img { max-height: 48px; max-width: 220px; }

/* ---------- Buttons & form controls ---------- */
.roh-btn { appearance: none; border: 1px solid var(--roh-line); background: #fff; color: var(--roh-ink); border-radius: 8px; padding: 8px 14px; font: inherit; font-size: 15px; font-weight: 600; cursor: pointer; text-decoration: none; display: inline-flex; align-items: center; gap: 6px; line-height: 1.3; }
.roh-btn:hover { border-color: var(--roh-pine); color: var(--roh-pine-text); }
.roh-btn-primary { background: var(--roh-pine); color: var(--roh-on-pine); border-color: var(--roh-pine); }
.roh-btn-primary:hover { background: var(--roh-pine-dark); border-color: var(--roh-pine-dark); color: var(--roh-on-pine); }
.roh-btn-danger { color: var(--roh-red); }
.roh-btn-danger:hover { border-color: var(--roh-red); color: var(--roh-red); }
.roh-btn-big { padding: 14px 20px; font-size: 17px; width: 100%; justify-content: center; }
.roh-btn-sm { padding: 4px 10px; font-size: 13px; }
.roh-btn:disabled { opacity: .5; cursor: default; }
.roh-btn:focus-visible, .roh-app a:focus-visible, .roh-app input:focus-visible, .roh-app select:focus-visible, .roh-app textarea:focus-visible, .roh-modal :focus-visible { outline: 3px solid var(--roh-tag); outline-offset: 2px; }

.roh-field { display: flex; flex-direction: column; gap: 4px; margin-bottom: 14px; }
.roh-field > span { font-size: 14px; font-weight: 600; }
.roh-field small { color: var(--roh-muted); font-size: 13px; }
.roh-app input[type=text], .roh-app input[type=email], .roh-app input[type=tel], .roh-app input[type=number], .roh-app input[type=date], .roh-app input[type=time], .roh-app input[type=datetime-local], .roh-app input[type=url], .roh-app input[type=search], .roh-app select, .roh-app textarea,
.roh-modal input[type=text], .roh-modal input[type=email], .roh-modal input[type=tel], .roh-modal input[type=number], .roh-modal input[type=date], .roh-modal input[type=time], .roh-modal input[type=datetime-local], .roh-modal input[type=url], .roh-modal select, .roh-modal textarea,
.roh-login input[type=email] {
	width: 100%; border: 1px solid #c8d3d0; border-radius: 7px; padding: 9px 11px; font: inherit; font-size: 16px; background: #fff; color: var(--roh-ink);
}
.roh-modal textarea, .roh-app textarea { min-height: 84px; resize: vertical; }
.roh-grid2 { display: grid; grid-template-columns: 1fr 1fr; gap: 0 14px; }
.roh-grid3 { display: grid; grid-template-columns: 1fr 1fr 1fr; gap: 0 14px; }
.roh-check { display: flex; gap: 8px; align-items: center; font-size: 15px; margin-bottom: 10px; }

/* ---------- Panels, tables, stats ---------- */
.roh-panel { background: var(--roh-card); border: 1px solid var(--roh-line); border-radius: var(--roh-radius); padding: 18px 20px; margin-bottom: 18px; }
.roh-panel h2 { font-size: 17px; margin: 0 0 12px; display: flex; justify-content: space-between; align-items: center; gap: 8px; }
.roh-panel h3 { font-size: 15px; margin: 16px 0 8px; color: var(--roh-muted); font-weight: 600; }
.roh-cols { display: grid; grid-template-columns: minmax(0, 3fr) minmax(0, 2fr); gap: 18px; align-items: start; }

.roh-stats { display: grid; grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); gap: 12px; margin-bottom: 22px; }
.roh-stat { background: #fff; border: 1px solid var(--roh-line); border-radius: var(--roh-radius); padding: 14px 16px; text-decoration: none; color: inherit; display: block; }
.roh-stat:hover { border-color: var(--roh-pine); }
.roh-stat b { display: block; font-size: 28px; line-height: 1.1; }
.roh-stat span { color: var(--roh-muted); font-size: 14px; }
.roh-stat.is-warn { background: var(--roh-tag-soft); border-color: var(--roh-tag); }
.roh-stat.is-bad { background: var(--roh-red-soft); border-color: #e7b7ad; }

.roh-table { width: 100%; border-collapse: collapse; font-size: 15px; }
.roh-table th { text-align: left; font-size: 13px; color: var(--roh-muted); font-weight: 600; padding: 8px 10px; border-bottom: 1px solid var(--roh-line); }
.roh-table td { padding: 11px 10px; border-bottom: 1px solid var(--roh-line); vertical-align: top; }
.roh-table tr:last-child td { border-bottom: 0; }
.roh-table tr[data-href] { cursor: pointer; }
.roh-table tr[data-href]:hover td { background: var(--roh-pine-soft); }
.roh-table .roh-sub { color: var(--roh-muted); font-size: 13px; }
.roh-scroll { overflow-x: auto; }

.roh-pill { display: inline-block; border-radius: 999px; padding: 1px 9px; font-size: 12.5px; font-weight: 600; background: #eef2f1; color: var(--roh-muted); white-space: nowrap; }
.roh-pill.s-scheduled, .roh-pill.s-open { background: #e7eef4; color: var(--roh-blue); }
.roh-pill.s-in_progress, .roh-pill.s-assigned { background: var(--roh-tag-soft); color: #7a5a06; }
.roh-pill.s-completed, .roh-pill.s-closed, .roh-pill.s-sent, .roh-pill.s-active { background: var(--roh-pine-soft); color: var(--roh-pine-text); }
.roh-pill.s-cancelled, .roh-pill.s-failed, .roh-pill.p-urgent, .roh-pill.s-past_due, .roh-pill.s-canceled, .roh-pill.is-expired { background: var(--roh-red-soft); color: var(--roh-red); }
.roh-pill.p-high { background: #fdebd6; color: #9a4d06; }

.roh-empty { text-align: center; padding: 28px 16px; color: var(--roh-muted); }
.roh-empty p { margin: 0 0 12px; }
.roh-muted { color: var(--roh-muted); }
.roh-dl { display: grid; grid-template-columns: max-content 1fr; gap: 6px 16px; margin: 0; font-size: 15px; }
.roh-dl dt { color: var(--roh-muted); }
.roh-dl dd { margin: 0; white-space: pre-line; }

/* ---------- Job "key tag" cards ---------- */
.roh-day { margin-bottom: 20px; }
.roh-day-title { font-weight: 700; font-size: 15px; margin: 0 0 8px; }
.roh-day-title span { color: var(--roh-muted); font-weight: 400; }
.roh-tag {
	display: grid; grid-template-columns: 74px minmax(0, 1fr) auto; align-items: center; gap: 14px;
	background: #fff; border: 1px solid var(--roh-line); border-radius: var(--roh-radius); padding: 12px 14px 12px 0;
	margin-bottom: 8px; text-decoration: none; color: inherit; position: relative;
}
.roh-tag:hover { border-color: var(--roh-pine); }
.roh-tag-date { align-self: stretch; display: flex; flex-direction: column; align-items: center; justify-content: center; border-right: 2px dashed var(--roh-line); padding-left: 14px; position: relative; }
/* The punched hole of a key tag. */
.roh-tag-date::before { content: ""; position: absolute; left: 8px; top: 50%; width: 10px; height: 10px; margin-top: -5px; border-radius: 50%; background: var(--roh-bg); border: 1px solid var(--roh-line); }
.roh-tag-date b { font-size: 22px; line-height: 1; padding-left: 8px; }
.roh-tag-date small { font-size: 12px; color: var(--roh-muted); padding-left: 8px; }
.roh-tag-body strong { display: block; font-size: 16px; }
.roh-tag-body .roh-sub { font-size: 13.5px; color: var(--roh-muted); }
.roh-tag-side { text-align: right; display: flex; flex-direction: column; gap: 4px; align-items: flex-end; }
.roh-progress { width: 90px; height: 6px; background: #e8eeec; border-radius: 3px; overflow: hidden; }
.roh-progress i { display: block; height: 100%; background: var(--roh-pine); }
.roh-tag.is-sameday { border-color: var(--roh-tag); box-shadow: inset 5px 0 0 var(--roh-tag); }
.roh-sameday { background: var(--roh-tag); color: var(--roh-on-tag); font-weight: 700; font-size: 12px; border-radius: 4px; padding: 1px 7px; }
.roh-tag.is-cancelled { opacity: .55; }
.roh-tag.is-cancelled strong { text-decoration: line-through; }

.roh-weekbar { display: flex; gap: 6px; align-items: center; flex-wrap: wrap; margin-bottom: 18px; }
.roh-weekbar .roh-range { font-weight: 600; margin: 0 6px; }
.roh-filters { display: flex; gap: 8px; flex-wrap: wrap; align-items: center; margin-bottom: 16px; }
.roh-filters select { width: auto; }
.roh-seg { display: inline-flex; border: 1px solid var(--roh-line); border-radius: 8px; overflow: hidden; background: #fff; }
.roh-seg button { appearance: none; border: 0; background: none; padding: 7px 12px; font: inherit; font-size: 14px; cursor: pointer; color: var(--roh-muted); }
.roh-seg button.is-on { background: var(--roh-pine); color: var(--roh-on-pine); }

/* ---------- Checklist (field view) ---------- */
.roh-banner { border-radius: var(--roh-radius); padding: 12px 16px; margin-bottom: 16px; font-weight: 600; }
.roh-banner.is-tag { background: var(--roh-tag); color: var(--roh-on-tag); }
.roh-banner.is-bad { background: var(--roh-red-soft); color: var(--roh-red); }
.roh-banner.is-ok { background: var(--roh-pine-soft); color: var(--roh-pine-text); }
.roh-section-title { font-size: 14px; font-weight: 700; color: var(--roh-pine-text); margin: 18px 0 6px; }
.roh-item { display: flex; align-items: center; gap: 12px; padding: 10px 4px; border-bottom: 1px solid var(--roh-line); }
.roh-item:last-child { border-bottom: 0; }
.roh-item label { display: flex; gap: 12px; align-items: center; flex: 1; cursor: pointer; font-size: 16px; min-height: 36px; }
.roh-item input[type=checkbox] { width: 26px; height: 26px; accent-color: var(--roh-pine); flex: none; }
.roh-item.is-done label { color: var(--roh-muted); text-decoration: line-through; }
.roh-item .roh-need { font-size: 12px; color: #7a5a06; background: var(--roh-tag-soft); border-radius: 4px; padding: 0 6px; white-space: nowrap; }
.roh-item .roh-has { font-size: 12px; color: var(--roh-pine-text); white-space: nowrap; }
.roh-cam { position: relative; overflow: hidden; }
.roh-cam input { position: absolute; inset: 0; opacity: 0; cursor: pointer; }

.roh-photos { display: grid; grid-template-columns: repeat(auto-fill, minmax(110px, 1fr)); gap: 8px; }
.roh-photo { position: relative; border-radius: 8px; overflow: hidden; background: #e8eeec; aspect-ratio: 1; }
.roh-photo img { width: 100%; height: 100%; object-fit: cover; display: block; cursor: zoom-in; }
.roh-photo span { position: absolute; left: 0; right: 0; bottom: 0; background: rgba(27,42,47,.72); color: #fff; font-size: 11.5px; padding: 3px 6px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.roh-photo.is-problem { outline: 3px solid var(--roh-red); outline-offset: -3px; }
.roh-photo button { position: absolute; top: 4px; right: 4px; border: 0; background: rgba(255,255,255,.9); border-radius: 50%; width: 24px; height: 24px; cursor: pointer; line-height: 1; }

.roh-codes { background: var(--roh-ink); color: #fff; border-radius: 8px; padding: 12px 14px; font-size: 17px; white-space: pre-line; letter-spacing: .02em; }

/* ---------- Modal, toast, lightbox ---------- */
.roh-modal { position: fixed; inset: 0; background: rgba(20,32,36,.5); display: flex; align-items: flex-start; justify-content: center; z-index: 100000; padding: 5vh 16px; overflow-y: auto; }
.roh-modal-box { background: #fff; border-radius: 12px; width: 100%; max-width: 620px; padding: 22px 24px; }
.roh-modal-box h2 { margin: 0 0 16px; font-size: 20px; }
.roh-modal-actions { display: flex; justify-content: flex-end; gap: 8px; margin-top: 8px; }
.roh-toast { position: fixed; left: 50%; bottom: 24px; transform: translateX(-50%); background: var(--roh-ink); color: #fff; padding: 10px 18px; border-radius: 8px; z-index: 100001; font-size: 15px; max-width: calc(100vw - 32px); }
.roh-toast.is-error { background: var(--roh-red); }
.roh-lightbox { position: fixed; inset: 0; background: rgba(0,0,0,.88); z-index: 100002; display: flex; align-items: center; justify-content: center; padding: 16px; cursor: zoom-out; }
.roh-lightbox img { max-width: 100%; max-height: 100%; }

.roh-recips { display: flex; flex-wrap: wrap; gap: 6px; margin-bottom: 8px; }
.roh-recips label { border: 1px solid var(--roh-line); border-radius: 999px; padding: 4px 12px; font-size: 14px; cursor: pointer; display: inline-flex; gap: 6px; align-items: center; background: #fff; }
.roh-recips input { accent-color: var(--roh-pine); }
.roh-recips label:has(input:checked) { background: var(--roh-pine-soft); border-color: var(--roh-pine); }
.roh-recip-group { margin-bottom: 12px; }
.roh-recip-group > b { display: block; font-size: 13px; color: var(--roh-muted); margin-bottom: 6px; }

.roh-cl-row { display: grid; grid-template-columns: 1fr 2fr auto auto; gap: 8px; align-items: center; margin-bottom: 6px; }
.roh-cl-row label { font-size: 13px; white-space: nowrap; display: flex; gap: 4px; align-items: center; }

/* ---------- Login ---------- */
.roh-login { max-width: 420px; margin: 40px auto; background: #fff; border: 1px solid var(--roh-line); border-radius: 12px; padding: 28px; }
.roh-login h2 { margin: 0 0 16px; font-size: 22px; }
.roh-login form { display: flex; flex-direction: column; gap: 10px; }
.roh-login label { font-weight: 600; font-size: 14px; }
.roh-alert { background: var(--roh-red-soft); color: var(--roh-red); padding: 10px 12px; border-radius: 8px; }
.roh-success { background: var(--roh-pine-soft); color: var(--roh-pine-text); padding: 12px; border-radius: 8px; }

@media (max-width: 1100px) {
	.roh-cols { grid-template-columns: 1fr; }
}

/* ---------- Phones: bottom tab bar ---------- */
@media (max-width: 820px) {
	.roh-app { grid-template-columns: 1fr; width: 100vw; border-radius: 0; min-height: 100vh; margin: 0; }
	.roh-nav { position: fixed; bottom: 0; left: 0; right: 0; z-index: 9999; flex-direction: row; padding: 4px 4px calc(4px + env(safe-area-inset-bottom)); overflow-x: auto; gap: 0; }
	.roh-nav .roh-team-name, .roh-nav .roh-role, .roh-nav .roh-team-switch, .roh-nav-foot { display: none; }
	.roh-nav a { flex-direction: column; gap: 0; font-size: 11.5px; padding: 6px 8px; min-width: 64px; text-align: center; flex: 1; }
	.roh-nav a .roh-ico { font-size: 19px; }
	.roh-nav .roh-nav-badge { position: absolute; margin: 0 0 0 26px; font-size: 10px; }
	.roh-nav a.is-desktop { display: none; }
	.roh-main { padding: 16px 16px 96px; }
	.roh-mobile-top { display: flex !important; }
	.roh-cols, .roh-grid2, .roh-grid3 { grid-template-columns: 1fr; }
	.roh-head h1 { font-size: 22px; }
	.roh-tag { grid-template-columns: 62px minmax(0, 1fr); }
	.roh-tag-side { grid-column: 2; flex-direction: row; align-items: center; justify-content: flex-start; }
	.roh-cl-row { grid-template-columns: 1fr; }
	.roh-hide-sm { display: none; }
}
.roh-mobile-top { display: none; justify-content: space-between; align-items: center; margin-bottom: 12px; font-size: 14px; color: var(--roh-muted); }
.roh-mobile-top select { width: auto; font-size: 14px; padding: 4px 6px; }

@media (prefers-reduced-motion: no-preference) {
	.roh-toast { animation: roh-rise .18s ease-out; }
	@keyframes roh-rise { from { transform: translate(-50%, 8px); opacity: 0; } }
}

/* Welcome books */
.roh-pill.s-published { background: var(--roh-pine-soft); color: var(--roh-pine-text); }
.roh-pill.s-draft { background: var(--roh-tag-soft); color: #7a5a06; }
.roh-book-layout { display: grid; grid-template-columns: minmax(300px, 380px) minmax(0, 1fr); gap: 16px; align-items: start; }
.roh-book-grid { display: grid; grid-template-columns: 210px minmax(0, 1fr); gap: 18px; align-items: start; }
.roh-book-sub { font-size: 15px; margin: 6px 0 10px; }
.roh-book-pages { list-style: none; margin: 0 0 10px; padding: 0; border: 1px solid var(--roh-line); border-radius: 8px; overflow: hidden; }
.roh-book-pages li { display: flex; align-items: center; gap: 4px; border-top: 1px solid var(--roh-line); }
.roh-book-pages li:first-child { border-top: 0; }
.roh-book-pages li.is-active { background: var(--roh-pine-soft); }
.roh-book-pick { flex: 1; min-width: 0; text-align: left; background: none; border: 0; padding: 11px 10px; font: inherit; font-size: 15px; color: var(--roh-ink); cursor: pointer; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.roh-book-pages li.is-active .roh-book-pick { font-weight: 700; color: var(--roh-pine-text); }
.roh-book-move { display: flex; padding-right: 4px; }
.roh-book-move button { background: none; border: 0; width: 30px; height: 36px; font-size: 15px; color: var(--roh-muted); cursor: pointer; border-radius: 6px; }
.roh-book-move button:hover:not(:disabled) { background: #fff; color: var(--roh-ink); }
.roh-book-move button:disabled { opacity: .3; cursor: default; }
.roh-book-row { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; margin: 12px 0; }
.roh-book-row label.roh-btn { cursor: pointer; }
.roh-book-tip { font-size: 13.5px; margin: 10px 0 0; }
.roh-book-ta { width: 100%; min-height: 200px; font: 14px/1.5 ui-monospace, Menlo, Consolas, monospace; }
.roh-book-file { margin: 0 0 4px; overflow-wrap: anywhere; }
.roh-book-status { display: flex; gap: 8px; align-items: flex-start; font-size: 14px; color: var(--roh-muted); margin: 0 0 14px; }
.roh-book-status span { flex: 0 0 9px; height: 9px; border-radius: 50%; margin-top: 6px; background: #a7b3b0; }
.roh-book-status.is-on span { background: #1a7f37; }
.roh-book-targets { max-height: 260px; overflow: auto; border: 1px solid var(--roh-line); border-radius: 8px; padding: 10px 12px 0; margin-bottom: 10px; }
.roh-book-new { margin-top: 6px; font-size: 14px; }
.roh-book-new summary { cursor: pointer; color: var(--roh-muted); padding: 6px 0; }
.roh-qr { display: flex; justify-content: center; margin: 4px 0 14px; }
.roh-qr svg { border: 1px solid var(--roh-line); border-radius: 8px; }
.roh-app .mce-tinymce { border: 1px solid var(--roh-line) !important; border-radius: 8px; overflow: hidden; }
@media (max-width: 1100px) { .roh-book-layout { grid-template-columns: minmax(0, 1fr); } }
@media (max-width: 760px) { .roh-book-grid { grid-template-columns: minmax(0, 1fr); } }

/* Reports */
.roh-rep-tabs { display: flex; flex-wrap: wrap; width: max-content; max-width: 100%; margin: 0 0 14px; }
.roh-rep-tabs a { padding: 9px 14px; font-size: 14px; color: var(--roh-muted); text-decoration: none; border-left: 1px solid var(--roh-line); }
.roh-rep-tabs a:first-child { border-left: 0; }
.roh-rep-tabs a.is-on { background: var(--roh-pine); color: var(--roh-on-pine); font-weight: 600; }
.roh-rep-filters { display: flex; flex-wrap: wrap; gap: 10px 14px; align-items: flex-end; }
.roh-rep-filters .roh-field { margin: 0; min-width: 150px; flex: 0 1 200px; }
.roh-rep-quick { display: flex; gap: 6px; flex-wrap: wrap; flex-basis: 100%; }
.roh-rep-bar { display: flex; flex-wrap: wrap; gap: 10px; justify-content: space-between; align-items: center; margin: 4px 0 12px; }
.roh-rep-boxes { display: grid; grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); gap: 10px; margin: 0 0 14px; }
.roh-rep-box { background: #fff; border: 1px solid var(--roh-line); border-radius: 10px; padding: 12px 14px; }
.roh-rep-box b { display: block; font-size: 22px; line-height: 1.2; color: var(--roh-ink); }
.roh-rep-box span { font-size: 13px; color: var(--roh-muted); }
.roh-rep-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 460px), 1fr)); gap: 0 16px; align-items: start; }
.roh-rep-grid .roh-panel { overflow-x: auto; }
.roh-rep-grid2 { display: grid; grid-template-columns: minmax(220px, 300px) minmax(0, 1fr); gap: 16px; align-items: start; }
.roh-rep-bar-v { display: inline-block; height: 8px; background: var(--roh-pine); border-radius: 2px; margin-left: 6px; vertical-align: middle; }
#roh-rep td.n, #roh-rep th.n { text-align: right; white-space: nowrap; }
#roh-rep tfoot td { font-weight: 700; border-top: 2px solid var(--roh-line); }
#roh-rep h3 { font-size: 13px; text-transform: uppercase; letter-spacing: .04em; color: var(--roh-muted); margin: 18px 0 6px; }
#roh-rep .sub, #roh-rep .muted { color: var(--roh-muted); }
#roh-rep .photos { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 6px; }
#roh-rep .photos img { width: 84px; height: 64px; object-fit: cover; border-radius: 6px; }
#roh-rep table:not(.roh-table) { width: 100%; border-collapse: collapse; font-size: 14px; }
#roh-rep table:not(.roh-table) th, #roh-rep table:not(.roh-table) td { text-align: left; padding: 8px 6px; border-bottom: 1px solid var(--roh-line); vertical-align: top; }
@media (max-width: 760px) { .roh-rep-grid2 { grid-template-columns: minmax(0, 1fr); } .roh-rep-filters .roh-field { flex: 1 1 140px; } }

/* Agency branding */
.roh-login-brand { margin: 0 0 14px; }
.roh-login-brand img { display: block; max-height: 56px; max-width: 220px; }
.roh-login-brand span { font-weight: 700; font-size: 15px; letter-spacing: .03em; text-transform: uppercase; color: var(--roh-muted); }
.roh-login-help { font-size: 14px; margin-top: 14px; }
.roh-agency-logo { display: block; max-height: 44px; max-width: 200px; margin: 0 0 10px; }
