@import url('https://fonts.googleapis.com/css2?family=Urbanist:wght@400;500;600;650;700;750;800;850;900&display=swap');
:root{color-scheme:light;--canvas:#eef2ed;--surface:#f8faf7;--white:#fff;--ink:#16191d;--muted:#6f767a;--green:#11745a;--green-dark:#075a43;--yellow:#f2b740;--coral:#ff5c3d;--border:#dfe2df;--panel-shadow:0 14px 38px rgba(37,48,45,.075);--shade:#e6eeeb;--hover:#e6f1ee;--radius:20px;--top:84px}
*{box-sizing:border-box}html,body{margin:0;min-height:100%;font-family:Urbanist,'Segoe UI',sans-serif;color:var(--ink)}html{background:var(--canvas)}body{background:radial-gradient(ellipse at 30% 4%,#d9edef 0%,transparent 49%),radial-gradient(ellipse at 88% 0%,#e8f0df 0%,transparent 44%),#f2f2ef}button,input,select,textarea{font:inherit}button{cursor:pointer}button:disabled{opacity:.48;cursor:not-allowed}button:focus-visible,input:focus-visible,select:focus-visible,textarea:focus-visible{outline:3px solid #4095c5;outline-offset:2px}a{color:inherit;text-decoration:none}svg{width:22px;height:22px;stroke:currentColor;stroke-width:1.85;stroke-linecap:round;stroke-linejoin:round}h1,h2,h3,p{margin-top:0}h1,h2,h3{letter-spacing:-.045em}h1{font-size:clamp(32px,2.7vw,43px);font-weight:900}h2{font-size:26px;font-weight:850}h3{font-size:18px;font-weight:850}.eyebrow{font-size:10px;letter-spacing:.15em;font-weight:900;text-transform:uppercase;color:var(--green)}.muted{color:var(--muted)}.strong{font-weight:850}.app-root{min-height:100dvh}.global-header{position:relative;z-index:15;height:var(--top);max-width:1500px;margin:auto;display:flex;align-items:center;justify-content:space-between;padding:13px 26px}.brand{display:flex;align-items:center;gap:15px;border:0;background:transparent;font-size:33px;font-weight:900;letter-spacing:-.09em;color:var(--ink);padding:0}.brand-name span{color:var(--green)}.brand-symbol{height:55px;width:55px;border-radius:19px;background:#16191d;color:white;display:grid;place-items:center}.brand-symbol svg{width:34px;height:34px;stroke:none}.global-actions{display:flex;align-items:center;gap:12px}.circle-action,.avatar-action{display:grid;place-items:center;position:relative;width:49px;height:49px;border-radius:50%;border:2px solid white;background:#f5f7f5b8;color:var(--ink);box-shadow:0 1px 2px #00000008}.circle-action:hover,.avatar-action:hover{background:white}.circle-action svg{width:23px;height:23px}.brand-switch{background:#171a1e;color:white}.brand-switch:hover{background:#323638}#global-notification-dot{position:absolute;top:8px;right:8px;height:11px;width:11px;border:2px solid white;background:#bf4339;border-radius:50%}.avatar-action{background:#d6e9e1;border:3px solid white;font-size:13px;font-weight:900;color:#075a43}.app-layout{display:flex;max-width:1500px;margin:0 auto;padding:6px 21px 26px;gap:23px}.desktop-sidebar{width:229px;flex:0 0 229px;padding:15px 0 10px;min-height:calc(100dvh - 126px);display:flex;flex-direction:column}.sidebar-section{font-size:10px;font-weight:850;letter-spacing:.17em;color:#75827a;padding:14px 14px 18px}.desktop-sidebar nav{display:flex;flex-direction:column;gap:5px}.side-link{display:flex;align-items:center;gap:14px;width:100%;padding:13px 14px;border:1px solid transparent;border-radius:13px;background:transparent;color:#4f5b57;text-align:left;font-size:14px;font-weight:750}.side-link svg{width:20px;height:20px}.side-link:hover{background:#ffffffa6}.side-link.active{background:#171b1d;color:white}.side-count{margin-left:auto;background:var(--yellow);color:#16191d;font-size:11px;border-radius:50%;padding:2px 6px;font-weight:900}.sidebar-spacer{flex:1}.workspace-status{margin:22px 10px 0;background:#fff9;border:1px solid #fff;border-radius:15px;padding:16px;font-size:11px;font-weight:850;color:#456257}.workspace-status small{display:block;color:#808a82;font-size:10px;margin:5px 0 0 18px;font-weight:600}.status-dot{display:inline-block;width:8px;height:8px;background:#0fa473;border-radius:50%;margin-right:7px}#main-content{flex:1;min-width:0;min-height:calc(100dvh - 118px)}.page-head{display:flex;align-items:flex-end;justify-content:space-between;gap:12px;margin:5px 3px 20px}.page-head h1{margin:0 0 7px}.page-head p{margin:0;color:var(--muted);font-size:14px}.page-actions{display:flex;gap:9px;flex-wrap:wrap}.btn{border:1px solid #d1d8d1;background:#fff;color:var(--ink);border-radius:999px;padding:11px 17px;min-height:42px;display:inline-flex;align-items:center;justify-content:center;gap:9px;font-weight:800;font-size:13px;white-space:nowrap}.btn svg{width:17px;height:17px}.btn:hover{background:#f4f6f4}.btn.primary{background:var(--coral);color:#16191d;border:2px solid #16191d;border-radius:3px;box-shadow:4px 4px 0 #16191d}.btn.primary:hover{transform:translate(-1px,-1px);box-shadow:5px 5px 0 #16191d}.btn.dark{background:#171b1d;color:white;border-color:#171b1d}.btn.green{background:var(--green);color:white;border-color:var(--green)}.btn.small{font-size:11px;padding:7px 11px;min-height:32px}.btn.icon{height:38px;width:38px;min-height:38px;padding:0;border-radius:50%}.surface{background:linear-gradient(145deg,rgba(255,255,255,.79),rgba(255,255,255,.92));border:2px solid #fff;border-radius:25px;box-shadow:var(--panel-shadow)}.surface.pad{padding:23px}.surface h2{font-size:22px}.stat-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:12px}.stat-card{padding:22px;border-radius:20px;background:white;border:1px solid #e6e7e2}.stat-card .stat-name{display:block;font-size:12px;color:#697773;font-weight:650}.stat-card strong{font-size:30px;line-height:1.3;letter-spacing:-.05em;font-weight:900}.stat-card .stat-trend{font-size:11px;font-weight:800;color:var(--green)}.stat-icon{float:right;background:#e7f3e9;width:42px;height:42px;border-radius:13px;display:grid;place-items:center;color:var(--green)}.stat-icon.yellow{background:#fff0c8;color:#9c6d07}.stat-icon.coral{background:#ffdfd6;color:#b34e39}.stat-icon svg{width:22px;height:22px}.two-col{display:grid;grid-template-columns:1.15fr .85fr;gap:17px;margin-top:17px}.section-title{display:flex;align-items:center;justify-content:space-between;gap:15px;margin:0 0 18px}.section-title h2{margin:0}.section-title p{margin:5px 0 0;color:var(--muted);font-size:12px}.chip{display:inline-flex;align-items:center;gap:6px;background:#e8f3ed;color:#0c684c;font-weight:800;border-radius:999px;font-size:11px;padding:5px 10px}.chip.yellow{background:#fff0c7;color:#8f6000}.chip.coral{background:#ffe5dc;color:#b74230}.chip.neutral{background:#eef0ed;color:#6a716b}.empty{display:flex;flex-direction:column;align-items:center;justify-content:center;text-align:center;padding:36px 14px;color:var(--muted);gap:12px}.empty svg{width:36px;height:36px;color:#acb9b1}.empty b{color:var(--ink)}.field{width:100%;padding:12px 14px;background:#fff;border:1px solid #d9ded8;border-radius:13px;color:var(--ink);min-height:42px}.field:focus{border-color:var(--green)}.field-label{font-size:11px;font-weight:850;display:block;color:#53625b;margin-bottom:7px}.form-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:13px}.form-field{min-width:0}.form-field.wide{grid-column:1/-1}.view-toolbar{display:flex;gap:10px;align-items:center;flex-wrap:wrap;margin-bottom:17px}.pill-tabs{display:inline-flex;gap:4px;border:1px solid #e1e5e0;background:#f7f8f7;padding:4px;border-radius:999px}.pill-tabs button{border:0;background:transparent;border-radius:999px;padding:9px 15px;font-size:12px;color:#647067;font-weight:800;white-space:nowrap}.pill-tabs button.active{background:#171b1d;color:white}.mobile-nav{display:none}#overlay-root{position:relative;z-index:35}.overlay-shade{position:fixed;inset:0;background:#111b1c79;backdrop-filter:blur(8px);z-index:40}.popover{position:fixed;z-index:45;background:#fff;border:1px solid #e1e2de;border-radius:23px;box-shadow:0 20px 50px #0002;padding:20px;max-height:80dvh;overflow:auto;width:min(440px,calc(100vw - 30px))}.popover.right{top:77px;right:25px}.popover h2{font-size:23px;margin:0}.popover-top{display:flex;align-items:center;justify-content:space-between;gap:12px;margin-bottom:17px}.modal-wrap{position:fixed;inset:0;display:grid;place-items:center;z-index:42;padding:15px}.modal-card{background:#fff;border-radius:24px;border:1px solid #ededeb;width:min(560px,100%);max-height:89dvh;overflow:auto;box-shadow:0 24px 75px #0003;padding:23px;position:relative}.modal-card h2{font-size:25px;margin:0 0 8px}.modal-card .modal-subtitle{font-size:12px;color:var(--muted);margin-bottom:18px}.modal-foot{display:flex;gap:10px;justify-content:flex-end;margin-top:20px}.notification-row{display:flex;gap:12px;align-items:flex-start;padding:15px 2px;border-bottom:1px solid #ebede9}.notification-row:last-child{border-bottom:0}.notification-icon{width:43px;height:43px;border:1px solid #daddd8;border-radius:50%;display:grid;place-items:center;flex-shrink:0;position:relative}.notification-icon svg{width:20px;height:20px}.notification-row.unread .notification-icon:after{content:'';position:absolute;right:0;top:0;width:11px;height:11px;background:#c44237;border-radius:50%;border:2px solid #fff}.notification-row strong{font-size:13px;line-height:1.5;display:block}.notification-row span{font-size:11px;color:var(--muted);display:block;margin-top:3px}.popover-link{display:flex;align-items:center;gap:13px;padding:12px 7px;border:0;background:transparent;width:100%;font-size:13px;text-align:left;font-weight:750;border-radius:12px}.popover-link:hover{background:#f1f4f0}.popover-link svg{width:20px}.popover-rule{height:1px;background:#e7e8e5;margin:7px 0}.popover-link.danger{color:#bd4538}.overlay-close{width:38px;height:38px;border:1px solid #dfe0db;border-radius:50%;background:#fff;display:grid;place-items:center}.more-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:9px}.more-tile{display:flex;align-items:center;gap:13px;border:1px solid #e1e4df;background:#fff;padding:15px;border-radius:17px;font-weight:800;text-align:left;font-size:13px;min-height:67px}.more-tile:hover{border-color:#b3c9ba;background:#f5faf6}.more-tile .tile-icon{background:#f1f2ee;width:37px;height:37px;border-radius:12px;display:grid;place-items:center;flex-shrink:0}.more-tile svg{width:19px;height:19px}#toast-root{position:fixed;bottom:20px;right:20px;z-index:100;pointer-events:none}.toast{background:#171b1d;color:white;padding:12px 18px;border-radius:12px;box-shadow:0 10px 30px #0003;font-size:12px;font-weight:750;margin-top:8px}

/* Inbox, designed from Murmura's mobile inbox reference, not legacy styles. */
.inbox-frame{display:grid;grid-template-columns:minmax(310px,420px) minmax(0,1fr);height:calc(100dvh - 133px);min-height:590px;overflow:hidden}.inbox-frame.no-thread{grid-template-columns:minmax(310px,480px) minmax(0,1fr)}.inbox-left{display:flex;flex-direction:column;min-width:0;border-right:1px solid #e0e4e1}.inbox-top{padding:22px 17px 12px}.inbox-heading{display:flex;align-items:start;justify-content:space-between;gap:12px}.inbox-heading h1{font-size:29px;margin:0 0 5px;line-height:1.14}.count-tag{display:inline-block;background:#e9ecea;font-size:13px;padding:5px 9px;border-radius:999px;vertical-align:middle;font-weight:850;letter-spacing:0}.inbox-subtitle{font-size:12px;color:#65736e;margin:0 0 14px}.inbox-subtitle b{color:#171d20}.inline-actions{display:flex;gap:6px}.bare-icon{border:0;background:transparent;padding:7px;color:#646f6b;border-radius:9px;display:grid;place-items:center}.bare-icon:hover{background:#ecf0ed}.bare-icon svg{width:20px;height:20px}.inbox-search{display:flex;align-items:center;gap:10px;background:#e9eceb;border:1px solid transparent;border-radius:999px;padding:0 17px;height:45px}.inbox-search svg{color:#727f7b;width:19px}.inbox-search input{border:0;outline:0!important;background:transparent;flex:1;min-width:0;font-size:13px;color:#2f3935}.inbox-search input::placeholder{color:#89918f}.inbox-chips{display:flex;gap:7px;overflow-x:auto;scrollbar-width:none;padding:13px 0 0}.inbox-chips::-webkit-scrollbar{display:none}.inbox-chip{flex-shrink:0;background:#e8ebea;border:1px solid transparent;color:#616d69;border-radius:999px;padding:9px 13px;font-size:12px;font-weight:800;white-space:nowrap}.inbox-chip.active{background:#e5edf2;border-color:#a7c3d6;color:#2c628d}.inbox-chip b{font-weight:900;margin-left:3px}.inbox-list{overflow:auto;flex:1;scrollbar-width:thin}.inbox-item{width:100%;border:0;border-top:1px solid #e5e8e5;background:transparent;padding:14px 13px;display:flex;align-items:center;gap:11px;text-align:left;min-height:89px;transition:background .13s}.inbox-item:hover{background:#eff3f1}.inbox-item.selected{background:#e3edf3}.contact-avatar{position:relative;flex:0 0 47px;width:47px;height:47px;border-radius:50%;background:#dcebdc;display:grid;place-items:center;color:#295e4e;font-weight:900;font-size:17px;overflow:visible}.contact-avatar img{width:100%;height:100%;object-fit:cover;border-radius:50%}.source-tiny{position:absolute;right:-5px;bottom:-2px;background:#fff;border:2px solid #fff;display:grid;place-items:center;border-radius:50%;width:21px;height:21px;color:#12976f}.source-tiny svg{width:13px;height:13px}.contact-detail{min-width:0;flex:1}.contact-title-row,.contact-preview-row{display:flex;align-items:center;gap:7px}.contact-title{font-size:14px;font-weight:850;color:#1b1d20;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.unread-dot{height:7px;width:7px;background:#c43e36;border-radius:50%;flex-shrink:0}.contact-time{margin-left:auto;white-space:nowrap;font-size:10px;font-weight:800;color:#2e638d}.contact-preview-row{margin-top:5px}.contact-preview-row p{margin:0;color:#737b7a;font-size:12px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;min-width:0;flex:1}.unread-pill{margin-left:auto;flex-shrink:0;background:#2d70a7;color:white;border-radius:999px;min-width:19px;height:19px;padding:2px 5px;display:grid;place-items:center;font-size:10px;font-weight:850}.inbox-thread{display:flex;flex-direction:column;min-width:0;min-height:0;background:#f7f9f7}.thread-head{display:flex;align-items:center;gap:12px;padding:15px 18px;border-bottom:1px solid #e6e9e5;background:#fff9;min-height:78px}.thread-head b{font-size:15px;font-weight:900}.thread-head small{font-size:11px;color:#728078;display:block}.thread-toolbar{margin-left:auto;display:flex;gap:5px}.thread-messages{flex:1;overflow-y:auto;padding:25px 22px;display:flex;flex-direction:column;gap:13px}.message-row{display:flex;gap:9px;align-items:flex-end;max-width:82%}.message-row.out{align-self:flex-end;flex-direction:row-reverse}.message-row.in{align-self:flex-start}.message-bubble{border:1px solid #e1e5e0;background:white;border-radius:18px 18px 18px 4px;padding:12px 15px;font-size:13px;line-height:1.5;color:#3a4441;box-shadow:0 2px 7px #00000007;word-break:break-word}.message-row.out .message-bubble{border-color:#11745a;background:#11745a;color:white;border-radius:18px 18px 4px 18px}.message-time{text-align:right;font-size:10px;margin-top:6px;opacity:.66}.day-separator{text-align:center;color:#8b958e;font-size:11px;font-weight:800;margin:0 auto 8px;background:#e7ece7;border-radius:999px;padding:6px 14px}.thread-composer{border-top:1px solid #e4e9e5;background:#fff;padding:13px 15px 15px}.quick-replies{display:flex;gap:6px;overflow:auto;margin:0 0 10px;scrollbar-width:none}.quick-replies button{border:1px solid #e3e7e1;background:#f7f9f6;border-radius:999px;padding:7px 10px;white-space:nowrap;color:#53645b;font-size:10px;font-weight:800}.composer-row{display:flex;align-items:flex-end;gap:8px}.composer-input{flex:1;resize:none;max-height:110px;min-height:41px;border:1px solid #dce4dc;background:#f7f9f7;border-radius:14px;padding:11px 13px;color:#1e2720;font-size:13px;outline:none}.send-btn{background:#11745a;border:0;color:white;display:grid;place-items:center;width:42px;height:42px;border-radius:13px}.send-btn:hover{background:#0a614a}.back-chat{display:none}.thread-placeholder{height:100%;display:flex;align-items:center;justify-content:center;flex-direction:column;gap:10px;color:#849189;font-size:13px}.thread-placeholder svg{width:36px;height:36px;color:#11745a}.thread-placeholder strong{color:#232c26;font-size:17px}.filters-panel{position:absolute;left:0;right:0;top:0;bottom:0;padding:19px;overflow:auto;background:#fff;border-radius:23px;box-shadow:0 15px 35px #0001;z-index:2}.inbox-left{position:relative}.filter-group-title{font-size:10px;font-weight:900;color:#788178;letter-spacing:.1em;margin:20px 0 8px}.filter-option{display:flex;align-items:center;gap:12px;padding:9px 0;font-size:13px;font-weight:750}.filter-option input{width:19px;height:19px;accent-color:#11745a}.filter-option small{margin-left:auto;color:#7d8780}.filter-option svg{width:17px;height:17px;color:#666e69}.inbox-bottom{padding:12px 16px;color:#8a948c;font-size:10px;border-top:1px solid #e6e9e3;display:flex;justify-content:space-between}.chip-row{display:flex;gap:6px;flex-wrap:wrap}.meta-line{display:flex;align-items:center;gap:9px;font-size:11px;color:#6c7970}.meta-line svg{width:15px;height:15px}.activity-card{display:flex;align-items:center;gap:12px;padding:13px 0;border-top:1px solid #e9ebe8}.activity-card:first-child{border-top:0}.activity-card .activity-icon{height:38px;width:38px;border-radius:12px;background:#e9f3e9;display:grid;place-items:center;color:#11745a}.activity-card b{font-size:12px}.activity-card small{display:block;color:#909891;font-size:11px;margin-top:4px}.activity-card .activity-meta{margin-left:auto;font-size:10px;color:#6c786e}.hero-welcome{background:#171b1e;color:white;border-radius:23px;padding:26px;margin-bottom:18px;display:flex;justify-content:space-between;gap:20px;overflow:hidden;position:relative}.hero-welcome:after{content:'';position:absolute;right:-60px;top:-110px;width:300px;height:300px;border:42px solid #f2b74022;border-radius:50%}.hero-welcome h1{font-size:36px;color:white;margin:6px 0}.hero-welcome p{color:#bfcac6;font-size:13px;max-width:500px;margin:0 0 18px}.hero-metric{text-align:right;z-index:1}.hero-metric strong{font-size:42px;color:#f2b740;display:block}.hero-metric small{font-size:11px;color:#d0d7d3}.mini-schedule{display:flex;flex-direction:column;gap:11px}.schedule-row{display:flex;align-items:center;gap:12px;background:#fff;border:1px solid #e7eae5;border-radius:14px;padding:13px}.schedule-time{font-size:12px;font-weight:900;color:#11745a;min-width:46px}.schedule-row b{font-size:12px}.schedule-row small{font-size:10px;color:#8a938c;display:block;margin-top:3px}

/* Kanban, CRM, finance, calendar and settings */
.kanban-board{display:grid;grid-template-columns:repeat(5,minmax(205px,1fr));gap:13px;overflow-x:auto;padding-bottom:12px;align-items:start}.kanban-column{min-height:330px;padding:14px 10px;background:#ffffff91;border:1px solid #e6e8e4;border-radius:18px}.kanban-title{display:flex;align-items:center;justify-content:space-between;gap:8px;padding:3px 8px 15px;font-weight:850;font-size:12px}.kanban-number{font-size:11px;background:#e9ede8;color:#667069;border-radius:999px;padding:4px 7px}.kanban-card{background:#fff;border:1px solid #e4e6e0;border-radius:15px;padding:15px;margin-bottom:9px;box-shadow:0 4px 12px #00000006;cursor:grab}.kanban-card:hover{border-color:#a7c8b3}.kanban-card b{font-size:13px}.kanban-card p{font-size:11px;color:#657168;margin:7px 0 12px}.kanban-card-footer{display:flex;align-items:center;justify-content:space-between;gap:6px;font-size:10px;color:#8c948d}.kanban-card select{border:1px solid #dfe3df;border-radius:8px;padding:4px;font-size:10px;color:#576b5e;background:#f8faf7;max-width:130px}.list-table{width:100%;border-collapse:collapse}.list-table th{font-size:11px;font-weight:900;text-transform:uppercase;letter-spacing:.06em;text-align:left;color:#879087;padding:13px;border-bottom:1px solid #e5e8e3}.list-table td{padding:14px 13px;border-bottom:1px solid #ecede9;font-size:12px}.list-table tr:hover td{background:#f6f9f6}.list-table td b{font-size:13px}.table-scroll{overflow:auto}.calendar-shell{display:grid;grid-template-columns:1fr 270px;gap:17px}.calendar-grid{display:grid;grid-template-columns:repeat(7,minmax(0,1fr));gap:6px}.calendar-weekday{text-align:center;padding:8px;color:#7c867e;font-size:10px;font-weight:900}.calendar-day{min-height:83px;background:#fff;border:1px solid #e6e9e3;border-radius:12px;padding:8px;text-align:left;position:relative;color:#242924;font-size:12px;display:flex;flex-direction:column;gap:6px}.calendar-day.outside{opacity:.36}.calendar-day.today{border:2px solid #11745a;background:#f0f7f2}.calendar-day.selected{background:#e7f0e8;border-color:#bad2c0}.calendar-dot{height:6px;width:6px;background:#f2b740;border-radius:50%}.calendar-date{font-weight:850}.calendar-event{font-size:9px;padding:4px 5px;border-radius:5px;background:#e6f1e8;color:#0a6a4e;font-weight:750;line-height:1.2}.small-list{display:flex;flex-direction:column;gap:10px}.small-item{display:flex;align-items:center;gap:11px;padding:12px 0;border-bottom:1px solid #ebece8}.small-item:last-child{border-bottom:0}.small-item b{font-size:12px}.small-item small{font-size:11px;color:#7a857b;display:block;margin-top:3px}.finance-tabs{margin-bottom:16px}.finance-value.positive{color:#087d55}.finance-value.negative{color:#bf4e40}.bar-chart{display:flex;align-items:end;gap:12px;height:190px;border-bottom:1px solid #d8e1d8;padding:17px 7px 0}.bar-group{flex:1;display:flex;align-items:end;justify-content:center;gap:4px;height:100%;position:relative}.bar{width:25%;max-width:22px;border-radius:6px 6px 0 0;background:#11745a;min-height:4px}.bar.alt{background:#f2b740}.bar-label{position:absolute;top:100%;margin-top:8px;font-size:10px;color:#7b867e}.setting-row{display:flex;align-items:center;gap:13px;padding:17px 0;border-bottom:1px solid #e7eae6}.setting-row:last-child{border-bottom:0}.setting-row b{font-size:13px}.setting-row p{margin:5px 0 0;color:#7b857e;font-size:11px}.setting-row .setting-right{margin-left:auto}.toggle{width:46px;height:27px;border:0;border-radius:999px;background:#d4d9d4;position:relative;padding:3px}.toggle span{display:block;background:white;height:21px;width:21px;border-radius:50%;transition:transform .2s}.toggle.on{background:#11745a}.toggle.on span{transform:translateX(19px)}.search-panel-list{display:flex;flex-direction:column;gap:4px}.search-result{display:flex;align-items:center;gap:11px;padding:12px;border:0;border-radius:12px;background:transparent;text-align:left;font-size:13px;font-weight:700}.search-result:hover{background:#eef3ec}.bottom-sheet{position:fixed;z-index:45;left:0;right:0;bottom:0;background:#f9faf7;border-radius:28px 28px 0 0;padding:10px 19px max(24px,env(safe-area-inset-bottom));box-shadow:0 -15px 50px #1116;max-height:88dvh;overflow-y:auto}.sheet-grabber{width:41px;height:5px;border-radius:10px;background:#d0d3d0;margin:0 auto 15px}.sheet-head{display:flex;justify-content:space-between;align-items:center;gap:12px;margin-bottom:22px}.sheet-head h2{margin:0;font-size:27px}.sheet-actions{display:grid;grid-template-columns:repeat(3,1fr);gap:10px;margin-top:19px}.sheet-actions .btn{padding:11px 8px}.danger{color:#ba493c!important}.yellow-square{height:50px;width:50px;display:grid;place-items:center;border-radius:17px;background:#f2b740;color:#16191d}.yellow-square svg{width:27px;height:27px;stroke-width:2.2}
@media(max-width:1190px){.desktop-sidebar{width:190px;flex-basis:190px}.stat-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.two-col{grid-template-columns:1fr}.calendar-shell{grid-template-columns:1fr}.calendar-aside{display:none}.inbox-frame{grid-template-columns:340px 1fr}}
@media(max-width:760px){
 :root{--top:78px}
 body{background:radial-gradient(ellipse at 44% 8%,#dceef2 0%,transparent 65%),radial-gradient(ellipse at 92% 6%,#eff2e8,transparent 45%),#f4f4f0}
 .global-header{height:78px;padding:10px 13px;gap:6px}
 .brand{gap:8px;font-size:25px;letter-spacing:-.085em}.brand-symbol{width:43px;height:43px;border-radius:14px}.brand-symbol svg{width:27px;height:27px}
 .global-actions{gap:7px}.circle-action,.avatar-action{height:39px;width:39px;border-width:2px}.circle-action svg{width:20px;height:20px}.avatar-action{font-size:11px}
 .app-layout{display:block;padding:0 10px 90px}.desktop-sidebar{display:none}#main-content{min-height:0}
 .mobile-nav{display:grid;grid-template-columns:repeat(5,minmax(0,1fr));position:fixed;z-index:20;left:0;right:0;bottom:0;height:calc(74px + env(safe-area-inset-bottom));padding:8px 8px calc(7px + env(safe-area-inset-bottom));background:#fafbf9ed;border-top:1px solid #e5e9e5;backdrop-filter:blur(18px);box-shadow:0 -2px 15px #00000006}
 .bottom-link{display:flex;flex-direction:column;align-items:center;gap:5px;justify-content:center;background:transparent;border:0;color:#6a7272;font-size:10px;font-weight:750;min-width:0;position:relative;padding:2px 0}.bottom-link svg{width:25px;height:25px;stroke-width:1.8}.bottom-link.active{color:#171b1d}.bottom-link.create svg{background:#f2b740;border-radius:13px;box-sizing:content-box;padding:11px;width:23px;height:23px;stroke-width:2.25}.bottom-link.create{gap:1px}.bottom-count{position:absolute;top:0;left:55%;background:#ba4538;color:white;border-radius:999px;min-width:17px;font-size:10px;padding:2px;font-weight:900}
 .page-head{padding:8px 5px;margin-bottom:13px;align-items:start}.page-head h1{font-size:29px}.page-head p{font-size:12px}.page-actions{gap:6px}.page-actions .btn{font-size:11px;padding:9px}
 .surface{border-radius:23px}.surface.pad{padding:16px}.stat-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:9px}.stat-card{padding:14px;border-radius:17px}.stat-card strong{font-size:24px}.stat-icon{height:33px;width:33px}.two-col{grid-template-columns:1fr;gap:13px;margin-top:13px}.hero-welcome{padding:19px;display:block;margin-bottom:13px}.hero-welcome h1{font-size:30px}.hero-metric{text-align:left}.hero-metric strong{font-size:29px}.hero-metric small{display:none}
 .inbox-frame,.inbox-frame.no-thread{display:block;height:calc(100dvh - 169px);min-height:400px;position:relative;overflow:hidden}.inbox-left{height:100%;border-right:0}.inbox-top{padding:17px 12px 10px}.inbox-heading h1{font-size:24px}.inbox-subtitle{font-size:11px}.inbox-chips{padding-top:11px}.inbox-chip{font-size:11px;padding:9px 12px}.inbox-item{min-height:82px;padding:12px 13px}.inbox-thread{position:absolute;inset:0;background:#f7f9f7;z-index:3;transform:translateX(104%);transition:transform .22s}.inbox-frame.thread-open .inbox-thread{transform:translateX(0)}.inbox-frame.thread-open .inbox-left{visibility:hidden}.back-chat{display:grid;border:0;background:transparent;padding:8px 5px}.thread-head{padding:10px 12px;min-height:65px;gap:8px}.thread-toolbar{gap:0}.thread-toolbar .bare-icon{padding:6px}.thread-messages{padding:17px 12px}.message-row{max-width:92%}.message-bubble{font-size:12px;padding:10px 12px}.thread-composer{padding:10px 11px}.inbox-bottom{padding:8px 13px}
 .kanban-board{grid-template-columns:repeat(5,240px);overflow-x:auto}.calendar-day{min-height:62px;padding:4px}.calendar-event{font-size:8px}.calendar-grid{gap:3px}.form-grid{grid-template-columns:1fr}.form-field.wide{grid-column:auto}
 .popover.right{right:10px;top:70px;max-width:calc(100vw - 20px)}.popover{padding:17px}.modal-card{padding:17px}.more-tile{font-size:12px;padding:13px 9px}.more-tile .tile-icon{width:33px;height:33px}.sheet-actions{grid-template-columns:repeat(3,1fr)}#toast-root{bottom:85px;right:10px;left:10px}.toast{text-align:center}
}
@media(max-width:375px){.brand-name{font-size:20px}.global-actions{gap:4px}.circle-action,.avatar-action{width:35px;height:35px}.brand-symbol{width:39px;height:39px}.inbox-heading h1{font-size:22px}.inbox-top{padding:13px 8px 8px}}
body.dark{--canvas:#111b1b;--surface:#202a28;--white:#232d2c;--ink:#eef5f1;--muted:#bdcac4;--border:#3a4842;background:radial-gradient(ellipse at 10% 0%,#183e36,#101818 65%)}body.dark .surface,body.dark .stat-card,body.dark .inbox-thread,body.dark .inbox-item,body.dark .inbox-top,body.dark .inbox-left,body.dark .thread-head,body.dark .thread-composer,body.dark .popover,body.dark .modal-card,body.dark .bottom-sheet,body.dark .kanban-column,body.dark .kanban-card,body.dark .setting-row,body.dark .mobile-nav{background:#212c2a;color:#eef5f1;border-color:#405049}body.dark h1,body.dark h2,body.dark h3,body.dark b,body.dark .contact-title,body.dark .popover-link,body.dark .bottom-link{color:#f1f6f3}body.dark .inbox-search,body.dark .field,body.dark .composer-input,body.dark .inbox-chip,body.dark .btn{background:#30413c;color:#f1f5f2;border-color:#4c655a}body.dark .inbox-item.selected{background:#284438}body.dark .message-bubble{background:#2c3935;color:#f1f5f2}body.dark .message-row.out .message-bubble{background:#11745a}body.dark .brand-name{color:#fff}body.dark .brand-name span{color:#8fdfb8}body.dark .global-header{color:#fff}body.dark .bottom-link.create{color:#f1f5f2}

.contact-avatar img{position:absolute;inset:0;z-index:1}.contact-avatar .source-tiny{z-index:2}

/* Visual review: explicit grid row constraint prevents desktop thread composer clipping. */
.inbox-frame{grid-template-rows:minmax(0,1fr)}
.inbox-left{min-height:0;overflow:hidden}
.inbox-list{min-height:0}
.inbox-thread{height:100%;min-height:0;overflow:hidden}
.thread-messages{min-height:0;overscroll-behavior:contain}
@media(max-width:760px){
 .brand{font-size:27px}.brand-symbol{width:45px;height:45px}
 .inbox-heading h1{font-size:26px}
 .inbox-subtitle{font-size:12px}
 .inbox-search input{font-size:14px}
 .inbox-chip{font-size:12px}
 .contact-title{font-size:16px}
 .contact-preview-row p{font-size:13px}
 .contact-avatar{width:49px;height:49px;flex-basis:49px}
 .message-bubble{font-size:13px}
 .more-tile{font-size:14px;min-height:72px}
 .sheet-head h2{font-size:29px}
 .popover h2{font-size:25px}
 .notification-row strong{font-size:14px}
 .notification-row span{font-size:12px}
 .bottom-link{font-size:11px}
}

.avatar-action{overflow:hidden}.avatar-action img{width:100%;height:100%;border-radius:50%;object-fit:cover}
#nl-badge-frame{display:none!important;pointer-events:none!important}

@media(max-width:760px){.calendar-aside{display:block!important;margin-top:10px}.calendar-shell{display:block!important}}

/* Dynamic inbox ownership, agent statuses and filters */
.inbox-assignee{display:flex;align-items:center;gap:4px;font-size:10px;color:#65766b;margin-top:4px;font-weight:700;line-height:1.2}
.inbox-assignee svg{width:12px;height:12px;flex-shrink:0}
.inbox-chips{display:flex;overflow-x:auto;gap:7px;scrollbar-width:thin}
.inbox-chips .inbox-chip{flex:0 0 auto;white-space:nowrap}
@media(max-width:760px){.inbox-chips{padding-bottom:7px}}
