/* CallUp 2.2 Spectrum — functional colors, local typography, responsive UI. */
:root{font-family:Inter,"Segoe UI Variable Text",Aptos,"Avenir Next",Roboto,"Segoe UI",system-ui,sans-serif;--fresh-ink:#18243b;--fresh-muted:#51627b;--fresh-bg:#edf1f9;--fresh-card:#fcfdff;--fresh-line:#d8e1f0;--fresh-tint:#e4ebff;--fresh-blue:#3151dc;--fresh-hover:#243db9;--fresh-shadow:0 5px 21px #253d7810;--c22-lav:#eeeaff;--c22-sky:#e5f1ff;--c22-mint:#dcf5ee;--c22-pink:#fce7f1;--c22-peach:#fff0dc;--c22-panel:#e6ecf8;--c22-soft:#f5f7ff;--cu21-border:#cfd9ed;--cu21-received:#e0eaf9;--cu-focus:#3151dc;font-optical-sizing:auto}
html[data-theme=dark]{--fresh-ink:#edf3ff;--fresh-muted:#b0c1d9;--fresh-bg:#131c2c;--fresh-card:#1d2a40;--fresh-line:#354963;--fresh-tint:#283c64;--fresh-blue:#aebeff;--fresh-hover:#bfccff;--fresh-shadow:0 4px 14px #0002;--c22-lav:#352c52;--c22-sky:#233b58;--c22-mint:#23473f;--c22-pink:#4e3049;--c22-peach:#4b392b;--c22-panel:#19273b;--c22-soft:#24324b;--cu21-border:#3d5470;--cu21-received:#293d58;--cu-focus:#aebeff}
body{font-size:15px;letter-spacing:-.008em}h1,h2,h3{letter-spacing:-.035em;line-height:1.16}button,input,select,textarea{font-family:inherit}button{font-weight:650}button:focus-visible,a:focus-visible{outline:3px solid var(--cu-focus);outline-offset:2px}.brand,.app-mobile-brand>b{letter-spacing:-.05em!important}.brand img,.app-mobile-brand img{border-radius:26%;box-shadow:0 3px 9px #314ed72e}.button:not(.secondary):not(.ghost):not(.dark):not(.danger):not(.admin-danger-button){background:linear-gradient(125deg,#3b55f5,#6849e7);border-color:#4551df;color:white}.button.secondary{background:var(--c22-sky);border-color:var(--fresh-line);color:var(--fresh-ink)}
[data-primary=messages]{--nav-bg:var(--c22-sky);--nav-ink:#2457bd}[data-primary=posts]{--nav-bg:var(--c22-lav);--nav-ink:#5334bb}[data-primary=groups]{--nav-bg:var(--c22-mint);--nav-ink:#136e59}[data-primary=clips]{--nav-bg:var(--c22-pink);--nav-ink:#ad286b}[data-primary=profile]{--nav-bg:var(--c22-peach);--nav-ink:#99520d}
html[data-theme=dark] [data-primary=messages]{--nav-ink:#a6c9ff}html[data-theme=dark] [data-primary=posts]{--nav-ink:#c4b7ff}html[data-theme=dark] [data-primary=groups]{--nav-ink:#8bf0c8}html[data-theme=dark] [data-primary=clips]{--nav-ink:#ffafd6}html[data-theme=dark] [data-primary=profile]{--nav-ink:#ffd5a4}
.workspace:not(.admin-workspace) .social-sidebar{background:linear-gradient(160deg,var(--c22-panel),var(--fresh-bg) 75%);border-color:var(--fresh-line);box-shadow:none}.social-sidebar .brand{margin-bottom:8px}.primary-side button{gap:11px!important;border:1px solid transparent!important;color:var(--fresh-ink)!important;background:transparent;min-height:50px}.primary-side button>.icon{box-sizing:content-box;width:19px;height:19px;padding:7px;border-radius:11px;background:var(--nav-bg);color:var(--nav-ink);flex-shrink:0;stroke-width:2}.primary-side button.active,.primary-side button:hover{background:var(--nav-bg)!important;color:var(--nav-ink)!important;border-color:var(--fresh-line)!important}.primary-side button.active>.icon{background:var(--nav-ink);color:var(--fresh-card)}html[data-theme=dark] .primary-side button.active>.icon{color:#142239}.primary-side button.active{box-shadow:none!important}.primary-unread{background:#4459e5!important;color:#fff!important}.workspace:not(.admin-workspace) .topbar{background:var(--c22-soft);border-color:var(--fresh-line)}.workspace:not(.admin-workspace) .app-search-button{background:var(--c22-sky);color:var(--fresh-blue)}.workspace:not(.admin-workspace) #my-tasks-button{background:var(--c22-mint);color:#116e56}html[data-theme=dark] #my-tasks-button{color:#8bf0c8}.social-sidebar .sidebar-user{background:var(--c22-soft);border-radius:14px;padding:12px!important;border:1px solid var(--fresh-line)!important}.workspace:not(.admin-workspace) .workspace-content{background:radial-gradient(ellipse at 5% 0%,var(--c22-lav),transparent 65%),radial-gradient(ellipse at 100% 30%,var(--c22-sky),transparent 60%),var(--fresh-bg)}
.cu18-feed-intro{padding:5px 0}.cu18-feed-intro h1{font-weight:780;font-size:clamp(27px,3vw,37px);letter-spacing:-.045em}.cu18-feed-intro p{font-size:13px}.cu18-feed-intro .cu18-feed-task{background:var(--c22-mint)!important;color:#116e56!important;border:1px solid var(--fresh-line)!important}html[data-theme=dark] .cu18-feed-intro .cu18-feed-task{color:#8bf0c8!important}.social-home .clips-stories{background:linear-gradient(120deg,var(--c22-lav),var(--c22-sky));border-color:var(--fresh-line);box-shadow:var(--fresh-shadow)!important}.clips-stories>header h2{color:var(--fresh-ink);font-size:16px;font-weight:750}.clips-stories>header span{background:var(--fresh-card);color:var(--fresh-blue)}.clips-story-ring>span{background:linear-gradient(135deg,#7452ed,#d44f99,#49d6b4)}.clips-story-ring>span b{background:var(--fresh-card);color:var(--fresh-blue)}.clips-story-ring>span i{color:var(--fresh-blue)}.sc-composer{background:linear-gradient(135deg,var(--c22-sky),var(--c22-soft))!important;border-color:var(--fresh-line);box-shadow:var(--fresh-shadow)!important}.sc-composer>textarea{background:var(--fresh-card)!important;border:1px solid var(--fresh-line);color:var(--fresh-ink);font-size:15px}.sc-destination select{background:var(--fresh-card);color:var(--fresh-ink);border-color:var(--fresh-line)}.sc-tool{border:0;color:var(--fresh-ink);background:var(--c22-mint);font-weight:680}.sc-tool[data-action=pick-media]{background:var(--c22-peach)}.sc-tool[data-action=pick-photo] .icon{color:#16775d}.sc-tool[data-action=pick-media] .icon{color:#a15c16}html[data-theme=dark] .sc-tool .icon{color:var(--fresh-ink)}.sc-post{background:var(--fresh-card)!important;border-color:var(--fresh-line);box-shadow:var(--fresh-shadow)!important}.sc-post-group{background:var(--c22-lav);color:var(--fresh-ink);padding:2px 6px;border-radius:6px;font-weight:600}.sc-post-actions button{background:var(--c22-soft);color:var(--fresh-ink);border-radius:11px}.sc-post-actions [data-action=like] .icon{color:#bd367a}.sc-post-actions button:not([data-action=like]) .icon{color:var(--fresh-blue)}.sc-post-actions button.is-liked{background:var(--c22-pink);color:var(--fresh-ink)}.sc-post-actions button.is-liked .icon{fill:#e35796;color:#e35796}.sc-post-body{letter-spacing:0;line-height:1.6}.sc-avatar,.avatar{background:var(--c22-lav);color:var(--fresh-blue)}
.workspace:not(.admin-workspace) .chat-panel{background:var(--c22-soft);border-color:var(--fresh-line)}.workspace:not(.admin-workspace) .messages{background:radial-gradient(ellipse at top right,var(--c22-lav),transparent 65%),var(--c22-soft)}.workspace:not(.admin-workspace) .group-header{background:var(--c22-sky);border-color:var(--fresh-line)}.group-header .tabs .tab.active{background:var(--c22-lav);color:var(--fresh-ink)}.message-body{background:var(--cu21-received);border:1px solid var(--fresh-line);color:var(--fresh-ink);font-size:15px}.message.own .message-body{background:linear-gradient(135deg,#3b54e7,#6546d7);border-color:transparent;color:#fff}.message.own .deleted-message{background:var(--cu21-received);color:var(--fresh-muted)}.composer,html[data-theme=dark] .composer{background:var(--fresh-card);border-color:var(--fresh-line)}.composer .icon-button{color:var(--fresh-blue);background:var(--c22-sky)}.team-card,.doc-card,.sc-team-card{background:var(--fresh-card);border-color:var(--fresh-line)}.team-card:nth-of-type(3n+1),.sc-team-card:nth-of-type(3n+1){background:var(--c22-mint)}.team-card:nth-of-type(3n+2),.sc-team-card:nth-of-type(3n+2){background:var(--c22-sky)}.team-card:nth-of-type(3n+3),.sc-team-card:nth-of-type(3n+3){background:var(--c22-lav)}
.sc-profile-card{background:var(--fresh-card)}.cu20-overview{background:var(--c22-soft);border-color:var(--fresh-line)}.cu20-info:nth-of-type(4n+1){background:var(--c22-lav)}.cu20-info:nth-of-type(4n+2){background:var(--c22-sky)}.cu20-info:nth-of-type(4n+3){background:var(--c22-mint)}.cu20-info:nth-of-type(4n+4){background:var(--c22-peach)}.cu20-info>span{background:var(--fresh-card);color:var(--fresh-blue)}.cu20-info small,.cu20-info strong{color:var(--fresh-ink)}.sc-profile-form{background:var(--c22-soft)}
.chat-media-dialog{--media-ink:var(--fresh-ink);--media-muted:var(--fresh-muted);--media-line:var(--fresh-line);--media-soft:var(--c22-soft);background:var(--fresh-card);border:1px solid var(--fresh-line);padding:18px;max-width:600px;color:var(--fresh-ink);border-radius:22px}.chat-media-dialog .modal-heading h2{font-size:22px;font-weight:770;color:var(--fresh-ink)}.chat-media-dialog .close-dialog{width:44px;height:44px;color:var(--fresh-ink)}.chat-media-intro{margin-bottom:10px}.chat-media-intro p{font-size:12px;color:var(--fresh-muted)}.chat-media-tabs{background:var(--c22-lav);border-color:var(--fresh-line);margin-bottom:9px}.chat-media-tabs button{color:var(--fresh-ink);font-size:13px}.chat-media-tabs button.active{background:#4b50df;color:#fff}.chat-media-search{background:var(--c22-sky);color:var(--fresh-muted);margin-bottom:9px}.chat-media-search input{font-size:15px;color:var(--fresh-ink)}.chat-media-search input::placeholder{color:var(--fresh-muted)}.chat-emoji-categories{display:grid;grid-template-columns:repeat(7,minmax(0,1fr));gap:4px;overflow:visible;padding-bottom:9px}.chat-emoji-categories[hidden]{display:none}.chat-emoji-categories button{background:var(--c22-soft);color:var(--fresh-muted);min-width:0;padding:4px 2px;min-height:44px;gap:3px;justify-content:center;border-radius:9px}.chat-emoji-categories button:nth-child(4n+1){background:var(--c22-sky)}.chat-emoji-categories button:nth-child(4n+2){background:var(--c22-lav)}.chat-emoji-categories button:nth-child(4n+3){background:var(--c22-mint)}.chat-emoji-categories button:nth-child(4n+4){background:var(--c22-peach)}.chat-emoji-categories button.active{border:2px solid var(--fresh-blue);color:var(--fresh-ink);padding:3px 1px}.chat-emoji-categories button span{font-size:10px;white-space:normal;line-height:1.1;text-align:center}.chat-emoji-categories button .cu22-category-emoji{font-size:19px;line-height:1.1}.chat-media-section{padding:9px 0 7px}.chat-media-section>strong{font-size:13px}.chat-media-section>span{font-size:11px;color:var(--fresh-muted)}.chat-media-section>button{font-size:12px;color:var(--fresh-blue)}.chat-media-results.emoji-library{grid-template-columns:repeat(9,minmax(0,1fr));gap:3px;height:290px;max-height:35dvh;background:var(--c22-soft);padding:5px;border-radius:12px}.library-emoji{font-family:"Apple Color Emoji","Segoe UI Emoji","Noto Color Emoji",sans-serif;font-size:28px;min-height:44px;background:transparent;color:var(--fresh-ink);padding:4px 1px;border-radius:10px;line-height:1.2}.library-emoji:hover,.library-emoji:focus-visible{background:var(--c22-lav);outline-color:var(--fresh-blue)}.chat-media-foot{color:var(--fresh-muted);font-size:11px}.chat-emoji-tones>span{font-size:11px;color:var(--fresh-muted)}.chat-media-empty{grid-column:1/-1}
.entry{background:radial-gradient(ellipse at 7% 8%,#dce8ff,transparent 52%),radial-gradient(ellipse at 93% 90%,#e9d9ff,transparent 64%),#f0f5ff}.entry h1{font-weight:790}.preview-tile:nth-child(3n+1){background:#e8eeff}.preview-tile:nth-child(3n+2){background:#e2f6ef}.preview-tile:nth-child(3n+3){background:#f4e8ff}.admin-workspace .stat-card:nth-child(4n+1){background:var(--c22-sky)}.admin-workspace .stat-card:nth-child(4n+2){background:var(--c22-mint)}.admin-workspace .stat-card:nth-child(4n+3){background:var(--c22-lav)}.admin-workspace .stat-card:nth-child(4n+4){background:var(--c22-peach)}.admin-workspace .stat-card strong{color:var(--fresh-ink)}
@media(max-width:1000px){.primary-top button>.icon{box-sizing:content-box;width:18px;height:18px;padding:5px;border-radius:9px;color:var(--nav-ink);background:var(--nav-bg);stroke-width:2}.primary-top button.active{color:var(--nav-ink)!important;background:var(--nav-bg)!important;border-radius:11px!important}.primary-top button.active>.icon{background:var(--nav-ink);color:var(--fresh-card)}html[data-theme=dark] .primary-top button.active>.icon{color:#142239}.primary-top button>span{font-weight:650;font-size:10px!important}.primary-top button{gap:2px!important;min-height:47px}.primary-top button:after{background:var(--nav-ink)}.workspace:not(.admin-workspace) .topbar .app-mobile-brand img{width:31px;height:31px}.chat-emoji-categories{grid-template-columns:repeat(5,minmax(0,1fr))}.chat-media-results.emoji-library{grid-template-columns:repeat(7,minmax(0,1fr));max-height:31dvh;height:255px}}
@media(max-width:520px){.chat-media-dialog{padding:13px;width:calc(100vw - 16px);max-height:calc(100dvh - 16px);border-radius:19px}.chat-emoji-categories{grid-template-columns:repeat(5,minmax(0,1fr));gap:3px}.chat-emoji-categories button span{font-size:9px}.chat-media-results.emoji-library{grid-template-columns:repeat(6,minmax(0,1fr));max-height:28dvh;height:224px}.chat-media-search input{font-size:16px}.chat-media-tabs button{font-size:12px}.primary-top button>.icon{padding:4px}.sc-composer>textarea{font-size:16px}.social-sidebar .sidebar-user{padding:10px!important}}
@media(max-height:620px){.chat-media-results.emoji-library{max-height:26dvh;min-height:95px}.chat-media-dialog{overflow:auto}}@media(prefers-reduced-motion:reduce){.library-emoji,.primary-top button,.primary-side button{transition:none!important}}
