@charset "UTF-8";
/* AmraEk shell styles, run a: the 2 <style> blocks of the application document that this file replaces,
   in document order, unchanged. Built by scripts/build-shell-styles.php - edit the Blade sources and rebuild. */

/* ==== a1 ==== */

/* AMRA_PROFILE_WORKSPACE_STYLE_BEGIN */
body.amra-flowbite #homeProfileEntry{display:grid;place-items:center;flex:0 0 44px;width:44px;min-width:44px;height:44px;min-height:44px;margin:0;padding:0;border-radius:50%;color:var(--fb-heading)}
body.amra-flowbite #homeProfileEntry .amra-avatar{width:44px;height:44px;flex-basis:44px}
body.amra-flowbite #homeProfileEntry:focus-visible{outline:3px solid var(--amra-focus);outline-offset:2px}
body.amra-flowbite #profileModal[data-profile-owner="true"] .amra-profile-sheet{width:min(100%,820px);min-height:min(75dvh,700px)}
body.amra-flowbite #profileModal[data-profile-owner="true"] .amra-profile-heading{position:relative;align-items:flex-start;padding:28px 24px 24px;border-top:8px solid var(--amra-brand);background:linear-gradient(var(--amra-brand-soft),var(--fb-surface))}
body.amra-flowbite #profileModal[data-profile-owner="true"] .amra-profile-identity{align-items:center;gap:16px}
body.amra-flowbite #profileModal[data-profile-owner="true"] #profileModalAvatar{width:88px;height:88px;font-size:28px;border:4px solid var(--fb-surface);box-shadow:0 0 0 1px var(--fb-border)}
body.amra-flowbite #profileModal[data-profile-owner="true"] #profileModalName{font-size:24px;line-height:1.4}
body.amra-flowbite #profileLoadStatus:empty{display:none}
body.amra-flowbite #profileLoadStatus{margin:0 0 16px;color:var(--fb-muted);font-size:14px}
@media(max-width:639px){
 body.amra-flowbite #profileModal[data-profile-owner="true"]{padding:0;place-items:stretch}
 body.amra-flowbite #profileModal[data-profile-owner="true"] .amra-profile-sheet{width:100%;height:100vh;height:100dvh;min-height:100dvh;max-height:100dvh;border:0;border-radius:0;box-shadow:none}
 body.amra-flowbite #profileModal[data-profile-owner="true"] .amra-profile-heading{padding:24px 16px 20px}
 body.amra-flowbite #profileModal[data-profile-owner="true"] .amra-profile-identity{align-items:flex-start;flex-direction:column;gap:12px}
 body.amra-flowbite #profileModal[data-profile-owner="true"] #profileModalName{font-size:23px}
 body.amra-flowbite #profileModal[data-profile-owner="true"] .amra-profile-content{padding:16px 16px max(24px,env(safe-area-inset-bottom))}
 body.amra-flowbite #profileModal[data-profile-owner="true"] .amra-profile-actions{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px;margin-bottom:20px}
 body.amra-flowbite #profileModal[data-profile-owner="true"] .amra-profile-actions>button:not([hidden]){width:100%;min-height:44px}
}
/* AMRA_PROFILE_WORKSPACE_STYLE_END */
/* Document-owned playback styles arrive with their controls, including when
 * the separately cached application stylesheet is still the released version. */
.amra-new-video-card .amra-video-playback-trigger{position:absolute;z-index:13;top:8px;right:8px;display:grid;place-items:center;width:44px;height:44px;padding:0;border:1px solid #ffffff80;border-radius:12px;background:#081913c9;color:#fff;font:inherit;font-size:24px;font-weight:700;line-height:1;cursor:pointer}
.amra-new-video-card .amra-video-playback-trigger:hover{background:#0c5138}
.amra-new-video-card .amra-video-playback-trigger:focus-visible{outline:3px solid #6ee7b7;outline-offset:2px}
.amra-new-video-card.amra-video-clear .amra-video-caption>[data-video-clearable],.amra-new-video-card.amra-video-clear .amra-video-rail{display:none!important}
.amra-new-video-card.amra-video-clear .amra-video-caption{padding-top:8px}
.amra-new-video-card .amra-video-restore{position:absolute;z-index:13;top:8px;left:8px;max-width:calc(100% - 72px);min-height:44px;padding:8px 12px;border:1px solid #ffffff80;border-radius:12px;background:#081913e6;color:#fff;font:inherit;font-size:14px;line-height:1.5;overflow-wrap:anywhere;cursor:pointer}
.amra-new-video-card .amra-video-restore[hidden]{display:none}
.amra-new-video-card .amra-video-restore:hover{background:#0c5138}
.amra-new-video-card .amra-video-restore:focus-visible{outline:3px solid #6ee7b7;outline-offset:2px}
#amraVideoPlaybackDialog{position:fixed;inset:auto;margin:0;box-sizing:border-box;width:min(344px,calc(100vw - 32px));max-width:calc(100vw - 32px);max-height:calc(100vh - 32px);max-height:calc(100dvh - 32px);padding:0;border:0;border-radius:16px;background:#fff;color:#111827;box-shadow:0 0 0 1px #d1d5db,0 16px 48px #0005;overflow:hidden;font:inherit}
#amraVideoPlaybackDialog[open]{display:flex;flex-direction:column}
#amraVideoPlaybackDialog::backdrop{background:#0004}
#amraVideoPlaybackDialog .amra-video-playback-header{display:flex;flex:0 0 auto;align-items:center;gap:4px;min-height:60px;padding:8px}
#amraVideoPlaybackDialog h2{flex:1;min-width:0;margin:0;text-align:center;font-size:16px;line-height:1.4;font-weight:700;overflow-wrap:anywhere}
#amraVideoPlaybackDialog button{box-sizing:border-box;min-height:44px;border:0;border-radius:9px;background:transparent;color:inherit;font:inherit;cursor:pointer}
#amraVideoPlaybackDialog button:hover{background:#f3f4f6}
#amraVideoPlaybackDialog button:focus-visible{outline:3px solid #047857;outline-offset:2px}
#amraVideoPlaybackDialog .amra-video-playback-nav{flex:0 0 44px;width:44px;padding:6px;font-size:24px;line-height:1}
#amraVideoPlaybackDialog .amra-video-playback-scroll{min-height:0;overflow-y:auto;overflow-x:hidden;padding:8px;scroll-padding:8px;overscroll-behavior:contain}
#amraVideoPlaybackDialog .amra-video-playback-scroll[hidden]{display:none}
#amraVideoPlaybackDialog .amra-video-playback-option{display:flex;width:100%;min-height:44px;align-items:center;justify-content:space-between;gap:12px;padding:10px 12px;text-align:left;font-size:14px;line-height:24px}
#amraVideoPlaybackDialog .amra-video-playback-option[aria-checked="true"]{background:#ecfdf5;color:#065f46;font-weight:700}
#amraVideoPlaybackDialog .amra-video-playback-mark{flex:0 0 20px;text-align:center}
#amraVideoPlaybackDialog [data-video-speed-entry],#amraVideoPlaybackDialog [data-video-quality-entry]{min-height:64px}
#amraVideoPlaybackDialog [data-video-speed-current],#amraVideoPlaybackDialog [data-video-quality-current]{display:block;font-size:12px;line-height:18px;color:#4b5563}
#amraVideoPlaybackDialog [data-video-quality][data-pending="true"]{box-shadow:inset 0 0 0 1px #059669}
#amraVideoPlaybackDialog .amra-video-playback-retry{flex:0 0 auto;margin:4px 8px 8px;padding:8px 12px;background:#ecfdf5;color:#065f46;text-align:left}
#amraVideoPlaybackDialog .amra-video-playback-retry[hidden]{display:none}
#amraVideoPlaybackStatus{flex:0 0 auto;margin:4px 8px;padding:4px;font-size:13px;line-height:1.5;overflow-wrap:anywhere}
html.dark #amraVideoPlaybackDialog{background:#111827;color:#f9fafb;box-shadow:0 0 0 1px #4b5563,0 16px 48px #0005}
html.dark #amraVideoPlaybackDialog button:hover{background:#374151}
html.dark #amraVideoPlaybackDialog button:focus-visible{outline-color:#6ee7b7}
html.dark #amraVideoPlaybackDialog .amra-video-playback-option[aria-checked="true"]{background:#064e3b;color:#d1fae5}
html.dark #amraVideoPlaybackDialog [data-video-speed-current],html.dark #amraVideoPlaybackDialog [data-video-quality-current]{color:#d1d5db}
html.dark #amraVideoPlaybackDialog .amra-video-playback-retry{background:#064e3b;color:#d1fae5}
/* Facebook's reel "…" rows (4 Nov 2026): two tiles on top, then rows with an icon at the start. */
#amraVideoPlaybackDialog .amra-reel-menu-tiles{display:grid;grid-template-columns:1fr 1fr;gap:8px;margin:0 0 6px}
#amraVideoPlaybackDialog .amra-reel-menu-row{justify-content:flex-start;font-size:15px}
#amraVideoPlaybackDialog .amra-reel-menu-tile{flex-direction:column;justify-content:center;gap:4px;min-height:72px;padding:10px 8px;border-radius:12px;background:#f1f5f2;text-align:center;font-weight:600}
#amraVideoPlaybackDialog .amra-reel-menu-icon{display:inline-flex;flex:0 0 24px;width:24px;height:24px}
#amraVideoPlaybackDialog .amra-reel-menu-icon svg{width:24px;height:24px}
#amraVideoPlaybackDialog .amra-reel-menu-row[aria-checked="true"]{background:#ecfdf5;color:#065f46}
html.dark #amraVideoPlaybackDialog .amra-reel-menu-tile{background:#1f2937}
html.dark #amraVideoPlaybackDialog .amra-reel-menu-row[aria-checked="true"]{background:#064e3b;color:#d1fae5}
.amra-new-video-card .amra-reel-hidden{position:absolute;z-index:30;inset:0;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:12px;padding:16px;background:#0b1712f2;color:#fff;text-align:center}
.amra-new-video-card .amra-reel-hidden p{margin:0;font-size:15px;line-height:1.5}
.amra-new-video-card .amra-reel-hidden button{min-width:44px;min-height:44px;padding:8px 16px;border:1px solid #ffffff80;border-radius:10px;background:#ffffff1f;color:#fff;font:inherit;font-size:15px;font-weight:700;cursor:pointer}
.amra-new-video-card .amra-reel-hidden button:focus-visible{outline:3px solid #6ee7b7;outline-offset:2px}
#amraReelWhyDialog{width:min(400px,calc(100vw - 32px));padding:20px;border:0;border-radius:16px;background:#fff;color:#111827;box-shadow:0 16px 48px #0004}
#amraReelWhyDialog::backdrop{background:#0006}
#amraReelWhyDialog h2{margin:0 0 10px;font-size:17px;line-height:1.4;font-weight:700}
#amraReelWhyDialog p{margin:0 0 8px;font-size:15px;line-height:1.55}
#amraReelWhyDialog .amra-reel-why-hint{font-size:14px;color:#4b5563}
#amraReelWhyDialog button{display:block;width:100%;min-height:44px;margin-top:12px;border:0;border-radius:10px;background:#2a633a;color:#fff;font:inherit;font-size:15px;font-weight:700;cursor:pointer}
#amraReelWhyDialog button:focus-visible{outline:3px solid #047857;outline-offset:2px}
html.dark #amraReelWhyDialog{background:#111827;color:#f9fafb}
html.dark #amraReelWhyDialog .amra-reel-why-hint{color:#d1d5db}
/* With the reel rows present, the playback rows get matching start icons and size. */
#amraVideoPlaybackDialog:has(.amra-reel-menu-row) .amra-video-playback-option{font-size:15px}
#amraVideoPlaybackDialog:has(.amra-reel-menu-row) :is([data-video-speed-entry],[data-video-quality-entry],[data-video-clear-entry]){justify-content:flex-start}
#amraVideoPlaybackDialog:has(.amra-reel-menu-row) :is([data-video-speed-entry],[data-video-quality-entry],[data-video-clear-entry])::before{content:"";flex:0 0 24px;width:24px;height:24px;background:currentColor;-webkit-mask:var(--amra-reel-row-icon) center/24px 24px no-repeat;mask:var(--amra-reel-row-icon) center/24px 24px no-repeat}
#amraVideoPlaybackDialog:has(.amra-reel-menu-row) :is([data-video-speed-entry],[data-video-quality-entry]) .amra-video-playback-mark{margin-left:auto}
#amraVideoPlaybackDialog:has(.amra-reel-menu-row) [data-video-clear-entry] .amra-video-playback-mark{margin-left:auto}
#amraVideoPlaybackDialog:has(.amra-reel-menu-row) [data-video-speed-entry]{--amra-reel-row-icon:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M4 18a8 8 0 1 1 16 0'/%3E%3Cpath d='m12 18 4-6'/%3E%3C/svg%3E")}
#amraVideoPlaybackDialog:has(.amra-reel-menu-row) [data-video-quality-entry]{--amra-reel-row-icon:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M4 7h10M18 7h2M4 17h4M12 17h8'/%3E%3Ccircle cx='16' cy='7' r='2'/%3E%3Ccircle cx='10' cy='17' r='2'/%3E%3C/svg%3E")}
#amraVideoPlaybackDialog:has(.amra-reel-menu-row) [data-video-clear-entry]{--amra-reel-row-icon:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M2 12s3.5-7 10-7 10 7 10 7-3.5 7-10 7S2 12 2 12Z'/%3E%3Ccircle cx='12' cy='12' r='3'/%3E%3C/svg%3E")}
/* Original-Figma Alert hierarchy, adapted to existing Messenger palette and type. */
body.amra-flowbite #messageSendFeedback{flex:0 1 auto;min-width:0;min-height:0;margin:12px;padding:16px;border:1px solid var(--fb-border);border-radius:12px;background:var(--fb-surface-muted);color:var(--fb-text);overflow:auto;scroll-padding:8px}
body.amra-flowbite #messageSendFeedback[data-state="uncertain"],body.amra-flowbite #messageSendFeedback[data-state="checked"]{border-color:var(--fb-gold);background:var(--fb-gold-soft)}
body.amra-flowbite #messageSendStatusHeading{margin:0;color:var(--fb-heading);font-size:1rem;font-weight:600;line-height:1.5;overflow-wrap:anywhere}
body.amra-flowbite #messageSendFeedback[data-state="uncertain"] #messageSendStatusHeading,body.amra-flowbite #messageSendFeedback[data-state="checked"] #messageSendStatusHeading{color:var(--fb-gold)}
body.amra-flowbite #messageSendStatus{margin:8px 0 0;color:var(--fb-text);font-size:.875rem;line-height:1.5rem;overflow-wrap:anywhere}
body.amra-flowbite #messageSendRecoveryActions{display:flex;flex-wrap:wrap;gap:8px;min-width:0}
body.amra-flowbite #messageSendRecoveryActions:has(>button:not([hidden])){margin-top:16px}
body.amra-flowbite #messageSendRecoveryActions>button{min-width:44px;min-height:44px;max-width:100%;margin:0;padding:10px 14px;line-height:1.5;white-space:normal;overflow-wrap:anywhere}
/* Original Chat layout retained; new truthful read states reuse Alert anatomy. */
body.amra-flowbite #messages .amra-message-workspace-notice{min-width:0;padding:16px;border:1px solid var(--fb-border);border-radius:12px;background:var(--fb-surface);color:var(--fb-text);overflow-wrap:anywhere}
body.amra-flowbite #messages .amra-message-workspace-notice h3{margin:0;font-size:1rem;font-weight:600;line-height:1.5;color:var(--fb-heading)}
body.amra-flowbite #messages .amra-message-workspace-notice p{margin:8px 0 0;font-size:.875rem;line-height:1.6}
body.amra-flowbite #messages .amra-message-workspace-notice button{min-width:44px;min-height:44px;max-width:100%;margin-top:16px;white-space:normal;overflow-wrap:anywhere}
body.amra-flowbite #messageListNotice{margin-bottom:8px}
body.amra-flowbite #messages .amra-message-request-buttons{display:flex;flex-wrap:wrap;gap:8px}
body.amra-flowbite #messages .amra-message-request-buttons button{margin-top:16px;flex:1 1 auto}
body.amra-flowbite #messages #messageRequestStatus{margin-top:8px;font-size:.875rem;color:var(--fb-muted)}
body.amra-flowbite #messageDraftHelp{flex:0 0 auto;margin:0;padding:0 12px 8px;font-size:.75rem;line-height:1.5;color:var(--fb-muted);overflow-wrap:anywhere}
body.amra-flowbite #messageUnassignedDraft{flex:0 1 auto;min-height:0;margin:8px 12px;overflow:auto;scroll-padding:8px}
body.amra-flowbite #messageUnassignedDraftText{display:block;width:100%;min-height:44px;margin-top:8px;white-space:pre-wrap;overflow-wrap:anywhere}
body.amra-flowbite #messageTermsChoice form>a{display:inline-flex;align-items:center;min-width:44px;min-height:44px;max-width:100%;white-space:normal;overflow-wrap:anywhere}
body.amra-flowbite #messageTermsChoice form>label{min-width:44px;min-height:44px;cursor:pointer;overflow-wrap:anywhere}
body.amra-flowbite #messageHistory{flex:0 0 auto;min-width:0;padding:8px 12px;border-bottom:1px solid var(--fb-border)}
body.amra-flowbite #messageHistoryActions{display:flex;flex-wrap:wrap;gap:8px}
body.amra-flowbite #messageHistoryActions button{min-width:44px;min-height:44px;max-width:100%;white-space:normal;overflow-wrap:anywhere}
body.amra-flowbite #messageHistoryActions button[aria-disabled="true"]{opacity:.5;cursor:default}
body.amra-flowbite #messageHistoryStatus{margin:8px 0 0;font-size:.75rem;line-height:1.5;color:var(--fb-muted);overflow-wrap:anywhere}
/* Existing local fonts also support the independent recovery surface. */
@font-face{font-family:'Noto Sans Bengali';font-style:normal;font-display:swap;font-weight:100 900;src:url('/assets/fonts/noto-sans-bengali-bengali-wght-normal.woff2') format('woff2');unicode-range:U+0951-0952,U+0964-0965,U+0980-09FE,U+1CD0,U+1CD2,U+1CD5-1CD6,U+1CD8,U+1CE1,U+1CEA,U+1CED,U+1CF2,U+1CF5-1CF7,U+200C-200D,U+20B9,U+25CC,U+A8F1}
@font-face{font-family:'Noto Sans Bengali';font-style:normal;font-display:swap;font-weight:100 900;src:url('/assets/fonts/noto-sans-bengali-latin-wght-normal.woff2') format('woff2');unicode-range:U+0000-00FF,U+0131,U+0152-0153,U+02BB-02BC,U+02C6,U+02DA,U+02DC,U+0304,U+0308,U+0329,U+2000-206F,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD}
html[data-theme="light"]{color-scheme:light!important;background:#fff}
html[data-theme="light"] body{background:#f8fafc!important;color:#111827!important}
html[data-theme="light"] img,
html[data-theme="light"] picture,
html[data-theme="light"] video,
html[data-theme="light"] canvas,
html[data-theme="light"] svg{forced-color-adjust:none}
[hidden]{display:none!important}
html[data-amra-styles="pending"],html[data-amra-styles="error"],html[data-amra-styles="pending"] body,html[data-amra-styles="error"] body{overflow:hidden!important}
html[data-amra-styles="pending"] body>:not(#app-loader),html[data-amra-styles="pending"] body>:not(#app-loader) *,html[data-amra-styles="error"] body>:not(#app-loader),html[data-amra-styles="error"] body>:not(#app-loader) *{visibility:hidden!important;pointer-events:none!important}
html[data-amra-styles="pending"] .view.hidden,html[data-amra-styles="error"] .view.hidden{display:none!important}
#app-loader{position:fixed;inset:0;z-index:9999;display:grid;place-items:center;background:#fff;transition:opacity .22s ease,visibility .22s ease}
#app-loader.done{opacity:0;visibility:hidden;pointer-events:none}
#app-loader img{width:min(92vw,720px);height:auto;display:block;animation:amraIn .38s cubic-bezier(.2,.8,.2,1)}
html:not([data-amra-styles="ready"]) #app-loader{overflow:auto;box-sizing:border-box;padding:24px 16px;color:#111827;font-family:"Noto Sans Bengali",system-ui,sans-serif}
html:not([data-amra-styles="ready"]) #app-loader .amra-loader-brand{display:grid;justify-items:center;gap:12px;width:min(100%,440px);text-align:center}
html:not([data-amra-styles="ready"]) #app-loader img{width:80px;height:80px}
html:not([data-amra-styles="ready"]) #app-loader .amra-loader-brand>strong{font:900 32px/1.2 Arial,sans-serif;color:#2a633a;letter-spacing:-.8px}
html:not([data-amra-styles="ready"]) #app-loader .amra-loader-brand>strong>span{color:#b52c3b}
html:not([data-amra-styles="ready"]) #app-loader .amra-loader-brand>p{margin:0;font-size:14px;line-height:1.5;color:inherit}
#amraStylesRecovery{box-sizing:border-box;width:100%;padding:16px;border:1px solid #d7e4db;border-radius:12px;background:#f4f8f5;color:#173d24;text-align:center;overflow-wrap:anywhere}
#amraStylesTitle{margin:0 0 8px;font-size:18px;line-height:1.5;font-weight:700}
#amraStylesStatus{margin:0;font-size:14px;line-height:1.7}
#amraStylesRetry{box-sizing:border-box;min-height:44px;min-width:44px;margin-top:16px;padding:10px 20px;border:0;border-radius:8px;background:#2a633a;color:#fff;font-family:inherit;font-size:16px;font-weight:600;line-height:1.5;cursor:pointer}
#amraStylesRetry:focus-visible{outline:3px solid #2a633a;outline-offset:3px}
#amraStylesRetry:disabled{opacity:.65;cursor:wait}
html[data-amra-styles="ready"] #amraStylesRecovery{display:none}
html.dark #amraStylesRecovery{background:#182a21;border-color:#395043;color:#ecf4ee}
html.dark:not([data-amra-styles="ready"]) #app-loader{color:#ecf4ee}
html.dark:not([data-amra-styles="ready"]) #app-loader .amra-loader-brand>strong{color:#8fe0bd}
html.dark #amraStylesRetry:focus-visible{outline-color:#8fe0bd}
@keyframes amraIn{from{opacity:0;transform:translateY(5px) scale(.987)}to{opacity:1;transform:none}}
html.dark{color-scheme:dark;background:#0f1720}
html.dark body{background:#0f1720!important;color:#f3f4f6!important}
html.dark .amra-page-bg{background:#0f1720!important}
html.dark .amra-glass,
html.dark .amra-card,
html.dark #notifPanel,
html.dark #composerModal>section,
html.dark #mobileDrawer,
html.dark nav[aria-label="মোবাইল নেভিগেশন"]{background:#161d27!important;color:#f3f4f6!important}
html.dark .amra-glass{border-color:#2b3442!important}
html.dark .amra-card,
html.dark #notifPanel,
html.dark #composerModal>section{border-color:#2b3442!important;box-shadow:0 10px 28px rgba(0,0,0,.26)!important}
html.dark [class~="bg-white"],
html.dark [class~="bg-white/90"],
html.dark [class~="bg-white/95"]{background:#161d27!important}
html.dark [class~="bg-gray-50"]{background:#141b25!important}
html.dark [class~="bg-gray-100"]{background:#202a36!important}
html.dark [class~="bg-gray-200"]{background:#2b3644!important}
html.dark [class~="text-gray-900"],
html.dark [class~="text-gray-800"],
html.dark [class~="text-gray-700"]{color:#f1f5f9!important}
html.dark [class~="text-gray-600"],
html.dark [class~="text-gray-500"],
html.dark [class~="text-gray-400"]{color:#aeb8c6!important}
html.dark [class~="border-gray-200"],
html.dark [class~="border-gray-100"]{border-color:#2b3442!important}
html.dark input,
html.dark textarea,
html.dark select{background:#202a36!important;color:#f8fafc!important}
html.dark input::placeholder,
html.dark textarea::placeholder{color:#8f9baa!important}
html.dark .post-user-content{color:#e5e7eb!important}
@media(max-width:767px){
 #liveFeedList [data-feed-copy-preview]:not([data-feed-copy-expanded]){display:-webkit-box;-webkit-box-orient:vertical;-webkit-line-clamp:4;overflow:hidden}
 #liveFeedList [data-feed-read-more]{display:inline-flex;align-items:center;min-height:44px;min-width:44px;border:0;padding:0 4px;background:transparent;color:var(--fb-text,#1f3025);font:inherit;font-weight:600;text-align:start;cursor:pointer}
 #liveFeedList [data-feed-read-more]:focus-visible{outline:2px solid currentColor;outline-offset:1px}
}
#liveFeedList [data-feed-read-more][hidden]{display:none!important}
@media(min-width:768px){#liveFeedList [data-feed-read-more]{display:none}}

html.dark .amra-brand-rail{opacity:.85}
html.dark .amra-tagline{color:#f8fafc!important}
html.dark .amra-tagline-line:first-child{color:#8fe0bd!important}
html.dark .amra-tagline-line:last-child{color:#ff8b90!important}
html.dark #app-loader{background:#0f1720}
.mobile-only{display:none}
.amra-brand-link{display:flex;align-items:center;flex:0 0 auto;min-width:0;margin-left:-4px;text-decoration:none}
.amra-original-brand{display:flex!important;flex-direction:row!important;align-items:center!important;justify-content:flex-start!important;gap:6px!important;min-width:0;overflow:visible}
.amra-wordmark-wrap{display:block;position:relative;width:168px;aspect-ratio:360/136;overflow:hidden;flex:0 0 auto;background:#fff}
.amra-wordmark{display:block!important;width:100%!important;max-width:none!important;height:auto!important;max-height:none!important;object-fit:contain!important;object-position:left top!important;clip-path:none!important;transform:none!important}
.amra-tagline{display:flex!important;flex-direction:column!important;justify-content:center!important;gap:1px!important;margin:0 0 0 -20px!important;padding:0!important;white-space:nowrap;font-family:"Noto Sans Bengali",system-ui,-apple-system,"Segoe UI",sans-serif;font-size:14px!important;line-height:1.04!important;font-weight:900!important;letter-spacing:-.14px!important;color:#2f6f58!important}
.amra-tagline-line{display:block!important;color:inherit!important}
@media(min-width:1100px){
  .amra-brand-link{margin-left:-6px}
  .amra-original-brand{gap:0!important}
  .amra-wordmark-wrap{width:210px}
  .amra-tagline{font-size:17px!important;line-height:1.04!important;font-weight:950!important;margin-left:-30px!important}
  .amra-tagline-line:first-child{color:#176b4a!important}
  .amra-tagline-line:last-child{color:#e31b23!important;margin-top:5px!important}
}
@media(max-width:767px){
  .desktop-only{display:none!important}
  .mobile-only{display:flex}
  body{padding-bottom:62px}
  .feed-shell{padding-left:0!important;padding-right:0!important}
  .mobile-edge{border-left:0!important;border-right:0!important;border-radius:0!important}
  /* Keep the complete 6px keyboard focus halo inside the mobile viewport. */
  #home #liveFeedSection #liveFeedStatus,#home #liveFeedSection #liveFeedRetry{margin-inline:8px;max-width:calc(100% - 16px)}

  .amra-fb-navbar>div:first-child{
    display:grid!important;
    grid-template-columns:auto minmax(0,1fr) auto!important;
    align-items:center!important;
    height:74px!important;
    gap:5px!important;
    padding:0 7px!important;
  }

  #menuBtn{
    display:inline-flex!important;
    grid-column:1!important;
    flex:0 0 36px!important;
    width:36px!important;
    height:36px!important;
    margin:0!important;
  }
  #menuBtn svg{width:27px!important;height:27px!important}

  .amra-brand-link{
    grid-column:2!important;
    min-width:0!important;
    margin:0!important;
    overflow:visible!important;
  }
  .amra-original-brand{
    width:100%!important;
    min-width:0!important;
    display:grid!important;
    grid-template-columns:minmax(136px,1.42fr) minmax(92px,.9fr)!important;
    align-items:center!important;
    gap:0!important;
  }
  .amra-wordmark-wrap{
    width:100%!important;
    max-width:190px!important;
    min-width:0!important;
  }
  .amra-tagline{
    align-self:center!important;
    font-size:clamp(10.8px,2.95vw,13.8px)!important;
    line-height:1.02!important;
    font-weight:950!important;
    letter-spacing:-.16px!important;
    text-align:left!important;
    white-space:nowrap!important;
    margin-left:-18px!important;
  }
  .amra-tagline-line:first-child{color:#176b4a!important}
  .amra-tagline-line:last-child{color:#e31b23!important;margin-top:6px!important}

  .amra-fb-navbar .ms-auto{
    grid-column:3!important;
    display:flex!important;
    align-items:center!important;
    gap:3px!important;
    margin:0!important;
  }
  #mobileHeaderMessage,#topCreate,#mobileSearchBtn{
    display:grid!important;
    width:34px!important;
    height:34px!important;
    flex:0 0 34px!important;
    border-radius:999px!important;
  }
  #mobileHeaderMessage svg,#topCreate svg,#mobileSearchBtn svg{width:21px!important;height:21px!important}
}

@media(max-width:420px){
  .amra-fb-navbar>div:first-child{height:72px!important;gap:3px!important;padding:0 5px!important}
  #menuBtn{width:34px!important;height:34px!important;flex-basis:34px!important}
  #menuBtn svg{width:25px!important;height:25px!important}
  .amra-original-brand{grid-template-columns:minmax(118px,1.34fr) minmax(76px,.82fr)!important;gap:0!important}
  .amra-wordmark-wrap{max-width:172px!important}
  .amra-tagline{font-size:clamp(10.3px,2.95vw,12.6px)!important;letter-spacing:-.11px!important;margin-left:-20px!important}
  .amra-tagline-line:last-child{margin-top:5px!important}
  #mobileHeaderMessage,#topCreate,#mobileSearchBtn{width:31px!important;height:31px!important;flex-basis:31px!important}
  #mobileHeaderMessage svg,#topCreate svg,#mobileSearchBtn svg{width:19px!important;height:19px!important}
}

@media(max-width:360px){
  .amra-fb-navbar>div:first-child{height:68px!important;gap:2px!important;padding:0 3px!important}
  #menuBtn{width:31px!important;height:31px!important;flex-basis:31px!important}
  .amra-original-brand{grid-template-columns:minmax(106px,1.28fr) minmax(68px,.78fr)!important;gap:0!important}
  .amra-wordmark-wrap{max-width:145px!important}
  .amra-tagline{font-size:9.8px!important;letter-spacing:-.08px!important;margin-left:-16px!important}
  #mobileHeaderMessage,#topCreate,#mobileSearchBtn{width:29px!important;height:29px!important;flex-basis:29px!important}
}
/* The whole row is tappable. A checkbox must leave room for the friend's name. */
#composerModal #composerAudiencePanel [data-composer-audience-stage] label{min-height:44px;min-width:0}
#composerModal #composerAudiencePanel [data-composer-audience-stage] input[type="checkbox"]{flex:0 0 20px;width:20px;height:20px;min-height:20px}
#composerModal #composerAudiencePanel [data-composer-audience-stage] label>span{min-width:0;overflow-wrap:anywhere}
/* Site fix G14 (batch 9, 3 Nov 2026): Home's desktop right rail (resources/js/right-rail.js), Home only, 1200px+.
 * Flowbite Pro, as in Batch 1: MCP Pro card.md "Card with list", avatar.md "Placeholder initials", skeleton.md
 * "List placeholder"; Pro Figma v3.1 Navigation list item / Type=With icon (17073:17795) rows (44px, radius 12,
 * 16/24 Medium like the left sidebar) and Badge / Gray sm (15324:13026). Surfaces are the left sidebar's
 * amra-card/amra-fb-card; every colour is a --fb-* / --amra-* theme role, so dark mode keeps AA contrast. */
#homeRightRail{display:none}
@media(min-width:1200px){body.amra-flowbite[data-active-view="home"] .amra-app-layout>#homeRightRail:not([hidden]){display:block;min-width:0}}
#homeRightRail [hidden]{display:none!important}
#homeRightRail .amra-right-rail-stack{display:flex;flex-direction:column;gap:12px}
#homeRightRail .amra-right-rail-card{margin:0;padding:8px;border-radius:12px}
#homeRightRail .amra-right-rail-head{display:flex;align-items:center;justify-content:space-between;gap:8px}
#homeRightRail .amra-right-rail-title{display:flex;align-items:center;gap:8px;min-width:0;min-height:44px;margin:0;padding:0 8px;color:var(--fb-heading);font-size:16px;line-height:24px;font-weight:600}
#homeRightRail .amra-right-rail-count{display:inline-flex;align-items:center;justify-content:center;min-width:24px;padding:2px 8px;border:1px solid var(--fb-border);border-radius:6px;background:var(--fb-surface-muted);color:var(--fb-text);font-size:12px;line-height:16px;font-weight:500}
#homeRightRail .amra-right-rail-link{display:inline-flex;align-items:center;flex:0 0 auto;min-width:44px;min-height:44px;margin:0;padding:0 8px;border:0;border-radius:8px;background:transparent;color:var(--amra-brand-ink);font-size:14px;line-height:20px;font-weight:600;cursor:pointer}
#homeRightRail .amra-right-rail-link:hover{background:var(--fb-surface-hover);text-decoration:underline}
#homeRightRail .amra-right-rail-list{margin:0;padding:0;list-style:none}
#homeRightRail .amra-right-rail-row{display:flex;align-items:center;gap:12px;width:100%;min-height:44px;margin:2px 0;padding:4px 8px;border:0;border-radius:12px;background:transparent;color:var(--fb-text);font:inherit;text-align:start;cursor:pointer}
#homeRightRail .amra-right-rail-row:hover{background:var(--fb-surface-hover)}
#homeRightRail :is(.amra-right-rail-row,.amra-right-rail-link,.amra-right-rail-action):focus-visible{outline:3px solid var(--amra-focus);outline-offset:2px}
#homeRightRail .amra-right-rail-avatar{width:36px;height:36px;flex:0 0 36px;overflow:hidden;font-size:13px;line-height:1}
#homeRightRail .amra-right-rail-name{flex:1;min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;color:var(--fb-text);font-size:16px;line-height:24px;font-weight:500}
#homeRightRail .amra-right-rail-icon{display:grid;place-items:center;width:36px;height:36px;flex:0 0 36px;border-radius:50%;background:var(--amra-brand-soft);color:var(--amra-brand-ink)}
#homeRightRail .amra-right-rail-icon svg{width:20px;height:20px}
#homeRightRail .amra-right-rail-text{display:flex;flex-direction:column;min-width:0}
#homeRightRail .amra-right-rail-text b{color:var(--fb-heading);font-size:14px;line-height:20px;font-weight:600}
#homeRightRail .amra-right-rail-text small{color:var(--fb-muted);font-size:12px;line-height:16px}
#homeRightRail .amra-right-rail-empty{display:grid;gap:8px;padding:0 8px 8px;color:var(--fb-text);font-size:14px;line-height:20px}
#homeRightRail .amra-right-rail-empty p{display:flex;align-items:center;gap:12px;margin:0}
#homeRightRail .amra-right-rail-action{justify-self:start;min-width:44px;min-height:44px;margin:0;padding:10px 16px;border:1px solid var(--fb-border);border-radius:8px;background:var(--fb-surface);color:var(--fb-heading);font-size:14px;line-height:20px;font-weight:600;cursor:pointer}
#homeRightRail .amra-right-rail-action:hover{background:var(--fb-surface-hover)}
#homeRightRail .amra-right-rail-skeleton>span[aria-hidden]{display:flex;align-items:center;gap:12px;min-height:44px;margin:2px 0;padding:4px 8px}
#homeRightRail .amra-right-rail-skeleton i{display:block;flex:0 0 36px;width:36px;height:36px;border-radius:50%;background:var(--fb-surface-hover)}
#homeRightRail .amra-right-rail-skeleton b{display:block;width:60%;height:10px;border-radius:999px;background:var(--fb-surface-hover)}
@media(prefers-reduced-motion:no-preference){#homeRightRail .amra-right-rail-skeleton>span[aria-hidden]{animation:amra-right-rail-pulse 1.6s ease-in-out infinite}}
@keyframes amra-right-rail-pulse{50%{opacity:.55}}
/* The existing age-14 notice in Notifications (resources/js/birthday-access.js) kept its light green card in dark
 * mode while its text turned light (1.05:1, surfaced by the G14 tour fixture); theme roles restore AA. */
html.dark #birthdayAccessNotifications>article{border-color:var(--fb-border)!important;background:var(--amra-brand-soft)!important;color:var(--fb-text)!important}
html.dark #birthdayAccessNotifications>article h3{color:var(--amra-brand-ink)!important}
html.dark #birthdayAccessNotifications>article :is(p,li,time){color:var(--fb-text)!important}


/* ==== a2 ==== */

@media (max-width:767px) {
  /* Three rows remain usable on a narrow phone: brand/actions, radio/region and composer.
     The slogan can grow independently of the 44px controls when text is enlarged.
     Speed (7 Nov 2026): body[data-active-view], kept by show(), replaced body:has(#home.active). A :has() anchored on
     <body> made Chrome restyle the whole page whenever any .active class changed anywhere in it. */
  body.amra-flowbite[data-active-view="home"] > header.amra-fb-navbar > .amra-header-shell:first-child {
    grid-template-rows: minmax(44px,auto) auto minmax(44px,auto);
    padding-block: 0 !important;
  }
  /* The wordmark keeps its approved size (owner decision); only spacing is tightened. */
  body.amra-flowbite[data-active-view="home"] > header.amra-fb-navbar .amra-brand-link {
    min-height: 44px;
  }
  body.amra-flowbite[data-active-view="home"] > header.amra-fb-navbar .amra-brand-tagline {
    margin: 0 !important;
    padding-inline-start: 46px !important;
    white-space: normal !important;
    line-height: 1.4 !important;
  }
  body.amra-flowbite #home.active > .amra-home-composer {
    padding-block: 2px;
  }
  body.amra-flowbite #home.active #storyRail {
    padding-block-start: 4px;
  }
}

