/* ======================================================================
   WA Archive light theme v4.8.1
   COLOR-ONLY THEME: layout, dimensions, spacing and typography are inherited
   unchanged from the dark/default UI. Light and dark therefore have the
   exact same layout on desktop and mobile.
   ====================================================================== */
html[data-theme="light"]{color-scheme:light;--l-bg:#f4f6f8;--l-surface:#ffffff;--l-surface-2:#f7f9fb;--l-surface-3:#eef2f5;--l-line:#e1e7ec;--l-line-strong:#d2dbe3;--l-text:#111b21;--l-muted:#667781;--l-faint:#8b99a1;--l-green:#00a884;--l-green-2:#25d366;--l-green-soft:#e8f8f1;--l-green-soft-2:#dff5eb;--l-blue:#0b78d0;--l-red:#d92d3a;--l-red-soft:#fff0f2;--l-amber:#a15c00;--l-amber-soft:#fff7e8;--l-chat:#efeae2;--l-out:#d9fdd3;--l-in:#ffffff;--l-shadow:0 12px 34px rgba(17,27,33,.07);background:var(--l-bg)}
html[data-theme="light"] body{background:var(--l-bg)!important;color:var(--l-text)!important}
html[data-theme="light"] a{color:inherit}
html[data-theme="light"] .muted,html[data-theme="light"] .footer,html[data-theme="light"] .check,html[data-theme="light"] .messageMeta,html[data-theme="light"] .eventhead span,html[data-theme="light"] .contactNumber,html[data-theme="light"] .contactSub,html[data-theme="light"] .chatRailMeta,html[data-theme="light"] .chatNumber,html[data-theme="light"] .filteredHint{color:var(--l-muted)!important}
html[data-theme="light"] .topbar{background:rgba(255,255,255,.94)!important;box-shadow:0 4px 20px rgba(17,27,33,.045)!important;backdrop-filter:blur(16px)!important}
html[data-theme="light"] .brandIcon{background:linear-gradient(145deg,#20d27c,#00a884)!important;color:#fff!important;box-shadow:none!important}
html[data-theme="light"] .brandCopy strong{color:var(--l-text)!important}
html[data-theme="light"] .brandCopy small{color:var(--l-faint)!important}
html[data-theme="light"] .versionMark{background:#eef8f3!important;border-color:#d5eee1!important;color:#177a59!important}
html[data-theme="light"] .nav a,html[data-theme="light"] .linkbtn{color:#596b75!important}
html[data-theme="light"] .nav a:hover,html[data-theme="light"] .linkbtn:hover{background:#f3f6f8!important;color:var(--l-text)!important}
html[data-theme="light"] .nav a.active{background:var(--l-green-soft)!important;border-color:#d7eee3!important;color:#087458!important}
html[data-theme="light"] .nav a.active .navGlyph,html[data-theme="light"] .nav a.active .navSvg{color:var(--l-green)!important;stroke:var(--l-green)!important}
html[data-theme="light"] .themeToggleButton{background:#f4f7f9!important;border-color:#dfe6eb!important;color:#33434c!important;box-shadow:none!important}
html[data-theme="light"] .pwaInstallTop{background:#eef8f3!important;border-color:#d2ebdd!important;color:#087458!important}
html[data-theme="light"] .wrap{color:var(--l-text)!important}
html[data-theme="light"] .panel,html[data-theme="light"] .stat,html[data-theme="light"] .deletedStats a,html[data-theme="light"] .accountmini,html[data-theme="light"] .healthAccount,html[data-theme="light"] .backupMini,html[data-theme="light"] .diagAccount,html[data-theme="light"] .diagCard,html[data-theme="light"] .healthAlert,html[data-theme="light"] .backupLocation,html[data-theme="light"] .backupStatusGrid>div,html[data-theme="light"] .notice,html[data-theme="light"] .loginbox{background:var(--l-surface)!important;border-color:var(--l-line)!important;box-shadow:var(--l-shadow)!important}
html[data-theme="light"] .hero{background:linear-gradient(145deg,#ffffff,#f7faf9)!important;border-color:var(--l-line)!important;box-shadow:var(--l-shadow)!important}
html[data-theme="light"] .hero:before{opacity:.45}
html[data-theme="light"] .hero h1,html[data-theme="light"] .panel h2,html[data-theme="light"] .accountHead h2,html[data-theme="light"] .stat strong{color:var(--l-text)!important}
html[data-theme="light"] .eyebrow,html[data-theme="light"] .sectionKicker{color:#087458!important}
html[data-theme="light"] .stat:hover{background:#fbfcfd!important;border-color:#ccd8e0!important}
html[data-theme="light"] .messageItem{border-color:#edf1f4!important}
html[data-theme="light"] .messageItem:hover{background:#f8fafb!important}
html[data-theme="light"] .messageMain p{color:#3b4a54!important}
html[data-theme="light"] .avatar{background:#eef2f5!important;color:#53636d!important}
html[data-theme="light"] .badge.ok{background:#e9f8f1!important;color:#087458!important;border-color:#cfeadd!important}
html[data-theme="light"] .badge.bad{background:var(--l-red-soft)!important;color:#b42331!important;border-color:#ffd1d6!important}
html[data-theme="light"] .badge.wait{background:var(--l-amber-soft)!important;color:#915300!important;border-color:#f4dfb9!important}
html[data-theme="light"] .button,html[data-theme="light"] button{box-shadow:none}
html[data-theme="light"] .primary{background:var(--l-green)!important;border-color:var(--l-green)!important;color:#fff!important}
html[data-theme="light"] .primary:hover{background:#079a79!important}
html[data-theme="light"] .secondary{background:#f5f7f9!important;border-color:#d9e1e6!important;color:#24343d!important}
html[data-theme="light"] .secondary:hover{background:#eef2f5!important}
html[data-theme="light"] .dangerbtn{background:#fff3f4!important;border-color:#ffd3d7!important;color:#b42331!important}
html[data-theme="light"] .filters input,html[data-theme="light"] .filters select,html[data-theme="light"] .addAccount input,html[data-theme="light"] .stack input,html[data-theme="light"] textarea,html[data-theme="light"] .mobileInlineForm input{background:#fff!important;border-color:#d7e0e6!important;color:var(--l-text)!important;box-shadow:none!important}
html[data-theme="light"] input::placeholder,html[data-theme="light"] textarea::placeholder{color:#98a5ac!important}
html[data-theme="light"] input:focus,html[data-theme="light"] select:focus,html[data-theme="light"] textarea:focus{border-color:#78c8b2!important;box-shadow:0 0 0 3px rgba(0,168,132,.08)!important}
html[data-theme="light"] .currentMessage,html[data-theme="light"] .detailgrid>div,html[data-theme="light"] .eventcard{background:#f8fafb!important;border-color:var(--l-line)!important;color:var(--l-text)!important}
html[data-theme="light"] .event:before{border-left-color:#d7e0e6!important}
html[data-theme="light"] .alert.danger{background:var(--l-red-soft)!important;border-color:#ffd0d5!important;color:#b42331!important}
html[data-theme="light"] .chatWorkspace{background:#fff!important;border-color:#d7e0e6!important;box-shadow:0 18px 50px rgba(17,27,33,.09)!important}
html[data-theme="light"] .chatRail{background:#fff!important;border-right-color:#e3e9ed!important}
html[data-theme="light"] .chatRailHeader{background:#fff!important}
html[data-theme="light"] .liveDotWrap{background:#edf9f4!important;border-color:#d5eee3!important;color:#087458!important}
html[data-theme="light"] .liveDot{background:#20c875!important;box-shadow:0 0 0 4px rgba(32,200,117,.10)!important}
html[data-theme="light"] .accountSwitcher select,html[data-theme="light"] .searchField,html[data-theme="light"] .chatSearch input,html[data-theme="light"] .iconSearchBtn,html[data-theme="light"] .chatTypeTabs a{background:#f4f6f8!important;border-color:#e1e7ec!important;color:#34454e!important}
html[data-theme="light"] .searchIcon{color:#7d8b92!important}
html[data-theme="light"] .chatTypeTabs a.active{background:#e7f6ef!important;border-color:#d8eee3!important;color:#087458!important}
html[data-theme="light"] .chatTypeTabs .chatDeletedShortcut{color:#5f6f78!important}
html[data-theme="light"] .chatRowPro{background:#fff!important;border-color:#edf1f4!important}
html[data-theme="light"] .chatRowPro:hover{background:#f8fafb!important}
html[data-theme="light"] .chatRowPro.active{background:#eef9f4!important;box-shadow:inset 3px 0 0 #00a884!important}
html[data-theme="light"] .chatAvatar,html[data-theme="light"] .contactAvatar{background:#eef2f5!important;border-color:#d9e2e7!important;color:#53636d!important}
html[data-theme="light"] .chatRowTop strong{color:var(--l-text)!important}
html[data-theme="light"] .chatRowTop time{color:#829198!important}
html[data-theme="light"] .chatPreview,html[data-theme="light"] .chatPreview span{color:#667781!important}
html[data-theme="light"] .miniBadge{background:#f0f3f5!important;color:#5f6f78!important;border-color:#dce4e9!important}
html[data-theme="light"] .miniBadge.warn{background:var(--l-amber-soft)!important;color:#915300!important;border-color:#f0ddb7!important}
html[data-theme="light"] .miniBadge.danger{background:var(--l-red-soft)!important;color:#b42331!important;border-color:#ffd0d5!important}
html[data-theme="light"] .contactBar{background:rgba(255,255,255,.97)!important;border-bottom-color:#e1e7ec!important;box-shadow:0 1px 0 rgba(17,27,33,.02)!important}
html[data-theme="light"] .contactTitleRow h2{color:var(--l-text)!important}
html[data-theme="light"] .mobileChatBack,html[data-theme="light"] .mobileChatMenuButton,html[data-theme="light"] .contactActions>.secondary.compactAction{background:#f4f6f8!important;border-color:#e0e6eb!important;color:#44545d!important}
html[data-theme="light"] .threadViewport{background:var(--l-chat)!important}
html[data-theme="light"] .chatStage:before{opacity:.025!important;filter:none!important}
html[data-theme="light"] .dateDivider span,html[data-theme="light"] .loadOlderButton{background:#e7edef!important;border-color:#d8e1e5!important;color:#53636d!important;box-shadow:0 1px 1px rgba(17,27,33,.04)!important}
html[data-theme="light"] .proBubbleRow.theirs .proBubble{background:var(--l-in)!important;color:var(--l-text)!important;box-shadow:0 1px 1px rgba(17,27,33,.12)!important}
html[data-theme="light"] .proBubbleRow.mine .proBubble{background:var(--l-out)!important;color:var(--l-text)!important;box-shadow:0 1px 1px rgba(17,27,33,.10)!important}
html[data-theme="light"] .proBubble.isDeleted{background:#fff1f2!important;box-shadow:0 1px 1px rgba(112,30,40,.08)!important}
html[data-theme="light"] .proBubble.isLocalDeleted{box-shadow:inset 0 0 0 1px rgba(161,92,0,.18),0 1px 1px rgba(17,27,33,.08)!important}
html[data-theme="light"] .bubbleAuthor{color:#0b78d0!important}
html[data-theme="light"] .bubbleBody{color:var(--l-text)!important}
html[data-theme="light"] .bubbleFooter,html[data-theme="light"] .stateTag{color:#75858d!important}
html[data-theme="light"] .stateTag.deletedTag{color:#b65a64!important}
html[data-theme="light"] .quotedReply{background:rgba(17,27,33,.045)!important;border-left-color:#00a884!important}
html[data-theme="light"] .inlineMediaPreview{background:#e7ecef!important}
html[data-theme="light"] .inlineMediaFile{background:rgba(17,27,33,.045)!important;border-color:#dbe3e8!important}
html[data-theme="light"] .newMessageJump{background:#fff!important;border-color:#dce4e9!important;color:#44545d!important;box-shadow:0 5px 16px rgba(17,27,33,.14)!important}
html[data-theme="light"] .archiveStatusBar{background:#fff!important;border-color:#dfe6eb!important;box-shadow:0 -8px 20px rgba(17,27,33,.05)!important}
html[data-theme="light"] .mobileSheetBackdrop,html[data-theme="light"] .mobileChatActionBackdrop{background:rgba(17,27,33,.34)!important}
html[data-theme="light"] .mobileMoreSheet .mobileSheetCard,html[data-theme="light"] .mobileChatActionCard{background:#fff!important;border-color:#dfe6eb!important;box-shadow:0 -24px 60px rgba(17,27,33,.16)!important}
html[data-theme="light"] .mobileSheetHandle{background:#cbd5db!important}
html[data-theme="light"] .mobileSheetHead,html[data-theme="light"] .mobileChatActionHead{border-bottom-color:#edf1f4!important}
html[data-theme="light"] .mobileSheetBrandIcon{background:var(--l-green)!important;color:#fff!important}
html[data-theme="light"] .mobileSheetBrand strong,html[data-theme="light"] .mobileChatActionHead strong{color:var(--l-text)!important}
html[data-theme="light"] .mobileSheetBrand small,html[data-theme="light"] .mobileSheetLink small,html[data-theme="light"] .mobileChatActionHead small{color:var(--l-muted)!important}
html[data-theme="light"] .mobileSheetClose,html[data-theme="light"] .mobileChatActionClose{background:#f1f4f6!important;color:#51616a!important}
html[data-theme="light"] .mobileSheetLink,html[data-theme="light"] .mobileSheetGrid button.mobileSheetLink,html[data-theme="light"] .mobileActionRow{background:transparent!important;color:var(--l-text)!important}
html[data-theme="light"] .mobileSheetLink:hover,html[data-theme="light"] .mobileSheetLink:active,html[data-theme="light"] .mobileActionRow:active{background:#f5f7f9!important}
html[data-theme="light"] .mobileSheetLinkIcon,html[data-theme="light"] .mobileActionIcon{background:#eef7f3!important;color:#087458!important}
html[data-theme="light"] .mobileLogout{border-top-color:#edf1f4!important}
html[data-theme="light"] .mobileLogout button{background:#fff3f4!important;border-color:#ffd3d7!important;color:#b42331!important}
html[data-theme="light"] .mobileActionDetails[open]{background:#f7f9fa!important}
html[data-theme="light"] .mobileExportGrid a{background:#f6f8fa!important;border-color:#dfe6eb!important;color:#33434c!important}
html[data-theme="light"] .loginbody{background:linear-gradient(180deg,#f7fafb 0%,#eef3f5 100%)!important}
html[data-theme="light"] .loginbox{background:#fff!important;border-color:#e0e7eb!important;box-shadow:0 26px 70px rgba(17,27,33,.10)!important}
html[data-theme="light"] .logoMark{background:var(--l-green)!important;color:#fff!important}
html[data-theme="light"] .loginBrand h1{color:var(--l-text)!important}
html[data-theme="light"] .loginTrust span{background:#f6f8fa!important;border-color:#e0e7eb!important;color:#667781!important}
html[data-theme="light"] .loginTrust span:first-child{background:#eaf8f2!important;border-color:#d5eee3!important;color:#087458!important}
html[data-theme="light"] .loginInstallButton{background:#eef8f3!important;border-color:#d5eee3!important;color:#087458!important}
@media (max-width:780px){
html[data-theme="light"]{--m-bg:#f0f2f5;--m-surface:#ffffff;--m-surface-2:#f0f2f5;--m-surface-3:#e9edef;--m-line:#e9edef;--m-text:#111b21;--m-muted:#667781;--m-faint:#87959d;--m-green:#00a884;--m-green-soft:#e5f6ef;--m-in:#ffffff;--m-out:#d9fdd3}
html[data-theme="light"],html[data-theme="light"] body{background:var(--m-bg)!important;color:var(--m-text)!important}
html[data-theme="light"] body:not(:has(.chatWorkspace)) .topbar{background:rgba(255,255,255,.97)!important;box-shadow:0 2px 12px rgba(17,27,33,.035)!important}
html[data-theme="light"] body:not(:has(.chatWorkspace)) .brandIcon{background:#00a884!important;color:#fff!important}
html[data-theme="light"] body:not(:has(.chatWorkspace)) .brandCopy strong{color:var(--m-text)!important}
html[data-theme="light"] .hero,html[data-theme="light"] .hero.compact{background:var(--m-bg)!important;box-shadow:none!important}
html[data-theme="light"] .hero h1,html[data-theme="light"] .hero.compact h1{color:var(--m-text)!important}
html[data-theme="light"] .hero .muted,html[data-theme="light"] .hero.compact .muted{color:var(--m-muted)!important}
html[data-theme="light"] .panel{background:#fff!important;border-color:#e6ecef!important;box-shadow:0 1px 2px rgba(17,27,33,.025)!important}
html[data-theme="light"] .filters input,html[data-theme="light"] .filters select,html[data-theme="light"] .proFilters input,html[data-theme="light"] .proFilters select,html[data-theme="light"] .deletedFilters input,html[data-theme="light"] .deletedFilters select,html[data-theme="light"] .mediaFilters input,html[data-theme="light"] .mediaFilters select{background:#f4f6f7!important;border-color:#e4e9ec!important;color:var(--m-text)!important}
html[data-theme="light"] .secondary{background:#f3f5f6!important;border-color:#e1e7ea!important;color:#2f3f47!important}
html[data-theme="light"] .messageItem{border-bottom-color:#edf1f3!important;background:#fff!important}
html[data-theme="light"] .messageItem:active{background:#f7f9fa!important}
html[data-theme="light"] .messageItem .avatar{background:#eef2f4!important;color:#52616a!important}
html[data-theme="light"] .messageTop strong{color:var(--m-text)!important}
html[data-theme="light"] .messageTop span,html[data-theme="light"] .messageMeta{color:var(--m-faint)!important}
html[data-theme="light"] .messageMain p{color:#53636d!important}
html[data-theme="light"] .deletedStats a,html[data-theme="light"] .mediaCard,html[data-theme="light"] .accountCard{background:#fff!important;border-color:#e5ebee!important;box-shadow:0 1px 2px rgba(17,27,33,.025)!important}
html[data-theme="light"] .mediaPreview{background:#eef2f4!important}
html[data-theme="light"] body:has(.chatWorkspace){background:#fff!important}
html[data-theme="light"] body.chatListOnly .chatWorkspace,html[data-theme="light"] body:has(.chatWorkspace[data-chat=""]) .chatWorkspace,
  html[data-theme="light"] body.chatListOnly .chatRail,html[data-theme="light"] body:has(.chatWorkspace[data-chat=""]) .chatRail{background:#fff!important}
html[data-theme="light"] .chatRailHeader{background:#fff!important}
html[data-theme="light"] .chatRailHeader h1{color:var(--m-text)!important}
html[data-theme="light"] .mobileHeaderIcon{color:#51616a!important}
html[data-theme="light"] .mobileHeaderIcon:active{background:#f0f2f5!important}
html[data-theme="light"] .chatSearch{background:#fff!important}
html[data-theme="light"] .chatSearch .searchField{background:#f0f2f5!important;border-color:transparent!important}
html[data-theme="light"] .chatSearch .searchField:focus-within{background:#fff!important;border-color:#82cdb9!important;box-shadow:0 0 0 3px rgba(0,168,132,.07)!important}
html[data-theme="light"] .chatSearch input{color:var(--m-text)!important}
html[data-theme="light"] .chatSearch input::placeholder{color:#87959d!important}
html[data-theme="light"] .chatTypeTabs,html[data-theme="light"] .accountSwitcher{background:#fff!important}
html[data-theme="light"] .chatTypeTabs a{background:#f3f5f6!important;border-color:#e7ecef!important;color:#5f6f78!important}
html[data-theme="light"] .chatTypeTabs a.active{background:#e7f6ef!important;border-color:#d7eee3!important;color:#087458!important}
html[data-theme="light"] .accountSwitcher select{background:#f3f5f6!important;color:#60717a!important}
html[data-theme="light"] .chatListPro{background:#fff!important}
html[data-theme="light"] .chatRowPro{background:#fff!important}
html[data-theme="light"] .chatRowPro:after{background:#edf1f3!important}
html[data-theme="light"] .chatRowPro:active{background:#f5f7f8!important}
html[data-theme="light"] .chatRowTop strong{color:var(--m-text)!important}
html[data-theme="light"] .chatRowTop time{color:#85939a!important}
html[data-theme="light"] .chatPreview,html[data-theme="light"] .chatPreview>span{color:#667781!important}
html[data-theme="light"] .chatAvatar,html[data-theme="light"] .chatAvatar.big{background:#eef2f4!important;color:#56666f!important}
html[data-theme="light"] .pinMark{border-color:#fff!important;background:#00a884!important}
html[data-theme="light"] body.chatOpen{background:var(--l-chat)!important}
html[data-theme="light"] body.chatOpen .chatWorkspace,html[data-theme="light"] body:has(.chatWorkspace:not([data-chat=""])) .chatWorkspace{background:var(--l-chat)!important}
html[data-theme="light"] .contactBar{background:#f7f9fa!important;box-shadow:none!important}
html[data-theme="light"] .mobileChatBack,html[data-theme="light"] .mobileChatMenuButton,html[data-theme="light"] .contactActions>.secondary.compactAction{background:transparent!important;color:#53636d!important}
html[data-theme="light"] .contactTitleRow h2{color:#111b21!important}
html[data-theme="light"] .contactNumber{color:#667781!important}
html[data-theme="light"] .threadViewport{background:var(--l-chat)!important}
html[data-theme="light"] .dateDivider span,html[data-theme="light"] .loadOlderButton{background:#f4f7f8!important;color:#5e6d75!important;box-shadow:0 1px 1px rgba(17,27,33,.08)!important}
html[data-theme="light"] .proBubbleRow.theirs .proBubble{background:#fff!important;color:#111b21!important;box-shadow:0 1px 1px rgba(17,27,33,.12)!important}
html[data-theme="light"] .proBubbleRow.mine .proBubble{background:#d9fdd3!important;color:#111b21!important;box-shadow:0 1px 1px rgba(17,27,33,.10)!important}
html[data-theme="light"] .bubbleBody{color:#111b21!important}
html[data-theme="light"] .bubbleFooter{color:#73838b!important}
html[data-theme="light"] .quotedReply{background:rgba(17,27,33,.045)!important}
html[data-theme="light"] .inlineMediaPreview{background:#edf1f3!important}
html[data-theme="light"] .inlineMediaFile{background:rgba(17,27,33,.045)!important}
html[data-theme="light"] .newMessageJump{background:#fff!important;border-color:#e0e6e9!important;color:#53636d!important;box-shadow:0 5px 16px rgba(17,27,33,.14)!important}
html[data-theme="light"] .mobileArchiveComposer{background:#f7f9fa!important;border-top-color:#e0e6e9!important}
html[data-theme="light"] .archiveComposerPill{background:#fff!important;box-shadow:0 1px 2px rgba(17,27,33,.08)!important}
html[data-theme="light"] .mobileArchiveLock{color:#7c8b93!important}
html[data-theme="light"] .mobileArchiveComposerText strong{color:#5f6f78!important}
html[data-theme="light"] .archiveLiveBadge{background:#e7f6ef!important;color:#087458!important}
html[data-theme="light"] .mobileBottomNav{background:rgba(255,255,255,.97)!important;box-shadow:0 -6px 22px rgba(17,27,33,.055)!important}
html[data-theme="light"] .mobileBottomNav a,html[data-theme="light"] .mobileBottomNav button{color:#7b8990!important}
html[data-theme="light"] .mobileBottomNav .active{color:#087458!important}
html[data-theme="light"] .mobileBottomNav .active .mobileNavGlyph{background:#e5f6ef!important;color:#00a884!important}
html[data-theme="light"] .mobileSheetCard,html[data-theme="light"] .mobileChatActionCard{background:#fff!important;box-shadow:0 -22px 60px rgba(17,27,33,.16)!important}
html[data-theme="light"] .mobileSheetHead,html[data-theme="light"] .mobileChatActionHead{border-bottom-color:#edf1f3!important}
html[data-theme="light"] .mobileSheetLink,html[data-theme="light"] .mobileSheetGrid button.mobileSheetLink,html[data-theme="light"] .mobileActionRow{color:#111b21!important}
html[data-theme="light"] .mobileSheetLink:active,html[data-theme="light"] .mobileActionRow:active{background:#f3f5f6!important}
html[data-theme="light"] .mobileSheetLinkIcon,html[data-theme="light"] .mobileActionIcon{background:#eaf7f2!important;color:#087458!important}
html[data-theme="light"] .mobileSheetClose,html[data-theme="light"] .mobileChatActionClose{background:#f0f2f5!important;color:#54646d!important}
html[data-theme="light"] .mobileExportGrid a{background:#f5f7f8!important;color:#33434c!important;border-color:#e2e8eb!important}
html[data-theme="light"] .loginbody{background:#f0f2f5!important}
html[data-theme="light"] .loginbox{background:#f0f2f5!important;box-shadow:none!important}
html[data-theme="light"] .loginBrand .logoMark{background:#00a884!important;color:#fff!important}
html[data-theme="light"] .stack input{background:#fff!important;border-color:#e1e7ea!important;color:#111b21!important}
html[data-theme="light"] .stack .primary{background:#00a884!important;border-color:#00a884!important;color:#fff!important}
html[data-theme="light"] .loginTrust span{background:#fff!important;border-color:#e2e8eb!important}
}
.themeToggleButton .themeToggleMeta small{color:inherit;opacity:.68}
html[data-theme="light"]{--l-bg:#f2f5f7;--l-surface:#ffffff;--l-surface-2:#f7f9fa;--l-surface-3:#eef2f4;--l-line:#e2e8ec;--l-line-strong:#d4dde3;--l-chat:#f2efea;--l-out:#dff8df}
@media (min-width:781px){
html[data-theme="light"] body:has(.chatWorkspace){background:#f1f4f6!important}
html[data-theme="light"] .chatWorkspace{box-shadow:0 14px 38px rgba(17,27,33,.075)!important}
html[data-theme="light"] .chatRail{background:#fff!important}
html[data-theme="light"] .accountSwitcher select{background:#f6f8f9!important;color:#34454e!important}
html[data-theme="light"] .chatTypeTabs{background:transparent!important}
html[data-theme="light"] .chatTypeTabs a{background:#f5f7f8!important;color:#5e6e76!important}
html[data-theme="light"] .chatTypeTabs a:hover{background:#eef3f4!important;color:#26373f!important}
html[data-theme="light"] .chatTypeTabs a.active{background:#e9f7f1!important;border-color:#d4ecdf!important;color:#087458!important;box-shadow:none!important}
html[data-theme="light"] .chatSearch .searchField{background:#f5f7f8!important;box-shadow:none!important}
html[data-theme="light"] .chatSearch input{color:#24343d!important}
html[data-theme="light"] .chatRailMeta{color:#8a989f!important}
html[data-theme="light"] .chatRailMeta strong{color:#52626b!important}
html[data-theme="light"] .chatListPro{background:#fff!important}
html[data-theme="light"] .chatRowPro:hover{background:#f7f9fa!important}
html[data-theme="light"] .chatRowPro.active{background:#edf8f3!important;box-shadow:inset 3px 0 0 #00a884!important}
html[data-theme="light"] .contactBar{background:#fff!important;box-shadow:none!important}
html[data-theme="light"] .contactNumber{color:#6d7c84!important}
html[data-theme="light"] .contactSub{color:#89969d!important}
html[data-theme="light"] .deletedCountPill,
  html[data-theme="light"] .favoritePill{background:#fff8eb!important;border-color:#f3e0b9!important;color:#8f5a10!important}
html[data-theme="light"] .contactActions .secondary.compactAction,
  html[data-theme="light"] .desktopPopoverTrigger{background:#fff!important;color:#33434c!important;box-shadow:none!important}
html[data-theme="light"] .contactActions .secondary.compactAction:hover,
  html[data-theme="light"] .desktopPopoverTrigger:hover{background:#f6f8f9!important}
html[data-theme="light"] .iconAction{background:#fff!important;color:#7a8991!important;box-shadow:none!important}
html[data-theme="light"] .iconAction:hover{background:#f6f8f9!important;color:#475861!important}
html[data-theme="light"] .iconAction.active{background:#fff8e8!important;border-color:#f0dda9!important;color:#b77808!important}
html[data-theme="light"] .desktopActionPopover{background:#fff!important;border-color:#dce4e9!important;color:#1f2d35!important;box-shadow:0 18px 48px rgba(17,27,33,.14)!important}
html[data-theme="light"] .desktopPopoverHead{border-bottom-color:#edf1f3!important}
html[data-theme="light"] .desktopPopoverHead strong{color:#17242b!important}
html[data-theme="light"] .desktopPopoverHead small{color:#7d8b92!important}
html[data-theme="light"] .desktopExportGrid a{background:#f7f9fa!important;border-color:#e4eaee!important;color:#25353d!important}
html[data-theme="light"] .desktopExportGrid a:hover{background:#eef5f2!important;border-color:#d7e9e0!important}
html[data-theme="light"] .desktopExportGrid a small{color:#7c8a91!important}
html[data-theme="light"] .desktopPopoverForm label span{color:#6d7c84!important}
html[data-theme="light"] .desktopPopoverForm input{background:#f8fafb!important;border-color:#dce4e9!important;color:#17242b!important}
html[data-theme="light"] .threadSearchBar{background:#fff!important}
html[data-theme="light"] .threadSearchBar .searchField{background:#f5f7f8!important;border-color:#e2e8ec!important}
html[data-theme="light"] .threadSearchBar input{color:#24343d!important}
html[data-theme="light"] .threadSearchResults{background:#fff!important;border-color:#dce4e9!important;box-shadow:0 16px 42px rgba(17,27,33,.14)!important}
html[data-theme="light"] .threadSearchResult{border-top-color:#edf1f3!important;color:#23333b!important}
html[data-theme="light"] .threadSearchResult:hover{background:#f7f9fa!important}
html[data-theme="light"] .threadViewport{background:#f2efea!important;scrollbar-color:#c9d1d6 transparent!important}
html[data-theme="light"] .chatStage:before{opacity:.016!important}
html[data-theme="light"] .dateDivider span{background:rgba(255,255,255,.82)!important;color:#60717a!important;box-shadow:0 1px 2px rgba(17,27,33,.04)!important}
html[data-theme="light"] .proBubbleRow.mine .proBubble{background:#dff8df!important}
html[data-theme="light"] .stateTag{background:transparent!important}
html[data-theme="light"] .archiveStatusBar{background:#fff!important;color:#809097!important;box-shadow:none!important}
}
@media (max-width:780px){
html[data-theme="light"] body:has(.chatWorkspace){background:#fff!important}
html[data-theme="light"] .chatWorkspace,
  html[data-theme="light"] .chatRail,
  html[data-theme="light"] .chatStage{background:#fff!important}
html[data-theme="light"] .chatRailHeader{background:#fff!important}
html[data-theme="light"] .accountSwitcher{background:#fff!important}
html[data-theme="light"] .accountSwitcher select{background:#f3f5f6!important}
html[data-theme="light"] .chatTypeTabs{background:#fff!important}
html[data-theme="light"] .chatTypeTabs a{background:#f2f4f5!important;color:#5f6f78!important}
html[data-theme="light"] .chatTypeTabs a.active{background:#e5f6ef!important;color:#087458!important}
html[data-theme="light"] .chatSearch{background:#fff!important}
html[data-theme="light"] .chatSearch .searchField{background:#f0f2f5!important}
html[data-theme="light"] .chatRowPro{background:#fff!important}
html[data-theme="light"] .chatRowPro:after{background:#edf1f3!important}
html[data-theme="light"] .chatRowPro.active{background:#f0faf5!important;box-shadow:none!important}
html[data-theme="light"] body.chatOpen .chatWorkspace,
  html[data-theme="light"] body:has(.chatWorkspace:not([data-chat=""])) .chatWorkspace{background:#f2efea!important}
html[data-theme="light"] .contactBar{background:#fff!important}
html[data-theme="light"] .mobileChatBack,
  html[data-theme="light"] .mobileChatMenuButton,
  html[data-theme="light"] .contactActions>.secondary.compactAction{color:#53636d!important;background:transparent!important}
html[data-theme="light"] .threadViewport{background:#f2efea!important}
html[data-theme="light"] .dateDivider span{background:rgba(255,255,255,.86)!important;color:#62727a!important}
html[data-theme="light"] .proBubbleRow.mine .proBubble{background:#dff8df!important}
html[data-theme="light"] .proBubbleRow.theirs .proBubble{background:#fff!important}
html[data-theme="light"] .stateTag{background:transparent!important}
html[data-theme="light"] .mobileArchiveComposer{background:#f5f7f8!important}
html[data-theme="light"] .archiveComposerPill{background:#fff!important;box-shadow:none!important}
html[data-theme="light"] .mobileBottomNav{background:rgba(255,255,255,.98)!important;box-shadow:0 -6px 18px rgba(17,27,33,.05)!important}
html[data-theme="light"] .mobileMoreSheet .mobileSheetCard,
  html[data-theme="light"] .mobileChatActionCard{background:#fff!important;border-color:#e5eaed!important}
html[data-theme="light"] .mobileSheetLink,
  html[data-theme="light"] .mobileSheetGrid button.mobileSheetLink{background:#fff!important}
html[data-theme="light"] .mobileSheetLink:active,
  html[data-theme="light"] .mobileActionRow:active{background:#f6f8f9!important}
}
html[data-theme="light"] .desktopActionPopover,
html[data-theme="light"] .desktopActionPopover:popover-open,
html[data-theme="light"] .desktopActionPopover.fallbackOpen{background:#fff!important;color:#1f2d35!important;border-color:#dce4e9!important}


/* v4.8.1 global category light-theme cleanup */
html[data-theme="light"] .conversationPanel,
html[data-theme="light"] .renameForm input,
html[data-theme="light"] .bubble,
html[data-theme="light"] .thread,
html[data-theme="light"] .chatItem,
html[data-theme="light"] .chatItem:hover,
html[data-theme="light"] .chatMain p,
html[data-theme="light"] .contactIdentity,
html[data-theme="light"] .conversationStats,
html[data-theme="light"] .messageMain p,
html[data-theme="light"] .currentMessage p,
html[data-theme="light"] .accountDetail,
html[data-theme="light"] .empty,
html[data-theme="light"] .compactEmpty,
html[data-theme="light"] .noChatSelected,
html[data-theme="light"] .noChatSelected p,
html[data-theme="light"] .noChatSelected small,
html[data-theme="light"] .hash{color:#64748b!important}

html[data-theme="light"] .deletedHero,
html[data-theme="light"] .deletedList,
html[data-theme="light"] .deletedItem,
html[data-theme="light"] .messageList,
html[data-theme="light"] .messageItem,
html[data-theme="light"] .flush .messageItem,
html[data-theme="light"] .diagAccounts,
html[data-theme="light"] .diagAccount,
html[data-theme="light"] .accountCards .accountCard,
html[data-theme="light"] .removedAccountRow,
html[data-theme="light"] .sessionRecoveryNotice,
html[data-theme="light"] .integritybox,
html[data-theme="light"] .threadSearchResults,
html[data-theme="light"] .threadSearchBar .searchField,
html[data-theme="light"] .chatEmpty,
html[data-theme="light"] .messagePanel,
html[data-theme="light"] .deletedPanel,
html[data-theme="light"] .mediaPanel{background:#ffffff!important;color:#111827!important}

html[data-theme="light"] .deletedItem,
html[data-theme="light"] .messageItem,
html[data-theme="light"] .flush .messageItem,
html[data-theme="light"] .diagAccount,
html[data-theme="light"] .removedAccountRow,
html[data-theme="light"] .backupMini{border-bottom:1px solid #edf2f7!important}
html[data-theme="light"] .messageItem:hover,
html[data-theme="light"] .chatItem:hover,
html[data-theme="light"] .deletedItem:hover,
html[data-theme="light"] .diagAccount:hover{background:#f8fafc!important}
html[data-theme="light"] .deletedAvatar{background:#fff1f2!important;color:#e11d48!important}
html[data-theme="light"] .deletedBadgeStack .badge,
html[data-theme="light"] .rowBadges .badge{box-shadow:none!important}

html[data-theme="light"] .mediaGrid{background:#f1f5f9!important}
html[data-theme="light"] .mediaCard{background:#ffffff!important;border:1px solid #e2e8f0!important}
html[data-theme="light"] .mediaPreview{background:#eef2f7!important}
html[data-theme="light"] .mediaInfo span,
html[data-theme="light"] .mediaInfo small{color:#64748b!important}
html[data-theme="light"] .mediaInfo .button{background:#f8fafc!important;border-color:#dbe4ee!important;color:#1f2937!important}

html[data-theme="light"] .accountHealthStrip{background:#e2e8f0!important}
html[data-theme="light"] .accountHealthStrip>div,
html[data-theme="light"] .sessionRecoveryBox,
html[data-theme="light"] .healthAlert,
html[data-theme="light"] .backupStatusGrid>div,
html[data-theme="light"] .backupLocation,
html[data-theme="light"] .notice,
html[data-theme="light"] .diagCard{background:#f8fafc!important;border:1px solid #dbe4ee!important;color:#111827!important}
html[data-theme="light"] .diagCard small,
html[data-theme="light"] .diagCard span,
html[data-theme="light"] .healthAlert small,
html[data-theme="light"] .backupLocation small,
html[data-theme="light"] .notice small{color:#64748b!important}
html[data-theme="light"] .sessionSecurityNote{background:#fff7ed!important;border:1px solid #fed7aa!important;color:#9a3412!important}

html[data-theme="light"] .integrityicon{background:rgba(34,197,94,.14)!important;color:#16a34a!important}
html[data-theme="light"] .integritybox p{color:#64748b!important}
html[data-theme="light"] .noChatIcon{background:#eef6f1!important;color:#16a34a!important;border:1px solid #d9ecdf!important}

html[data-theme="light"] .threadSearchBar{background:#f8fafc!important}
html[data-theme="light"] .threadSearchBar .searchField{border:1px solid #dbe4ee!important;background:#ffffff!important;color:#111827!important}
html[data-theme="light"] .threadSearchResults{box-shadow:0 12px 30px rgba(15,23,42,.10)!important;border:1px solid #dbe4ee!important}
html[data-theme="light"] .threadSearchResults .messageItem{background:#ffffff!important}

html[data-theme="light"] .mobileMoreSheet .mobileSheetCard,
html[data-theme="light"] .mobileChatActionCard{background:#ffffff!important;border:1px solid #e2e8f0!important;color:#111827!important}
html[data-theme="light"] .mobileChatActionHead,
html[data-theme="light"] .mobileSheetHead{border-bottom:1px solid #edf2f7!important}
html[data-theme="light"] .mobileActionRow{border-bottom:1px solid #edf2f7!important;color:#111827!important}
html[data-theme="light"] .mobileActionIcon,
html[data-theme="light"] .mobileSheetLinkIcon,
html[data-theme="light"] .mobileChatActionClose{background:#eff5f9!important;border:1px solid #dbe4ee!important;color:#16a34a!important}
html[data-theme="light"] .mobileActionDetails[open]{background:#f8fafc!important}
html[data-theme="light"] .mobileExportGrid a,
html[data-theme="light"] .mobileSheetLink,
html[data-theme="light"] .mobileSheetGrid button.mobileSheetLink{background:#f8fafc!important;border:1px solid #e2e8f0!important;color:#111827!important}

html[data-theme="light"] .mobileBottomNav,
html[data-theme="light"] .mobileBottomNav::before{background:rgba(255,255,255,.96)!important}
html[data-theme="light"] .mobileBottomNav a,
html[data-theme="light"] .mobileBottomNav button{color:#64748b!important}
html[data-theme="light"] .mobileBottomNav a.active,
html[data-theme="light"] .mobileBottomNav button.active{color:#0f172a!important;background:transparent!important}
html[data-theme="light"] .mobileBottomNav a.active .mobileNavGlyph,
html[data-theme="light"] .mobileBottomNav button.active .mobileNavGlyph{background:#eaf7ef!important;border-color:#cbe8d6!important;color:#16a34a!important}

html[data-theme="light"] .chatRail,
html[data-theme="light"] .chatRailHeader,
html[data-theme="light"] .chatRailMeta,
html[data-theme="light"] .accountSwitcher,
html[data-theme="light"] .chatSearch,
html[data-theme="light"] .chatListPro,
html[data-theme="light"] .chatEmpty{background:#ffffff!important;color:#111827!important}
html[data-theme="light"] .accountSwitcher select,
html[data-theme="light"] .chatSearch .searchField,
html[data-theme="light"] .chatSearch input,
html[data-theme="light"] .threadSearchBar input,
html[data-theme="light"] .chatTypeTabs a,
html[data-theme="light"] .loadOlderButton,
html[data-theme="light"] .dateDivider span{background:#f8fafc!important;border:1px solid #dbe4ee!important;color:#475569!important;box-shadow:none!important}
html[data-theme="light"] .chatTypeTabs a.active{background:#eaf7ef!important;border-color:#cbe8d6!important;color:#166534!important}
html[data-theme="light"] .chatRowPro,
html[data-theme="light"] .chatRowPro.active,
html[data-theme="light"] .chatRowPro:active{background:#ffffff!important}
html[data-theme="light"] .chatRowPro.active{box-shadow:inset 0 0 0 1px #cbe8d6!important;background:#f6fdf8!important}
html[data-theme="light"] .pinMark{border-color:#ffffff!important;background:#16a34a!important}

html[data-theme="light"] .contactBar,
html[data-theme="light"] .threadSearchBar{background:#ffffff!important;border-bottom:1px solid #edf2f7!important}
html[data-theme="light"] .proBubbleRow.theirs .proBubble{background:#ffffff!important;border:1px solid #e2e8f0!important;color:#111827!important}
html[data-theme="light"] .proBubbleRow.mine .proBubble{background:#dcf8e8!important;border:1px solid #c7e9d4!important;color:#111827!important}
html[data-theme="light"] .bubbleBody,
html[data-theme="light"] .bubbleFooter{color:inherit!important}
html[data-theme="light"] .bubbleFooter{color:#64748b!important}
html[data-theme="light"] .inlineMediaPreview,
html[data-theme="light"] .inlineMediaFile{background:#f8fafc!important;border:1px solid #dbe4ee!important}

html[data-theme="light"] .loginbody,
html[data-theme="light"] .loginbox{background:#f8fafc!important;color:#111827!important}
html[data-theme="light"] .stack input{background:#ffffff!important;border:1px solid #dbe4ee!important;color:#111827!important}


/* v4.8.1 aesthetic polish: cleaner, less amateur, same layout */
html[data-theme="light"]{
  --l-bg:#eef3f6;
  --l-surface:#ffffff;
  --l-surface-2:#f8fafb;
  --l-surface-3:#f2f6f8;
  --l-line:#dde5ea;
  --l-line-strong:#d0dae1;
  --l-text:#15232d;
  --l-muted:#70828d;
  --l-faint:#8a9aa3;
  --l-green:#109d76;
  --l-green-2:#25d366;
  --l-green-soft:#ebf8f3;
  --l-green-soft-2:#e1f4ec;
  --l-chat:#f4efe8;
  --l-out:#daf5d8;
  --l-shadow:0 10px 28px rgba(15,23,42,.055);
}
html[data-theme="light"] body{background:linear-gradient(180deg,#f4f7fa 0%,#eef3f6 100%)!important}
html[data-theme="light"] .topbar{
  background:rgba(255,255,255,.92)!important;
  border-bottom:1px solid rgba(208,218,225,.85)!important;
  box-shadow:0 4px 18px rgba(15,23,42,.035)!important;
}
html[data-theme="light"] .nav a,
html[data-theme="light"] .linkbtn{border:1px solid transparent!important}
html[data-theme="light"] .nav a:hover,
html[data-theme="light"] .linkbtn:hover{background:#f7fafb!important;border-color:#e7edf1!important;color:#1b2b34!important}
html[data-theme="light"] .nav a.active{
  background:linear-gradient(180deg,#f7fdf9,#ecf8f2)!important;
  border-color:#d8ece2!important;
  color:#0c7a5b!important;
  box-shadow:0 1px 2px rgba(16,157,118,.08)!important;
}
html[data-theme="light"] .themeToggleButton,
html[data-theme="light"] .pwaInstallTop,
html[data-theme="light"] .logout .secondary{
  background:#ffffff!important;
  border-color:#dde5ea!important;
  color:#32424c!important;
}
html[data-theme="light"] .themeToggleButton:hover,
html[data-theme="light"] .pwaInstallTop:hover,
html[data-theme="light"] .logout .secondary:hover{background:#f8fafb!important}
html[data-theme="light"] .hero,
html[data-theme="light"] .panel,
html[data-theme="light"] .stat,
html[data-theme="light"] .deletedStats a,
html[data-theme="light"] .diagCard,
html[data-theme="light"] .backupStatusGrid>div,
html[data-theme="light"] .backupLocation,
html[data-theme="light"] .notice,
html[data-theme="light"] .accountmini,
html[data-theme="light"] .loginbox{
  box-shadow:0 8px 24px rgba(15,23,42,.045)!important;
}
html[data-theme="light"] .hero{
  background:
    radial-gradient(circle at top right, rgba(16,157,118,.08), transparent 26%),
    linear-gradient(180deg,#ffffff 0%,#fbfcfd 100%)!important;
}
html[data-theme="light"] .stat,
html[data-theme="light"] .panel,
html[data-theme="light"] .accountmini,
html[data-theme="light"] .diagCard,
html[data-theme="light"] .healthAlert,
html[data-theme="light"] .backupMini,
html[data-theme="light"] .backupLocation,
html[data-theme="light"] .backupStatusGrid>div,
html[data-theme="light"] .notice{border-color:#e2e8ed!important}
html[data-theme="light"] .stat:hover,
html[data-theme="light"] .panel:hover{border-color:#d4dee5!important}
html[data-theme="light"] .secondary{
  background:linear-gradient(180deg,#ffffff,#f8fafb)!important;
  border-color:#d9e2e7!important;
  color:#24343d!important;
}
html[data-theme="light"] .secondary:hover{background:linear-gradient(180deg,#fcfdfe,#f4f7f9)!important}
html[data-theme="light"] .primary{
  background:linear-gradient(180deg,#1bb684,#109d76)!important;
  border-color:#109d76!important;
  color:#fff!important;
}
html[data-theme="light"] .primary:hover{background:linear-gradient(180deg,#16aa7d,#0d936e)!important}
html[data-theme="light"] .dangerbtn{background:linear-gradient(180deg,#fff5f6,#fff1f2)!important}
html[data-theme="light"] .filters input,
html[data-theme="light"] .filters select,
html[data-theme="light"] .addAccount input,
html[data-theme="light"] .stack input,
html[data-theme="light"] textarea,
html[data-theme="light"] .mobileInlineForm input{
  background:#fff!important;
  border-color:#dbe4e9!important;
}
html[data-theme="light"] .chatWorkspace{
  background:#fff!important;
  border-color:#dbe4e9!important;
  box-shadow:0 16px 42px rgba(15,23,42,.065)!important;
}
html[data-theme="light"] .chatRail,
html[data-theme="light"] .chatRailHeader,
html[data-theme="light"] .chatListPro,
html[data-theme="light"] .accountSwitcher,
html[data-theme="light"] .chatSearch,
html[data-theme="light"] .chatRailMeta{background:#ffffff!important}
html[data-theme="light"] .chatRail{border-right-color:#e6ecef!important}
html[data-theme="light"] .accountSwitcher select,
html[data-theme="light"] .chatSearch .searchField,
html[data-theme="light"] .chatSearch input,
html[data-theme="light"] .threadSearchBar .searchField,
html[data-theme="light"] .threadSearchBar input,
html[data-theme="light"] .chatTypeTabs a,
html[data-theme="light"] .desktopExportGrid a,
html[data-theme="light"] .desktopPopoverForm input,
html[data-theme="light"] .mobileExportGrid a,
html[data-theme="light"] .mobileSheetLink,
html[data-theme="light"] .mobileSheetGrid button.mobileSheetLink{
  background:#f8fafb!important;
  border-color:#e1e8ed!important;
}
html[data-theme="light"] .chatTypeTabs a:hover,
html[data-theme="light"] .desktopExportGrid a:hover,
html[data-theme="light"] .mobileSheetLink:hover{background:#f2f7f4!important;border-color:#d8e8df!important}
html[data-theme="light"] .chatTypeTabs a.active{
  background:linear-gradient(180deg,#f8fdfb,#eaf7f1)!important;
  border-color:#d8ece2!important;
  color:#0c7a5b!important;
}
html[data-theme="light"] .chatRowPro,
html[data-theme="light"] .deletedItem,
html[data-theme="light"] .messageItem,
html[data-theme="light"] .diagAccount,
html[data-theme="light"] .removedAccountRow,
html[data-theme="light"] .backupMini{
  background:#ffffff!important;
  border-color:#eef2f5!important;
}
html[data-theme="light"] .chatRowPro:hover,
html[data-theme="light"] .deletedItem:hover,
html[data-theme="light"] .messageItem:hover,
html[data-theme="light"] .diagAccount:hover{background:#fbfcfd!important}
html[data-theme="light"] .chatRowPro.active{
  background:linear-gradient(180deg,#fbfefc,#f1faf5)!important;
  box-shadow:inset 3px 0 0 #109d76!important;
}
html[data-theme="light"] .chatAvatar,
html[data-theme="light"] .contactAvatar,
html[data-theme="light"] .avatar{
  background:linear-gradient(180deg,#f2f5f7,#ebf0f3)!important;
  border-color:#dbe4e9!important;
  color:#586873!important;
}
html[data-theme="light"] .contactBar{
  background:rgba(255,255,255,.96)!important;
  border-bottom:1px solid #e5ebef!important;
  box-shadow:0 1px 0 rgba(15,23,42,.02)!important;
}
html[data-theme="light"] .contactActions .secondary.compactAction,
html[data-theme="light"] .desktopPopoverTrigger,
html[data-theme="light"] .iconAction{
  background:linear-gradient(180deg,#ffffff,#f8fafb)!important;
  border-color:#dbe4e9!important;
  color:#5a6b76!important;
}
html[data-theme="light"] .iconAction.active{background:linear-gradient(180deg,#fffaf0,#fff3d8)!important;border-color:#f0ddb1!important;color:#a36a10!important}
html[data-theme="light"] .desktopActionPopover,
html[data-theme="light"] .mobileSheetCard,
html[data-theme="light"] .mobileChatActionCard,
html[data-theme="light"] .threadSearchResults{
  background:#fff!important;
  border-color:#dfe7ec!important;
  box-shadow:0 18px 46px rgba(15,23,42,.12)!important;
}
html[data-theme="light"] .threadViewport{background:#f3eee7!important}
html[data-theme="light"] .dateDivider span,
html[data-theme="light"] .loadOlderButton{
  background:rgba(255,255,255,.88)!important;
  border-color:#dbe4e9!important;
  color:#63747e!important;
}
html[data-theme="light"] .proBubbleRow.theirs .proBubble{
  background:linear-gradient(180deg,#ffffff,#fdfefe)!important;
  border:1px solid #e3e9ed!important;
  box-shadow:0 1px 2px rgba(15,23,42,.06)!important;
}
html[data-theme="light"] .proBubbleRow.mine .proBubble{
  background:linear-gradient(180deg,#e2f9df,#d8f4d6)!important;
  border:1px solid #cfe9cd!important;
  box-shadow:0 1px 2px rgba(15,23,42,.05)!important;
}
html[data-theme="light"] .quotedReply{background:rgba(15,23,42,.035)!important;border-left-color:#109d76!important}
html[data-theme="light"] .inlineMediaPreview,
html[data-theme="light"] .inlineMediaFile,
html[data-theme="light"] .mediaPreview{background:#f1f5f7!important}
html[data-theme="light"] .deletedAvatar{background:linear-gradient(180deg,#fff5f6,#fff0f2)!important;color:#cc2442!important}
html[data-theme="light"] .deletedCountPill,
html[data-theme="light"] .favoritePill{background:#fff9ef!important;border-color:#f3e1bc!important;color:#93601b!important}
html[data-theme="light"] .mediaCard{background:#fff!important;border-color:#e2e8ed!important;box-shadow:none!important}
html[data-theme="light"] .accountHealthStrip{background:#e5ebf0!important}
html[data-theme="light"] .accountHealthStrip>div,
html[data-theme="light"] .sessionRecoveryBox,
html[data-theme="light"] .healthAlert,
html[data-theme="light"] .diagCard,
html[data-theme="light"] .backupStatusGrid>div,
html[data-theme="light"] .backupLocation,
html[data-theme="light"] .notice{background:#f9fbfc!important}
html[data-theme="light"] .integritybox{background:linear-gradient(180deg,#ffffff,#fbfcfd)!important}
html[data-theme="light"] .noChatSelected{background:linear-gradient(180deg,#ffffff,#fbfcfd)!important}
html[data-theme="light"] .noChatIcon{background:#eef7f2!important;border-color:#dcece2!important;color:#109d76!important}
html[data-theme="light"] .mobileBottomNav{
  background:rgba(255,255,255,.96)!important;
  border-top-color:#e1e8ed!important;
  box-shadow:0 -8px 26px rgba(15,23,42,.08)!important;
}
html[data-theme="light"] .mobileBottomNav a,
html[data-theme="light"] .mobileBottomNav button{color:#70828d!important}
html[data-theme="light"] .mobileBottomNav a.active,
html[data-theme="light"] .mobileBottomNav button.active{color:#122029!important}
html[data-theme="light"] .mobileBottomNav a.active .mobileNavGlyph,
html[data-theme="light"] .mobileBottomNav button.active .mobileNavGlyph{
  background:linear-gradient(180deg,#f5fcf8,#e8f7f0)!important;
  border-color:#d8ece2!important;
  color:#109d76!important;
}
html[data-theme="light"] .mobileSheetLinkIcon,
html[data-theme="light"] .mobileActionIcon,
html[data-theme="light"] .mobileSheetClose,
html[data-theme="light"] .mobileChatActionClose{background:#f4f7f9!important;border-color:#dfe7ec!important;color:#109d76!important}
html[data-theme="light"] .loginbody{background:linear-gradient(180deg,#f5f8fb 0%,#eef3f6 100%)!important}
html[data-theme="light"] .loginbox{background:transparent!important}
html[data-theme="light"] .loginTrust span{background:#ffffff!important;border-color:#e2e8ed!important;color:#70828d!important}
html[data-theme="light"] .loginTrust span:first-child{background:#eff9f4!important;border-color:#d6ece1!important;color:#0c7a5b!important}


/* v4.8.1 dashboard light-theme fit */
html[data-theme="light"] .themeToggleButton{display:flex!important;align-items:center!important;gap:8px!important}
html[data-theme="light"] .themeToggleButton .themeToggleMeta{display:flex!important;flex-direction:column!important;gap:1px!important}
html[data-theme="light"] .themeToggleButton strong,html[data-theme="light"] .themeToggleButton small{display:block!important;margin:0!important}

html[data-theme="light"] .dashboardHeroV3{
  border:1px solid #dfe7ec!important;
  background:
    radial-gradient(circle at 86% 10%, rgba(16,157,118,.10), transparent 28%),
    radial-gradient(circle at 4% 94%, rgba(11,120,208,.05), transparent 24%),
    linear-gradient(180deg,#ffffff 0%,#fbfcfd 100%)!important;
  box-shadow:0 14px 36px rgba(15,23,42,.06)!important;
}
html[data-theme="light"] .dashboardHeroV3:before{opacity:.04!important;background-image:radial-gradient(rgba(16,35,45,.12) .55px,transparent .65px)!important}
html[data-theme="light"] .dashboardHeroBadge{
  background:#f6fbf8!important;
  border-color:#d8ece2!important;
  color:#0c7a5b!important;
}
html[data-theme="light"] .dashboardHeroV3 .eyebrow{color:#0c7a5b!important}
html[data-theme="light"] .dashboardHeroV3 h1{color:#15232d!important}
html[data-theme="light"] .dashboardHeroV3 h1 span{color:#70828d!important}
html[data-theme="light"] .dashboardHeroText{color:#667781!important}
html[data-theme="light"] .dashboardSecondaryAction{
  background:linear-gradient(180deg,#ffffff,#f8fafb)!important;
  border-color:#dbe4e9!important;
  color:#24343d!important;
}
html[data-theme="light"] .dashboardSecondaryAction:hover{background:#f4f7f9!important;border-color:#d3dde3!important}

html[data-theme="light"] .dashboardPulseCard{
  border-color:#e0e8ed!important;
  background:linear-gradient(180deg,#ffffff 0%,#fbfcfd 100%)!important;
  box-shadow:0 12px 28px rgba(15,23,42,.05)!important;
}
html[data-theme="light"] .dashboardPulseIcon{border-color:#dbe4e9!important;background:#f5f8fa!important;color:#70828d!important}
html[data-theme="light"] .dashboardPulseIcon.online{border-color:#d8ece2!important;background:#edf9f4!important;color:#109d76!important}
html[data-theme="light"] .dashboardPulseTop span:not(.dashboardStatusPill),
html[data-theme="light"] .dashboardPulseGrid span{color:#70828d!important}
html[data-theme="light"] .dashboardPulseTop strong,
html[data-theme="light"] .dashboardPulseGrid strong{color:#15232d!important}
html[data-theme="light"] .dashboardPulseGrid>div{background:#f8fafb!important;border-color:#e3eaee!important}
html[data-theme="light"] .dashboardPulseGrid small,
html[data-theme="light"] .dashboardPulseFooter{color:#667781!important}
html[data-theme="light"] .dashboardPulseFooter{border-top-color:#edf2f5!important}
html[data-theme="light"] .dashboardPulseFooter a{color:#0c7a5b!important}
html[data-theme="light"] .dashboardStatusPill.ok{background:#ebf8f3!important;border-color:#d7ece2!important;color:#0c7a5b!important}
html[data-theme="light"] .dashboardStatusPill.wait{background:#fff8ea!important;border-color:#f4e0b7!important;color:#9a6110!important}
html[data-theme="light"] .dashboardMiniDot{background:#94a3ab!important}
html[data-theme="light"] .dashboardMiniDot.online{background:#25d366!important;box-shadow:0 0 8px rgba(37,211,102,.22)!important}

html[data-theme="light"] .dashboardMetric{
  border-color:#e1e8ed!important;
  background:linear-gradient(180deg,#ffffff 0%,#fbfcfd 100%)!important;
  box-shadow:0 6px 18px rgba(15,23,42,.04)!important;
}
html[data-theme="light"] .dashboardMetric:hover{border-color:#d7e1e7!important;background:#ffffff!important}
html[data-theme="light"] .dashboardMetricCopy small{color:#70828d!important}
html[data-theme="light"] .dashboardMetricCopy strong{color:#15232d!important}
html[data-theme="light"] .dashboardMetricCopy em{color:#7f8f97!important}
html[data-theme="light"] .dashboardMetricIcon{background:#edf9f4!important;border-color:#d8ece2!important;color:#109d76!important}
html[data-theme="light"] .dashboardMetricIcon.red{background:#fff1f3!important;border-color:#ffd7dd!important;color:#d92d3a!important}
html[data-theme="light"] .dashboardMetricIcon.amber{background:#fff8ea!important;border-color:#f4e0b7!important;color:#a15c00!important}
html[data-theme="light"] .dashboardMetricIcon.blue{background:#eef6ff!important;border-color:#d9e8fb!important;color:#0b78d0!important}
html[data-theme="light"] .dashboardMetricIcon.cyan{background:#eefbfd!important;border-color:#d6eef4!important;color:#0891b2!important}
html[data-theme="light"] .dashboardMetricIcon.violet{background:#f4efff!important;border-color:#e2d7ff!important;color:#7c3aed!important}

html[data-theme="light"] .dashboardSectionHead h2{color:#15232d!important}
html[data-theme="light"] .dashboardSectionHead p:not(.sectionKicker){color:#70828d!important}
html[data-theme="light"] .dashboardTextLink{color:#0c7a5b!important}

html[data-theme="light"] .dashboardAlertPanel,
html[data-theme="light"] .dashboardRecentPanel,
html[data-theme="light"] .dashboardSidePanel{
  background:#ffffff!important;
  border-color:#e1e8ed!important;
  box-shadow:0 8px 22px rgba(15,23,42,.04)!important;
}
html[data-theme="light"] .dashboardAlertRow{
  background:#f8fafb!important;
  border-color:#e6ecef!important;
}
html[data-theme="light"] .dashboardAlertRow strong{color:#15232d!important}
html[data-theme="light"] .dashboardAlertRow p{color:#667781!important}
html[data-theme="light"] .dashboardAlertRow small{color:#7f8f97!important}
html[data-theme="light"] .dashboardAlertIcon{background:#fff8ea!important;color:#a15c00!important}
html[data-theme="light"] .dashboardAlertRow.critical{background:#fff6f7!important;border-color:#ffd7dd!important}
html[data-theme="light"] .dashboardAlertRow.critical .dashboardAlertIcon{background:#fff1f3!important;color:#d92d3a!important}

html[data-theme="light"] .dashboardActivityItem{border-top-color:#edf2f5!important}
html[data-theme="light"] .dashboardActivityItem:hover{background:#fbfcfd!important}
html[data-theme="light"] .dashboardActivityAvatar{border-color:#dde5ea!important;background:linear-gradient(180deg,#f3f6f8,#ebf0f3)!important;color:#5b6b75!important}
html[data-theme="light"] .dashboardActivityTop strong{color:#15232d!important}
html[data-theme="light"] .dashboardActivityTop time,
html[data-theme="light"] .dashboardActivityMeta{color:#7a8a93!important}
html[data-theme="light"] .dashboardDirection.out{background:#ebf8f3!important;color:#0c7a5b!important}
html[data-theme="light"] .dashboardDirection.in{background:#eef6ff!important;color:#0b78d0!important}
html[data-theme="light"] .dashboardActivityMain p{color:#667781!important}
html[data-theme="light"] .dashboardActivityBadges svg{stroke:#8fa0a9!important}

html[data-theme="light"] .dashboardAccountRow{
  background:#f9fbfc!important;
  border-color:#e6ecef!important;
}
html[data-theme="light"] .dashboardAccountRow:hover{background:#f4f8fa!important;border-color:#dde6eb!important}
html[data-theme="light"] .dashboardAccountStatus{background:#eef2f5!important}
html[data-theme="light"] .dashboardAccountStatus i{background:#94a3ab!important}
html[data-theme="light"] .dashboardAccountStatus.online{background:#edf9f4!important}
html[data-theme="light"] .dashboardAccountStatus.online i{background:#25d366!important;box-shadow:0 0 8px rgba(37,211,102,.22)!important}
html[data-theme="light"] .dashboardAccountInfo strong,
html[data-theme="light"] .dashboardAccountRight b{color:#15232d!important}
html[data-theme="light"] .dashboardAccountInfo small,
html[data-theme="light"] .dashboardAccountRight small{color:#70828d!important}
html[data-theme="light"] .dashboardAccountRight b{color:#0c7a5b!important}

html[data-theme="light"] .dashboardLatestBackup{
  background:linear-gradient(180deg,#f8fcfa,#f4faf7)!important;
  border-color:#dcebe3!important;
}
html[data-theme="light"] .dashboardBackupIcon{background:#edf9f4!important;color:#109d76!important}
html[data-theme="light"] .dashboardLatestBackup small,
html[data-theme="light"] .dashboardLatestBackup span,
html[data-theme="light"] .dashboardBackupHistory span,
html[data-theme="light"] .dashboardBackupHistory small{color:#70828d!important}
html[data-theme="light"] .dashboardLatestBackup strong{color:#15232d!important}
html[data-theme="light"] .dashboardBackupHistory>div{border-bottom-color:#edf2f5!important}
html[data-theme="light"] .dashboardBackupHistory i{background:#25d366!important}
html[data-theme="light"] .dashboardBackupAction{
  background:linear-gradient(180deg,#ffffff,#f8fafb)!important;
  border-color:#dbe4e9!important;
  color:#24343d!important;
}
html[data-theme="light"] .dashboardBackupAction:hover{background:#f4f7f9!important}

@media (max-width:780px){
  html[data-theme="light"] .dashboardHeroV3{background:#ffffff!important;box-shadow:none!important;border-color:#e7edf1!important}
  html[data-theme="light"] .dashboardHeroBadge{background:#f6fbf8!important;color:#0c7a5b!important}
  html[data-theme="light"] .dashboardPulseCard,
  html[data-theme="light"] .dashboardMetric,
  html[data-theme="light"] .dashboardRecentPanel,
  html[data-theme="light"] .dashboardAlertPanel,
  html[data-theme="light"] .dashboardSidePanel,
  html[data-theme="light"] .dashboardActivityItem,
  html[data-theme="light"] .dashboardAccountRow{background:#ffffff!important}
  html[data-theme="light"] .dashboardPulseCard{border:1px solid #e3eaee!important}
  html[data-theme="light"] .dashboardMetric{border:1px solid #e3eaee!important}
  html[data-theme="light"] .dashboardActivityItem{border-top-color:#edf2f5!important}
  html[data-theme="light"] .dashboardLatestBackup{background:#f8fcfa!important}
  html[data-theme="light"] .dashboardAlertRow{background:#f8fafb!important}
}


/* v4.8.1 full UI light-coverage audit */
html[data-theme="light"] .proHero{background:radial-gradient(circle at 88% 5%,rgba(16,157,118,.08),transparent 30%),radial-gradient(circle at 12% 100%,rgba(11,120,208,.04),transparent 35%),#fff!important}
html[data-theme="light"] .deletedBubble{background:#fff1f2!important;border-color:#ffd5db!important;color:#7f1d2d!important}
html[data-theme="light"] .threadCounters span{background:#f4f7f9!important;border-color:#dfe7ec!important;color:#5f717c!important}
html[data-theme="light"] .renameMenu summary{background:#f8fafb!important;border-color:#dde5ea!important;color:#31424c!important}
html[data-theme="light"] .historySummary>div{background:#fff!important;border-color:#dfe7ec!important;color:#15232d!important}
html[data-theme="light"] .historySummary .deletedSummary{background:#fff5f6!important;border-color:#ffd8dd!important}
html[data-theme="light"] .attachmentRows a{background:#f8fafb!important;border-color:#e1e8ed!important;color:#24343d!important}
html[data-theme="light"] .attachmentRows a:hover{background:#f2f7f4!important;border-color:#d8e8df!important}
html[data-theme="light"] .exportMenu[open] .menuLinks,html[data-theme="light"] .renameMenu[open] .moreMenu,html[data-theme="light"] .menuLinks,html[data-theme="light"] .moreMenu{background:#fff!important;border-color:#dfe7ec!important;color:#24343d!important;box-shadow:0 16px 40px rgba(15,23,42,.11)!important}
html[data-theme="light"] .railContactPhoto{background:#eef3f6!important}
html[data-theme="light"] .loginInstallButton.is-ready{background:#eef9f4!important;border-color:#d7ece2!important;color:#0c7a5b!important}
html[data-theme="light"] .pwaInstallToast{background:#fff!important;border-color:#dfe7ec!important;color:#24343d!important;box-shadow:0 12px 32px rgba(15,23,42,.12)!important}
html[data-theme="light"] .connectionBanner{background:#fff8e8!important;border-color:#f0ddb2!important;color:#8a5b10!important;box-shadow:0 10px 26px rgba(15,23,42,.10)!important}
html[data-theme="light"] .connectionBanner.offline,html[data-theme="light"] .connectionBanner.serverDown{background:#fff2f3!important;border-color:#ffd4da!important;color:#a52838!important}
html[data-theme="light"] .inlineMediaIcon{background:#edf5f7!important;color:#0c7a5b!important}
html[data-theme="light"] .logoutButton{background:transparent!important;color:#5e707b!important;border-color:transparent!important}
html[data-theme="light"] .logoutButton:hover{background:#f5f8fa!important;color:#24343d!important}
html[data-theme="light"] .diagnosticGrid{background:transparent!important}
html[data-theme="light"] .mobileActionDetails[open]{background:#f8fafb!important}
html[data-theme="light"] .mobileSheetBackdrop,html[data-theme="light"] .mobileChatActionBackdrop{background:rgba(15,23,42,.36)!important}


/* v4.8.1 deleted/media/search light polish */
html[data-theme="light"] .hero.compact.deletedHero{
  background:
    radial-gradient(circle at 90% 18%, rgba(16,157,118,.10), transparent 28%),
    linear-gradient(180deg,#ffffff 0%,#fbfcfd 100%)!important;
  border-color:#dfe7ec!important;
  box-shadow:0 12px 30px rgba(15,23,42,.045)!important;
}
html[data-theme="light"] .deletedHero .eyebrow{color:#0c7a5b!important;letter-spacing:.14em}
html[data-theme="light"] .deletedHero h1{color:#15232d!important}
html[data-theme="light"] .deletedHero .muted{color:#6d7e88!important}
html[data-theme="light"] .deletedHero strong{color:#33434d!important}

html[data-theme="light"] .deletedStats{gap:14px!important}
html[data-theme="light"] .deletedStats a{
  background:linear-gradient(180deg,#ffffff 0%,#fbfcfd 100%)!important;
  border:1px solid #e1e8ed!important;
  box-shadow:0 6px 18px rgba(15,23,42,.035)!important;
}
html[data-theme="light"] .deletedStats a:hover{border-color:#d5e0e6!important;transform:translateY(-1px)}
html[data-theme="light"] .deletedStats span{color:#8a98a1!important;font-weight:700!important}
html[data-theme="light"] .deletedStats strong{color:#ef7d88!important;font-size:30px!important;line-height:1!important}

html[data-theme="light"] .deletedFilters{
  grid-template-columns:2fr 1fr 1fr 1fr 1fr 1fr auto!important;
  align-items:center!important;
}
html[data-theme="light"] .panel:has(.deletedFilters){
  background:#ffffff!important;
  border-color:#e1e8ed!important;
  box-shadow:0 8px 24px rgba(15,23,42,.04)!important;
}
html[data-theme="light"] .deletedFilters input,
html[data-theme="light"] .deletedFilters select{
  background:#fbfcfd!important;
  border:1px solid #dbe4e9!important;
  color:#24343d!important;
  box-shadow:none!important;
}
html[data-theme="light"] .deletedFilters input:focus,
html[data-theme="light"] .deletedFilters select:focus{border-color:#9ed8c3!important;box-shadow:0 0 0 3px rgba(16,157,118,.10)!important}
html[data-theme="light"] .deletedFilters .primary{
  min-height:46px!important;
  border-radius:12px!important;
  box-shadow:0 8px 18px rgba(16,157,118,.14)!important;
}

html[data-theme="light"] .panel.flush{
  background:#ffffff!important;
  border-color:#e1e8ed!important;
  box-shadow:0 8px 22px rgba(15,23,42,.04)!important;
}
html[data-theme="light"] .deletedList{background:#ffffff!important}
html[data-theme="light"] .deletedItem{
  background:#ffffff!important;
  border-left:3px solid transparent!important;
  border-top:0!important;
  border-bottom:1px solid #edf2f5!important;
  padding:18px 18px!important;
}
html[data-theme="light"] .deletedItem:hover{background:#fbfcfd!important;border-left-color:#f0a5ad!important}
html[data-theme="light"] .deletedAvatar{
  width:44px!important;height:44px!important;
  background:linear-gradient(180deg,#fff4f6,#fff0f2)!important;
  border:1px solid #ffd6dc!important;
  color:#d92d3a!important;
}
html[data-theme="light"] .deletedItem .messageTop strong{color:#15232d!important}
html[data-theme="light"] .deletedItem .messageMeta,
html[data-theme="light"] .deletedItem .messageMeta span,
html[data-theme="light"] .deletedItem .messageTop span,
html[data-theme="light"] .deletedItem .messageMain p{color:#6f8089!important}
html[data-theme="light"] .deletedItem .messageMain p{margin-top:5px!important;font-size:14px!important}
html[data-theme="light"] .deletedBadgeStack{align-self:center!important;gap:7px!important}
html[data-theme="light"] .deletedBadgeStack .badge.bad{background:#fff2f4!important;color:#c43140!important;border-color:#ffd5db!important}
html[data-theme="light"] .deletedBadgeStack .badge.wait{background:#fff8ea!important;color:#9d640f!important;border-color:#f4dfb7!important}

html[data-theme="light"] .messageList,html[data-theme="light"] .messagePanel,html[data-theme="light"] .mediaPanel{border-radius:18px!important}
html[data-theme="light"] .messageItem,
html[data-theme="light"] .mediaCard{
  background:#ffffff!important;
  border-color:#e7edf1!important;
}
html[data-theme="light"] .messageItem:hover,
html[data-theme="light"] .mediaCard:hover{background:#fbfcfd!important}
html[data-theme="light"] .messagePanel .filters,
html[data-theme="light"] .mediaFilters{background:transparent!important}

@media (max-width:1100px){
  html[data-theme="light"] .deletedFilters{grid-template-columns:1fr 1fr 1fr!important}
}
@media (max-width:720px){
  html[data-theme="light"] .deletedStats{gap:8px!important}
  html[data-theme="light"] .deletedStats a{box-shadow:none!important}
  html[data-theme="light"] .deletedFilters{grid-template-columns:1fr!important}
  html[data-theme="light"] .deletedItem{padding:14px 14px!important}
}


/* v4.8.1 mobile light UI polish */
@media (max-width:780px){
  html[data-theme="light"]{
    --m-bg:#f3f6f8;
    --m-surface:#ffffff;
    --m-line:#e4ebef;
    --m-text:#16252e;
    --m-muted:#71828c;
    --m-green:#109d76;
    --m-green-soft:#eaf7f1;
  }
  html[data-theme="light"],html[data-theme="light"] body{background:var(--m-bg)!important;color:var(--m-text)!important}
  html[data-theme="light"] .wrap{background:var(--m-bg)!important;padding-bottom:calc(86px + env(safe-area-inset-bottom))!important}

  /* compact app header: secondary actions live in More */
  html[data-theme="light"] body:not(:has(.chatWorkspace)) .topbar{
    background:rgba(255,255,255,.97)!important;
    border-bottom:1px solid #e2e9ed!important;
    box-shadow:0 3px 14px rgba(15,23,42,.045)!important;
  }
  html[data-theme="light"] body:not(:has(.chatWorkspace)) .topbar .topActions{display:none!important}
  html[data-theme="light"] body:not(:has(.chatWorkspace)) .versionMark{display:none!important}
  html[data-theme="light"] body:not(:has(.chatWorkspace)) .brandCopy strong{color:#16252e!important}
  html[data-theme="light"] body:not(:has(.chatWorkspace)) .brandCopy small{color:#84949d!important}
  html[data-theme="light"] body:not(:has(.chatWorkspace)) .brandIcon{background:linear-gradient(145deg,#25c98f,#109d76)!important;color:#fff!important}

  /* page heading and sections */
  html[data-theme="light"] .hero,
  html[data-theme="light"] .hero.compact{
    background:#ffffff!important;
    border-top:0!important;
    border-bottom:1px solid #e8eef2!important;
    box-shadow:none!important;
  }
  html[data-theme="light"] .hero h1,
  html[data-theme="light"] .hero.compact h1{color:#16252e!important}
  html[data-theme="light"] .hero .muted,
  html[data-theme="light"] .hero.compact .muted{color:#71828c!important}
  html[data-theme="light"] .eyebrow,
  html[data-theme="light"] .sectionKicker{color:#0c7a5b!important}
  html[data-theme="light"] .panel,
  html[data-theme="light"] .panel.flush{
    background:#ffffff!important;
    border-color:#e8eef2!important;
    box-shadow:none!important;
  }
  html[data-theme="light"] .panel h2,
  html[data-theme="light"] .accountHead h2{color:#16252e!important}
  html[data-theme="light"] .muted{color:#71828c!important}

  /* inputs/buttons */
  html[data-theme="light"] .filters input,
  html[data-theme="light"] .filters select,
  html[data-theme="light"] .proFilters input,
  html[data-theme="light"] .proFilters select,
  html[data-theme="light"] .deletedFilters input,
  html[data-theme="light"] .deletedFilters select,
  html[data-theme="light"] .mediaFilters input,
  html[data-theme="light"] .mediaFilters select,
  html[data-theme="light"] .addAccount input,
  html[data-theme="light"] .stack input,
  html[data-theme="light"] .renameForm input{
    background:#f7f9fa!important;
    border:1px solid #dfe7ec!important;
    color:#16252e!important;
    box-shadow:none!important;
  }
  html[data-theme="light"] .filters input:focus,
  html[data-theme="light"] .filters select:focus,
  html[data-theme="light"] .addAccount input:focus,
  html[data-theme="light"] .stack input:focus{
    background:#fff!important;
    border-color:#8bcfb9!important;
    box-shadow:0 0 0 3px rgba(16,157,118,.09)!important;
  }
  html[data-theme="light"] .primary{background:linear-gradient(180deg,#1bb684,#109d76)!important;border-color:#109d76!important;color:#fff!important;box-shadow:none!important}
  html[data-theme="light"] .secondary{background:#f8fafb!important;border-color:#dfe7ec!important;color:#33444e!important}
  html[data-theme="light"] .button:active,html[data-theme="light"] button:active{filter:brightness(.98)}

  /* dashboard */
  html[data-theme="light"] .dashboardHeroV3{
    background:#ffffff!important;
    border-bottom:1px solid #e8eef2!important;
    box-shadow:none!important;
  }
  html[data-theme="light"] .dashboardHeroV3 h1,
  html[data-theme="light"] .dashboardHeroV3 h1 span{color:#16252e!important}
  html[data-theme="light"] .dashboardHeroText{color:#71828c!important}
  html[data-theme="light"] .dashboardHeroBadge{background:#edf8f3!important;color:#0c7a5b!important;border:1px solid #d9ece3!important}
  html[data-theme="light"] .dashboardPulseCard{background:#f8fbfa!important;border:1px solid #e0ebe6!important;box-shadow:none!important}
  html[data-theme="light"] .dashboardPulseGrid>div{background:#ffffff!important;border:1px solid #e5ecef!important}
  html[data-theme="light"] .dashboardPulseTop strong,
  html[data-theme="light"] .dashboardPulseGrid strong{color:#16252e!important}
  html[data-theme="light"] .dashboardPulseTop span:not(.dashboardStatusPill),
  html[data-theme="light"] .dashboardPulseGrid span,
  html[data-theme="light"] .dashboardPulseGrid small,
  html[data-theme="light"] .dashboardPulseFooter{color:#71828c!important}
  html[data-theme="light"] .dashboardPulseFooter{border-top-color:#e7edef!important}
  html[data-theme="light"] .dashboardMetric{background:#ffffff!important;border:1px solid #e4ebef!important;box-shadow:none!important}
  html[data-theme="light"] .dashboardMetricCopy strong{color:#16252e!important}
  html[data-theme="light"] .dashboardMetricCopy small{color:#71828c!important}
  html[data-theme="light"] .dashboardRecentPanel,
  html[data-theme="light"] .dashboardAlertPanel,
  html[data-theme="light"] .dashboardSidePanel{background:#ffffff!important;border-color:#e7edf1!important;box-shadow:none!important}
  html[data-theme="light"] .dashboardActivityItem{background:#fff!important;border-top-color:#edf2f5!important}
  html[data-theme="light"] .dashboardActivityItem:active{background:#f7f9fa!important}
  html[data-theme="light"] .dashboardActivityTop strong{color:#16252e!important}
  html[data-theme="light"] .dashboardActivityMain p,
  html[data-theme="light"] .dashboardActivityMeta{color:#71828c!important}
  html[data-theme="light"] .dashboardAccountRow{background:#fff!important;border-bottom-color:#edf2f5!important}
  html[data-theme="light"] .dashboardLatestBackup{background:#f5fbf8!important;border:1px solid #deece5!important}
  html[data-theme="light"] .dashboardAlertRow{background:#f8fafb!important;border:1px solid #e8eef2!important}

  /* deleted center: compact mobile filter and useful horizontal stats */
  html[data-theme="light"] .deletedHero{background:#fff!important;border-bottom-color:#e8eef2!important}
  html[data-theme="light"] .deletedStats{
    background:var(--m-bg)!important;
    gap:8px!important;
    padding:10px 12px 12px!important;
  }
  html[data-theme="light"] .deletedStats a{
    background:#fff!important;
    border:1px solid #e4ebef!important;
    box-shadow:none!important;
  }
  html[data-theme="light"] .deletedStats span{color:#7c8c95!important}
  html[data-theme="light"] .deletedStats strong{color:#e66573!important}
  html[data-theme="light"] .panel:has(.deletedFilters){background:#fff!important;border-color:#e8eef2!important}
  html[data-theme="light"] .deletedFilters{grid-template-columns:repeat(2,minmax(0,1fr))!important;gap:8px!important}
  html[data-theme="light"] .deletedFilters>input[name="q"],
  html[data-theme="light"] .deletedFilters>select[name="direction"],
  html[data-theme="light"] .deletedFilters>button{grid-column:1/-1!important}
  html[data-theme="light"] .deletedFilters>button{min-height:44px!important}
  html[data-theme="light"] .deletedList{background:#fff!important}
  html[data-theme="light"] .deletedItem{background:#fff!important;border-bottom:1px solid #edf2f5!important;border-left:0!important}
  html[data-theme="light"] .deletedItem:active{background:#f8fafb!important}
  html[data-theme="light"] .deletedAvatar{background:#fff2f4!important;border-color:#ffd9de!important;color:#d83a4c!important}
  html[data-theme="light"] .deletedItem .messageTop strong{color:#16252e!important}
  html[data-theme="light"] .deletedItem .messageMeta,
  html[data-theme="light"] .deletedItem .messageMain p{color:#71828c!important}
  html[data-theme="light"] .deletedBadgeStack .badge{box-shadow:none!important}

  /* search */
  html[data-theme="light"] .proFilters{grid-template-columns:repeat(2,minmax(0,1fr))!important;gap:8px!important}
  html[data-theme="light"] .proFilters>input[name="q"],
  html[data-theme="light"] .proFilters>.check,
  html[data-theme="light"] .proFilters>button{grid-column:1/-1!important}
  html[data-theme="light"] .proFilters>.check{background:#f7f9fa!important;border:1px solid #dfe7ec!important;color:#53646e!important}
  html[data-theme="light"] .messageList{background:#fff!important}
  html[data-theme="light"] .messageItem,
  html[data-theme="light"] .flush .messageItem{background:#fff!important;border-bottom-color:#edf2f5!important}
  html[data-theme="light"] .messageItem:active{background:#f8fafb!important}
  html[data-theme="light"] .messageItem .avatar{background:#eef3f6!important;color:#53646e!important}

  /* media */
  html[data-theme="light"] .mediaFilters{grid-template-columns:repeat(2,minmax(0,1fr))!important;gap:8px!important}
  html[data-theme="light"] .mediaFilters>input[name="q"],
  html[data-theme="light"] .mediaFilters>button{grid-column:1/-1!important}
  html[data-theme="light"] .mediaGrid{background:var(--m-bg)!important;gap:8px!important;padding:8px!important}
  html[data-theme="light"] .mediaCard{background:#fff!important;border:1px solid #e4ebef!important;border-radius:12px!important;overflow:hidden!important;box-shadow:none!important}
  html[data-theme="light"] .mediaPreview{background:#eef3f6!important}
  html[data-theme="light"] .mediaInfo strong{color:#16252e!important}
  html[data-theme="light"] .mediaInfo span,
  html[data-theme="light"] .mediaInfo small{color:#71828c!important}
  html[data-theme="light"] .mediaInfo .button{background:#f7f9fa!important;border:1px solid #e0e7eb!important;color:#33444e!important}

  /* accounts */
  html[data-theme="light"] .accountCards .accountCard{background:#fff!important;border:1px solid #e5ecef!important;box-shadow:none!important}
  html[data-theme="light"] .accountHead{border-bottom-color:#edf2f5!important}
  html[data-theme="light"] .accountDetail{color:#71828c!important}
  html[data-theme="light"] .freshCaptureState{background:#f6faf8!important;border-color:#e0ebe6!important}
  html[data-theme="light"] .accountHealthStrip{background:#e8eef2!important}
  html[data-theme="light"] .accountHealthStrip>div{background:#f8fafb!important;color:#16252e!important}
  html[data-theme="light"] .sessionRecoveryBox{background:#f8fafb!important;border:1px solid #e5ecef!important}
  html[data-theme="light"] .sessionRecoveryNotice{background:#fff!important}
  html[data-theme="light"] .removedAccountRow{background:#fff!important;border-bottom-color:#edf2f5!important}

  /* diagnostics / integrity */
  html[data-theme="light"] .diagnosticGrid{background:var(--m-bg)!important;gap:8px!important;padding:0 12px 10px!important}
  html[data-theme="light"] .diagCard{background:#fff!important;border:1px solid #e5ecef!important;box-shadow:none!important}
  html[data-theme="light"] .diagAccounts{background:#fff!important}
  html[data-theme="light"] .diagAccount{background:#fff!important;border-bottom-color:#edf2f5!important}
  html[data-theme="light"] .healthAlert,
  html[data-theme="light"] .backupStatusGrid>div,
  html[data-theme="light"] .backupLocation,
  html[data-theme="light"] .notice{background:#f8fafb!important;border:1px solid #e5ecef!important}
  html[data-theme="light"] .backupMini{background:#fff!important;border-bottom-color:#edf2f5!important}
  html[data-theme="light"] .integritybox{background:#fff!important;border-color:#e5ecef!important;box-shadow:none!important}
  html[data-theme="light"] .integritybox h2{color:#16252e!important}
  html[data-theme="light"] .integritybox p{color:#71828c!important}

  /* message history */
  html[data-theme="light"] .historySummary{gap:8px!important;padding:0 10px!important}
  html[data-theme="light"] .historySummary>div{background:#fff!important;border:1px solid #e5ecef!important;box-shadow:none!important}
  html[data-theme="light"] .currentMessage,
  html[data-theme="light"] .detailgrid>div,
  html[data-theme="light"] .eventcard{background:#f8fafb!important;border-color:#e5ecef!important;color:#16252e!important}
  html[data-theme="light"] .attachmentRows a{background:#f8fafb!important;border-color:#e5ecef!important;color:#33444e!important}

  /* chats list + conversation */
  html[data-theme="light"] body:has(.chatWorkspace),
  html[data-theme="light"] .chatWorkspace,
  html[data-theme="light"] .chatRail,
  html[data-theme="light"] .chatRailHeader,
  html[data-theme="light"] .accountSwitcher,
  html[data-theme="light"] .chatSearch,
  html[data-theme="light"] .chatTypeTabs,
  html[data-theme="light"] .chatRailMeta,
  html[data-theme="light"] .chatListPro{background:#fff!important}
  html[data-theme="light"] .accountSwitcher select,
  html[data-theme="light"] .chatSearch .searchField,
  html[data-theme="light"] .chatTypeTabs a{background:#f3f6f8!important;border-color:#e4ebef!important;color:#647680!important}
  html[data-theme="light"] .chatTypeTabs a.active{background:#e8f7f0!important;color:#0c7a5b!important;border-color:#d7ece2!important}
  html[data-theme="light"] .chatRowPro{background:#fff!important}
  html[data-theme="light"] .chatRowPro:after{background:#edf2f5!important}
  html[data-theme="light"] .chatRowPro:active,
  html[data-theme="light"] .chatRowPro.active{background:#f4faf7!important}
  html[data-theme="light"] .chatRowTop strong{color:#16252e!important}
  html[data-theme="light"] .chatPreview>span{color:#71828c!important}
  html[data-theme="light"] .chatAvatar,
  html[data-theme="light"] .chatAvatar.big,
  html[data-theme="light"] .contactAvatar{background:#eef3f6!important;color:#53646e!important}
  html[data-theme="light"] body.chatOpen,
  html[data-theme="light"] body.chatOpen .chatWorkspace{background:#f1ede7!important}
  html[data-theme="light"] .contactBar{background:#fff!important;border-bottom:1px solid #e4ebef!important;box-shadow:none!important}
  html[data-theme="light"] .mobileChatBack,
  html[data-theme="light"] .mobileChatMenuButton{color:#52636d!important}
  html[data-theme="light"] .threadViewport{
    background-color:#f1ede7!important;
    background-image:radial-gradient(circle at 10px 10px,rgba(96,112,122,.06) 1px,transparent 1.1px)!important;
    background-size:22px 22px!important;
  }
  html[data-theme="light"] .dateDivider span,
  html[data-theme="light"] .loadOlderButton{background:rgba(255,255,255,.9)!important;border:1px solid #dfe6ea!important;color:#647680!important;box-shadow:0 1px 2px rgba(15,23,42,.05)!important}
  html[data-theme="light"] .proBubbleRow.theirs .proBubble{background:#fff!important;border:1px solid #e3e9ed!important;color:#16252e!important;box-shadow:0 1px 2px rgba(15,23,42,.06)!important}
  html[data-theme="light"] .proBubbleRow.mine .proBubble{background:#dcf7da!important;border:1px solid #cfe9cd!important;color:#16252e!important;box-shadow:0 1px 2px rgba(15,23,42,.05)!important}
  html[data-theme="light"] .bubbleBody{color:#16252e!important}
  html[data-theme="light"] .bubbleFooter{color:#7b8b94!important}
  html[data-theme="light"] .threadSearchBar{background:#fff!important;border-bottom:1px solid #e4ebef!important}
  html[data-theme="light"] .threadSearchBar .searchField{background:#f3f6f8!important}
  html[data-theme="light"] .threadSearchResults{background:#fff!important;border:1px solid #e4ebef!important;box-shadow:0 12px 28px rgba(15,23,42,.10)!important}

  /* bottom nav and sheets */
  html[data-theme="light"] .mobileBottomNav{
    background:rgba(255,255,255,.98)!important;
    border-top:1px solid #e1e8ed!important;
    box-shadow:0 -7px 24px rgba(15,23,42,.07)!important;
  }
  html[data-theme="light"] .mobileBottomNav a,
  html[data-theme="light"] .mobileBottomNav button{color:#71828c!important}
  html[data-theme="light"] .mobileBottomNav a.active,
  html[data-theme="light"] .mobileBottomNav button.active{color:#16252e!important}
  html[data-theme="light"] .mobileBottomNav a.active .mobileNavGlyph,
  html[data-theme="light"] .mobileBottomNav button.active .mobileNavGlyph{background:#e8f7f0!important;color:#109d76!important}
  html[data-theme="light"] .mobileMoreSheet .mobileSheetCard,
  html[data-theme="light"] .mobileChatActionCard{background:#fff!important;border-color:#e3eaee!important;box-shadow:0 -18px 42px rgba(15,23,42,.14)!important}
  html[data-theme="light"] .mobileSheetLink,
  html[data-theme="light"] .mobileSheetGrid button.mobileSheetLink,
  html[data-theme="light"] .mobileActionRow{background:#fff!important;color:#16252e!important;border-color:#edf2f5!important}
  html[data-theme="light"] .mobileSheetLink:active,
  html[data-theme="light"] .mobileActionRow:active{background:#f6f8fa!important}
  html[data-theme="light"] .mobileSheetLinkIcon,
  html[data-theme="light"] .mobileActionIcon{background:#edf8f3!important;color:#109d76!important}
  html[data-theme="light"] .mobileSheetClose,
  html[data-theme="light"] .mobileChatActionClose{background:#f2f5f7!important;color:#53646e!important}

  /* login */
  html[data-theme="light"] .loginbody{background:linear-gradient(180deg,#f8fafb 0%,#eef3f6 100%)!important}
  html[data-theme="light"] .loginbox{background:transparent!important;box-shadow:none!important}
  html[data-theme="light"] .loginBrand h1{color:#16252e!important}
  html[data-theme="light"] .loginTrust span{background:#fff!important;border-color:#e3eaee!important;color:#71828c!important}
}

@media (max-width:430px){
  html[data-theme="light"] .deletedFilters,
  html[data-theme="light"] .proFilters,
  html[data-theme="light"] .mediaFilters{grid-template-columns:repeat(2,minmax(0,1fr))!important}
  html[data-theme="light"] .deletedFilters>input[name="q"],
  html[data-theme="light"] .deletedFilters>select[name="direction"],
  html[data-theme="light"] .deletedFilters>button,
  html[data-theme="light"] .proFilters>input[name="q"],
  html[data-theme="light"] .proFilters>.check,
  html[data-theme="light"] .proFilters>button,
  html[data-theme="light"] .mediaFilters>input[name="q"],
  html[data-theme="light"] .mediaFilters>button{grid-column:1/-1!important}
  html[data-theme="light"] .mediaGrid{grid-template-columns:repeat(2,minmax(0,1fr))!important}
  html[data-theme="light"] .dashboardMetric{border-color:#e5ecef!important}
}

/* v4.5 Media storage light theme */
html[data-theme="light"] .mediaHeroV45{background:radial-gradient(circle at 88% 12%,rgba(16,157,118,.08),transparent 28%),linear-gradient(180deg,#fff,#fbfcfd)!important;border-color:#dfe7ec!important;box-shadow:0 10px 26px rgba(15,23,42,.045)!important}
html[data-theme="light"] .mediaHeroStorage{background:#f8fbfa!important;border-color:#dcebe4!important;color:#15232d!important}html[data-theme="light"] .mediaHeroStorage span{color:#70828d!important}
html[data-theme="light"] .mediaNotice{background:#eef9f4!important;border-color:#d8ece2!important;color:#0c7a5b!important}
html[data-theme="light"] .mediaStorageStat{background:#fff!important;border-color:#e1e8ed!important;box-shadow:0 6px 18px rgba(15,23,42,.035)!important}
html[data-theme="light"] .mediaStorageIcon{background:#edf9f4!important;border-color:#d8ece2!important;color:#109d76!important}
html[data-theme="light"] .mediaStorageStat small,html[data-theme="light"] .mediaStorageStat em{color:#70828d!important}
html[data-theme="light"] .mediaStorageStat strong{color:#15232d!important}
html[data-theme="light"] .mediaControlPanel,html[data-theme="light"] .mediaFilterPanel{background:#fff!important;border-color:#e1e8ed!important;box-shadow:0 7px 20px rgba(15,23,42,.035)!important}
html[data-theme="light"] .mediaControlHead p:not(.sectionKicker){color:#70828d!important}
html[data-theme="light"] .mediaPolicyBadge{background:#eef9f4!important;border-color:#d8ece2!important;color:#0c7a5b!important}
html[data-theme="light"] .mediaToggleField{background:#f8fafb!important;border-color:#e1e8ed!important}
html[data-theme="light"] .mediaToggleField strong{color:#15232d!important}
html[data-theme="light"] .mediaToggleField small{color:#70828d!important}
html[data-theme="light"] .mediaPolicyForm>label{color:#657782!important}
html[data-theme="light"] .mediaPolicyForm select{background:#fbfcfd!important;border-color:#dbe4e9!important;color:#24343d!important}
html[data-theme="light"] .mediaMaintenanceRow{border-top-color:#edf2f5!important}
html[data-theme="light"] .mediaMaintenanceRow p{color:#7b8b94!important}
html[data-theme="light"] .mediaCardV45{background:#fff!important;border-color:#e2e8ed!important;box-shadow:0 5px 16px rgba(15,23,42,.035)!important}
html[data-theme="light"] .mediaCardV45:hover{border-color:#d4dfe5!important}
html[data-theme="light"] .mediaCardV45 .mediaPreview{background:#eef3f6!important}
html[data-theme="light"] .mediaCardV45 .mediaInfo strong{color:#15232d!important}
html[data-theme="light"] .mediaCardV45 .mediaInfo span,html[data-theme="light"] .mediaCardV45 .mediaInfo small{color:#70828d!important}
html[data-theme="light"] .mediaKindPill,html[data-theme="light"] .mediaSizePill{background:rgba(25,38,46,.76)!important;color:#fff!important}
html[data-theme="light"] .mediaOptimizedPill{background:rgba(12,122,91,.86)!important;color:#fff!important}
@media(max-width:780px){html[data-theme="light"] .mediaHeroV45,html[data-theme="light"] .mediaStorageStat,html[data-theme="light"] .mediaControlPanel,html[data-theme="light"] .mediaFilterPanel,html[data-theme="light"] .mediaCardV45{background:#fff!important}html[data-theme="light"] .mediaCardV45 .mediaPreview{background:#eef3f6!important}}
html[data-theme="light"] .attachmentExpired{background:#f8fafb!important;border-color:#dfe7ec!important;color:#70828d!important}html[data-theme="light"] .attachmentExpired strong{color:#15232d!important}

/* v4.8.1 desktop theme toggle polish */
html[data-theme="light"] .themeToggleButton{background:#ffffff!important;border-color:#d9e2e8!important;color:#1f3139!important;box-shadow:0 4px 14px rgba(15,23,42,.04)!important}
html[data-theme="light"] .themeToggleButton:hover{background:#f8fbfc!important;border-color:#cfdbe2!important;box-shadow:0 8px 22px rgba(15,23,42,.08)!important}
html[data-theme="light"] .themeToggleButton .themeToggleIcon{background:#eef4f7!important;color:#0c7a5b!important}
html[data-theme="light"] .themeToggleButton .themeToggleMeta strong{color:#21333b!important}
html[data-theme="light"] .themeToggleButton .themeToggleMeta small{color:#6e818b!important;opacity:1!important}

/* v4.8.1 new surfaces */
html[data-theme="light"] .navMoreTrigger{color:#60717a!important}html[data-theme="light"] .navMoreTrigger:hover,html[data-theme="light"] .navMoreTrigger.active{background:#f4f8f6!important;border-color:#dce9e2!important;color:#0c7a5b!important}
html[data-theme="light"] .globalMoreLinks>a:hover{background:#f6f9fa!important}html[data-theme="light"] .globalMoreIcon{background:#eaf7f2!important;color:#087458!important}
html[data-theme="light"] .captureStatusChip{background:#fff!important;border-color:#dde5ea!important;color:#667781!important}html[data-theme="light"] .captureStatusChip.live{background:#edf9f4!important;border-color:#d8ece2!important;color:#0c7a5b!important}html[data-theme="light"] .captureStatusChip.issue{background:#fff8ea!important;border-color:#f4e0b7!important;color:#9a6110!important}
html[data-theme="light"] .mediaChatScope{background:#edf9f4!important;border-color:#d8ece2!important;color:#0c7a5b!important}html[data-theme="light"] .mediaChatScope strong{color:#12372b!important}html[data-theme="light"] .mediaChatScope span{color:#5e8174!important}html[data-theme="light"] .mediaChatScope a{color:#087458!important;background:#fff!important;border:1px solid #dce9e3!important}
html[data-theme="light"] .contactInfoTrigger:hover{background:#f5f8fa!important}html[data-theme="light"] .contactInfoCard{background:#fff!important;border-color:#dfe7ec!important;box-shadow:-25px 0 70px rgba(17,27,33,.16)!important}html[data-theme="light"] .contactInfoHead{border-color:#edf1f3!important}html[data-theme="light"] .contactInfoClose{background:#f0f3f5!important;color:#52646d!important}html[data-theme="light"] .contactInfoProfile p{color:#667781!important}html[data-theme="light"] .contactInfoStats>a,html[data-theme="light"] .contactInfoStats>div{background:#f8fafb!important;border-color:#e3e9ed!important}html[data-theme="light"] .contactInfoStats span{color:#71818a!important}html[data-theme="light"] .contactInfoSectionHead a{color:#087458!important}html[data-theme="light"] .contactInfoMediaThumb{background:#eef2f4!important;color:#6b7c85!important}
html[data-theme="light"] .desktopPreferenceRow{background:#f8fafb!important;border-color:#e1e8ed!important;color:#1f3139!important}html[data-theme="light"] .desktopPreferenceRow span{color:#71818a!important}
html[data-theme="light"] .globalSearchField,html[data-theme="light"] .globalSearchForm select{background:#fbfcfd!important;border-color:#dbe4e9!important;color:#24343d!important}html[data-theme="light"] .globalSearchField input{color:#15232d!important}html[data-theme="light"] .searchTabs{border-top-color:#edf2f5!important}html[data-theme="light"] .searchTabs a{color:#667781!important}html[data-theme="light"] .searchTabs a:hover{background:#f3f6f8!important;color:#24343d!important}html[data-theme="light"] .searchTabs a.active{background:#eaf7f1!important;color:#0c7a5b!important}html[data-theme="light"] .searchChatRow{border-bottom-color:#edf2f5!important}html[data-theme="light"] .searchChatRow:hover{background:#fbfcfd!important}html[data-theme="light"] .searchChatRow p{color:#667781!important}html[data-theme="light"] .searchMediaCard{background:#fff!important;border-color:#e1e8ed!important}html[data-theme="light"] .searchMediaCard>div{background:#eef2f4!important}
@media(max-width:780px){html[data-theme="light"] .contactInfoCard{box-shadow:0 -22px 60px rgba(17,27,33,.16)!important}}
html[data-theme="light"] .mediaScopeField{background:#fbfcfd!important;border-color:#dbe4e9!important;color:#667781!important}
html[data-theme="light"] .starredMessageButton{color:#9a6110!important;border-color:#f1ddb0!important;background:#fff8e9!important}


/* v4.8.1 mobile in-chat search light theme */
@media (max-width:780px){
  html[data-theme="light"] .threadSearchBar{background:#f7f9fa!important;border-bottom-color:#e1e7ea!important}
  html[data-theme="light"] .threadSearchBar .searchField{background:#ffffff!important;border-color:#dde5e9!important}
  html[data-theme="light"] .threadSearchBar .searchField:focus-within{border-color:#8fd0b8!important;box-shadow:0 0 0 2px rgba(0,168,132,.09)!important}
  html[data-theme="light"] .threadSearchBar .searchIcon{color:#718189!important}
  html[data-theme="light"] .threadSearchBar input{color:#111b21!important}
  html[data-theme="light"] .threadSearchBar input::placeholder{color:#7a8991!important}
  html[data-theme="light"] .threadSearchBar #threadSearchClose{color:#53636c!important}
  html[data-theme="light"] .threadSearchBar #threadSearchClose:active{background:#edf1f3!important}
  html[data-theme="light"] .threadSearchResults{background:#ffffff!important;border-color:#dde5e9!important;box-shadow:0 14px 34px rgba(17,27,33,.12)!important}
}


/* v4.8.1 Status light theme */
html[data-theme="light"] .statusHeroStats>span{background:#f4fbf8!important;border-color:#d8ece2!important}html[data-theme="light"] .statusHeroStats strong{color:#0c7a5b!important}html[data-theme="light"] .statusHeroStats .deleted{background:#fff5f6!important;border-color:#ffd9de!important}html[data-theme="light"] .statusHeroStats .deleted strong{color:#cf3d4b!important}html[data-theme="light"] .statusCard{background:#fff!important;border-color:#e2e8ed!important;box-shadow:0 8px 22px rgba(15,23,42,.04)!important}html[data-theme="light"] .statusCard.isDeleted{border-color:#f3d6da!important}html[data-theme="light"] .statusCardHead{border-bottom-color:#edf2f5!important}html[data-theme="light"] .statusPerson strong{color:#15232d!important}html[data-theme="light"] .statusPerson small{color:#70828d!important}html[data-theme="light"] .statusAvatar{background:#eef3f5!important;color:#53646d!important}html[data-theme="light"] .statusState.active{background:#eef9f4!important;color:#0c7a5b!important;border-color:#d8ece2!important}html[data-theme="light"] .statusState.deleted{background:#fff3f5!important;color:#c43847!important;border-color:#ffd9de!important}html[data-theme="light"] .statusContent{background:#f0f3f5!important}html[data-theme="light"] .statusText{color:#17312a!important;background:linear-gradient(145deg,#e8f7ef,#eef5f8)!important}html[data-theme="light"] .statusCaption{color:#566872!important;border-top-color:#edf2f5!important;background:#fff!important}html[data-theme="light"] .statusCardFoot{color:#71828c!important}html[data-theme="light"] .statusCardFoot strong{color:#33444d!important}html[data-theme="light"] .statusCardFoot .deletedTime{color:#bb5360!important}html[data-theme="light"] .statusCardFoot .deletedTime strong{color:#c43847!important}

/* v4.8.1 Status WhatsApp light */
html[data-theme="light"] .statusSearchBar,html[data-theme="light"] .statusWhatsAppList{background:#fff!important;border-color:#e1e8ed!important;box-shadow:0 8px 22px rgba(15,23,42,.04)!important}html[data-theme="light"] .statusSearchBar input,html[data-theme="light"] .statusSearchBar select{background:#f5f7f8!important;color:#22333c!important}html[data-theme="light"] .statusTabs a{background:#fff!important;border-color:#e1e8ed!important;color:#6f8089!important}html[data-theme="light"] .statusTabs a.active{background:#eaf8f2!important;border-color:#d4ebdf!important;color:#0b7c5d!important}html[data-theme="light"] .statusContactRow{border-top-color:#edf2f5!important;color:#15232d!important}html[data-theme="light"] .statusContactRow:hover{background:#fafcfd!important}html[data-theme="light"] .statusRing .statusAvatar{border-color:#fff!important}html[data-theme="light"] .statusRowBody small{color:#71828b!important}html[data-theme="light"] .statusPrivacyPill{background:#eff9f4!important;border-color:#d6ece1!important;color:#0c7a5b!important}

/* v4.8.1 grouped Status viewer */
html[data-theme="light"] .statusViewerMetaLine em{background:rgba(217,45,58,.14)!important;color:#ffb0b7!important}

/* v4.8.1 reliability experience light overrides */
html[data-theme="light"] .statusControlStrip,html[data-theme="light"] .quickInspectorSummary,html[data-theme="light"] .quickInspectorEvent{background:#f8fafb!important;border-color:#e1e8ed!important;color:#15232d!important}
html[data-theme="light"] .statusRetentionForm select{background:#fff!important;border-color:#d9e3e8!important;color:#283942!important}
html[data-theme="light"] .voiceNotePlayer{background:rgba(17,27,33,.045)!important}
html[data-theme="light"] .voiceWave i{background:#86969e!important}
html[data-theme="light"] .bubbleReactions span,html[data-theme="light"] .messageReactionSummary span,html[data-theme="light"] .quickInspectorReactions span{background:#f2f6f8!important;border-color:#dde6eb!important;color:#33454e!important}
html[data-theme="light"] .messageQuickInspectorCard,html[data-theme="light"] .messageQuickInspectorCard>header{background:#fff!important;border-color:#dfe7ec!important;color:#15232d!important}
html[data-theme="light"] .messageQuickInspectorClose{background:#f2f5f7!important;border-color:#dde6eb!important;color:#43555e!important}
html[data-theme="light"] .systemAuditRow{border-top-color:#edf2f5!important}.systemAuditRow p{color:#70828d!important}html[data-theme="light"] .auditCategory{background:#eaf8f2!important;color:#0c7a5b!important}

/* v4.9.0 status archive light theme */
html[data-theme="light"] .statusPrimaryTabs a,html[data-theme="light"] .statusArchiveTabs,html[data-theme="light"] .statusArchiveCalendar a,html[data-theme="light"] .statusArchiveDayList,html[data-theme="light"] .statusPersonCard,html[data-theme="light"] .statusProfileDay{background:#fff!important;border-color:#e1e8ed!important;color:#17262f!important}
html[data-theme="light"] .statusPrimaryTabs a.active,html[data-theme="light"] .statusArchiveCalendar a.active{background:#f1fbf5!important;border-color:#bee9cf!important}
html[data-theme="light"] .statusPrimaryIcon,html[data-theme="light"] .statusArchiveTabs a.active{background:#f2f6f8!important}
html[data-theme="light"] .statusArchiveEmpty{background:#fafcfd!important;border-color:#dbe5e9!important;color:#71838c!important}
html[data-theme="light"] .statusArchiveThumb{border-color:#fff!important;background:#edf2f4!important;color:#52666f!important}
html[data-theme="light"] .statusPersonCard:hover,html[data-theme="light"] .statusProfileDay:hover{background:#f7fafb!important;border-color:#cfdde3!important}
html[data-theme="light"] .statusProfileHero{background:linear-gradient(145deg,#fff,#f5f8fa)!important;border-color:#dce6ea!important;color:#18262f!important}
html[data-theme="light"] .statusProfileMetrics span{background:#fff!important;border-color:#dce6ea!important}
html[data-theme="light"] .statusProfileRange strong,html[data-theme="light"] .statusPersonMetrics b,html[data-theme="light"] .statusProfileDayStats b{color:#334851!important}
html[data-theme="light"] .statusArchiveFootnote{background:#f8fafb!important;border-color:#dde7eb!important}html[data-theme="light"] .statusArchiveFootnote strong{color:#31464f!important}

/* v5.0.1 light-theme coverage */
html[data-theme="light"] .voiceSpeed,html[data-theme="light"] .voiceDownload,html[data-theme="light"] .inlineMediaActions a{background:#fff!important;border-color:#d7e1e6!important;color:#52656f!important}
html[data-theme="light"] .repairToolGrid button{background:#f8fbfc!important;border-color:#dbe5e9!important;color:#23343d!important}
html[data-theme="light"] .backupMiniActions .dangerbtn{background:#fff1f2!important;border-color:#f0c9cd!important;color:#a62d38!important}
html[data-theme="light"] .statusPrimaryTabs,html[data-theme="light"] .statusArchiveTabs{background:#eef3f6!important}

/* v5.2.1 chat insights */
html[data-theme="light"] .contactInfoTools>a,html[data-theme="light"] .sharedLinkRow,html[data-theme="light"] .voiceHistoryRow,html[data-theme="light"] .storageContactRow,html[data-theme="light"] .systemAlertRow,html[data-theme="light"] .calendarDay,html[data-theme="light"] .alertStatsGrid>div{background:#fff;color:#17303a;border-color:#dce6eb}
html[data-theme="light"] .contactInfoToolIcon,html[data-theme="light"] .sharedLinkIcon,html[data-theme="light"] .storageContactAvatar{background:#edf5f2;color:#118b5d}
html[data-theme="light"] .calendarDay.active{background:#edf8f2;border-color:#b9ddca}html[data-theme="light"] .calendarDay strong{color:#17303a}html[data-theme="light"] .chatDateMode{background:#f5faf8;border-color:#dce7e2;color:#536a73}html[data-theme="light"] .systemAlertRow p,html[data-theme="light"] .sharedLinkMain strong{color:#2a3c44}

/* v5.2.1 chat flow */
html[data-theme="light"] .callEventBubble{background:#fff!important;border-color:#d9e2e7!important}html[data-theme="light"] .proBubbleRow.mine .callEventBubble{background:#d9fdd3!important;border-color:#b7ddb0!important}html[data-theme="light"] .callEventIcon{background:#dff6e7;color:#17814b}html[data-theme="light"] .callEventText strong{color:#172126}html[data-theme="light"] .callEventText small{color:#667983}html[data-theme="light"] .newMessageJump{background:#fff;color:#23343d;border-color:#d8e2e7;box-shadow:0 5px 18px rgba(31,48,58,.15)}

/* v5.2.2 Chat info scoped Deleted + Starred popup */
html[data-theme="light"] .contactStarredPopup{background:#fff!important}html[data-theme="light"] .contactStarredHead{border-bottom-color:#e2e8ed!important}html[data-theme="light"] .contactStarredClose{background:#eef3f5!important;color:#52636c!important}html[data-theme="light"] .contactStarredMessage{background:#fff!important;border-color:#dde6ea!important;color:#15232d!important}html[data-theme="light"] .contactStarredMessage:hover{background:#f6fafb!important}html[data-theme="light"] .contactStarredIcon{background:#fff8df!important;color:#9b7414!important}html[data-theme="light"] .deletedChatScope{color:#6c7d85!important}html[data-theme="light"] .deletedChatScope strong{color:#253740!important}

/* v5.2.3 Starred popup back navigation */
html[data-theme="light"] .contactStarredHead{background:#fff!important}html[data-theme="light"] .contactStarredBack{background:#eef3f5!important;border-color:#dce5e9!important;color:#52636c!important}html[data-theme="light"] .contactStarredBack:hover,html[data-theme="light"] .contactStarredBack:focus-visible{background:#e4ecef!important;border-color:#c9d7dd!important}


/* v5.2.4 Starred desktop back visibility */
html[data-theme="light"] .contactStarredBack{visibility:visible!important;opacity:1!important;display:inline-flex!important}

/* v5.2.5 Starred popup structural fix */
html[data-theme="light"] .contactInfoDrawer > .contactStarredPopup{background:#fff!important;border-color:#e1e8eb!important}

/* v5.2.6 compact Starred popup on desktop */
@media(min-width:781px){
  html[data-theme="light"] .contactInfoDrawer > .contactStarredPopup{background:#fff!important;border-color:#dce5e9!important;box-shadow:0 18px 60px rgba(37,55,64,.2)!important}
  html[data-theme="light"] .contactInfoDrawer > .contactStarredPopup .contactStarredHead{background:#fff!important;border-bottom-color:#e3eaed!important}
  html[data-theme="light"] .contactInfoDrawer > .contactStarredPopup .contactStarredEmpty{background:#f7fafb!important;border-color:#dce6ea!important}
}

/* v5.2.7 chat-info insight popups */
html[data-theme="light"] .contactInsightPopup{background:#fff!important;border-color:#dce5e9!important;box-shadow:0 18px 60px rgba(37,55,64,.2)!important}html[data-theme="light"] .contactInsightHead{background:#fff!important;border-bottom-color:#e3eaed!important}html[data-theme="light"] .contactInsightBack,html[data-theme="light"] .contactInsightClose,html[data-theme="light"] .contactPopupJump{background:#eef3f5!important;border-color:#d8e3e7!important;color:#52636c!important}html[data-theme="light"] .contactLinkPopupRow,html[data-theme="light"] .contactVoicePopupRow{background:#fff!important;border-color:#dde6ea!important}html[data-theme="light"] .contactLinkPopupMain strong,html[data-theme="light"] .contactVoicePopupMeta strong{color:#15232d!important}html[data-theme="light"] .contactInsightEmpty{background:#f7fafb!important;border-color:#dce6ea!important}html[data-theme="light"] .contactVoiceUnavailable{background:#f4f8f9!important}

/* v5.2.8 Calendar + Storage popup light theme */
html[data-theme="light"] .contactCalendarNavBtn,html[data-theme="light"] .contactStorageFooter a{background:#eef3f5!important;border-color:#d8e3e7!important;color:#52636c!important}
html[data-theme="light"] .contactCalendarMonth strong,html[data-theme="light"] .contactStorageSectionTitle strong{color:#20343d!important}
html[data-theme="light"] .contactCalendarDay{background:#fff!important;border-color:#dde6ea!important;color:#6b7f88!important}
html[data-theme="light"] .contactCalendarDay.active{background:#f1fbf6!important;border-color:#b8e5c9!important;color:#173a2a!important}
html[data-theme="light"] .contactCalendarHint{background:#f4f8f9!important;color:#6c8088!important}
html[data-theme="light"] .contactStorageHero{background:linear-gradient(135deg,#f2fbf6,#f5f9fa)!important;border-color:#cfe7d8!important}
html[data-theme="light"] .contactStorageHero>div>strong{color:#17352a!important}
html[data-theme="light"] .contactStorageTypeRow,html[data-theme="light"] .contactStorageFile{background:#fff!important;border-color:#dde6ea!important;color:#20343d!important}
html[data-theme="light"] .contactStorageTypeCopy strong,html[data-theme="light"] .contactStorageFileCopy strong,html[data-theme="light"] .contactStorageTypeRow>b{color:#20343d!important}
html[data-theme="light"] .contactStorageBar{background:#e8eff2!important}

/* v5.2.10 compact message receipt popover — light theme */
html[data-theme="light"] .messageQuickInspectorBackdrop{background:rgba(20,35,45,.06)!important}
html[data-theme="light"] .messageQuickInspectorCard,html[data-theme="light"] .messageQuickInspectorCard>header{background:#fff!important;border-color:#dce5ea!important;color:#14232c!important}
html[data-theme="light"] .quickReceiptPreview,html[data-theme="light"] .quickReceiptRow{background:#f7fafb!important;border-color:#dfe7eb!important;color:#1b2a32!important}
html[data-theme="light"] .quickReceiptPreview small,html[data-theme="light"] .quickReceiptText small{color:#687b84!important}
html[data-theme="light"] .quickReceiptIcon{background:#edf3f5!important;color:#71858e!important}
html[data-theme="light"] .quickReceiptRow.done .quickReceiptIcon{background:#e7f8ee!important;color:#159251!important}
html[data-theme="light"] .quickReceiptRow.seen .quickReceiptIcon{background:#e8f6fc!important;color:#1683b1!important}
html[data-theme="light"] .quickReceiptDetails{background:#f3f7f8!important;border-color:#dce6ea!important;color:#3b505a!important}

/* v5.2.37 uploaded logo asset light theme */
html[data-theme="light"] .brandIcon,html[data-theme="light"] .mobileSheetBrandIcon,html[data-theme="light"] .logoMark,html[data-theme="light"] .offlineLogo{background:transparent!important;border:none!important;box-shadow:none!important}


/* v5.3.2 contact resolver light */html[data-theme="light"] .contactResolverBox.needsRepair{background:#fffaf0!important;border-color:#ead9aa!important}html[data-theme="light"] .contactResolverCopy b{color:#9b6b10!important}

/* v5.3.4 contact resolver import light theme */
html[data-theme="light"] .contactCountryCode{background:#fff!important;border-color:#dce6e2!important;color:#71828a!important}
html[data-theme="light"] .contactCountryCode input{background:#f2f6f4!important;color:#173128!important}

/* v5.3.5 automatic contact-number bootstrap light theme */


/* v5.3.8 status polish light */
html[data-theme="light"] .statusPrimaryTabs a,html[data-theme="light"] .statusControlStrip,html[data-theme="light"] .statusSearchBar,html[data-theme="light"] .statusWhatsAppList{background:#fff!important;border-color:#dfe7ec!important;box-shadow:0 8px 22px rgba(15,23,42,.045)!important}
html[data-theme="light"] .statusPrimaryTabs a.active{background:#eefaf5!important;border-color:#bfe8d4!important}
html[data-theme="light"] .statusContactRow{border-top-color:#edf1f3!important}html[data-theme="light"] .statusContactRow:hover{background:#f7faf9!important}
html[data-theme="light"] .statusRowChevron{background:#eef4f1!important;color:#60776d!important}


/* v5.4.0 compact status viewer metadata */
html[data-theme="light"] .statusViewerCounter{background:rgba(255,255,255,.07)!important;color:#b5c2c7!important;border-color:rgba(255,255,255,.07)!important}
html[data-theme="light"] .statusViewerMetaLine em{background:rgba(217,45,58,.12)!important;border-color:rgba(255,120,130,.14)!important;color:#ffadb6!important}


/* v5.4.1 status relative-time metadata */
html[data-theme="light"] #statusViewerTime{color:#aab8bd!important}
html[data-theme="light"] #statusViewerTime.deletedAge{color:#b7c1c5!important}


/* v5.4.11 verified status deletion */
html[data-theme="light"] .statusViewerMetaLine #statusViewerDeleted:not([hidden]){
  display:inline-flex!important;background:rgba(217,45,58,.13)!important;border-color:rgba(217,45,58,.18)!important;color:#ffadb6!important;
}

/* v5.5.5 Status page UX polish light theme */
html[data-theme="light"] .statusPrimaryTabs{background:#eef3f5!important;border-color:#dfe7eb!important}
html[data-theme="light"] .statusPrimaryTabs a{background:transparent!important;border:0!important;color:#637781!important;box-shadow:none!important}
html[data-theme="light"] .statusPrimaryTabs a:hover{background:rgba(255,255,255,.55)!important}
html[data-theme="light"] .statusPrimaryTabs a.active{background:#fff!important;color:#17262f!important;box-shadow:inset 0 0 0 1px #d4e9de,0 2px 7px rgba(15,23,42,.035)!important}
html[data-theme="light"] .statusPrimaryIcon{background:#e7edef!important;color:#6f838c!important}
html[data-theme="light"] .statusPrimaryTabs a.active .statusPrimaryIcon{background:#e8f8f0!important;color:#13845f!important}
html[data-theme="light"] .statusPrimaryCopy small{color:#81919a!important}
html[data-theme="light"] .statusPrimaryCount{background:#edf2f4!important;color:#71828a!important}
html[data-theme="light"] .statusPrimaryCount b{color:#485c65!important}
html[data-theme="light"] .statusPrimaryTabs a.active .statusPrimaryCount{background:#eaf8f1!important;color:#168560!important}
html[data-theme="light"] .statusPrimaryTabs a.active .statusPrimaryCount b{color:#0d7856!important}
html[data-theme="light"] .statusControlStrip,html[data-theme="light"] .statusSearchBar{background:#fff!important;border-color:#dfe7eb!important;box-shadow:0 3px 12px rgba(15,23,42,.025)!important}
html[data-theme="light"] .statusHealthCopy small,html[data-theme="light"] .statusRetentionLabel{color:#758891!important}
html[data-theme="light"] .statusSearchBar input,html[data-theme="light"] .statusSearchBar select{background:#f4f7f8!important;color:#20313a!important}
html[data-theme="light"] .statusWhatsAppList{background:#fff!important;border-color:#dfe7eb!important}
html[data-theme="light"] .statusRowNew{color:#0b845d!important}
html[data-theme="light"] .statusRowChevron{color:#71848c!important}
html[data-theme="light"] .statusContactRow:hover .statusRowChevron{background:#eef4f1!important}
html[data-theme="light"] .statusMobileSearchToggle{background:#fff!important;border-color:#d9e3e7!important;color:#6e818a!important}
html[data-theme="light"] .statusMobileSearchToggle.active{background:#eaf8f1!important;border-color:#cce8da!important;color:#0b805b!important}
@media(max-width:780px){
  html[data-theme="light"] .statusFilterBar{background:linear-gradient(180deg,rgba(246,249,250,.98) 72%,rgba(246,249,250,.92))!important}
}


/* v5.5.6 Status counts + cleaner retention controls light theme */
html[data-theme="light"] .statusRetentionToolbar{background:transparent!important;border:0!important;box-shadow:none!important}

/* v5.5.7 Status top strip compact layout light theme */
html[data-theme="light"] .statusMiniSwitch,html[data-theme="light"] .statusMiniKeep .statusRetentionForm label{background:#fff!important;border-color:#dfe7eb!important;box-shadow:0 8px 22px rgba(15,23,42,.045)!important}
html[data-theme="light"] .statusMiniSwitch{color:#657883!important}
html[data-theme="light"] .statusMiniSwitch:hover{background:#f8fbfc!important;color:#1b2c35!important}
html[data-theme="light"] .statusMiniSwitch.active{background:#eefaf5!important;border-color:#bfe8d4!important;color:#17262f!important}
html[data-theme="light"] .statusMiniCount{background:#edf2f4!important;color:#71828a!important}
html[data-theme="light"] .statusMiniCount b{color:#485c65!important}
html[data-theme="light"] .statusMiniSwitch.active .statusMiniCount{background:#eaf8f1!important;color:#168560!important}
html[data-theme="light"] .statusMiniSwitch.active .statusMiniCount b{color:#0d7856!important}
html[data-theme="light"] .statusMiniKeep .statusRetentionLabel{color:#758891!important}
html[data-theme="light"] .statusMiniKeep .statusRetentionForm select{background:#f4f7f8!important;border-color:#dfe7eb!important;color:#20313a!important}

/* v5.5.8 Remove redundant Updates strip light theme */
html[data-theme="light"] .statusTopStripNoUpdates{background:transparent!important}

/* v5.5.9 Status utility panel cleanup light theme */
html[data-theme="light"] .statusUtilityPanel{background:#f6fafb!important;border-color:#dfe7eb!important;box-shadow:0 10px 24px rgba(15,23,42,.035)!important}
html[data-theme="light"] .statusUtilityPanel .statusSearchBar,html[data-theme="light"] .statusTopStripNoUpdates .statusMiniKeep .statusRetentionForm label,html[data-theme="light"] .statusTopStripNoUpdates .statusMiniSwitch{background:#fff!important;border-color:#dfe7eb!important;box-shadow:none!important}
html[data-theme="light"] .statusTopStripNoUpdates .statusMiniKeep .statusRetentionLabel{color:#758891!important}
html[data-theme="light"] .statusTopStripNoUpdates .statusMiniKeep .statusRetentionForm select{background:#f4f7f8!important;border-color:#dfe7eb!important;color:#20313a!important}


/* v5.5.10 Compact status search bar light theme */
html[data-theme="light"] .statusUtilityPanel .statusSearchBar{box-shadow:none!important}


/* v5.5.11 Icon-only status search button light theme */
html[data-theme="light"] .statusSearchSubmit{box-shadow:none!important}

/* v5.5.12 Clean compact status controls light theme */
html[data-theme="light"] .statusUtilityPanel.statusUtilityCompact{background:transparent!important;border:0!important;box-shadow:none!important}
html[data-theme="light"] .statusUtilityToolbar .statusMiniKeep .statusRetentionForm label,html[data-theme="light"] .statusArchiveShortcut,html[data-theme="light"] .statusSearchToggle,html[data-theme="light"] .statusSearchDrawer .statusSearchBar{background:#fff!important;border-color:#dfe7eb!important;box-shadow:none!important}
html[data-theme="light"] .statusUtilityToolbar .statusMiniKeep .statusRetentionLabel{color:#758891!important}
html[data-theme="light"] .statusUtilityToolbar .statusMiniKeep .statusRetentionForm select,html[data-theme="light"] .statusSearchDrawer .statusSearchBar input,html[data-theme="light"] .statusSearchDrawer .statusSearchBar select{background:#f4f7f8!important;border-color:#dfe7eb!important;color:#20313a!important}
html[data-theme="light"] .statusSearchToggle{color:#6f828a!important}
html[data-theme="light"] .statusSearchToggle:hover,html[data-theme="light"] .statusSearchToggle.active{background:#eaf8f1!important;border-color:#cce8da!important;color:#0b805b!important}

/* v5.5.13 Status controls responsive polish light theme */
html[data-theme="light"] .statusUtilityToolbar,html[data-theme="light"] .statusSearchDrawer .statusSearchBar{background:#fff!important;border-color:#dfe7eb!important;box-shadow:0 7px 18px rgba(15,23,42,.035)!important}
html[data-theme="light"] .statusControlIcon{background:#eef4f5!important;color:#607b84!important}
html[data-theme="light"] .statusUtilityToolbar .statusMiniKeep .statusRetentionForm label,html[data-theme="light"] .statusArchiveShortcut,html[data-theme="light"] .statusSearchToggle{background:transparent!important}
html[data-theme="light"] .statusArchiveShortcut{border-left-color:#e2e9ed!important}
html[data-theme="light"] .statusSearchToggle{border-left-color:#e2e9ed!important;color:#71858e!important}
html[data-theme="light"] .statusArchiveShortcut:hover,html[data-theme="light"] .statusSearchToggle:hover{background:#f5f9f8!important}
html[data-theme="light"] .statusArchiveShortcut.active,html[data-theme="light"] .statusSearchToggle.active{background:#eefaf5!important;color:#117b59!important}
html[data-theme="light"] .statusArchiveShortcut.active .statusControlIcon{background:#e3f6ec!important;color:#117b59!important}
html[data-theme="light"] .statusUtilityToolbar .statusMiniKeep .statusRetentionForm select,html[data-theme="light"] .statusSearchDrawer .statusSearchBar input,html[data-theme="light"] .statusSearchDrawer .statusSearchBar select{background:#f4f7f8!important;border-color:#dfe7eb!important;color:#20313a!important}


/* v5.5.14 Status toolbar cleanup light theme */
html[data-theme="light"] .statusUtilityToolbar,html[data-theme="light"] .statusSearchDrawer .statusSearchBar{background:#fff!important;border-color:#dfe7eb!important;box-shadow:0 8px 22px rgba(15,23,42,.04)!important}
html[data-theme="light"] .statusUtilityToolbar .statusMiniKeep .statusRetentionForm label,html[data-theme="light"] .statusArchiveShortcut,html[data-theme="light"] .statusSearchToggle{background:#fdfefe!important;border-color:#dfe7eb!important}
html[data-theme="light"] .statusArchiveShortcut:hover,html[data-theme="light"] .statusSearchToggle:hover{background:#f5f9f8!important}
html[data-theme="light"] .statusArchiveShortcut.active,html[data-theme="light"] .statusSearchToggle.active{background:#eefaf5!important;color:#117b59!important}
html[data-theme="light"] .statusArchiveShortcut .statusMiniCount{background:#eef2f5!important;color:#6f848d!important}
html[data-theme="light"] .statusArchiveShortcut .statusMiniCount b{color:#4d5f67!important}
html[data-theme="light"] .statusArchiveShortcut .statusMiniCount.is-empty{background:#f2f5f7!important;color:#90a0a7!important}
html[data-theme="light"] .statusArchiveShortcut .statusMiniCount.is-empty b{color:#70828b!important}
html[data-theme="light"] .statusSearchDrawer .statusSearchBar input,html[data-theme="light"] .statusSearchDrawer .statusSearchBar select{background:#f4f7f8!important;border-color:#dfe7eb!important;color:#20313a!important}

/* v5.5.20 Status contact diagnosis light theme */

/* v5.5.25 Contacts card light theme */
body.light .contactCard{border-color:#dbe4e8;background:#fff}
body.light .contactCardHead h3{color:#16242b}
body.light .contactState{color:#5b6b73}
body.light .contactState.is-ok{color:#1c7a45}
body.light .contactState.is-wait{color:#8a5a12}
body.light .contactState.is-bad{color:#a3352b}
body.light .contactFigures>div{border-color:#e2e9ec;background:#f6f9fa}
body.light .contactFigures dt{color:#5b6b73}
body.light .contactFigures dd{color:#16242b}
body.light .contactFigures>div.is-warn dd{color:#8a5a12}
body.light .contactNote{border-color:#e2e9ec;background:#f6f9fa}
body.light .contactNoteHead{color:#243b45}
body.light .contactNote p:not(.contactNoteHead){color:#4d5f68}
body.light .contactBtn{border-color:#d6e0e4;background:#fff;color:#16242b}
body.light .contactBtn:hover:not(:disabled){background:#f1f6f7}
body.light .contactBtn.is-primary{background:rgba(28,122,69,.1);border-color:rgba(28,122,69,.3);color:#1c7a45}
body.light .contactBtn.is-quiet{color:#8a5a12;border-color:#e6dcc4}

/* v5.5.26 Group author tints, light theme */
body.light .bubbleAuthor.tone0{color:#1a7fa8}
body.light .bubbleAuthor.tone1{color:#b02679}
body.light .bubbleAuthor.tone2{color:#18894a}
body.light .bubbleAuthor.tone3{color:#a5661a}
body.light .bubbleAuthor.tone4{color:#6f42c1}
body.light .bubbleAuthor.tone5{color:#b2483a}
body.light .bubbleAuthor.tone6{color:#1a7f70}
body.light .bubbleAuthor.tone7{color:#8a7415}

/* v5.5.28 Chats reading pass, light theme */
body.light .chatWorkspace .chatTypeTabs{background:#f1f5f6;border-color:#dde5e8}
body.light .chatWorkspace .chatTypeTabs a{color:#5b6b73}
body.light .chatWorkspace .chatTypeTabs a.active{background:#fff;color:#16242b}
body.light .chatWorkspace .chatSearch .searchField{background:#f1f5f6;border-color:#dde5e8}
body.light .chatWorkspace .chatSearch input[name="q"]{color:#16242b}
body.light .chatWorkspace .chatSearch .searchIcon svg{stroke:#7d8f97}
body.light .chatWorkspace .iconSearchBtn{color:#7d8f97}
body.light .chatWorkspace .iconSearchBtn:hover{background:#e6edef;color:#16242b}
body.light .chatWorkspace .chatRailMeta{color:#7d8f97}
body.light .chatWorkspace .chatRailMeta strong{color:#4d5f68}
body.light .chatWorkspace .chatRowPro:hover{background:#f4f8f9}
body.light .chatWorkspace .chatRowPro.active{background:#eaf4ee}
body.light .chatWorkspace .chatRowTop strong{color:#16242b}
body.light .chatWorkspace .chatRowTop time,body.light .chatWorkspace .chatNumber{color:#7d8f97}
body.light .chatWorkspace .chatPreviewText{color:#5b6b73}
body.light .chatWorkspace .miniBadge{color:#5b6b73;background:#f1f5f6;border-color:#dde5e8}
body.light .chatWorkspace .dateDivider span,body.light .chatWorkspace .loadOlderButton{background:#eef3f4;border-color:#dde5e8;color:#5b6b73}
body.light .chatWorkspace .proBubbleRow.theirs .proBubble{background:#fff;color:#16242b}
body.light .chatWorkspace .proBubbleRow.mine .proBubble{background:#d7f5e3;color:#0f3325}
body.light .chatWorkspace .bubbleFooter{color:#7d8f97}
body.light .chatWorkspace .proBubbleRow.mine .bubbleFooter{color:#3f7d5f}
body.light .chatWorkspace .quotedReply{background:rgba(0,0,0,.04)}
body.light .chatWorkspace .quotedReply span{color:#5b6b73}
body.light .chatWorkspace .archiveStatusBar{background:#f4f8f9;border-color:#dde5e8;color:#7d8f97}
/* v5.5.92 On a phone the login card loses its panel and sits on the page
   background, so the field borders have to carry the shape on their own. */
html[data-theme="light"] .loginbox .stack input{background:#fff!important;border-color:#dbe3e8!important}
html[data-theme="light"] .loginbox .stack input:focus{border-color:#25d366!important;box-shadow:0 0 0 3px rgba(37,211,102,.14)!important}
html[data-theme="light"] .loginbox .stack label{color:#54656f!important}

/* v5.5.93 Light login. */
html[data-theme="light"] .loginbody{
  background:
    radial-gradient(760px 420px at 50% -8%, rgba(37,211,102,.12), transparent 62%),
    linear-gradient(180deg,#f7fafb 0%,#eaf0f3 100%)!important;
}
html[data-theme="light"] .loginbox{
  background:#fff!important;border-color:#e3eaee!important;
  box-shadow:0 28px 70px rgba(17,27,33,.12)!important;backdrop-filter:none!important;
}
html[data-theme="light"] .loginbox::before{background:linear-gradient(90deg,transparent,rgba(37,211,102,.45),transparent)}
html[data-theme="light"] .loginFieldBox{background:#f7f9fa!important;border-color:#dde5e9!important}
html[data-theme="light"] .loginFieldBox:focus-within{background:#fff!important;border-color:#25d366!important}
html[data-theme="light"] .loginFieldLabel{color:#62757f!important}
html[data-theme="light"] .loginFieldIcon{stroke:#7b8d97}
html[data-theme="light"] .loginbox .stack .loginFieldBox input{color:#111b21!important}
html[data-theme="light"] .loginInstallButton{border-color:#dde5e9!important;color:#54656f!important}
/* v5.5.93 The 5.5.92 rule painted every .stack input white with its own border.
   Inside a field box that border is a second rectangle drawn around the text,
   next to the icon — the box-in-a-box visible on the light theme. The box now
   carries the frame and the input sits inside it with none of its own. */
html[data-theme="light"] .loginbox .stack .loginFieldBox input{
  background:transparent!important;border:0!important;box-shadow:none!important;
}
html[data-theme="light"] .loginInstallButton{background:#fff!important}
html[data-theme="light"] .loginInstallButton:hover{background:#f4f7f9!important}
/* v5.7.1 Admin panel on the light theme. */
html[data-theme="light"] .adminBody{background:#f4f7f9!important}
html[data-theme="light"] .adminTop{background:linear-gradient(180deg,rgba(37,211,102,.08),transparent)!important;border-bottom-color:#e3eaee!important}
html[data-theme="light"] .adminTabs{background:#f4f7f9!important;border-bottom-color:#e3eaee!important}
html[data-theme="light"] .adminTabs a.active{color:#111b21!important}
html[data-theme="light"] .adminPanel,html[data-theme="light"] .adminStat,html[data-theme="light"] .adminAccount,
html[data-theme="light"] .adminClientBox,html[data-theme="light"] .adminAttention li{background:#fff!important;border-color:#e3eaee!important}
