/* Shared Monitra palette for the public site, access, workspace and legal pages.
   Brand accents never replace the semantic success, warning or error colours. */
@font-face{font-family:"Cairo";font-style:normal;font-weight:200 1000;font-display:swap;src:url('/fonts/Cairo-variable.woff2?v=037') format('woff2')}
:root,body,body *{font-family:"Cairo",Tahoma,Arial,sans-serif!important;font-synthesis:style}
.app .sidebar .workspace-admin-link{order:3;flex:none;display:inline-flex;align-items:center;min-height:34px;padding:7px 11px;border:1px solid #8d5cff45;border-radius:8px;background:#8d5cff0d;font-size:11px;font-weight:600;line-height:1.5}.app .sidebar .workspace-admin-link:hover{background:#8d5cff22;border-color:#b280ed88}
:root,body,.app,.viewer-workspace{--monitra-bg:#0b0b14;--monitra-pink:#ff2ed1;--monitra-purple:#8d5cff;--monitra-blue:#4da6ff;--monitra-text:#f5f1ff;--bg:#0b0b14;--surface:#14101f;--raised:#20162e;--hover:#2b1d3b;--line:#3a294d;--ink:#f5f1ff;--muted:#b4a5c8;--pink:#f48ae4;--purple:#c1a0ff;--green:#b99ae9;--brand-gradient:linear-gradient(110deg,#d522b7,#8746ec 75%,#7260f4);--ads-border:#433052;--ads-muted:#b4a2c6;color-scheme:dark}
html{background:#0b0b14}body{background-color:var(--bg);color:var(--ink);background-image:radial-gradient(ellipse at 5% 0%,#ff2ed109,transparent 40%),radial-gradient(ellipse at 100% 0%,#4da6ff07,transparent 40%)}
::selection{background:#8d5cff55;color:#fff}input[type=checkbox],input[type=radio],progress{accent-color:#a16aff}body input:not([type=checkbox]):not([type=radio]):not([type=range]),body textarea,body select{background-color:#0e0b17!important;border-color:#523766!important;color:#f5edff!important}body input:focus-visible,body textarea:focus-visible,body select:focus-visible,button:focus-visible,a:focus-visible,summary:focus-visible{outline:2px solid #bc8fff;outline-offset:3px}input::placeholder,textarea::placeholder{color:#9783ab;opacity:1}
body .primary,body .button.primary{background:var(--brand-gradient);border-color:#b872ed80;color:#fff;box-shadow:0 4px 20px #8d5cff20}body .primary:hover:not(:disabled),body .button.primary:hover:not(:disabled){filter:brightness(1.1);box-shadow:0 5px 25px #8d5cff30}body .button.secondary,.workspace button:not([class]):not([type=submit]),.commercial-auth button:not([class]):not([type=submit]){background:#23182f;border-color:#51365f;color:#e1d0f1}body .button.secondary:hover:not(:disabled){background:#30203f;border-color:#8d5cff70}body .button:disabled{box-shadow:none}
.card,.kpi,.feature,.settings-tabs,.settings-pane>.card,.comments-maintenance{background:linear-gradient(140deg,#191222,#120f1b);border-color:#3b2a4b}.feature:hover{background:#251832;border-color:#8d5cff70}.badge,.tabs .chosen,.pt-tabs button.active,.pt-tabs button.selected,.visibility-tabs button.selected,.filters button.selected{background:#37204f;border-color:#9859c780;color:#e6ccff}.notice:not(.error):not(.success){background:#24182f;border-color:#5d3873;color:#dfc7ef}.muted,.fine-print{color:#b4a2c5}.auth-wrap{background:radial-gradient(ellipse at 0 50%,#8d5cff14,transparent 65%)}.auth-wrap .brand h1{color:#f5f1ff}.auth-wrap .brand p{color:#baa9cc}.auth-wrap .brand img,.commercial-logo img,.brand-logo{mix-blend-mode:lighten}.auth-home{display:inline-flex;align-items:center;gap:8px;font-size:12px;color:#c29fe4;text-decoration:none;margin-bottom:20px}.auth-home:hover{color:#f4cbff}.license-code,.code{background:#0f0b19;border-color:#58386d}.license-code summary{color:#cfacf6}.auth-wrap .card{box-shadow:0 22px 65px #0003;border-color:#65417e70}.commercial-back{color:#c5a0e9}
/* Static header: there is deliberately no ambient paint, wave or motion control. */
.app .sidebar{background:linear-gradient(110deg,#12101e,#1b1028 66%,#25102c);border-color:#6d3b7e70;box-shadow:0 5px 26px #0002;animation:none}.app .sidebar nav button{color:#c1b2d0}.app .sidebar nav button:hover{background:#8d5cff14;color:#fff}.app .sidebar nav button.active{background:linear-gradient(110deg,#ff2ed11c,#8d5cff24);border-color:#ab60da55;box-shadow:inset 0 -2px #d361f3;color:#f7efff}.app .sidebar nav button.active svg{color:#ee98ff}.app .sidebar nav button em{background:#8d5cff25;color:#dfb8ff}.app .sidebar nav{scrollbar-color:#7846a2 transparent}.app .topbar{background:#0d0a15de;border-color:#382245}.top-avatar,.workspace-icon,.user-avatar{background:#34204d!important;color:#e3bdff!important}.mobile-date-toggle,.modebar,.date-controls,.account-summary,.workspace-telemetry{background:#130f1d;border-color:#39254b}.page-heading{background:radial-gradient(ellipse at 10% 65%,#8d5cff20,transparent 42%),linear-gradient(115deg,#1a1025,#110e1a 75%);border-color:#55316c}.page-heading:after{background:linear-gradient(90deg,transparent,#b874f1,transparent)}.page-heading .eyebrow{color:#c697ec}.page-heading p{color:#baabca}.mascot-orbit{border-color:#a055cb55;box-shadow:0 0 50px #8d5cff18}.section-mascot figcaption{color:#bb92db}.table-scroll table thead{background:#191222}.table-scroll th{color:#cdb4e3;border-color:#432c56}.table-scroll td{border-color:#35223f}.table-scroll tr:hover td{background:#251631}.table-scroll td small{color:#bda9cd}.date-presets button{background:#21152e;border-color:#443055}.overview-summary>button,.overview-wallet-card{background:linear-gradient(140deg,#191222,#120f1b);border-color:#3b2a4b}.overview-summary>button.selected{background:linear-gradient(120deg,#70328d44,#1b1226);border-color:#a465d0}.overview-reading,.overview-source{color:#b7a0cc}.overview-wallet-card footer,.overview-details{border-color:#432b55}.overview-details{background:#140e1e}.overview-details summary{color:#d0aef0}.overview-wallet-card:before{background:linear-gradient(90deg,transparent,#a26ed980,transparent)}
.bulk-metric:not(.sent){background:#100b1a;border-color:#432951}.bulk-metric.remaining b{color:#eea1f3}.bulk-live-badge.idle{background:#2b1a3c;border-color:#694080;color:#dcbdff}.bulk-progress progress{background:#2c1b3c;accent-color:#a65bf1}.bulk-progress progress::-webkit-progress-bar{background:#2c1b3c}.bulk-progress progress::-webkit-progress-value{background:linear-gradient(90deg,#8d5cff,#ff2ed1);border-radius:12px}.bulk-progress progress::-moz-progress-bar{background:#a65bf1}.bulk-outcomes span{background:#23142d;border-color:#53335f;color:#d0b4df}.bulk-history details,.bulk-history>.section-title{border-color:#432b55}.bulk-metric>span,.bulk-progress-caption{color:#bca3cf}.bulk-metric small,.bulk-connection>p,.bulk-compose>p,.bulk-draft-help{color:#a990be}
.ads-review{--ads-border:#433052;--ads-muted:#b4a2c6}.ads-account,.ads-campaign-account,.ads-status-tile{background:#1b1228;border-color:#433052}.ads-tabs,.ads-campaign,.ads-rules{background:#140d20;border-color:#433052}.ads-tabs button[aria-selected=true],.ads-status-tile.selected{background:#3b2252;border-color:#9860bc}.ads-count{background:#32203f;color:#d8beed}.story-day,.stories-workspace pre{background:#140e20;border-color:#432951}.story-media>div,.story-auto-video,.story-processing{background:#241630;border-color:#4b2e5e}.social-targets>b,.story-media button{background:#32203f}.pricing-total{background:#2c1a3c;border-color:#6d4286}.page-checklist label{background:#181020;border-color:#432951}.psr-panel,.saved-replies-panel{background:#17101f;border-color:#58346c}
/* Inbox surfaces and page identity use the same palette as the rest of the app. */
body .app:has(.inbox-page-workspace){background:#0b0b14}.app:has(.inbox-page-workspace)>.sidebar{background:linear-gradient(110deg,#12101e,#1b1028 66%,#25102c);border-color:#4d2d63}.inbox-workspace{background:#14101e;color:#eee5f7}.gi-workspace-toolbar,.gi-list-top,.gi-chat-header{background:#181120;border-color:#3a2549}.gi-list,.gi-profile{background:#120d1b;border-color:#382244}.gi-workspace-title>span{background:linear-gradient(140deg,#ff2ed11b,#8d5cff1b);color:#dba6ff;border-color:#9450be40}.gi-workspace-options button,.gi-chat-actions button,.gi-back,.gi-profile-title button{background:#271734;color:#cdb0e2;border-color:#5c3675}.gi-workspace-options button[aria-expanded=true],.gi-filters button[aria-pressed=true]{background:#382047;color:#edc8ff;border-color:#9a5cc2}.gi-workspace-options b,.gi-list-top h2 span{background:#33203e;color:#cdb1df}.gi-search{background:#1b1227;border-color:#473056}.gi-search input{background:transparent!important;border:0!important}.gi-conversation:hover{background:#251832}.gi-conversation.selected{background:linear-gradient(110deg,#8e288967,#653aa271);border-color:#bc64d966}.gi-conversation.selected .gi-preview,.gi-conversation.selected .gi-conversation-footer{color:#e0c4ed}.gi-avatar{background:linear-gradient(135deg,#60437a,#30233e);color:#ead2fc;border-color:#a66dd044}.gi-conversation-footer i{background:#ff70df;box-shadow:0 0 8px #ff2ed133}.gi-load-more{background:#2d1b40;border-color:#704589;color:#ddbcf7}.app .gi-panel.message-panel{background:radial-gradient(ellipse at 60% 45%,#8d5cff08,transparent 60%),#181020}.app .gi-message-row.incoming .message-bubble{background:linear-gradient(120deg,#30203e,#24182f);border-color:#70418b80;color:#f0e0fc}.app .gi-message-row.outgoing .message-bubble{background:linear-gradient(115deg,#9b28aa,#6d3fb3);border:1px solid #bc74de30;color:#fff}.gi-page-identity{background:linear-gradient(110deg,#ff2ed10d,#8d5cff16);border-color:#9b56be77}.gi-page-identity strong,.gi-page-identity b{color:#f3b1eb}.gi-profile-person>.gi-avatar{background:linear-gradient(135deg,#664480,#342443);border-color:#a568cf55}.app .gi-panel .reply-composer{background:#130d1c;border-color:#432451}.app .gi-panel .reply-composer textarea{background:#0c0913!important;border-color:#603775!important}.inbox-page-workspace.inbox-pages-open>.multi-page-selector,.inbox-page-workspace:has(.gi-sync-open)>.page-sync-status,.app main:has(.gi-filters-open)>.mobile-date-options{background:#1b1126;border-color:#6a4282}
.viewer-workspace{background:#0b0b14}.viewer-badge,.viewer-code-scopes{background:#2b183a;border-color:#614074}.viewer-metrics div{background:#181020;border-color:#4c315f}.viewer-inbox,.viewer-conversation-heading{background:#1b1227;border-color:#4c315f}.viewer-conversations button.selected{background:#432654}.viewer-message-history .message-bubble{background:#2c1b3b;border-color:#714287}.viewer-message-history .viewer-page-message{background:linear-gradient(110deg,#892993,#5e3599)}
.commercial-client{background:#191022;border-color:#4c2d60}.commercial-credit-grid>div{background:#291736;border-color:#68407e}.commercial-credit-grid b{color:#dfb3ff}.commercial-credit-grid span{color:#c5a6da}.commercial-code{background:#3b204a;border-color:#9a5cba}.commercial-actions>a,.commercial-actions>button{background:#2b1b3c;border-color:#704688;color:#e7cffa}.commercial-actions>.primary{background:var(--brand-gradient)}.commercial-header-link,.commercial-credit-banner a{color:#d2acf4}.commercial-credit-banner{background:linear-gradient(110deg,#35163f,#1c142b);border-color:#89549f}.commercial-credit-banner strong{color:#efcaff}.commercial-credit-banner small,.commercial-client small{color:#bca0ce}.commercial-account-data>div{border-color:#432953}.commercial-account-data dt,.commercial-auth label small{color:#b59bc8}.site-credit,.app .footer.site-credit{border-color:#372345;color:#a994ba}.site-credit a,.site-credit a:hover{color:#d4a6f5}.site-credit-rights{color:#a38cb5}
/* Installation and informational pages share the palette without changing status colours. */
.pwa-guide{background:#1c1128;border-color:#64407d;color:#f5edff}.pwa-install,.pwa-devices button{background:#281b39;border-color:#614077;color:#e7d2f6}.pwa-done{background:linear-gradient(110deg,#ac2baf,#7542c8)}.pwa-devices button[aria-pressed=true]{background:#48235b;border-color:#c47af0}body:has(.legal-intro) h2{color:#dbb2fa}body:has(.legal-intro) a{color:#cea5f3}body:has(.legal-intro) header,body:has(.legal-intro) footer{border-color:#543066}
.delete-confirm,.commercial-inline-confirm{border-color:#bc637b;background:#321824}.delete-confirm .button.primary,.pricing-delete-confirm .button.primary{background:#8c3457;border-color:#bd6884}.danger,.error,.success,.coverage-warning,.form-error{--brand-status-preserved:1}
@media(prefers-reduced-motion:reduce){.app .sidebar{animation:none!important}}
