/* Supplied CRM homepage: 48px header, 64px application rail, 200px menu, 12px gutters. */
body .v3-workbench.crm-home{position:fixed!important;inset:0!important;z-index:15000;padding:0!important;margin:0!important;width:100%!important;max-width:none!important;overflow:hidden!important;background:#f1f3f8;color:#181c25;font:13px/1.5 -apple-system,BlinkMacSystemFont,'PingFang SC','Microsoft YaHei',sans-serif}.crm-home *{box-sizing:border-box}.crm-home button{font:inherit;cursor:pointer}.crm-home svg,.crm-dialog-content svg{height:17px;width:17px;flex-shrink:0;fill:none;stroke:currentColor;stroke-width:1.5;stroke-linecap:round;stroke-linejoin:round;vertical-align:middle}.crm-top{height:48px;display:flex;align-items:center;padding:0 16px;gap:20px}.crm-company{font-size:12px;display:flex;gap:8px;align-items:center}.crm-logo{background:#ffad24;color:white;width:22px;height:22px;border-radius:7px;display:grid;place-items:center;font-size:13px;font-weight:700}.crm-global-search{margin-left:auto;display:flex;align-items:center;background:#e9ecf2;border-radius:5px;height:28px;padding:0 8px;font-size:11px;color:#89919e}.crm-global-search input{border:0;background:none;width:185px;outline:none;font:inherit;padding-left:8px}.crm-top-icon{display:flex;gap:18px;color:#707783}.crm-top>.ht-avatar{background:#e2d8f6;color:#8266af}.crm-frame{height:calc(100% - 48px);display:grid;grid-template-columns:64px 200px minmax(0,1fr);gap:12px;padding:0 12px 12px 0}.crm-apps{display:flex;flex-direction:column;align-items:stretch;gap:2px;position:relative;padding-bottom:38px}.crm-apps>button{border:0;background:none;display:flex;flex-direction:column;align-items:center;gap:3px;padding:10px 2px;font-size:10px;color:#626c78;min-height:56px}.crm-apps>button.selected{background:white;border-radius:8px 0 0 8px;color:#ff8000;font-weight:600}.crm-app-bottom{position:absolute;bottom:10px;left:25px;font-size:18px;color:#89919e}.crm-menu{background:white;border-radius:8px;padding:12px 8px;overflow:auto;scrollbar-width:thin}.crm-menu>b{display:block;margin:0 6px 12px;font-size:15px}.crm-menu-search{height:30px;display:flex;border:1px solid #dee1e8;border-radius:5px;align-items:center;padding:0 7px;margin:0 4px 8px}.crm-menu-search input{border:0;outline:none;width:100%;min-width:0;font:inherit}.crm-menu-search svg{color:#a3aab4;width:14px}.crm-menu nav>button,.crm-menu details button{width:100%;display:flex;gap:8px;align-items:center;border:0;background:none;border-radius:4px;padding:8px;font-size:12px;color:#3c4350;text-align:left;min-height:34px}.crm-menu nav button[hidden]{display:none}.crm-menu nav button:hover{background:#f6f8fb}.crm-menu nav button.selected{background:#fff5e5;color:#f38b22}.crm-menu nav svg{width:14px;height:14px;color:#6eb899}.crm-menu nav>button:nth-child(3n) svg{color:#8ca8e6}.crm-menu nav>button:nth-child(4n) svg{color:#e6a49a}.crm-menu summary{font-size:12px;padding:9px 6px;color:#515864;cursor:pointer}.crm-menu details button{padding-left:24px}.crm-content{min-width:0;overflow-y:auto;scrollbar-width:thin;padding-bottom:65px;display:flex;flex-direction:column;gap:12px}.crm-filter{display:flex;align-items:center;gap:8px;border-radius:8px;padding:8px 12px;min-height:44px;background:white;flex-shrink:0}.crm-filter>span{color:#8b929c}.crm-filter svg{width:14px}.crm-brief{background:white;border-radius:8px;padding:12px;flex-shrink:0}.crm-brief h2{font-size:15px;line-height:24px;font-weight:600;margin:0 0 12px}.crm-metrics{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:12px}.crm-metrics>div{border-radius:6px;padding:14px 16px;min-height:102px}.crm-metrics .warm{background:#fff3ef}.crm-metrics .yellow{background:#fff8e8}.crm-metrics .green{background:#edfdf5}.crm-metrics .purple{background:#f5f0ff}.crm-metrics small{font-size:12px;display:block;color:#656b75}.crm-metrics strong{font-size:24px;font-weight:500;display:block;line-height:30px}.crm-metrics span{font-size:11px;color:#f88445}.crm-metrics .green span{color:#36b987}.crm-metrics .purple span{color:#9b7bea}.crm-metrics em{font-style:normal;color:#767d86;margin-left:4px}.crm-widgets{display:grid;grid-template-columns:minmax(0,1fr) 352px;gap:12px;align-items:start}.crm-home .task-panel{min-width:0;background:white;border:0;border-radius:8px;padding:16px;overflow:visible}.crm-home .ht-table{min-width:640px}.crm-home .ht-scroll{overflow-x:auto}.crm-home .ht-table .ht-name{width:33%}.crm-home .ht-table .ht-record{width:24%}.crm-home .ht-table .ht-sender{width:15%}.crm-home .ht-table .ht-due{width:14%}.crm-home .ht-table .ht-action{width:90px}.crm-home .ht-table td,.crm-home .ht-table th{padding-left:6px;padding-right:6px}.crm-home .ht-person{white-space:normal;gap:4px}.crm-home .ht-date{white-space:normal}.crm-home .ht-demo-scenario{margin-top:8px}.crm-calendar{background:white;border-radius:8px;min-width:0;padding:16px 14px 10px}.crm-calendar>header{display:flex;align-items:center;justify-content:space-between;gap:5px;margin-bottom:14px}.crm-calendar button{background:none;border:0;color:inherit;padding:0}.crm-calendar>header>div{display:flex;align-items:center;gap:8px}.crm-calendar>header>div>button{font-size:21px;color:#9198a2;width:17px;line-height:24px}.crm-calendar .crm-calendar-title{font-size:18px;font-weight:600;white-space:nowrap;line-height:26px}.crm-calendar-title span{font-weight:300;color:#8c939d;font-size:26px;vertical-align:-1px;margin-left:3px}.crm-calendar #crm-date-input{position:absolute;inset:0;opacity:0;width:100%;cursor:pointer}.crm-date{position:relative;display:block;font-size:12px;white-space:nowrap}.crm-calendar #crm-date-input::-webkit-calendar-picker-indicator{position:absolute;inset:0;width:100%;height:100%;cursor:pointer}.crm-calendar>header>div>button[data-crm=today]{font-size:14px}.crm-calendar .is-today{color:#d3d7de!important}.crm-summary{display:flex;align-items:flex-end;gap:3px;font-size:11px;color:#979da6;padding:0 0 13px;line-height:18px}.crm-summary span{display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden;flex:1}.crm-summary.expanded span{-webkit-line-clamp:unset}.crm-summary button{flex-shrink:0;color:#89919c;font-size:10px}.crm-agenda{max-height:424px;overflow:auto;scrollbar-width:thin}.crm-agenda.expanded{max-height:none}.crm-event{width:100%;display:flex!important;text-align:left!important;gap:12px!important;padding:10px 0!important;color:#30343b!important;line-height:1.55!important}.crm-event-time{width:42px;min-width:42px;text-align:right;font-size:13px;padding-top:1px;white-space:nowrap;font-variant-numeric:tabular-nums}.crm-event-time small{display:block;font-size:11px;color:#a2a7af;line-height:18px}.crm-event-copy{flex:1;min-width:0;border-left:2px solid #eceef2;padding-left:12px;padding-bottom:4px}.crm-event-title{display:block;font-size:13px;line-height:20px;overflow-wrap:break-word}.crm-event-copy>small{display:block;color:#9a9fa9;font-size:11px;margin-top:5px}.crm-event-action{display:block;color:#ff8a23;font-size:11px;margin-top:4px}.crm-field{display:inline-flex;align-items:center;vertical-align:-3px;color:#db9c4d;margin-right:4px}.crm-field svg{width:14px;height:14px}.crm-video{display:inline-block;color:#a1a4a9;margin-left:6px}.crm-video svg{width:15px;height:15px}.crm-event.all-day{padding-top:4px!important;padding-bottom:14px!important;margin-bottom:8px!important;border-bottom:1px solid #edf0f4!important}.crm-event.all-day .crm-event-copy{border-left-color:#dedfe5}.crm-ongoing{font-size:10px;color:#32a474;display:inline-block;background:#ebf8f2;border-radius:3px;padding:0 4px;margin-top:4px}.crm-calendar footer{display:flex;justify-content:space-between;padding-top:15px;color:#969da7;font-size:12px}.crm-calendar footer button:hover,.crm-event:hover .crm-event-title{color:#ff8000}.crm-calendar-empty{padding:35px 10px;text-align:center;color:#9ca4b0;font-size:12px}.crm-calendar-empty button{display:block;margin:12px auto;color:#ff8000}.crm-month-head{display:flex;align-items:center;margin:8px 4px 14px}.crm-month-head b{font-size:15px;margin-right:auto}.crm-month-head button{font-size:24px;width:32px;color:#969ca5}.crm-month-grid{display:grid;grid-template-columns:repeat(7,1fr);gap:5px;align-items:center;justify-items:center}.crm-month-grid>span{font-size:12px;color:#a4a7af;margin-bottom:5px}.crm-month-grid button{position:relative;width:30px;height:30px;font-size:13px;border-radius:50%}.crm-month-grid button.muted{color:#c9cbd1}.crm-month-grid button.selected{background:#ff8a00;color:white}.crm-month-grid button.has-event:after{content:'';position:absolute;bottom:0;left:calc(50% - 2px);height:4px;width:4px;border-radius:50%;background:#f39433}.crm-month-grid button.selected:after{background:white;bottom:2px}.crm-selected-date{font-size:11px;color:#a0a5af;margin:18px 0 4px}.crm-month-events{max-height:230px;overflow:auto;scrollbar-width:thin}.crm-month-events .crm-event{padding:8px 0!important}.crm-month-events .crm-event-copy{border-left:0;padding-left:0}.crm-month-events .crm-event-title{font-size:12px}.crm-month-events .crm-event-time{font-size:12px}.crm-dialog-content{font-size:13px;line-height:1.7}.crm-dialog-content dl{display:grid;grid-template-columns:70px 1fr;gap:14px}.crm-dialog-content dt{color:#a0a6af}.crm-dialog-content dd{margin:0}.crm-dialog-date{color:#798492}.crm-change{padding:12px;background:#fff7ed;color:#b38241;border-radius:6px}.crm-prep{margin-top:24px;border-top:1px solid #edf0f4;padding-top:16px}.crm-prep h3{font-size:15px}.crm-prep-status{color:#35a77b;background:#edf9f4;padding:3px 7px;font-size:12px}.crm-dialog-content label{display:block;margin:14px 0}.crm-dialog-content label input,.crm-dialog-content label select,.crm-dialog-content label textarea{display:block;border:1px solid #dfe4eb;border-radius:5px;padding:8px;width:100%;font:inherit;margin-top:5px;box-sizing:border-box}.crm-dialog-content textarea{min-height:100px}.crm-form-row{display:flex;gap:14px}.crm-form-row label{flex:1}.crm-dialog-content [role=alert]{color:#e57256}.crm-dialog-content button.crm-event{background:none;border:0}.crm-home .task-head{border:0}.crm-home .it-toolbar{margin-bottom:12px!important}
@media(max-width:1440px){.crm-widgets{grid-template-columns:minmax(0,1fr) 328px}.crm-frame{grid-template-columns:56px 180px minmax(0,1fr)}.crm-calendar{padding:14px 12px}.crm-calendar>header>div{gap:5px}.crm-home .task-panel{padding:12px}.crm-home .ht-table{min-width:610px;font-size:11px}.crm-home .ht-table .ht-title{font-size:12px}.crm-home .ht-table .ht-name{width:32%}.crm-home .ht-table .ht-task-meta{gap:3px;font-size:10px}.crm-home .ht-avatar{width:17px;height:17px;font-size:9px}.crm-home .ht-table .it-record{font-size:10px}}
@media(max-width:1150px){.crm-frame{grid-template-columns:52px 158px minmax(0,1fr);gap:8px}.crm-widgets{grid-template-columns:minmax(0,1fr)}.crm-calendar{max-width:440px}.crm-metrics>div{padding:12px 10px}.crm-top-icon{gap:8px}}@media(max-width:720px){.crm-frame{grid-template-columns:44px minmax(0,1fr)}.crm-menu{display:none}.crm-global-search,.crm-top-icon{display:none}.crm-top>.ht-avatar{margin-left:auto}.crm-metrics{grid-template-columns:repeat(2,1fr)}.crm-company{font-size:11px}.crm-content{padding-bottom:85px}.crm-top{padding:0 10px}.crm-home .ht-table{min-width:610px}.crm-apps>button{font-size:9px}.crm-calendar{max-width:none}.crm-frame{padding-right:8px}.crm-filter{font-size:11px}}

.crm-home .ht-date{white-space:nowrap}.crm-home .ht-overdue{display:block;width:max-content;margin:3px 0 0}.crm-create-choices{display:flex;gap:12px}
html:has(.crm-home),body:has(.crm-home){overflow:hidden!important;max-width:100vw!important}

/* Current calendar scope: schedules and meeting entry only. */
.crm-home .ht-date .ht-overdue{display:inline-flex;margin:0 0 0 6px;width:auto}
.crm-event{position:relative;display:block!important}.crm-event-main{display:flex!important;width:100%;gap:12px;text-align:left;line-height:1.55;padding:0;border:0;background:transparent;color:inherit;cursor:pointer}.crm-event.is-live{background:#fff9f1;border-radius:5px}.crm-event.is-live .crm-video,.crm-event.is-live .crm-event-title{color:#ed870e}.crm-join{position:relative;margin:5px 0 0 56px!important;padding:3px 9px!important;border:1px solid #ffb56c!important;border-radius:4px;color:#f5820a!important;background:#fff!important;font-size:11px!important;visibility:hidden;opacity:0}.crm-event:hover .crm-join,.crm-event:focus-within .crm-join{visibility:visible;opacity:1}@media(hover:none){.crm-join{visibility:visible;opacity:1}}.crm-meeting-preview{margin:22px 0;padding:32px 16px;background:#f4f5f8;border-radius:8px;text-align:center}.crm-meeting-preview svg{display:block;width:40px;height:40px;fill:none;stroke:#8f97a4;margin:0 auto 15px}.crm-meeting-preview small{color:#9299a5}

.crm-home .ht-table .ht-name{width:32%}.crm-home .ht-table .ht-record{width:22%}.crm-home .ht-table .ht-sender{width:16%}.crm-home .ht-table .ht-due{width:144px}.crm-home .ht-table .ht-action{width:94px}

/* Compact meeting entry: reserve one inline action slot without changing row height. */
.crm-event.is-live .crm-event-title{padding-right:66px}
.crm-event.is-live .crm-video{position:absolute;right:8px;top:12px;margin:0;line-height:20px}
.crm-event .crm-join{position:absolute;right:5px;top:9px;margin:0!important;height:24px;padding:0 5px!important;line-height:22px!important;box-sizing:border-box}
.crm-event.is-live:hover .crm-video,.crm-event.is-live:focus-within .crm-video{visibility:hidden}
@media(hover:none){.crm-event.is-live .crm-video{visibility:hidden}}
