:root{--bg:#0e1118;--panel:#171c26;--side:#10141d;--line:#29313e;--text:#edf0f6;--muted:#929eaf;--green:#a5ed55;--link:#b5ec83;--field:#121721;--hover:#202938;--soft:#243126}
:root[data-theme=light]{--bg:#f4f6fa;--panel:#ffffff;--side:#10141d;--line:#e5e9f0;--text:#172033;--muted:#6b778c;--green:#a5ed55;--link:#386b1c;--field:#fff;--hover:#f2f5f9;--soft:#edf6e6}
body{font-family:Inter,-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif;font-size:14px;letter-spacing:-.15px}.sidebar{background:#10141d;border-right:0;width:240px;padding:28px 18px}.sidebar .brand{color:#fff;font-size:21px;letter-spacing:-.8px}.sidebar .brand span{color:#7f8b9e;font-size:9px;letter-spacing:3px}.sidebar .workspace-label{color:#607086;font-size:9px;margin-top:42px}.sidebar .nav-label{color:#66758b;letter-spacing:1.2px;font-size:9px;margin-top:28px}.sidebar .nav-link{color:#a1adbf;font-size:13px;gap:12px;padding:12px 14px;border-radius:9px;margin-bottom:5px}.sidebar .nav-link.active{box-shadow:none;background:#a5ed5515;color:#a5ed55}.sidebar .nav-link:hover{background:#ffffff08;color:#f4f6fb}.sidebar .sidebar-bottom{border-top:1px solid #ffffff10;color:#8390a5;font-size:11px;line-height:1.8}.nav-icon{height:18px;width:18px;flex-shrink:0}.main{margin-left:240px}.signed-out{margin-left:0}.topbar{background:var(--panel);min-height:68px;padding:16px 32px;border-bottom:1px solid var(--line)}.breadcrumb{font-size:12px}.top-actions{gap:14px}.icon-button,.quiet-button{border-color:var(--line);border-radius:8px;padding:7px 11px}.content{padding:32px;max-width:1600px}.eyebrow{letter-spacing:1.5px;font-size:10px;margin-bottom:10px;color:var(--muted)}h1{font-size:30px;font-weight:650;letter-spacing:-1.1px;margin-bottom:9px}h2{font-size:18px;letter-spacing:-.45px}.page-heading{margin-bottom:26px}.page-heading .muted{font-size:13px}.panel{border:1px solid var(--line);border-radius:14px;box-shadow:0 2px 3px #0b152003,0 10px 25px #0b152003;padding:24px}.button{border-radius:9px;font-size:12px;padding:10px 16px;box-shadow:0 1px 2px #00000007}.button.primary{color:#172912;background:var(--green);border-color:var(--green);font-weight:650}.stat{position:relative;min-height:148px;overflow:hidden}.stat:after{content:"";position:absolute;width:48px;height:48px;border-radius:50%;right:20px;top:22px;background:var(--soft)}.stat strong{font-size:39px;line-height:1.55;font-weight:600}.stat .muted{font-size:12px}.stats-grid{gap:18px}.badge{background:var(--hover);border:0;border-radius:6px;padding:5px 8px;color:var(--muted)}.channel{border:0;border-radius:6px;padding:5px 9px}.table-panel{padding:0}.table-panel th{background:var(--hover);padding:15px 22px;font-size:10px}.table-panel td{padding:18px 22px}.lead-card{box-shadow:0 2px 5px #00000004;border-radius:12px}.pipeline-column{border:0;background:var(--hover);border-radius:12px;min-width:255px}.pipeline-summary a{border-radius:12px;padding:18px;background:var(--panel);box-shadow:0 3px 12px #00000003}.pipeline-summary a:hover{border-color:var(--link);text-decoration:none}.pipeline-summary strong{font-size:25px}.filters input,.filters select{background:var(--panel);font-size:12px;border-radius:9px}.workspace-tabs{gap:28px}.tab-link{font-weight:550}.form-stack label{font-size:12px}.form-stack input,.form-stack textarea,.form-stack select{border-radius:9px}.section-heading>a{font-weight:550}.avatar{border-radius:10px}.avatar.large{border-radius:16px}.record-grid .panel{border-radius:12px}.stage-step{border-radius:9px}.notice{background:var(--soft);border:0;border-radius:10px;font-size:13px}.empty-state{padding:30px 16px}.login-card{max-width:460px;padding:36px;margin-top:45px;box-shadow:0 18px 50px #00000008}.login-logo{background:#10141d;border-radius:14px;padding:8px}
.calendar-content{padding:22px 28px;max-width:none}.calendar-content .page-heading{margin-bottom:18px;align-items:center}.calendar-content .page-heading h1{font-size:26px;margin-bottom:4px}.calendar-content .eyebrow{margin-bottom:5px}.calendar-content .page-heading .muted{font-size:12px}.calendar-panel{padding:18px;margin-bottom:0;display:flex;flex-direction:column;height:calc(100dvh - 221px);min-height:300px;overflow:hidden}.calendar-panel>.section-heading{flex-shrink:0;margin-bottom:14px;min-height:34px}.calendar-panel .calendar-grid{flex:1;min-height:0;grid-template-rows:30px repeat(6,minmax(0,1fr));border-radius:8px;overflow:hidden}.calendar-panel .weeks-4{grid-template-rows:30px repeat(4,minmax(0,1fr))}.calendar-panel .weeks-5{grid-template-rows:30px repeat(5,minmax(0,1fr))}.calendar-panel .weeks-6{grid-template-rows:30px repeat(6,minmax(0,1fr))}.calendar-panel .weekday{padding:6px;background:var(--hover);font-size:10px;font-weight:600}.calendar-panel .calendar-day{min-height:0;padding:7px;overflow-y:auto;overscroll-behavior:contain}.calendar-panel .day-number{width:23px;height:23px;font-size:11px}.calendar-panel .calendar-post{padding:5px 7px;font-size:10px;border-left:2px solid var(--green);background:var(--soft);margin-top:4px}.calendar-panel .calendar-post strong{display:-webkit-box;-webkit-box-orient:vertical;-webkit-line-clamp:2;overflow:hidden;font-weight:550;line-height:1.35}.calendar-panel .calendar-post span{font-size:8px}.calendar-panel .outside{opacity:.6}.calendar-panel .calendar-actions .button{padding:6px 12px;font-size:11px}.calendar-panel h2{font-size:18px}
@media(min-width:1100px) and (min-height:650px){.calendar-content{height:calc(100dvh - 68px);display:flex;flex-direction:column;overflow:hidden}.calendar-content>.page-heading{flex-shrink:0;min-height:73px}.calendar-content>.calendar-panel{height:auto;flex:1;min-height:0}}
@media(max-width:1099px){.sidebar{width:214px}.main{margin-left:214px}.signed-out{margin-left:0}.content{padding:24px}.calendar-content{padding:18px}.calendar-panel{overflow-x:auto;height:calc(100dvh - 210px);min-height:380px}.calendar-panel .calendar-grid{flex:none;height:100%;min-height:280px}.calendar-panel .section-heading{min-width:700px}.stat:after{display:none}}
@media(max-width:760px){.sidebar{width:240px}.main{margin-left:0}.topbar{min-height:64px;padding:12px 18px}.content{padding:24px 18px}.menu-open .sidebar{top:64px;height:calc(100dvh - 64px)}.calendar-content .page-heading{flex-direction:row;flex-wrap:wrap;gap:12px}.calendar-content .page-heading h1{font-size:23px}.calendar-panel{height:calc(100dvh - 240px);min-height:380px;padding:12px}.calendar-content{padding:18px 12px}.calendar-panel .section-heading{min-width:700px;flex-direction:row;align-items:center}.calendar-panel .calendar-grid{min-width:700px}.stat{min-height:auto}.pipeline-summary strong{font-size:21px}}

@media(max-width:1099px){.calendar-panel .calendar-grid{flex:1;height:auto;min-height:0}}
