:root {
  color-scheme: light;
  --paper: #f7f5f1;
  --card: #fffefa;
  --ink: #242721;
  --muted: #85877d;
  --line: #e9e5dd;
  --green: #326145;
  --lime: #d9ef9c;
  --pink: #d87583;
  --sans: "DM Sans", "Hind", sans-serif;
}

* { box-sizing: border-box; }
html { min-width: 320px; scroll-behavior: smooth; }
body { margin: 0; background: var(--paper); color: var(--ink); font-family: var(--sans); -webkit-font-smoothing: antialiased; }
button, input, textarea { color: inherit; font: inherit; }
button { cursor: pointer; }
button:focus-visible, a:focus-visible, input:focus-visible, textarea:focus-visible { outline: 2px solid var(--green); outline-offset: 3px; }
a { color: inherit; text-decoration: none; }
[hidden] { display: none !important; }

.app-shell { min-height: 100vh; display: grid; grid-template-columns: 244px minmax(450px, 1fr) 316px; max-width: 1600px; margin: 0 auto; }
.sidebar { position: sticky; top: 0; height: 100vh; min-height: 680px; padding: 30px 19px 20px 28px; display: flex; flex-direction: column; border-right: 1px solid var(--line); }
.brand { width: fit-content; display: flex; align-items: center; gap: 9px; font-size: 25px; font-weight: 800; letter-spacing: -.09em; }
.brand-mark { width: 34px; height: 34px; display: grid; place-items: center; border-radius: 12px 12px 12px 4px; background: var(--green); color: #f9f5e9; font: 600 19px "Hind", sans-serif; letter-spacing: 0; }
.brand-period { color: #d36e67; }
.nav-list { display: grid; gap: 7px; margin-top: 53px; }
.nav-item { position: relative; width: 100%; min-height: 47px; display: flex; align-items: center; gap: 15px; padding: 0 14px; border: 0; border-radius: 9px; background: transparent; text-align: left; font-size: 13px; font-weight: 500; transition: background .18s, transform .18s; }
.nav-item:hover { background: #eeece5; }
.nav-item.active { background: #ebe9e0; font-weight: 700; }
.nav-icon { width: 19px; display: inline-grid; place-items: center; font-size: 22px; line-height: 1; }
.nav-hindi { margin-left: auto; color: #98998f; font: 12px "Hind", sans-serif; }
.message-dot { width: 6px; height: 6px; margin-left: auto; border-radius: 50%; background: #d06c67; }
.nav-avatar { width: 23px; height: 23px; display: grid; place-items: center; border-radius: 50%; background: #db8769; color: #fff; font-size: 11px; font-weight: 700; }
.create-button { min-height: 45px; margin-top: 28px; display: flex; align-items: center; justify-content: center; gap: 8px; border: 0; border-radius: 9px; background: var(--green); color: white; font-size: 12px; font-weight: 700; transition: background .2s, transform .2s; }
.create-button:hover, .publish-button:hover { background: #244a34; transform: translateY(-1px); }
.create-button span { font-size: 20px; font-weight: 400; }
.sidebar-bottom { margin-top: auto; }
.culture-card { position: relative; min-height: 135px; overflow: hidden; padding: 15px 14px; border-radius: 11px; background: #e9e6d5; }
.culture-card::after { content: "✳"; position: absolute; right: -12px; bottom: -41px; color: #d5d0b8; font-size: 110px; }
.culture-sun { color: #b5794c; font-size: 17px; }
.culture-card p { position: relative; z-index: 1; margin: 8px 0 8px; font-size: 12px; line-height: 1.5; }
.culture-card strong { font-weight: 700; }
.culture-stamp { color: #7e8174; font: 11px "Hind", sans-serif; }
.menu-item { margin-top: 16px; }
.mobile-search, .mobile-nav { display: none; }

.main-column { min-width: 0; border-right: 1px solid var(--line); }
.topbar { position: sticky; z-index: 5; top: 0; height: 77px; display: flex; align-items: center; gap: 14px; padding: 0 34px; border-bottom: 1px solid var(--line); background: rgba(247, 245, 241, .95); backdrop-filter: blur(16px); }
.location-pill { display: flex; align-items: center; gap: 6px; white-space: nowrap; font-size: 11px; font-weight: 700; }
.location-pin { color: #d06e63; font-size: 18px; }
.location-chevron, .chevron { color: #999a90; }
.search-box { height: 37px; min-width: 130px; flex: 1; display: flex; align-items: center; gap: 9px; padding: 0 10px; border: 1px solid var(--line); border-radius: 8px; background: var(--card); color: #77796f; }
.search-box > span { font-size: 20px; }
.search-box input { width: 100%; min-width: 0; border: 0; outline: 0; background: transparent; font-size: 10px; }
.search-box input::placeholder { color: #a1a197; }
.search-box kbd { white-space: nowrap; padding: 3px 5px; border: 1px solid var(--line); border-radius: 4px; color: #92938a; font: 9px var(--sans); }
.top-icon { position: relative; width: 29px; border: 0; background: transparent; font-size: 22px; }
.top-icon i { position: absolute; top: 3px; right: 0; width: 6px; height: 6px; border: 1px solid var(--paper); border-radius: 50%; background: #d06c67; }
.profile-chip { display: flex; align-items: center; gap: 7px; padding: 0; border: 0; background: transparent; white-space: nowrap; font-size: 10px; font-weight: 700; }
.avatar { width: 34px; height: 34px; flex: 0 0 auto; display: inline-grid; place-items: center; overflow: hidden; border-radius: 50%; background-color: #e6c5ab; background-image: var(--avatar-image); background-position: center; background-size: cover; }
.avatar-user { background: #d88769; color: white; font-size: 13px; font-weight: 700; }
.content-wrap { max-width: 735px; margin: 0 auto; padding: 31px 38px 70px; }
.welcome-row { display: flex; align-items: flex-start; justify-content: space-between; gap: 20px; }
.eyebrow { display: flex; align-items: center; gap: 7px; margin: 0 0 11px; color: #8d8e83; font-size: 8px; font-weight: 700; letter-spacing: .12em; }
.live-dot { width: 6px; height: 6px; border-radius: 50%; background: #738c58; }
h1 { margin: 0; font-size: clamp(24px, 3vw, 32px); font-weight: 600; letter-spacing: -.06em; line-height: 1.2; }
h1 em { color: var(--green); font-family: Georgia, serif; font-weight: 400; }
.welcome-copy { margin: 8px 0 0; color: var(--muted); font-size: 11px; }
.language-button { width: 41px; height: 41px; flex: 0 0 auto; display: flex; align-items: center; justify-content: center; gap: 2px; border: 1px solid var(--line); border-radius: 50%; background: var(--card); color: var(--green); font: 600 16px "Hind", sans-serif; }
.language-button span { margin-top: 13px; font: 700 7px var(--sans); }

.stories-section { margin-top: 30px; padding: 17px 19px 14px; border: 1px solid var(--line); border-radius: 12px; background: var(--card); }
.section-topline { display: flex; align-items: center; justify-content: space-between; }
.section-topline h2, .feed-heading h2 { margin: 0; font-size: 12px; font-weight: 700; letter-spacing: -.02em; }
.hindi-inline { color: #99998e; font: 12px "Hind", sans-serif; }
.subtle-button { border: 0; background: transparent; color: var(--green); font-size: 9px; font-weight: 700; }
.subtle-button span { margin-left: 4px; }
.stories-row { display: flex; gap: clamp(10px, 2vw, 20px); margin-top: 16px; overflow-x: auto; scrollbar-width: none; }
.stories-row::-webkit-scrollbar { display: none; }
.story { min-width: 53px; display: grid; justify-items: center; gap: 6px; padding: 0; border: 0; background: transparent; }
.story-ring { width: 51px; height: 51px; display: grid; place-items: center; border-radius: 50%; background: conic-gradient(#efb34f, #db6176, #984f9b, #e0785a, #efb34f); }
.story-ring.story-pink { background: conic-gradient(#f1b151, #e06178, #bc4d72, #e5a44f); }
.story-ring.story-orange { background: conic-gradient(#ecbb5e, #d95e52, #f09248, #ecc05f); }
.story-ring.story-purple { background: conic-gradient(#efa64a, #9c4e9a, #d55270, #eda550); }
.story-avatar { width: 43px; height: 43px; display: grid; place-items: center; border: 2px solid var(--card); border-radius: 50%; background-color: #ded9c9; }
.photo-avatar { background-image: var(--avatar-image); background-position: center; background-size: cover; }
.add-avatar { background: #e8eee1; color: var(--green); font-size: 22px; }
.story-name { max-width: 60px; overflow: hidden; color: #55574f; font-size: 9px; text-overflow: ellipsis; white-space: nowrap; }

.feed-section { margin-top: 31px; }
.feed-heading { display: flex; align-items: end; justify-content: space-between; margin-bottom: 15px; }
.feed-heading h2 { font-size: 14px; }
.feed-heading p { margin: 5px 0 0; color: #929389; font-size: 9px; }
.feed-filters { display: flex; gap: 4px; padding: 3px; border-radius: 7px; background: #eceae3; }
.filter-button { padding: 6px 9px; border: 0; border-radius: 5px; background: transparent; color: #77796f; font-size: 9px; }
.filter-button.active { background: var(--card); color: var(--ink); font-weight: 700; box-shadow: 0 1px 3px #24272112; }
.feed-list { display: grid; gap: 19px; }
.post-card { overflow: hidden; border: 1px solid var(--line); border-radius: 11px; background: var(--card); }
.post-header { display: flex; align-items: center; gap: 9px; padding: 12px 14px; }
.post-avatar { width: 34px; height: 34px; }
.post-user { min-width: 0; flex: 1; display: grid; gap: 2px; }
.post-user strong { overflow: hidden; font-size: 10px; text-overflow: ellipsis; white-space: nowrap; }
.post-user span { color: #94958b; font-size: 8px; }
.verified { margin-left: 3px; color: #5282a2; font-size: 10px; }
.post-menu { padding: 2px 4px; border: 0; background: transparent; color: #73756b; font-size: 17px; letter-spacing: 2px; }
.post-image-wrap { position: relative; overflow: hidden; background: #e8e2d3; }
.post-image { width: 100%; max-height: 580px; display: block; aspect-ratio: 1.16; object-fit: cover; }
.post-image.landscape { aspect-ratio: 1.3; }
.post-image.square { aspect-ratio: 1; }
.post-image.tall { aspect-ratio: .95; }
.post-location { position: absolute; right: 11px; bottom: 11px; display: flex; align-items: center; gap: 4px; padding: 6px 9px; border: 1px solid #ffffff7a; border-radius: 20px; background: #171a1690; color: white; font-size: 8px; backdrop-filter: blur(8px); }
.post-actions { display: flex; align-items: center; gap: 12px; padding: 11px 14px 0; }
.action-button { padding: 0; border: 0; background: transparent; color: #41443c; font-size: 21px; line-height: 1; transition: transform .15s, color .15s; }
.action-button:hover { transform: scale(1.12); }
.action-button.liked { color: #d25f68; }
.action-button.saved { color: var(--green); }
.save-button { margin-left: auto; }
.post-caption { margin: 9px 14px 5px; font-size: 10px; line-height: 1.6; }
.post-caption strong { margin-right: 5px; }
.post-caption .caption-hindi { color: #676a60; font-family: "Hind", var(--sans); font-size: 11px; }
.post-stats { margin: 0 14px; color: #42443d; font-size: 9px; font-weight: 700; }
.view-comments { margin: 7px 14px 0; padding: 0; border: 0; background: transparent; color: #999a90; font-size: 9px; }
.comment-list { display: grid; gap: 5px; margin: 8px 14px 0; }
.comment-item { color: #676960; font-size: 9px; line-height: 1.5; }
.comment-item strong { margin-right: 5px; color: var(--ink); }
.comment-form { display: flex; gap: 8px; margin: 10px 14px 13px; padding-top: 9px; border-top: 1px solid #f0eee8; }
.comment-form input { flex: 1; min-width: 0; border: 0; outline: 0; background: transparent; font-size: 9px; }
.comment-form button { padding: 0; border: 0; background: transparent; color: var(--green); font-size: 9px; font-weight: 700; }
.empty-state { padding: 38px 12px; text-align: center; }
.empty-state > span { color: #a5a69d; font-size: 28px; }
.empty-state h2 { margin: 6px 0; font-size: 15px; }
.empty-state p { color: var(--muted); font-size: 11px; }

.right-column { position: sticky; top: 0; height: 100vh; min-height: 680px; padding: 34px 23px 20px; display: flex; flex-direction: column; }
.profile-summary { padding: 4px 2px 18px; border-bottom: 1px solid var(--line); }
.summary-heading { display: flex; align-items: center; gap: 9px; }
.summary-heading > div:nth-child(2) { flex: 1; display: grid; gap: 4px; }
.summary-heading strong { font-size: 10px; }
.summary-heading span:not(.avatar) { color: #929389; font-size: 8px; }
.dots-button { border: 0; background: transparent; color: #74766d; font-size: 19px; }
.profile-stats { display: flex; justify-content: space-between; margin: 18px 3px 14px; }
.profile-stats div { display: grid; justify-items: center; gap: 3px; }
.profile-stats strong { font-size: 12px; }
.profile-stats span { color: #96978d; font-size: 8px; }
.profile-location { color: #82847a; font-size: 9px; }
.profile-location span { margin-right: 4px; color: #d06e63; font-size: 13px; }
.suggestions-section { margin-top: 25px; }
.suggestions-section .section-topline h2 { font-size: 12px; }
.suggestion-note { margin: 6px 0 15px; color: #9a9b91; font-size: 9px; }
.suggestion-list { display: grid; gap: 14px; }
.suggestion { display: flex; align-items: center; gap: 8px; }
.suggestion-avatar { width: 34px; height: 34px; }
.suggestion-info { min-width: 0; flex: 1; display: grid; gap: 3px; }
.suggestion-info strong { overflow: hidden; font-size: 9px; text-overflow: ellipsis; white-space: nowrap; }
.suggestion-info span { overflow: hidden; color: #98998f; font-size: 8px; text-overflow: ellipsis; white-space: nowrap; }
.follow-button { padding: 5px 9px; border: 1px solid #cfddca; border-radius: 5px; background: #f1f5eb; color: var(--green); font-size: 8px; font-weight: 700; }
.follow-button.following { border-color: var(--line); background: transparent; color: #7c7e73; }
.community-card { display: flex; gap: 11px; margin-top: 29px; padding: 13px 12px; border: 1px solid #e4e5d8; border-radius: 9px; background: #eef0e4; }
.community-icon { width: 26px; height: 26px; flex: 0 0 auto; display: grid; place-items: center; border-radius: 50%; background: #dfe4cf; color: #718057; }
.community-label { color: #838875; font-size: 7px; font-weight: 700; letter-spacing: .08em; }
.community-card p { margin: 5px 0 7px; font: italic 13px Georgia, serif; line-height: 1.3; }
.community-card button { padding: 0; border: 0; background: transparent; color: var(--green); font-size: 8px; font-weight: 700; }
.community-card button span { margin-left: 5px; }
.site-footer { margin-top: auto; color: #a0a197; font-size: 7px; letter-spacing: .04em; }
.site-footer div { display: flex; flex-wrap: wrap; gap: 10px; margin-bottom: 9px; }
.site-footer a:hover { color: var(--ink); }

.toast { position: fixed; z-index: 20; right: 24px; bottom: 24px; max-width: min(360px, calc(100vw - 32px)); padding: 12px 17px; border-radius: 8px; background: #282b25; color: white; font-size: 11px; opacity: 0; pointer-events: none; transform: translateY(8px); transition: .2s; }
.toast.visible { opacity: 1; transform: translateY(0); }
.create-dialog, .story-dialog { width: min(480px, calc(100vw - 28px)); max-height: min(90vh, 820px); overflow: auto; padding: 0; border: 1px solid var(--line); border-radius: 14px; background: var(--card); color: var(--ink); box-shadow: 0 24px 90px #1d251b30; }
.create-dialog::backdrop, .story-dialog::backdrop { background: #20231d80; backdrop-filter: blur(4px); }
.create-form { padding: 23px; }
.dialog-header { display: flex; align-items: flex-start; justify-content: space-between; margin-bottom: 20px; }
.dialog-kicker { color: #85877d; font-size: 8px; font-weight: 700; letter-spacing: .12em; }
.dialog-header h2 { margin: 6px 0 0; font-size: 22px; letter-spacing: -.05em; }
.dialog-close, .story-close { width: 30px; height: 30px; border: 1px solid var(--line); border-radius: 50%; background: transparent; color: #686a60; font-size: 20px; }
.upload-zone { position: relative; min-height: 220px; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 8px; overflow: hidden; border: 1px dashed #c9cbbc; border-radius: 10px; background: #f5f5ed; text-align: center; cursor: pointer; }
.upload-zone input { position: absolute; width: 1px; height: 1px; opacity: 0; }
.upload-zone > strong { font-size: 12px; }
.upload-zone > span:not(.upload-icon) { color: #8d8f84; font-size: 9px; }
.upload-icon { color: var(--green); font-size: 30px; }
.upload-zone img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.form-label { display: block; margin: 17px 0 7px; font-size: 10px; font-weight: 700; }
.create-form textarea { width: 100%; min-height: 80px; resize: vertical; padding: 11px; border: 1px solid var(--line); border-radius: 7px; background: white; font-size: 10px; }
.create-form textarea::placeholder { color: #a1a297; }
.visually-hidden { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; clip-path: inset(50%); }
.caption-assistant { margin-top: 12px; padding: 12px; border: 1px solid #e4e8dc; border-radius: 9px; background: linear-gradient(135deg, #f5f7ef, #faf8f2); }
.caption-assistant-heading, .caption-assistant-controls { display: flex; align-items: center; justify-content: space-between; gap: 10px; }
.caption-assistant-heading > div { display: grid; gap: 3px; }
.caption-assistant-heading strong { font-size: 10px; }
.caption-assistant-heading > div span, .caption-assistant-note { color: #888b80; font-size: 8px; }
.ai-badge { padding: 4px 7px; border: 1px solid #dce4d2; border-radius: 20px; background: #fffefa; color: var(--green); font-size: 8px; font-weight: 700; }
.caption-assistant-controls { justify-content: flex-start; margin-top: 10px; }
.caption-assistant-controls select { min-height: 32px; padding: 0 23px 0 9px; border: 1px solid var(--line); border-radius: 6px; background: white; font-size: 9px; }
.caption-generate { min-height: 32px; padding: 0 10px; border: 0; border-radius: 6px; background: var(--green); color: white; font-size: 9px; font-weight: 700; }
.caption-generate span { margin-left: 4px; color: var(--lime); }
.caption-assistant-note { margin: 8px 0 0; line-height: 1.5; }
.caption-ideas { display: grid; gap: 6px; margin-top: 10px; }
.caption-idea { padding: 8px 9px; border: 1px solid #e8e9df; border-radius: 6px; background: #fffefa; text-align: left; font-size: 9px; line-height: 1.5; transition: border-color .15s, transform .15s; }
.caption-idea:hover { transform: translateY(-1px); border-color: #a8b99a; }
.dialog-footer { display: flex; align-items: center; justify-content: space-between; gap: 10px; margin-top: 15px; }
.dialog-footer > span { color: #8e9086; font: 10px "Hind", sans-serif; }
.publish-button { padding: 10px 15px; border: 0; border-radius: 7px; background: var(--green); color: white; font-size: 10px; font-weight: 700; transition: .2s; }
.publish-button span { margin-left: 8px; }
.story-dialog { position: relative; width: min(380px, calc(100vw - 28px)); height: min(670px, 88vh); overflow: hidden; border: 0; border-radius: 12px; background: #272a25; }
.story-close { position: absolute; z-index: 2; top: 14px; right: 14px; border-color: #ffffff70; color: white; }
.story-viewer { height: 100%; display: flex; align-items: end; padding: 22px; background-position: center; background-size: cover; color: white; }
.story-viewer::before { content: ""; position: absolute; inset: 0; background: linear-gradient(transparent 55%, #10120fa8); }
.story-viewer div { position: relative; z-index: 1; }
.story-viewer strong { font-size: 15px; }
.story-viewer p { margin: 5px 0 0; font: 13px "Hind", sans-serif; }

.alternate-panel { min-height: 350px; padding: 35px 20px; border: 1px solid var(--line); border-radius: 11px; background: var(--card); text-align: center; }
.alternate-panel .panel-icon { color: #799064; font-size: 35px; }
.alternate-panel h2 { margin: 10px 0 6px; font-size: 19px; }
.alternate-panel p { max-width: 330px; margin: 0 auto; color: var(--muted); font-size: 11px; line-height: 1.7; }
.alternate-panel button { margin-top: 19px; padding: 9px 14px; border: 0; border-radius: 6px; background: var(--green); color: white; font-size: 10px; font-weight: 700; }
.alternate-panel .store-demo-notice { max-width: none; margin: 17px 0 20px; padding: 9px 11px; border: 1px solid #eadfca; border-radius: 7px; background: #fbf5e9; color: #796744; font-size: 9px; }
.store-section-title { margin: 21px 0 10px; text-align: left; font-size: 12px; }
.store-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; text-align: left; }
.store-product { min-width: 0; padding: 8px; border: 1px solid var(--line); border-radius: 9px; background: #fffefa; }
.store-product img { width: 100%; aspect-ratio: 1.25; display: block; border-radius: 6px; background: #ede9df; object-fit: cover; }
.store-creator { display: block; overflow: hidden; margin-top: 9px; color: #888a80; font-size: 8px; text-overflow: ellipsis; white-space: nowrap; }
.store-product h4 { min-height: 30px; margin: 4px 0; font-size: 10px; line-height: 1.5; }
.store-product > strong { display: block; font-size: 10px; }
.alternate-panel .store-add, .alternate-panel .store-checkout, .alternate-panel .membership-join { width: 100%; margin-top: 9px; padding: 8px 7px; }
.alternate-panel .store-add[aria-pressed="true"], .alternate-panel .membership-join[aria-pressed="true"] { border: 1px solid #dce4d2; background: #f1f5eb; color: var(--green); }
.store-cart { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-top: 11px; padding: 12px; border: 1px solid var(--line); border-radius: 8px; background: #f8f7f1; text-align: left; }
.store-cart > span { font-size: 10px; font-weight: 700; }
.alternate-panel .store-checkout { width: auto; flex: 0 0 auto; margin-top: 0; }
.alternate-panel .store-checkout:disabled { background: #a8aa9f; cursor: not-allowed; }
.membership-heading { margin-top: 27px; }
.membership-list { display: grid; gap: 8px; text-align: left; }
.membership-card { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 7px 10px; align-items: center; padding: 11px; border: 1px solid var(--line); border-radius: 8px; }
.membership-card > div { min-width: 0; display: grid; gap: 4px; }
.membership-card > div strong { font-size: 10px; }
.membership-card > div span { color: #888a80; font-size: 8px; line-height: 1.5; }
.membership-card .membership-price { font-size: 9px; white-space: nowrap; }
.alternate-panel .membership-join { grid-column: 1 / -1; margin-top: 0; }
.alternate-panel .campaign-demo-notice { max-width: none; margin: 17px 0 20px; padding: 9px 11px; border: 1px solid #eadfca; border-radius: 7px; background: #fbf5e9; color: #796744; font-size: 9px; }
.campaign-form { padding: 13px; border: 1px solid var(--line); border-radius: 9px; background: #fffefa; text-align: left; }
.campaign-form fieldset { display: flex; flex-wrap: wrap; gap: 8px; margin: 0; padding: 0; border: 0; }
.campaign-form legend { margin-bottom: 8px; font-size: 9px; font-weight: 700; }
.campaign-platform { display: flex; align-items: center; gap: 6px; padding: 8px 9px; border: 1px solid var(--line); border-radius: 6px; background: #fbfaf6; color: #55574f; font-size: 8px; cursor: pointer; }
.campaign-platform input { accent-color: var(--green); }
.campaign-settings { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; margin-top: 14px; }
.campaign-settings label { display: grid; gap: 5px; color: #6f7168; font-size: 8px; font-weight: 700; }
.campaign-settings label:last-child { grid-column: 1 / -1; }
.campaign-settings input, .campaign-settings select { width: 100%; min-width: 0; height: 34px; padding: 0 9px; border: 1px solid var(--line); border-radius: 6px; background: white; font-size: 9px; }
.alternate-panel .campaign-draft-button, .alternate-panel .campaign-copy-button { margin-top: 12px; }
.campaign-summary { max-width: none !important; margin: 10px 0 0 !important; padding: 9px; border-radius: 6px; background: #f4f5ed; color: #686b60 !important; font-size: 8px !important; text-align: left; overflow-wrap: anywhere; }
.campaign-assets-heading { margin: 25px 0 10px; text-align: left; font-size: 12px; }
.campaign-assets { display: grid; gap: 9px; text-align: left; }
.campaign-asset { padding: 12px; border: 1px solid var(--line); border-radius: 8px; background: #fffefa; }
.campaign-asset-label { color: #7b866c; font-size: 8px; font-weight: 700; letter-spacing: .04em; text-transform: uppercase; }
.campaign-asset h3 { margin: 5px 0 8px; font-size: 10px; }
.campaign-asset pre { margin: 0; color: #66685f; font: 9px/1.65 var(--sans); white-space: pre-wrap; overflow-wrap: anywhere; }
.alternate-panel .campaign-copy-button { padding: 7px 9px; font-size: 8px; }
.message-preview { max-width: 340px; margin: 21px auto 0; display: grid; gap: 9px; text-align: left; }
.message-person { display: flex; align-items: center; gap: 9px; padding: 9px; border: 1px solid var(--line); border-radius: 8px; }
.message-person strong { font-size: 10px; }
.message-person span:not(.avatar) { display: block; margin-top: 3px; color: var(--muted); font-size: 9px; }
.profile-panel-top { display: flex; align-items: center; justify-content: center; gap: 15px; margin: 0 auto 16px; }
.profile-panel-top .avatar { width: 64px; height: 64px; font-size: 22px; }
.profile-panel-top strong { font-size: 14px; }
.reel-grid { margin-top: 20px; display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; }
.reel-tile { min-height: 150px; display: grid; place-items: center; border-radius: 8px; background-position: center; background-size: cover; color: white; font-size: 22px; text-shadow: 0 1px 8px #000; }

@media (min-width: 1500px) {
  .app-shell { grid-template-columns: 260px minmax(600px, 1fr) 340px; }
  .content-wrap { padding-right: 48px; padding-left: 48px; }
}

@media (max-width: 1160px) {
  .app-shell { grid-template-columns: 214px minmax(420px, 1fr); }
  .sidebar { padding-left: 21px; }
  .right-column { display: none; }
  .topbar { padding-right: 28px; padding-left: 28px; }
}

@media (max-width: 720px) {
  body { padding-bottom: calc(62px + env(safe-area-inset-bottom)); }
  .app-shell { display: block; }
  .sidebar { position: sticky; z-index: 8; top: 0; width: 100%; height: 57px; min-height: 0; padding: 0 17px; flex-direction: row; align-items: center; justify-content: space-between; border-right: 0; border-bottom: 1px solid var(--line); background: rgba(247, 245, 241, .96); backdrop-filter: blur(14px); }
  .brand { gap: 7px; font-size: 22px; }
  .brand-mark { width: 30px; height: 30px; font-size: 17px; }
  .nav-list, .create-button, .sidebar-bottom { display: none; }
  .mobile-search { width: 35px; height: 35px; display: grid; place-items: center; border: 1px solid var(--line); border-radius: 50%; background: var(--card); font-size: 20px; }
  .main-column { border: 0; }
  .topbar { position: static; height: 54px; gap: 10px; padding: 0 17px; border-bottom: 0; background: transparent; }
  .location-pill { font-size: 10px; }
  .search-box { height: 34px; }
  .search-box kbd, .top-icon, .profile-chip { display: none; }
  .content-wrap { padding: 10px 14px 28px; }
  h1 { font-size: 25px; }
  .welcome-copy { max-width: 265px; font-size: 10px; line-height: 1.5; }
  .language-button { width: 36px; height: 36px; }
  .stories-section { margin-top: 20px; padding: 13px 12px 12px; }
  .stories-row { gap: 14px; }
  .feed-section { margin-top: 24px; }
  .feed-heading { align-items: center; }
  .feed-heading h2 { font-size: 13px; }
  .feed-heading p { font-size: 8px; }
  .filter-button { padding: 6px 7px; font-size: 8px; }
  .feed-list { gap: 13px; }
  .post-card { margin: 0 -2px; border-radius: 9px; }
  .post-image { aspect-ratio: 1.04; }
  .mobile-nav { position: fixed; z-index: 10; right: 0; bottom: 0; left: 0; height: calc(60px + env(safe-area-inset-bottom)); display: flex; align-items: center; justify-content: space-around; padding: 0 11px env(safe-area-inset-bottom); border-top: 1px solid var(--line); background: rgba(255, 254, 250, .97); backdrop-filter: blur(15px); }
  .mobile-nav-item, .mobile-create { width: 42px; height: 42px; display: grid; place-items: center; border: 0; border-radius: 50%; background: transparent; font-size: 24px; }
  .mobile-nav-item.active { color: var(--green); }
  .mobile-create { width: 38px; height: 38px; border-radius: 11px; background: var(--green); color: white; font-size: 24px; }
  .mobile-nav .nav-avatar { width: 25px; height: 25px; }
  .toast { right: 12px; bottom: calc(72px + env(safe-area-inset-bottom)); left: 12px; max-width: none; }
  .campaign-settings { grid-template-columns: 1fr; }
  .campaign-settings label:last-child { grid-column: auto; }
}

@media (max-width: 380px) {
  .content-wrap { padding-right: 10px; padding-left: 10px; }
  .stories-section { padding-right: 9px; padding-left: 9px; }
  .stories-row { gap: 9px; }
  .feed-heading h2 { font-size: 12px; }
  .filter-button { padding-right: 5px; padding-left: 5px; }
  .store-grid { grid-template-columns: 1fr; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { scroll-behavior: auto !important; transition-duration: .01ms !important; animation-duration: .01ms !important; }
}
