/* Lumetra 5.26.56 visual polish; no change to anchored dock geometry. */
.lumetraCreateChoice[hidden]{display:none!important}
.lumetraCreateChoice{position:fixed;z-index:2147483001;bottom:calc(var(--lumetra-quick-height,72px) + var(--lumetra-quick-safe,0px) + 14px);left:clamp(12px,5vw,24px);right:clamp(12px,5vw,24px);max-width:430px;margin:auto;padding:14px;border:1px solid #6550a0;border-radius:22px;background:linear-gradient(145deg,#131427,#080f19);box-shadow:0 22px 70px #000b;color:#f6f2ff;display:grid;gap:9px}
.lumetraCreateChoiceHead{display:flex;justify-content:space-between;align-items:center;padding:4px 6px 9px}
.lumetraCreateChoiceHead b{font-size:16px}.lumetraCreateChoiceHead button{border:0;background:#232138;color:#fff;font-size:23px;border-radius:9px;width:35px;height:35px}
.lumetraCreateChoice>[data-create-kind]{display:grid;grid-template-columns:50px 1fr;grid-template-rows:auto auto;align-items:center;column-gap:10px;text-align:left;min-height:72px;border:1px solid #303a56;border-radius:15px;background:#111a2b;color:#f3efff;padding:10px 14px;cursor:pointer}
.lumetraCreateChoice>[data-create-kind]:hover,.lumetraCreateChoice>[data-create-kind]:focus-visible{border-color:#ae76fb;background:#1c1935}
.lumetraCreateChoice>[data-create-kind]>span{grid-row:1/3;display:grid;place-items:center;width:44px;height:44px;background:linear-gradient(135deg,#6744c5,#b35fe5);border-radius:12px;font-size:23px}
.lumetraCreateChoice>[data-create-kind]>b{font-size:15px}.lumetraCreateChoice>[data-create-kind]>small{font-size:12px;color:#aeb7c7}
/* Brand: accessible field labels and actions that never collide. */
.brandKitPanel .panelHead h3{font-size:19px!important}.brandKitPanel .panelHead p,.brandKitPanel p,.brandKitPanel small{font-size:13px!important;line-height:1.55!important}
.brandKitPanel label,.brandKitPanel label>span,.brandKitPanel .brandIdeas span,.brandKitPanel .brandIdeas b,.brandKitPanel .brandEnableRow{font-size:13px!important;line-height:1.45!important}
.brandKitPanel input:not([type=checkbox]):not([type=color]),.brandKitPanel select,.brandKitPanel textarea{font-size:16px!important;min-height:46px!important;padding:12px!important}
.brandLogoPanel .editorButtonRow{display:grid!important;grid-template-columns:repeat(3,minmax(0,1fr));gap:12px!important;align-items:stretch!important}
.brandLogoPanel .editorButtonRow>*{display:inline-flex!important;align-items:center;justify-content:center;min-width:0!important;min-height:48px!important;height:auto!important;padding:11px 14px!important;font-size:13px!important;white-space:normal!important;text-align:center;box-sizing:border-box!important;margin:0!important}
@media(max-width:1100px){.brandLogoPanel .editorButtonRow{grid-template-columns:repeat(3,minmax(0,1fr))!important;gap:6px!important}.brandLogoPanel .editorButtonRow>*{font-size:clamp(9px,1.65vw,12px)!important;line-height:1.2!important;padding:9px 4px!important;min-height:44px!important}}
/* Dashboard and Inbox readability. */
#socialDashboard .viewPanel p,.socialPublishingDashboard p,.socialPublishingDashboard small,.socialDashboardMetrics span,.socialDashboardMetrics small,.socialInsightGrid span,.socialInsightGrid small,.socialDashboardPlatforms span,.socialDashboardPlatforms small,.scheduleSummary span,.scheduleTip span,.schedulePostMain small,.schedulePostRow>em,.scheduleQuickActions button,.scheduleQuickActions a,.scheduleTimezone,.schedulePlanPreview p,.scheduleAssistant p{font-size:12px!important;line-height:1.5!important}
.schedulePostMain strong,.socialInsightGrid strong,.socialDashboardPlatforms>b,.scheduleTip b{font-size:14px!important}
.scheduleQuickActions button,.scheduleQuickActions a{min-height:39px!important;padding:8px!important}
#inboxView small,#inboxView p,#inboxView label,#inboxView input,#inboxView button,#inboxView textarea,#inboxView select,.socialInboxPanel small,.socialInboxPanel p,.socialInboxPanel button,.socialInboxPanel label,.socialInboxPanel input,.socialInboxPanel textarea{font-size:13px!important;line-height:1.5!important}
/* Unified assistant filters and smaller New Chat on all screens. */
.lumetraAssistantMobileNavFilters{display:grid!important;grid-template-columns:repeat(3,minmax(0,1fr));gap:7px;padding:12px 12px 7px}
.lumetraAssistantMobileNavFilters button{min-height:39px;border:1px solid #34435d;border-radius:10px;background:#0d1724;color:#9eabc0;font-size:12px;font-weight:800}
.lumetraAssistantMobileNavFilters button.active{border-color:#a36aff;background:#1b1533;color:#f0e5ff}
.lumetraAssistantToolbar{padding:4px 12px 9px!important}.lumetraAssistantToolbar .primary{min-height:38px!important;height:38px!important;font-size:12px!important;border-radius:11px!important}
.lumetraAssistantDeleteAll{display:block;margin:0 12px 10px;padding:9px;border:1px solid #703b53;border-radius:10px;background:#27131e;color:#ffaabc;font-size:11px;font-weight:700;cursor:pointer}
.lumetraAssistantDeleteAll:hover{background:#421c2d}

.lumetraAssistantPreferences{margin:0 12px 8px;padding:9px;border:1px solid #4d3b74;border-radius:10px;background:#151328;color:#d8c7ff;font-size:12px;font-weight:750;cursor:pointer}
.lumetraAssistantPrefsOverlay{position:fixed;inset:0;z-index:2147483002;display:grid;place-items:center;background:#02040ac9;padding:15px}
.lumetraAssistantPrefsDialog{width:min(500px,100%);max-height:90dvh;overflow:auto;display:grid;gap:13px;padding:20px;border:1px solid #6b51a1;border-radius:18px;background:#0b1422;color:#f0eaff;box-shadow:0 25px 80px #000a}
.lumetraAssistantPrefsDialog h3{margin:0;font-size:19px}.lumetraAssistantPrefsDialog label{display:grid;gap:5px;font-size:13px}.lumetraAssistantPrefsDialog input,.lumetraAssistantPrefsDialog textarea{font:inherit;font-size:15px;color:#fff;background:#0c1a2b;border:1px solid #3c4866;border-radius:9px;padding:10px}
.lumetraAssistantPrefsDialog>div{display:flex;gap:8px;flex-wrap:wrap}.lumetraAssistantPrefsDialog>div button{flex:1 1 120px;border:1px solid #73539c;border-radius:10px;background:#251c42;color:#eee;padding:10px;cursor:pointer}
/* Social Command Centre uses its own lazy-loaded stylesheet: override its microcopy. */
.inboxShell .inboxConnection strong,.inboxShell .inboxThreadCopy strong,.inboxShell .inboxConversationHead strong{font-size:14px!important}
.inboxShell .inboxConnection small,.inboxShell .inboxConnection em,.inboxShell .inboxThreadCopy time,.inboxShell .inboxThreadCopy small,.inboxShell .inboxThreadCopy p,.inboxShell .inboxFilterRow button,.inboxShell .inboxSearch input,.inboxShell .inboxMessage,.inboxShell .inboxMessage small,.inboxShell .inboxConversationHead small,.inboxShell label,.inboxShell textarea,.inboxShell button{font-size:13px!important;line-height:1.5!important}
.inboxShell .inboxThread{min-height:70px!important}.inboxShell .inboxFilterRow button{min-height:40px!important;padding:8px 12px!important}

/* 5.26.61: touch account menus are click-controlled, never hover/focus held open. */
@media (hover:none), (max-width:1100px){
  #accountMenuShell:not(.accountMenuOpen) .accountQuickMenu{opacity:0!important;visibility:hidden!important;pointer-events:none!important;transform:translateY(7px)!important}
  #accountMenuShell.accountMenuOpen .accountQuickMenu{opacity:1!important;visibility:visible!important;pointer-events:auto!important;transform:none!important}
}
/* Match the existing Image Library actions on character reference cards. */
.characterPackActions.imageLibraryInlineActions{display:grid!important;grid-template-columns:repeat(2,minmax(0,1fr))!important;gap:7px!important;padding-top:10px!important;margin-top:10px!important;box-sizing:border-box!important}
.characterPackActions.imageLibraryInlineActions button{width:100%!important;min-width:0!important;margin:0!important;padding:8px 5px!important;min-height:38px!important;font-size:clamp(10px,1vw,12px)!important;white-space:normal!important}
.characterPackActions.imageLibraryInlineActions .visualPublishAction{grid-column:auto!important}

/* 5.26.63 — Character Pack cards use the same selection and action reveal as Images/Videos. */
.characterPackActions.imageLibraryInlineActions[hidden]{display:none!important}
.characterPackSelectable{cursor:pointer;transition:border-color .16s ease,box-shadow .16s ease}
.characterPackSelectable:hover,.characterPackSelectable.characterPackSelected{border-color:#a87dff!important;box-shadow:0 0 0 2px rgba(143,94,255,.17)!important}
.characterPackSelectable:focus-visible{outline:2px solid #b28cff;outline-offset:3px}
.characterPackSelectable .characterPackThumb{cursor:pointer}
.characterPackActions button{cursor:pointer;touch-action:manipulation}

.characterPackGrid.creationArchiveGrid{grid-template-columns:repeat(3,minmax(0,1fr))!important;gap:14px!important}
.characterPackCard.creationArchiveCard{border-radius:14px!important;overflow:hidden!important}
.characterPackCard .characterPackThumb.creationArchiveMedia{height:auto!important;aspect-ratio:16/10!important;font-size:0!important}
.characterPackFallback{display:grid;place-items:center;width:100%;height:100%;font-size:40px;color:#566176}
.characterPackCard .characterPackInfo.creationArchiveInfo{display:grid!important;gap:6px!important;padding:12px!important}
.characterPackCard .characterPackInfo.creationArchiveInfo p{font-size:8px!important;color:#778398!important;line-height:1.45!important;margin:0!important;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden}
.characterPackCard .characterPackInfo.creationArchiveInfo small{display:block;font-size:7px!important;color:#667287!important;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.characterPackCard .characterPackTop{display:flex;justify-content:space-between;gap:8px;align-items:flex-start}
.characterPackCard .characterPackTop h3{margin:0!important;font-size:12px!important;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;flex:1 1 auto}
.characterPackCard .characterVoiceBadge{margin-top:2px}
.characterPackCard .characterPackActions.imageLibraryInlineActions{display:grid!important;grid-template-columns:repeat(2,minmax(0,1fr))!important;gap:7px!important;padding-top:10px!important;margin-top:10px!important;box-sizing:border-box!important}
.characterPackCard .characterPackActions.imageLibraryInlineActions button{width:100%!important;min-width:0!important;margin:0!important;padding:8px 5px!important;min-height:38px!important;font-size:clamp(10px,1vw,12px)!important;white-space:normal!important}
.characterPackCard .characterPackActions.imageLibraryInlineActions[hidden]{display:none!important}
@media(max-width:900px){.characterPackGrid.creationArchiveGrid{grid-template-columns:repeat(2,minmax(0,1fr))!important}}
@media(max-width:720px){.characterPackGrid.creationArchiveGrid{grid-template-columns:1fr!important}}
