/* Shaiji Online — main stylesheet */

:root {
	--brand: #ed1f24;
	--brand-strong: #c4161b;
	--brand-soft: #fde8e8;
	--ink: #1b1b1f;
	--ink-2: #4a4a55;
	--muted: #6b6b76;
	--bg: #ffffff;
	--bg-2: #f7f5f3;
	--surface: #ffffff;
	--line: #e7e3df;
	--focus: #2563eb;
	--ok: #15803d;
	--ok-soft: #e7f6ec;
	--warn: #a16207;
	--warn-soft: #fdf3dc;
	--info: #1d4ed8;
	--info-soft: #e5edfd;
	--radius: 14px;
	--radius-sm: 9px;
	--shadow: 0 1px 2px rgba(20, 15, 10, .05), 0 6px 20px rgba(20, 15, 10, .06);
	--font: "Noto Serif Bengali", Georgia, "Times New Roman", serif;
	--font-display: "Noto Sans Bengali", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
	--max: 1160px;
	color-scheme: light;
}

@media (prefers-color-scheme: dark) {
	:root:not([data-theme="light"]) {
		--brand: #ff4a4f;
		--brand-strong: #ff6b6f;
		--brand-soft: #3a1617;
		--ink: #f2f0ee;
		--ink-2: #cfcbc7;
		--muted: #a19c97;
		--bg: #141315;
		--bg-2: #1b1a1d;
		--surface: #201f23;
		--line: #34323a;
		--focus: #7aa2ff;
		--ok: #4ade80;
		--ok-soft: #13301f;
		--warn: #facc15;
		--warn-soft: #362c0d;
		--info: #93b4ff;
		--info-soft: #17233f;
		--shadow: 0 1px 2px rgba(0, 0, 0, .4), 0 8px 24px rgba(0, 0, 0, .3);
		color-scheme: dark;
	}
}

:root[data-theme="dark"] {
	--brand: #ff4a4f;
	--brand-strong: #ff6b6f;
	--brand-soft: #3a1617;
	--ink: #f2f0ee;
	--ink-2: #cfcbc7;
	--muted: #a19c97;
	--bg: #141315;
	--bg-2: #1b1a1d;
	--surface: #201f23;
	--line: #34323a;
	--focus: #7aa2ff;
	--ok: #4ade80;
	--ok-soft: #13301f;
	--warn: #facc15;
	--warn-soft: #362c0d;
	--info: #93b4ff;
	--info-soft: #17233f;
	--shadow: 0 1px 2px rgba(0, 0, 0, .4), 0 8px 24px rgba(0, 0, 0, .3);
	color-scheme: dark;
}

*, *::before, *::after { box-sizing: border-box; }

html { -webkit-text-size-adjust: 100%; }

body {
	margin: 0;
	background: var(--bg);
	color: var(--ink);
	font: 17px/1.65 var(--font);
	-webkit-font-smoothing: antialiased;
}

img, svg, video { max-width: 100%; height: auto; }

/* Headings and text meant to stand out use the sans face; body text uses the serif. */
h1, h2, h3, h4, h5, h6,
.eyebrow, .card__title, .site-nav, .shaiji-badge, .bk-pill, .chip, .status-bar,
strong, b, .modal h2 { font-family: var(--font-display); }

a { color: var(--brand); text-decoration-thickness: 1px; text-underline-offset: 3px; }
a:hover { color: var(--brand-strong); }

h1, h2, h3, h4 { line-height: 1.25; margin: 0 0 .5em; font-weight: 700; }
h1 { font-size: clamp(1.8rem, 1.3rem + 2vw, 2.6rem); }
h2 { font-size: clamp(1.35rem, 1.1rem + 1vw, 1.75rem); }
h3 { font-size: 1.2rem; }
p { margin: 0 0 1em; }

:focus-visible { outline: 3px solid var(--focus); outline-offset: 2px; border-radius: 4px; }

.screen-reader-text {
	position: absolute !important; width: 1px; height: 1px; overflow: hidden;
	clip: rect(1px, 1px, 1px, 1px); white-space: nowrap;
}
.skip-link:focus {
	clip: auto; width: auto; height: auto; z-index: 100; top: 8px; left: 8px;
	background: var(--surface); padding: 8px 14px; border-radius: var(--radius-sm);
}

.container { width: 100%; max-width: var(--max); margin: 0 auto; padding: 0 16px; }
.container--narrow { max-width: 760px; }
.section { padding-top: 40px; padding-bottom: 40px; }
.section--alt { background: var(--bg-2); }
.section__title { margin-bottom: 24px; }
.center { text-align: center; }
.shaiji-muted { color: var(--muted); }

/* Buttons */
.btn {
	display: inline-flex; align-items: center; justify-content: center; gap: 8px;
	min-height: 44px; padding: 10px 20px; border: 1px solid var(--brand); border-radius: 999px;
	background: var(--brand); color: #fff; font: 600 1rem/1 var(--font-display);
	text-decoration: none; cursor: pointer; transition: background .15s, color .15s, border-color .15s;
}
.btn:hover { background: var(--brand-strong); border-color: var(--brand-strong); color: #fff; }
.btn--ghost { background: transparent; color: var(--ink); border-color: var(--line); }
.btn--ghost:hover { background: var(--bg-2); color: var(--ink); border-color: var(--line); }
.btn--sm { min-height: 36px; padding: 6px 14px; font-size: .92rem; }
.btn--lg { min-height: 52px; padding: 12px 28px; font-size: 1.08rem; }
.btn--danger { background: transparent; color: var(--brand); border-color: var(--brand); }
.btn--danger:hover { background: var(--brand); color: #fff; }
.btn img.avatar { border-radius: 50%; width: 24px; height: 24px; }

.icon-btn {
	display: inline-grid; place-items: center; width: 40px; height: 40px; padding: 0;
	border: 1px solid var(--line); border-radius: 50%; background: transparent; color: var(--ink); cursor: pointer;
}
.icon-btn svg { width: 20px; height: 20px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; }
.icon-btn:hover { background: var(--bg-2); }

/* Theme toggle icons: show the one for the current choice */
.theme-toggle svg { display: none; }
.theme-toggle[data-mode="light"] .i-sun,
.theme-toggle[data-mode="dark"] .i-moon,
.theme-toggle[data-mode="system"] .i-auto,
.theme-toggle:not([data-mode]) .i-auto { display: block; }

/* Header */
.site-header {
	position: sticky; top: 0; z-index: 50;
	background: color-mix(in srgb, var(--bg) 88%, transparent);
	backdrop-filter: saturate(1.4) blur(10px);
	border-bottom: 1px solid var(--line);
}
.admin-bar .site-header { top: 32px; }
@media (max-width: 782px) { .admin-bar .site-header { top: 0; } }
.site-header__inner { display: flex; align-items: center; gap: 16px; min-height: 68px; }
.site-brand { display: flex; align-items: flex-end; gap: 6px; }
.site-brand__tag { font-size: .8rem; color: var(--ink-2); letter-spacing: .3em; padding-bottom: 4px; }
.shaiji-logo, .custom-logo-link { display: inline-flex; }
.shaiji-logo--mark img, .custom-logo { height: 44px; width: auto; }
.site-nav { margin-left: auto; }
.site-nav__list { display: flex; gap: 4px; list-style: none; margin: 0; padding: 0; }
.site-nav__list a {
	display: block; padding: 8px 14px; border-radius: 999px; color: var(--ink);
	text-decoration: none; font-weight: 500;
}
.site-nav__list a:hover, .site-nav__list .current-menu-item > a { background: var(--brand-soft); color: var(--brand); }
.site-nav__list .sub-menu { display: none; }
.site-actions { display: flex; align-items: center; gap: 8px; }
.nav-toggle { display: none; }

@media (max-width: 860px) {
	.nav-toggle { display: inline-grid; }
	.site-nav {
		position: absolute; top: 100%; left: 0; right: 0; margin: 0;
		background: var(--surface); border-bottom: 1px solid var(--line); box-shadow: var(--shadow);
		display: none; padding: 8px 16px 16px;
	}
	.site-nav.is-open { display: block; }
	.site-nav__list { flex-direction: column; }
	.site-nav__list .sub-menu { display: block; list-style: none; padding-left: 16px; }
	.site-actions { margin-left: auto; }
	.site-actions .btn span { display: none; }
	.site-actions .btn--sm { padding: 6px 10px; }
}
@media (max-width: 420px) {
	.site-brand__tag { display: none; }
}

/* Hero */
.hero { background: linear-gradient(180deg, var(--brand-soft), var(--bg)); padding: 48px 0 32px; }
.hero__inner { display: grid; grid-template-columns: 1.3fr 1fr; gap: 32px; align-items: center; }
.eyebrow { color: var(--brand); font-weight: 600; letter-spacing: .08em; text-transform: uppercase; font-size: .85rem; }
.hero__lead { font-size: 1.12rem; color: var(--ink-2); max-width: 36em; }
.hero__cta { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 20px; }
.hero__logo { justify-self: center; }
.shaiji-logo--full { background: #fff; border-radius: 28px; padding: 18px; box-shadow: var(--shadow); }
.shaiji-logo--full img { width: min(300px, 70vw); display: block; }
@media (max-width: 760px) {
	.hero__inner { grid-template-columns: 1fr; }
	.hero__logo { order: -1; }
	.shaiji-logo--full img { width: 180px; }
}

/* Steps */
.steps { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.steps li { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 22px; }
.steps__n {
	display: inline-grid; place-items: center; width: 40px; height: 40px; border-radius: 50%;
	background: var(--brand); color: #fff; font-weight: 700; font-size: 1.2rem; margin-bottom: 10px;
}
.steps p { color: var(--ink-2); margin: 0; }
@media (max-width: 760px) { .steps { grid-template-columns: 1fr; } }

/* Cards */
.cards { display: grid; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); gap: 20px; }
.card {
	background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius);
	overflow: hidden; display: flex; flex-direction: column;
}
.card__media img { display: block; width: 100%; aspect-ratio: 16 / 9; object-fit: cover; }
.card__body { padding: 18px 20px 20px; display: flex; flex-direction: column; gap: 6px; flex: 1; }
.card__cat { font-size: .82rem; font-weight: 600; text-decoration: none; text-transform: uppercase; letter-spacing: .05em; }
.card__title { font-size: 1.2rem; margin: 0; }
.card__title a { color: var(--ink); text-decoration: none; }
.card__title a:hover { color: var(--brand); }
.card__excerpt { color: var(--ink-2); margin: 0; flex: 1; }
.entry-meta { font-size: .88rem; color: var(--muted); }

/* Single */
.page-head { margin-bottom: 24px; }
.page-head--brand { display: flex; gap: 20px; align-items: center; }
.page-head__logo img { max-height: 90px; width: auto; }
.entry-header { margin-bottom: 24px; }
.entry-header .post-categories { list-style: none; padding: 0; margin: 0 0 8px; display: flex; gap: 8px; }
.entry-thumb { margin: 0 0 24px; }
.entry-thumb img { border-radius: var(--radius); display: block; }
.entry-content { font-size: 1.08rem; }
.entry-content img { border-radius: var(--radius-sm); }
.entry-content blockquote { border-left: 4px solid var(--brand); margin: 1.5em 0; padding: .2em 1.2em; color: var(--ink-2); }
.entry-content pre { background: var(--bg-2); padding: 16px; border-radius: var(--radius-sm); overflow-x: auto; }
.tags a { display: inline-block; padding: 2px 10px; margin: 0 4px 4px 0; border: 1px solid var(--line); border-radius: 999px; font-size: .88rem; text-decoration: none; color: var(--ink-2); }
.post-navigation .nav-links, .posts-navigation .nav-links { display: flex; justify-content: space-between; gap: 16px; margin: 32px 0; }
.post-navigation a { text-decoration: none; display: flex; flex-direction: column; }
.pagination .nav-links, .shaiji-pager { display: flex; flex-wrap: wrap; gap: 6px; justify-content: center; margin: 32px 0 0; }
.pagination .page-numbers, .shaiji-pager a, .shaiji-pager span {
	min-width: 40px; height: 40px; padding: 0 12px; display: inline-grid; place-items: center;
	border: 1px solid var(--line); border-radius: 999px; text-decoration: none; color: var(--ink);
}
.pagination .current, .shaiji-pager .is-current { background: var(--brand); border-color: var(--brand); color: #fff; }

/* Comments */
.comments { margin-top: 40px; border-top: 1px solid var(--line); padding-top: 24px; }
.comment-list { list-style: none; padding: 0; }
.comment-body { padding: 14px 0; border-bottom: 1px solid var(--line); }
.comment-author img { border-radius: 50%; vertical-align: middle; margin-right: 8px; }

/* Forms */
input[type="text"], input[type="email"], input[type="tel"], input[type="number"], input[type="search"],
input[type="url"], input[type="password"], input[type="time"], input[type="date"], select, textarea {
	width: 100%; min-height: 44px; padding: 10px 12px; border: 1px solid var(--line); border-radius: var(--radius-sm);
	background: var(--bg); color: var(--ink); font: inherit;
}
textarea { min-height: 80px; resize: vertical; }
input:focus, select:focus, textarea:focus { outline: 2px solid var(--focus); outline-offset: 0; border-color: transparent; }
label { font-weight: 600; font-size: .95rem; display: block; margin-bottom: 4px; }
.shaiji-field { margin: 0 0 14px; }
.shaiji-hint { display: block; color: var(--muted); font-size: .88rem; margin-top: 4px; }
.shaiji-field-error { display: block; color: var(--brand); font-size: .9rem; margin: 4px 0 0; }
.shaiji-grid { display: grid; gap: 0 16px; }
.shaiji-grid--2 { grid-template-columns: 1fr 1fr; }
@media (max-width: 640px) { .shaiji-grid--2 { grid-template-columns: 1fr; } }
.input-prefix { display: flex; align-items: stretch; max-width: 220px; }
.input-prefix span {
	display: grid; place-items: center; padding: 0 12px; border: 1px solid var(--line); border-right: 0;
	border-radius: var(--radius-sm) 0 0 var(--radius-sm); background: var(--bg-2); font-weight: 700;
}
.input-prefix input { border-radius: 0 var(--radius-sm) var(--radius-sm) 0; }
.form-actions { display: flex; justify-content: flex-end; gap: 12px; margin-top: 8px; }
.search-form { display: flex; gap: 8px; max-width: 480px; }
.search-form label { flex: 1; margin: 0; }
.search-submit { min-height: 44px; padding: 0 18px; border-radius: 999px; border: 0; background: var(--brand); color: #fff; font: 600 1rem var(--font-display); cursor: pointer; }
.center .search-form { margin: 0 auto 20px; }

/* Panels and notices */
.panel { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 22px; margin-bottom: 20px; }
@media (max-width: 480px) { .panel { padding: 16px; } }
.shaiji-notice { padding: 12px 16px; border-radius: var(--radius-sm); margin: 0 0 16px; background: var(--info-soft); color: var(--ink); border-left: 4px solid var(--info); }
.shaiji-notice--success { background: var(--ok-soft); border-color: var(--ok); }
.shaiji-notice--error { background: var(--brand-soft); border-color: var(--brand); }

/* Badges */
.shaiji-badge { display: inline-block; padding: 3px 12px; border-radius: 999px; font-size: .85rem; font-weight: 600; white-space: nowrap; background: var(--bg-2); color: var(--ink-2); }
.shaiji-badge--pending_payment { background: var(--warn-soft); color: var(--warn); }
.shaiji-badge--payment_submitted { background: var(--info-soft); color: var(--info); }
.shaiji-badge--confirmed { background: var(--ok-soft); color: var(--ok); }
.shaiji-badge--completed { background: var(--bg-2); color: var(--ink); }
.shaiji-badge--cancelled { background: var(--brand-soft); color: var(--brand); }

/* Week slot picker */
.week-nav { display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; gap: 12px; margin-bottom: 16px; }
.week-nav > :last-child { justify-self: end; }
.week-nav__title { margin: 0; font-size: 1.15rem; text-align: center; }
.week { display: grid; grid-template-columns: repeat(7, minmax(0, 1fr)); gap: 8px; }
.week__day { border: 1px solid var(--line); border-radius: var(--radius-sm); padding: 10px; background: var(--bg); min-width: 0; }
.week__day.is-today { border-color: var(--brand); }
.week__head { display: flex; flex-direction: column; margin-bottom: 8px; line-height: 1.3; }
.week__head span { color: var(--muted); font-size: .88rem; }
.week__empty { color: var(--muted); font-size: .88rem; margin: 0; }
.slot { position: relative; display: block; margin: 0 0 6px; font-weight: 500; cursor: pointer; }
.slot input { position: absolute; opacity: 0; pointer-events: none; }
.slot span {
	display: block; padding: 8px 6px; line-height: 1.3; border: 1px solid var(--line); border-radius: var(--radius-sm);
	text-align: center; font-size: .9rem; background: var(--surface);
}
.slot:hover span { border-color: var(--brand); }
.slot input:checked + span { background: var(--brand); border-color: var(--brand); color: #fff; }
.slot input:focus-visible + span { outline: 3px solid var(--focus); outline-offset: 1px; }
.slot.is-taken { cursor: not-allowed; }
.slot.is-taken span { text-decoration: line-through; color: var(--muted); background: var(--bg-2); }
.slot.is-taken:hover span { border-color: var(--line); }
.slot span small { display: block; color: inherit; opacity: .8; font-size: .78rem; }
.slot > small { display: block; text-align: center; color: var(--muted); font-size: .75rem; }
.is-visitor .slot { cursor: default; }
@media (max-width: 900px) {
	.week { grid-template-columns: 1fr; }
	.week__day { display: grid; grid-template-columns: 110px 1fr; gap: 8px 12px; align-items: start; }
	.week__day .slot { display: inline-block; margin: 0 6px 6px 0; }
	.week__day .slot span { padding: 8px 12px; }
	.week__empty { align-self: center; }
}
@media (max-width: 480px) {
	.week-nav { grid-template-columns: 1fr 1fr; }
	.week-nav__title { grid-column: 1 / -1; grid-row: 1; }
	.week__day { grid-template-columns: 1fr; }
}

/* Payment info */
.paybox h3 { margin-top: 8px; }
.paybox.is-hidden { display: none; }
.shaiji-payinfo { display: grid; grid-template-columns: repeat(auto-fill, minmax(200px, 1fr)); gap: 12px; margin-bottom: 12px; }
.shaiji-payinfo__card { border: 1px solid var(--line); border-radius: var(--radius-sm); padding: 14px; background: var(--bg); }
.shaiji-payinfo__card h4 { margin: 0 0 4px; }
.shaiji-payinfo__card--bkash h4 { color: #e2136e; }
.shaiji-payinfo__card--nagad h4 { color: #f6921e; }
.shaiji-payinfo__number { font-size: 1.3rem; font-weight: 700; letter-spacing: .04em; margin: 0; }
.shaiji-payinfo__card p { margin: 0 0 6px; }
.shaiji-payinfo__qr { display: block; max-width: 160px; margin-top: 8px; border-radius: 8px; background: #fff; padding: 6px; }
.paybox__now { margin: 12px 0; border: 1px dashed var(--line); border-radius: var(--radius-sm); padding: 12px 14px; }
.paybox__now summary { cursor: pointer; font-weight: 600; }
.paybox__now[open] summary { margin-bottom: 12px; }

/* Account */
.account-head { display: flex; align-items: center; gap: 16px; margin-bottom: 20px; flex-wrap: wrap; }
.account-head img { border-radius: 50%; }
.account-head h1 { margin: 0; font-size: 1.6rem; }
.account-head p { margin: 0; }
.account-head__out { margin-left: auto; }
.tabs { display: flex; gap: 4px; border-bottom: 1px solid var(--line); margin-bottom: 20px; overflow-x: auto; }
.tabs a { padding: 10px 16px; text-decoration: none; color: var(--ink-2); border-bottom: 2px solid transparent; font-weight: 600; white-space: nowrap; }
.tabs a.is-active { color: var(--brand); border-color: var(--brand); }
.filters { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 16px; align-items: center; }
.filters select { width: auto; flex: 0 1 240px; }
.filters .btn { margin-left: auto; }
.dawat-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.dawat-list a {
	display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 16px 18px;
	border: 1px solid var(--line); border-radius: var(--radius); background: var(--surface); color: var(--ink); text-decoration: none;
}
.dawat-list a:hover { border-color: var(--brand); }
.dawat-list__main { display: flex; flex-direction: column; min-width: 0; }
.dawat-list__main .shaiji-muted { font-size: .92rem; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.dawat-head { display: flex; align-items: center; justify-content: space-between; gap: 12px; flex-wrap: wrap; margin-bottom: 8px; }
.dawat-head h2 { margin: 0; }
.details { display: grid; grid-template-columns: 140px 1fr; gap: 8px 16px; margin: 0; }
.details dt { color: var(--muted); }
.details dd { margin: 0; overflow-wrap: anywhere; }
@media (max-width: 560px) { .details { grid-template-columns: 1fr; gap: 0; } .details dd { margin-bottom: 10px; } }
.table-wrap { overflow-x: auto; }
.shaiji-table { width: 100%; border-collapse: collapse; font-size: .95rem; }
.shaiji-table th, .shaiji-table td { text-align: left; padding: 10px 8px; border-bottom: 1px solid var(--line); white-space: nowrap; }
.shaiji-table th { color: var(--muted); font-weight: 600; }
.cancel-form { text-align: right; }

/* Login */
.login-card { max-width: 440px; margin: 0 auto; padding: 32px 24px; }
.login-card .shaiji-logo--full { margin-bottom: 16px; box-shadow: none; }
.login-card .shaiji-logo--full img { width: 140px; }
.login-card__google { display: flex; justify-content: center; min-height: 44px; margin: 20px 0; }
.login-card__staff { font-size: .9rem; margin: 24px 0 0; }

/* Footer */
.site-footer { border-top: 1px solid var(--line); background: var(--bg-2); padding: 32px 0; margin-top: 40px; }
.site-footer__inner { display: grid; grid-template-columns: 1fr auto; gap: 16px 32px; align-items: start; }
.site-footer__menu { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 6px 18px; }
.site-footer__menu a { color: var(--ink-2); text-decoration: none; }
.site-footer__copy { grid-column: 1 / -1; color: var(--muted); font-size: .9rem; margin: 0; }
@media (max-width: 640px) { .site-footer__inner { grid-template-columns: 1fr; } }

/* WordPress core classes */
.alignleft { float: left; margin: 0 1.5em 1em 0; }
.alignright { float: right; margin: 0 0 1em 1.5em; }
.aligncenter { display: block; margin-left: auto; margin-right: auto; }
.alignwide { max-width: min(1000px, 100vw - 32px); margin-left: 50%; transform: translateX(-50%); width: 100vw; }
.wp-caption-text, figcaption { color: var(--muted); font-size: .9rem; text-align: center; }
.sticky .card__title::before { content: "★ "; color: var(--brand); }
.bypostauthor > .comment-body { border-left: 3px solid var(--brand); padding-left: 12px; }
.gallery-caption { color: var(--muted); }

/* Notifications */
.bell { position: relative; text-decoration: none; }
.bell__count {
	position: absolute; top: -4px; right: -4px; min-width: 18px; height: 18px; padding: 0 5px;
	border-radius: 999px; background: var(--brand); color: #fff; font-size: .72rem; font-weight: 700;
	display: grid; place-items: center; line-height: 1;
}
.tabs__count { display: inline-grid; place-items: center; min-width: 20px; height: 20px; padding: 0 6px; border-radius: 999px; background: var(--brand); color: #fff; font-size: .75rem; margin-left: 4px; }
.notes-head { display: flex; justify-content: space-between; align-items: flex-start; gap: 16px; flex-wrap: wrap; }
.filters input[type="search"] { flex: 1 1 220px; width: auto; }
.notes { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; }
.note { display: flex; align-items: center; gap: 8px; border: 1px solid var(--line); border-radius: var(--radius); background: var(--surface); padding-right: 10px; }
.note.is-unread { border-left: 4px solid var(--brand); background: color-mix(in srgb, var(--brand-soft) 45%, var(--surface)); }
.note__body { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: 4px; padding: 14px 16px; color: var(--ink); text-decoration: none; }
.note__body:hover .note__msg { color: var(--brand); }
.note.is-unread .note__msg { font-weight: 600; }
.note__meta { display: flex; gap: 10px; align-items: center; font-size: .85rem; color: var(--muted); }
.note__type { font-weight: 600; color: var(--ink-2); text-transform: uppercase; letter-spacing: .04em; font-size: .75rem; }
.note__type--dawat_status, .note__type--dawat_request { color: var(--brand); }
.note__msg { overflow-wrap: anywhere; }
.note__toggle .icon-btn { width: 34px; height: 34px; }

/* Phone numbers */
.phones { list-style: none; margin: 0 0 20px; padding: 0; display: grid; gap: 10px; }
.phone { display: flex; justify-content: space-between; align-items: flex-start; gap: 12px; flex-wrap: wrap; border: 1px solid var(--line); border-radius: var(--radius-sm); padding: 14px 16px; background: var(--bg); }
.phone__main { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; min-width: 0; }
.phone__number { font-size: 1.15rem; letter-spacing: .03em; }
.phone__primary { font-size: .8rem; font-weight: 600; color: var(--brand); border: 1px solid var(--brand); border-radius: 999px; padding: 1px 9px; }
.phone__labels { flex-basis: 100%; display: flex; flex-wrap: wrap; gap: 6px; }
.phone__actions { display: flex; flex-wrap: wrap; gap: 6px; align-items: flex-start; }
.phone__edit summary { list-style: none; }
.phone__edit summary::-webkit-details-marker { display: none; }
.phone__edit[open] { flex-basis: 100%; order: 3; }
.phone__edit-form { margin-top: 10px; display: flex; flex-direction: column; align-items: flex-start; gap: 10px; }
.phone-label { display: inline-block; padding: 1px 10px; border-radius: 999px; background: var(--bg-2); color: var(--ink-2); font-size: .82rem; font-weight: 500; border: 1px solid var(--line); }
.phone-label--bkash { color: #e2136e; }
.phone-label--nagad { color: #f6921e; }
.phone-label--whatsapp { color: #128c4a; }
.phone-add { border-top: 1px solid var(--line); padding-top: 16px; }
.phone-add h3 { font-size: 1.05rem; }
fieldset.shaiji-field { border: 0; padding: 0; margin: 0 0 14px; }
fieldset.shaiji-field legend { font-weight: 600; font-size: .95rem; margin-bottom: 6px; padding: 0; }
.chips { display: flex; flex-wrap: wrap; gap: 8px; }
.chip { position: relative; margin: 0; font-weight: 500; cursor: pointer; }
.chip input { position: absolute; opacity: 0; pointer-events: none; }
.chip span { display: inline-block; padding: 6px 14px; border: 1px solid var(--line); border-radius: 999px; background: var(--surface); font-size: .92rem; }
.chip input:checked + span { background: var(--brand); border-color: var(--brand); color: #fff; }
.chip input:focus-visible + span { outline: 3px solid var(--focus); outline-offset: 1px; }

/* Baramkhana status: admin bar, pill, modal */
.status-bar { background: var(--ink); color: var(--bg); font-size: .95rem; }
.status-bar--engaged { background: #8a5a00; color: #fff; }
.status-bar--closed { background: #3c434a; color: #fff; }
.status-bar__inner { display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 8px 12px; min-height: 44px; padding-top: 6px; padding-bottom: 6px; text-align: center; }
.status-bar__form { display: inline; margin: 0; }
.status-bar__btn { min-height: 32px; padding: 4px 14px; }
.status-bar .status-bar__btn--ghost { color: inherit; border-color: currentColor; background: transparent; }
.status-bar .status-bar__btn--ghost:hover { background: rgba(255, 255, 255, .12); color: inherit; }
.flash-wrap { padding-top: 16px; }
.flash-wrap:empty { display: none; }

.hero__status { margin: 0 0 12px; }
.bk-pill { display: inline-flex; align-items: center; gap: 8px; padding: 4px 14px; border-radius: 999px; font-weight: 600; font-size: .95rem; background: var(--ok-soft); color: var(--ok); }
.bk-pill__dot { width: 9px; height: 9px; border-radius: 50%; background: currentColor; }
.bk-pill--engaged { background: var(--warn-soft); color: var(--warn); }
.bk-pill--closed { background: var(--bg-2); color: var(--muted); }
.shaiji-notice--engaged { background: var(--warn-soft); border-color: var(--warn); }
.shaiji-notice--closed { background: var(--bg-2); border-color: var(--muted); }

.hero__media {
	width: min(336px, 78vw); aspect-ratio: 1 / 1; border-radius: 28px; overflow: hidden;
	box-shadow: var(--shadow); background: var(--surface);
}
.hero__media img { width: 100%; height: 100%; object-fit: cover; display: block; }

.modal {
	width: min(440px, calc(100vw - 32px)); padding: 0; border: 1px solid var(--line); border-radius: var(--radius);
	background: var(--surface); color: var(--ink); box-shadow: 0 20px 60px rgba(0, 0, 0, .3);
}
.modal::backdrop { background: rgba(20, 15, 10, .5); }
.modal__head { padding: 18px 22px 4px; }
.modal__head h2 { margin: 0; font-size: 1.25rem; }
.modal__body { padding: 8px 22px; }
.modal__foot { display: flex; justify-content: flex-end; gap: 10px; padding: 14px 22px 18px; border-top: 1px solid var(--line); }

@media (max-width: 760px) {
	.hero__media { width: 212px; }
	.hero__cta { justify-content: center; }
}

/* Quotes: bar on every page, quote blocks, quotes page */
.quote-bar { background: var(--brand); color: #fff; font-size: .95rem; line-height: 1.5; }
.quote-bar__inner { padding-top: 8px; padding-bottom: 8px; text-align: center; }
.quote-bar__link { color: inherit; text-decoration: none; }
.quote-bar__link:hover { color: inherit; text-decoration: underline; }
.quote-bar__source { font-family: var(--font-display); font-weight: 600; white-space: nowrap; opacity: .9; }
.quote { margin: 0; }
.quote__original { margin: 0 0 .6em; color: var(--ink-2); font-size: 1.05rem; }
.quote__text { margin: 0; padding: 0; border: 0; }
.quote__text p { margin: 0; font-family: var(--font-display); font-weight: 600; font-size: 1.35rem; line-height: 1.5; }
.quote__text a { color: inherit; text-decoration: none; }
.quote__text a:hover { color: var(--brand); }
.quote__source { margin-top: .5em; text-align: start; color: var(--brand); font-family: var(--font-display); font-weight: 600; }
.entry .quote__text p { font-size: clamp(1.6rem, 4vw, 2.2rem); }
.quote-terms a { color: var(--brand); font-family: var(--font-display); font-weight: 600; font-size: .85rem; text-transform: uppercase; letter-spacing: .06em; margin-right: 8px; }
.quote-explain__title { font-size: 1.15rem; margin-top: 1.5em; }
.quote-featured, .quote-featured-section .container { background: var(--brand-soft, var(--bg-2)); border-radius: var(--radius); padding: 28px; }
.quote-featured { margin-bottom: 28px; }
.quote-featured .quote__text p, .quote-featured-section .quote__text p { font-size: clamp(1.4rem, 3.4vw, 1.9rem); }
.quote-featured-section { padding-bottom: 0; }
.quote-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); gap: 20px; }
.quote-card .quote__text p { font-size: 1.15rem; }
.quote-card__more { display: inline-block; margin-top: 12px; font-size: .92rem; }
.quote-cats { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 12px; }
.quote-chip { display: inline-block; padding: 6px 14px; border: 1px solid var(--line); border-radius: 999px; background: var(--surface); color: var(--ink); font-family: var(--font-display); font-size: .92rem; text-decoration: none; }
.quote-chip:hover { border-color: var(--brand); color: var(--brand); }
.quote-chip--on { background: var(--brand); border-color: var(--brand); color: #fff; }
@media (max-width: 640px) { .quote-bar { font-size: .88rem; } .quote-featured, .quote-featured-section .container { padding: 20px; } }
