/* Shaiyas Marketing — customer portal. Mobile-first, no external assets. */
:root {
	--sm-accent: #5b4bdb;
	--sm-accent-2: #2f6fed;
	--sm-ink: #0f1b3d;
	--sm-ink-2: #3b4566;
	--sm-muted: #6b7393;
	--sm-line: #e6e8f0;
	--sm-bg: #f5f6fa;
	--sm-card: #ffffff;
	--sm-ok: #0f8a5f;
	--sm-ok-bg: #e7f6ef;
	--sm-warn: #a15c00;
	--sm-warn-bg: #fff4e0;
	--sm-bad: #b42318;
	--sm-bad-bg: #fdecea;
	--sm-radius: 14px;
	--sm-radius-sm: 10px;
	--sm-shadow: 0 1px 2px rgba(15, 27, 61, .04), 0 4px 16px rgba(15, 27, 61, .05);
	--sm-font: "Inter", "Segoe UI", system-ui, -apple-system, Roboto, "Noto Sans Devanagari", "Mukta", "Nirmala UI", "Mangal", sans-serif;
}
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body.sm-portal { margin: 0; font-family: var(--sm-font); font-size: 15px; line-height: 1.55; color: var(--sm-ink); background: var(--sm-bg); }
.sm-portal a { color: var(--sm-accent); text-decoration: none; }
.sm-portal a:hover { text-decoration: underline; }
.sm-portal h1 { font-size: 22px; line-height: 1.25; margin: 0 0 4px; letter-spacing: -.01em; }
.sm-portal h2 { font-size: 16px; margin: 0 0 12px; }
.sm-h3 { font-size: 15px; margin: 18px 0 10px; }
.sm-muted { color: var(--sm-muted); }
.sm-center { text-align: center; }
.sm-pre { white-space: pre-line; }
.sm-mt { margin-top: 12px; }
.sm-skip { position: absolute; left: -999px; }
.sm-skip:focus { left: 8px; top: 8px; background: #fff; padding: 8px 12px; z-index: 100; border-radius: 8px; }
.sm-ico { width: 20px; height: 20px; flex: 0 0 20px; }
:focus-visible { outline: 3px solid color-mix(in srgb, var(--sm-accent) 45%, transparent); outline-offset: 2px; }

/* Shell */
.sm-shell { min-height: 100vh; }
.sm-sidebar { display: none; }
.sm-main-col { min-width: 0; padding-bottom: 76px; }
.sm-topbar { position: sticky; top: 0; z-index: 20; display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 12px 16px; background: rgba(255, 255, 255, .92); backdrop-filter: blur(8px); border-bottom: 1px solid var(--sm-line); }
.sm-topbar-brand { display: flex; align-items: center; gap: 10px; font-weight: 700; overflow: hidden; white-space: nowrap; text-overflow: ellipsis; }
.sm-topbar-actions { display: flex; gap: 6px; }
.sm-icon-btn { position: relative; display: inline-flex; align-items: center; justify-content: center; width: 40px; height: 40px; border-radius: 10px; color: var(--sm-ink-2) !important; }
.sm-icon-btn:hover { background: var(--sm-bg); text-decoration: none !important; }
.sm-dot { position: absolute; top: 9px; right: 10px; width: 8px; height: 8px; border-radius: 50%; background: var(--sm-bad); }
.sm-logo-dot { width: 26px; height: 26px; border-radius: 8px; background: linear-gradient(135deg, var(--sm-accent), var(--sm-accent-2)); flex: 0 0 26px; }
.sm-content { padding: 16px; max-width: 1180px; margin: 0 auto; }
.sm-banner { padding: 10px 16px; background: #eef0ff; color: var(--sm-ink); font-size: 14px; }
.sm-banner-warn { background: var(--sm-warn-bg); color: var(--sm-warn); }
.sm-banner-bad { background: var(--sm-bad-bg); color: var(--sm-bad); }
.sm-banner a { font-weight: 600; margin-left: 6px; }
.sm-impersonate { display: flex; align-items: center; justify-content: center; gap: 12px; padding: 8px 16px; background: var(--sm-ink); color: #fff; font-size: 14px; }

.sm-bottom-nav { position: fixed; bottom: 0; left: 0; right: 0; z-index: 30; display: grid; grid-template-columns: repeat(6, 1fr); background: #fff; border-top: 1px solid var(--sm-line); padding: 6px 4px calc(6px + env(safe-area-inset-bottom)); }
.sm-bottom-nav a { display: flex; flex-direction: column; align-items: center; gap: 2px; padding: 6px 2px; font-size: 11px; color: var(--sm-muted); border-radius: 10px; min-height: 48px; justify-content: center; }
.sm-bottom-nav a.is-active { color: var(--sm-accent); background: #f0efff; }
.sm-bottom-nav a:hover { text-decoration: none; }
body.sm-menu-open .sm-sidebar { display: block; position: fixed; inset: 0 0 64px 0; z-index: 40; overflow-y: auto; }

/* Sidebar */
.sm-sidebar { background: #fff; border-right: 1px solid var(--sm-line); padding: 18px 14px; }
.sm-sidebar-brand, .sm-auth-brand { color: var(--sm-ink) !important; text-decoration: none !important; }
.sm-sidebar-brand { display: flex; align-items: center; gap: 10px; font-weight: 800; font-size: 17px; padding: 4px 8px 16px; }
.sm-sidebar-org { padding: 12px; margin-bottom: 12px; border-radius: var(--sm-radius-sm); background: var(--sm-bg); }
.sm-org-name { font-weight: 600; margin-bottom: 6px; overflow-wrap: anywhere; }
.sm-nav { display: flex; flex-direction: column; gap: 2px; }
.sm-nav a { display: flex; align-items: center; gap: 12px; padding: 10px 12px; border-radius: 10px; color: var(--sm-ink-2); font-weight: 500; }
.sm-nav a:hover { background: var(--sm-bg); text-decoration: none; }
.sm-nav a.is-active { background: #f0efff; color: var(--sm-accent); font-weight: 600; }
.sm-count { margin-left: auto; font-style: normal; font-size: 12px; background: var(--sm-accent); color: #fff; border-radius: 99px; padding: 0 8px; }

@media (min-width: 960px) {
	.sm-shell { display: grid; grid-template-columns: 260px 1fr; }
	.sm-sidebar { display: block; position: sticky; top: 0; height: 100vh; overflow-y: auto; }
	.sm-bottom-nav { display: none; }
	.sm-topbar-brand { visibility: hidden; }
	.sm-main-col { padding-bottom: 32px; }
	.sm-content { padding: 24px 32px; }
	.sm-portal h1 { font-size: 26px; }
}

/* Page header */
.sm-page-head { display: flex; flex-wrap: wrap; align-items: flex-start; justify-content: space-between; gap: 12px; margin-bottom: 18px; }
.sm-page-head p { margin: 2px 0 0; }
.sm-actions { display: flex; flex-wrap: wrap; gap: 8px; }
.sm-back { display: inline-block; margin-bottom: 10px; font-size: 14px; color: var(--sm-muted) !important; }
.sm-section-title { margin: 28px 0 12px !important; font-size: 18px !important; }

/* Cards */
.sm-card { background: var(--sm-card); border: 1px solid var(--sm-line); border-radius: var(--sm-radius); padding: 16px; box-shadow: var(--sm-shadow); margin-bottom: 16px; }
.sm-card-head { display: flex; align-items: center; justify-content: space-between; gap: 8px; margin-bottom: 10px; }
.sm-card-head h2 { margin: 0; }
.sm-narrow { max-width: 720px; }
.sm-stack > .sm-card:last-child { margin-bottom: 0; }
.sm-grid-2 { display: grid; gap: 16px; }
.sm-grid-2 > * { min-width: 0; }
@media (min-width: 960px) { .sm-grid-2 { grid-template-columns: 1.4fr 1fr; align-items: start; } .sm-card { padding: 20px; } }
.sm-highlight { border-color: color-mix(in srgb, var(--sm-accent) 35%, var(--sm-line)); background: linear-gradient(180deg, #f7f6ff, #fff); }

/* Stats */
.sm-stats { display: grid; grid-template-columns: repeat(2, 1fr); gap: 12px; margin-bottom: 16px; }
@media (min-width: 960px) { .sm-stats { grid-template-columns: repeat(4, 1fr); } }
.sm-stat { background: #fff; border: 1px solid var(--sm-line); border-radius: var(--sm-radius); padding: 14px; box-shadow: var(--sm-shadow); display: flex; flex-direction: column; gap: 2px; min-width: 0; }
.sm-stat span { font-size: 13px; color: var(--sm-muted); }
.sm-stat strong { font-size: 22px; letter-spacing: -.01em; overflow-wrap: anywhere; }
.sm-stat small { color: var(--sm-muted); font-size: 12px; }
.sm-progress { height: 8px; border-radius: 99px; background: #eceef5; overflow: hidden; margin-top: 6px; }
.sm-progress span { display: block; height: 100%; background: linear-gradient(90deg, var(--sm-accent), var(--sm-accent-2)); border-radius: 99px; }
.sm-usage { display: flex; justify-content: space-between; margin-top: 10px; font-size: 14px; }

/* Buttons */
.sm-btn { display: inline-flex; align-items: center; justify-content: center; gap: 6px; min-height: 44px; padding: 10px 16px; border-radius: 10px; border: 1px solid var(--sm-line); background: #fff; color: var(--sm-ink) !important; font: inherit; font-weight: 600; font-size: 14px; cursor: pointer; text-decoration: none !important; transition: background .15s, border-color .15s; }
.sm-btn:hover { background: var(--sm-bg); border-color: #d6d9e6; }
.sm-btn-primary { background: var(--sm-accent); border-color: var(--sm-accent); color: #fff !important; }
.sm-btn-primary:hover { background: color-mix(in srgb, var(--sm-accent) 88%, #000); border-color: transparent; }
.sm-btn-danger { color: var(--sm-bad) !important; border-color: #f3c5c0; }
.sm-btn-ghost { background: transparent; border-color: transparent; color: var(--sm-muted) !important; }
.sm-btn-sm { min-height: 36px; padding: 6px 12px; font-size: 13px; }
.sm-btn-block { width: 100%; }
.sm-btn.is-on { color: var(--sm-bad) !important; border-color: #f3c5c0; }
.sm-btn .sm-ico { width: 16px; height: 16px; flex-basis: 16px; }
.sm-inline { display: inline; margin: 0; }

/* Badges */
.sm-badge { display: inline-flex; align-items: center; padding: 2px 10px; border-radius: 99px; font-size: 12px; font-weight: 600; background: #eef0f6; color: var(--sm-ink-2); white-space: nowrap; }
.sm-badge-lg { font-size: 13px; padding: 4px 12px; }
.sm-badge-ok, .sm-st-delivered, .sm-st-approved, .sm-pay-captured, .sm-tk-resolved { background: var(--sm-ok-bg); color: var(--sm-ok); }
.sm-badge-warn, .sm-st-needs_info, .sm-st-revision_requested, .sm-pay-pending_verification, .sm-tk-waiting_customer { background: var(--sm-warn-bg); color: var(--sm-warn); }
.sm-badge-bad, .sm-st-rejected, .sm-pay-failed, .sm-pay-rejected { background: var(--sm-bad-bg); color: var(--sm-bad); }
.sm-st-in_design, .sm-st-accepted, .sm-tk-in_progress { background: #e9efff; color: var(--sm-accent-2); }

/* Alerts */
.sm-alert { padding: 12px 14px; border-radius: var(--sm-radius-sm); margin-bottom: 14px; font-size: 14px; background: #eef0ff; }
.sm-alert-success { background: var(--sm-ok-bg); color: var(--sm-ok); }
.sm-alert-error { background: var(--sm-bad-bg); color: var(--sm-bad); }
.sm-alert-warning { background: var(--sm-warn-bg); color: var(--sm-warn); }
.sm-alert-info { background: #e9efff; color: var(--sm-accent-2); }
.sm-error { color: var(--sm-bad); font-size: 13px; }
.sm-empty { padding: 28px 16px; text-align: center; color: var(--sm-muted); background: #fff; border: 1px dashed #d6d9e6; border-radius: var(--sm-radius); }
.sm-empty-sm { padding: 14px; border: 0; background: transparent; text-align: left; }

/* Forms */
.sm-form label, .sm-form fieldset { display: block; margin-bottom: 14px; font-size: 14px; font-weight: 600; color: var(--sm-ink-2); }
.sm-form fieldset { border: 0; padding: 0; }
.sm-form legend { font-weight: 600; margin-bottom: 6px; }
.sm-label { display: block; font-size: 14px; font-weight: 600; color: var(--sm-ink-2); margin-bottom: 6px; }
.sm-portal input[type=text], .sm-portal input[type=email], .sm-portal input[type=tel], .sm-portal input[type=url], .sm-portal input[type=password], .sm-portal input[type=search], .sm-portal input[type=date], .sm-portal input[type=number], .sm-portal select, .sm-portal textarea {
	display: block; width: 100%; margin-top: 6px; min-height: 44px; padding: 10px 12px; font: inherit; font-weight: 400; font-size: 15px; color: var(--sm-ink); background: #fff; border: 1px solid #d6d9e6; border-radius: 10px; transition: border-color .15s, box-shadow .15s;
}
.sm-portal textarea { min-height: 80px; resize: vertical; }
.sm-portal input:focus, .sm-portal select:focus, .sm-portal textarea:focus { outline: 0; border-color: var(--sm-accent); box-shadow: 0 0 0 3px color-mix(in srgb, var(--sm-accent) 18%, transparent); }
.sm-portal input[type=file] { display: block; margin-top: 6px; font-size: 14px; max-width: 100%; }
.sm-check { display: flex !important; align-items: flex-start; gap: 8px; font-weight: 500 !important; }
.sm-check input { margin-top: 4px; width: 18px; height: 18px; flex: 0 0 18px; }
.sm-row { display: grid; gap: 0 14px; }
@media (min-width: 640px) { .sm-row { grid-template-columns: 1fr 1fr; } .sm-row-3 { grid-template-columns: 1fr 1fr 1fr; } }
.sm-colors { display: flex; gap: 10px; }
.sm-colors input[type=color] { width: 56px; height: 44px; border: 1px solid #d6d9e6; border-radius: 10px; padding: 2px; background: #fff; }
.sm-upload { margin-bottom: 14px; }
.sm-logo-preview { display: block; max-width: 160px; max-height: 90px; margin: 6px 0; padding: 6px; border: 1px solid var(--sm-line); border-radius: 10px; background: #fff; object-fit: contain; }
.sm-logo-preview.sm-dark { background: #1f2440; }
.sm-hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.sm-details { margin-top: 12px; }
.sm-details summary { cursor: pointer; font-weight: 600; padding: 8px 0; }
.sm-or { display: flex; align-items: center; gap: 10px; color: var(--sm-muted); margin: 16px 0; font-size: 13px; }
.sm-or::before, .sm-or::after { content: ""; flex: 1; height: 1px; background: var(--sm-line); }
.sm-copy { cursor: copy; border-bottom: 1px dashed currentColor; }

/* Tabs & filters */
.sm-tabs { display: flex; gap: 6px; overflow-x: auto; margin-bottom: 14px; padding-bottom: 2px; scrollbar-width: none; }
.sm-tabs a { flex: 0 0 auto; padding: 8px 14px; border-radius: 99px; background: #fff; border: 1px solid var(--sm-line); color: var(--sm-ink-2); font-size: 14px; font-weight: 500; }
.sm-tabs a.is-active { background: var(--sm-ink); border-color: var(--sm-ink); color: #fff !important; }
.sm-tabs a:hover { text-decoration: none; }
.sm-filters { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; margin-bottom: 16px; }
.sm-filters input[type=search] { grid-column: 1 / -1; margin: 0 !important; }
.sm-filters select { margin: 0 !important; }
.sm-filters .sm-btn { grid-column: 1 / -1; }
@media (min-width: 960px) { .sm-filters { display: flex; flex-wrap: wrap; } .sm-filters input[type=search] { flex: 1 1 240px; } .sm-filters select { flex: 0 1 170px; width: auto; } .sm-filters .sm-btn { grid-column: auto; } }

/* Posters */
.sm-posters { display: grid; grid-template-columns: repeat(2, 1fr); gap: 12px; }
@media (min-width: 640px) { .sm-posters { grid-template-columns: repeat(3, 1fr); } }
@media (min-width: 1100px) { .sm-posters { grid-template-columns: repeat(4, 1fr); } .sm-posters-sm { grid-template-columns: repeat(3, 1fr); } }
.sm-poster { display: block; background: #fff; border: 1px solid var(--sm-line); border-radius: var(--sm-radius); overflow: hidden; color: var(--sm-ink) !important; box-shadow: var(--sm-shadow); transition: transform .15s, box-shadow .15s; }
.sm-poster:hover { text-decoration: none !important; box-shadow: 0 6px 24px rgba(15, 27, 61, .1); }
.sm-poster-img { position: relative; aspect-ratio: 1 / 1; background: #eef0f6; display: flex; align-items: center; justify-content: center; }
.sm-poster-img img { width: 100%; height: 100%; object-fit: cover; display: block; }
.sm-poster-ph { color: var(--sm-muted); font-weight: 700; letter-spacing: .08em; }
.sm-poster-ph-lg { min-height: 320px; display: flex; align-items: center; justify-content: center; background: #eef0f6; border-radius: var(--sm-radius); }
.sm-tag { position: absolute; top: 8px; left: 8px; padding: 2px 8px; border-radius: 99px; font-size: 11px; font-weight: 700; background: rgba(15, 27, 61, .75); color: #fff !important; }
.sm-tag-new { background: var(--sm-accent); }
.sm-poster-meta { padding: 10px 12px; display: flex; flex-direction: column; gap: 2px; min-width: 0; }
.sm-poster-meta strong { font-size: 14px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.sm-poster-meta span { font-size: 12px; color: var(--sm-muted); }
.sm-months { display: grid; grid-template-columns: repeat(2, 1fr); gap: 12px; }
@media (min-width: 960px) { .sm-months { grid-template-columns: repeat(4, 1fr); } }
.sm-month { display: flex; flex-direction: column; color: var(--sm-ink) !important; }
.sm-month span { color: var(--sm-muted); font-size: 13px; }

/* Poster detail */
.sm-detail { display: grid; gap: 18px; }
@media (min-width: 960px) { .sm-detail { grid-template-columns: 1.2fr 1fr; align-items: start; } }
.sm-detail-media img { width: 100%; height: auto; border-radius: var(--sm-radius); border: 1px solid var(--sm-line); background: #fff; display: block; }
.sm-meta-list { display: flex; flex-wrap: wrap; gap: 6px; margin: 8px 0 12px; }
.sm-meta-list span { font-size: 12px; padding: 3px 10px; border-radius: 99px; background: #fff; border: 1px solid var(--sm-line); color: var(--sm-ink-2); }
.sm-files { list-style: none; margin: 0 0 14px; padding: 0; display: flex; flex-direction: column; gap: 8px; }
.sm-files li { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 10px; padding: 12px; background: #fff; border: 1px solid var(--sm-line); border-radius: var(--sm-radius-sm); }
.sm-files li > div:first-child { display: flex; flex-direction: column; }
.sm-file-actions { display: flex; gap: 8px; }
.sm-detail-actions { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 14px; }
.sm-thumbs { display: flex; gap: 8px; margin: 8px 0; }
.sm-thumbs label { display: inline-flex !important; align-items: center; gap: 6px; padding: 6px 12px; border: 1px solid var(--sm-line); border-radius: 99px; cursor: pointer; font-size: 18px; margin: 0 !important; }

/* Lists & tables */
.sm-list { list-style: none; margin: 0; padding: 0; }
.sm-list li { display: flex; align-items: center; gap: 10px; justify-content: space-between; padding: 10px 0; border-bottom: 1px solid var(--sm-line); font-size: 14px; }
.sm-list li:last-child { border-bottom: 0; }
.sm-list li > span:nth-child(2) { flex: 1; }
.sm-list li.is-unread a { font-weight: 700; }
.sm-date-chip { flex: 0 0 auto; padding: 2px 8px; border-radius: 8px; background: #f0efff; color: var(--sm-accent); font-weight: 700; font-size: 12px; }
.sm-table-wrap { overflow-x: auto; background: #fff; border: 1px solid var(--sm-line); border-radius: var(--sm-radius); }
.sm-card .sm-table-wrap { border: 0; }
.sm-table { width: 100%; border-collapse: collapse; font-size: 14px; }
.sm-table th { text-align: left; font-size: 12px; text-transform: uppercase; letter-spacing: .04em; color: var(--sm-muted); padding: 10px 12px; border-bottom: 1px solid var(--sm-line); white-space: nowrap; }
.sm-table td { padding: 12px; border-bottom: 1px solid var(--sm-line); vertical-align: top; }
.sm-table tr:last-child td { border-bottom: 0; }
.sm-summary { width: 100%; border-collapse: collapse; }
.sm-summary td { padding: 8px 0; border-bottom: 1px solid var(--sm-line); }
.sm-summary td:last-child { text-align: right; white-space: nowrap; }
.sm-summary .sm-total td { font-weight: 800; font-size: 17px; border-bottom: 0; }
.sm-coupon { display: flex; gap: 8px; margin-top: 12px; }
.sm-coupon input { margin: 0 !important; }
.sm-notes { list-style: none; padding: 0; }
.sm-notes li { padding: 12px 4px; border-bottom: 1px solid var(--sm-line); }
.sm-notes li:last-child { border-bottom: 0; }
.sm-notes li.is-unread { background: linear-gradient(90deg, #f3f2ff, transparent); }
.sm-notes p { margin: 4px 0; font-size: 14px; color: var(--sm-ink-2); }
.sm-chips { list-style: none; padding: 0; display: flex; flex-wrap: wrap; gap: 6px; }
.sm-chips li { font-size: 12px; padding: 4px 10px; background: var(--sm-bg); border-radius: 99px; }
.sm-pager { display: flex; flex-wrap: wrap; gap: 6px; justify-content: center; margin: 20px 0; }
.sm-pager a, .sm-pager span { min-width: 40px; height: 40px; display: inline-flex; align-items: center; justify-content: center; border-radius: 10px; background: #fff; border: 1px solid var(--sm-line); color: var(--sm-ink-2); }
.sm-pager .current { background: var(--sm-ink); color: #fff; border-color: var(--sm-ink); }

/* Threads */
.sm-thread { display: flex; flex-direction: column; gap: 10px; margin-bottom: 14px; max-height: 520px; overflow-y: auto; }
.sm-msg { max-width: 88%; display: flex; flex-direction: column; gap: 4px; }
.sm-msg.is-me { align-self: flex-end; align-items: flex-end; }
.sm-msg-body { padding: 10px 12px; border-radius: 14px; white-space: pre-line; overflow-wrap: anywhere; font-size: 14px; }
.sm-msg.is-staff .sm-msg-body { background: var(--sm-bg); border-top-left-radius: 4px; }
.sm-msg.is-me .sm-msg-body { background: #ecebff; border-top-right-radius: 4px; }
.sm-msg small { color: var(--sm-muted); font-size: 12px; }
.sm-rate { display: flex; flex-wrap: wrap; align-items: center; gap: 6px; margin-top: 12px; }

/* Steps */
.sm-steps { list-style: none; padding: 0; display: flex; gap: 8px; margin: 0 0 16px; overflow-x: auto; }
.sm-steps li { flex: 1 0 auto; display: flex; align-items: center; gap: 8px; padding: 8px 12px; border-radius: 10px; background: #fff; border: 1px solid var(--sm-line); color: var(--sm-muted); font-size: 13px; white-space: nowrap; }
.sm-steps li span { width: 22px; height: 22px; border-radius: 50%; display: inline-flex; align-items: center; justify-content: center; background: var(--sm-bg); font-weight: 700; font-size: 12px; }
.sm-steps li.is-current { border-color: var(--sm-accent); color: var(--sm-accent); font-weight: 600; }
.sm-steps li.is-current span { background: var(--sm-accent); color: #fff !important; }
.sm-steps li.is-done { color: var(--sm-ok); }
.sm-steps li.is-done span { background: var(--sm-ok-bg); color: var(--sm-ok); }
.sm-checklist { list-style: none; padding: 0; display: grid; grid-template-columns: 1fr 1fr; gap: 6px; max-width: 720px; color: var(--sm-muted); font-size: 14px; }
.sm-checklist li { display: flex; align-items: center; gap: 6px; }
.sm-checklist li.is-ok { color: var(--sm-ok); }
.sm-onboard-card { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 12px; }
.sm-onboard-card > div { flex: 1 1 260px; }
.sm-onboard-card p { margin: 4px 0 8px; }

/* Calendar */
.sm-timeline .sm-occ { display: grid; grid-template-columns: 56px 1fr auto; align-items: center; gap: 12px; padding: 12px 14px; margin-bottom: 10px; }
.sm-occ-date { display: flex; flex-direction: column; align-items: center; justify-content: center; height: 56px; border-radius: 12px; background: #f0efff; color: var(--sm-accent); }
.sm-occ-date strong { font-size: 20px; line-height: 1; }
.sm-occ-date span { font-size: 12px; text-transform: uppercase; }
.sm-occ-body { display: flex; flex-direction: column; align-items: flex-start; gap: 4px; min-width: 0; }

/* Pricing */
.sm-pricing { display: grid; gap: 14px; }
@media (min-width: 760px) { .sm-pricing { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1100px) { .sm-pricing { grid-template-columns: repeat(4, 1fr); } }
.sm-price-card { display: flex; flex-direction: column; margin: 0; }
.sm-price-card.is-current { border-color: var(--sm-accent); }
.sm-price-card h3 { margin: 0 0 6px; font-size: 17px; }
.sm-price { font-size: 26px; font-weight: 800; letter-spacing: -.02em; }
.sm-price small { font-size: 14px; font-weight: 500; color: var(--sm-muted); }
.sm-price-card ul, .sm-ent { padding-left: 18px; margin: 12px 0; font-size: 14px; color: var(--sm-ink-2); }
.sm-price-card ul li, .sm-ent li { margin-bottom: 4px; }
.sm-price-actions { margin-top: auto; display: flex; flex-wrap: wrap; gap: 8px; }
.sm-plan-name { font-size: 22px; }

/* Auth */
.sm-auth-wrap { min-height: 100vh; display: flex; flex-direction: column; align-items: center; padding: 32px 16px; }
.sm-auth-brand { display: flex; align-items: center; gap: 10px; font-weight: 800; font-size: 20px; margin-bottom: 20px; }
.sm-auth { width: 100%; max-width: 480px; padding: 24px; }
.sm-auth-links { font-size: 14px; color: var(--sm-muted); margin-top: 14px; }
.sm-pricing-page { width: 100%; max-width: 1180px; }
.sm-auth-wrap > .sm-alert { width: 100%; max-width: 480px; }

/* Invoice */
.sm-invoice { background: #fff; border: 1px solid var(--sm-line); border-radius: var(--sm-radius); padding: 24px; max-width: 860px; margin: 0 auto; font-size: 14px; }
.sm-inv-head { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 18px; padding-bottom: 16px; border-bottom: 2px solid var(--sm-ink); }
.sm-inv-head h2 { margin: 0 0 4px; font-size: 18px; }
.sm-inv-title { text-align: right; }
.sm-inv-title h1 { font-size: 18px !important; letter-spacing: .06em; }
.sm-inv-to { padding: 14px 0; }
.sm-inv-table { width: 100%; border-collapse: collapse; margin: 10px 0 14px; }
.sm-inv-table th, .sm-inv-table td { border: 1px solid var(--sm-line); padding: 8px; text-align: left; }
.sm-inv-table td:last-child, .sm-inv-table th:last-child { text-align: right; white-space: nowrap; }
.sm-inv-table tfoot td { font-weight: 600; }
.sm-inv-table .sm-total td { font-size: 16px; font-weight: 800; }

/* Embeds on normal theme pages (shortcodes) */
.sm-embed { font-family: var(--sm-font); color: var(--sm-ink); }
.sm-embed .sm-form input, .sm-embed .sm-form textarea, .sm-embed .sm-form select { display: block; width: 100%; margin-top: 6px; padding: 10px 12px; border: 1px solid #d6d9e6; border-radius: 10px; font: inherit; }
.sm-embed .sm-form label { display: block; margin-bottom: 12px; font-weight: 600; }

@media print {
	.sm-sidebar, .sm-topbar, .sm-bottom-nav, .sm-banner, .sm-noprint, .sm-back, .sm-impersonate, .sm-auth-brand { display: none !important; }
	body.sm-portal { background: #fff; }
	.sm-shell { display: block; }
	.sm-content { padding: 0; }
	.sm-invoice { border: 0; padding: 0; }
}
@media (prefers-reduced-motion: reduce) { * { transition: none !important; } }

/* Orders & PhonePe / WhatsApp */
.sm-btn-wa { background: #1fa855; border-color: #1fa855; color: #fff !important; }
.sm-btn-wa:hover, .sm-btn-wa:focus { background: #178a45; border-color: #178a45; color: #fff !important; }
.sm-btn-phonepe { background: #5f259f; border-color: #5f259f; color: #fff !important; }
.sm-btn-phonepe:hover, .sm-btn-phonepe:focus { background: #4b1d80; border-color: #4b1d80; color: #fff !important; }
.sm-order .sm-summary { margin: 16px 0; text-align: left; }
.sm-order .sm-btn { margin-top: 10px; }
.sm-order-tick { width: 56px; height: 56px; margin: 0 auto 8px; border-radius: 50%; background: #e7f6ef; color: #0f8a5f; font-size: 28px; line-height: 56px; font-weight: 700; }
.sm-qr { display: block; width: 100%; max-width: 260px; height: auto; margin: 8px auto 12px; border: 1px solid var(--sm-line); border-radius: 12px; background: #fff; padding: 8px; }
.sm-pay-amount { font-size: 28px; font-weight: 700; text-align: center; margin: 4px 0 2px; }
.sm-pay-steps { margin: 12px 0; padding-left: 20px; }
.sm-pay-steps li { margin: 4px 0; }
.sm-only-mobile { display: none; }
@media (max-width: 760px) { .sm-only-mobile { display: flex; } .sm-only-desktop { display: none; } }
