/* Customer-service workspace design. Scoped to the conversation panel. */
#v-cs .ppt-admin{display:block!important;position:relative;min-height:calc(100vh - 90px);background:#f5f8fd!important;border:0!important;border-radius:0!important;box-shadow:none!important}
#v-cs .ppt-main{padding:22px 24px!important;background:#f5f8fd!important}
#v-cs .cs-view-navigation{position:absolute;z-index:15;top:42px;right:26px;display:block!important;width:auto;padding:0!important;border:0!important;background:transparent!important}
#v-cs .cs-view-navigation details{position:relative}#v-cs .cs-view-navigation summary{list-style:none;padding:8px 12px;border:1px solid #dce7f5;border-radius:9px;background:#fff;color:#526c8f;font-size:12px;font-weight:700;cursor:pointer}#v-cs .cs-view-navigation summary::-webkit-details-marker{display:none}#v-cs .cs-view-options{position:absolute;top:calc(100% + 6px);right:0;display:grid;width:180px;padding:7px;border:1px solid #dce7f5;border-radius:11px;background:#fff;box-shadow:0 15px 35px #18345520}#v-cs .cs-view-options button{text-align:left}#v-cs .cs-view-options button small{display:none}
#v-cs .cs-heading{display:flex!important;align-items:center!important;justify-content:flex-start!important;gap:22px;min-height:68px!important;margin:0 0 15px!important;padding:0!important;border:0!important;border-radius:0!important;background:none!important}
#v-cs .cs-heading h2{font-size:27px!important;white-space:nowrap;color:#142c51!important}
#v-cs .cs-queue-metrics{display:flex;gap:10px;margin:0!important}.cs-queue-metrics>div{display:flex;align-items:center;gap:9px;min-width:105px;padding:9px 13px!important;border:1px solid #dce8f7;border-radius:10px;background:#eef5fe!important;box-shadow:none!important}.cs-queue-metrics>div:nth-child(2){background:#fff4f6!important;border-color:#f3dce1}.cs-queue-metrics span{color:#365375!important;font-size:12px!important;white-space:nowrap}.cs-queue-metrics strong{margin:0!important;font-size:19px!important;color:#173a71!important}.cs-queue-metrics>div:nth-child(2) strong{color:#b72f48!important}
#v-cs #cs-claim-panel{margin:0 0 12px!important;border-radius:10px!important}#v-cs #cs-claim-panel>summary{padding:9px 14px;cursor:pointer;color:#2d5386;font-size:12px;font-weight:700}
#v-cs .desk{display:grid!important;grid-template-columns:minmax(260px,300px) minmax(350px,.95fr) minmax(390px,1.25fr)!important;gap:13px!important;align-items:stretch!important;min-height:calc(100vh - 220px)}
#v-cs .case-chat-pair:not([hidden]){display:contents!important}#v-cs .case-chat-pair[hidden]{display:none!important}
#v-cs .desk>.card:first-child,#v-cs .case-chat-pair>.card:first-child,#v-cs .chat-col{height:calc(100vh - 215px)!important;min-height:610px;max-height:none!important;border:1px solid #e1eaf5!important;border-radius:13px!important;background:#fff!important;box-shadow:none!important}
#v-cs .desk>.card:first-child{overflow:auto!important}#v-cs .cs-inbox .card-h{display:flex;align-items:center;justify-content:space-between;padding:16px 18px 10px!important;border:0!important}#v-cs .cs-inbox .card-h b{font-size:17px!important}#v-cs .cs-inbox .card-h .sub{font-size:12px;color:#6f85a2}#v-cs .cs-inbox-search{padding:0 14px 12px;border-bottom:1px solid #eaf0f7}#v-cs .cs-inbox-search input{width:100%;padding:10px 12px;border:1px solid #dbe6f3;border-radius:8px;background:#f8fbff;color:#233b60;font:inherit;font-size:12px}
#v-cs .lead{align-items:center;min-height:70px;margin:0 9px;padding:10px 8px!important;border-bottom:1px solid #eaf0f7!important;border-radius:7px}#v-cs .lead.on{background:#fff0f2!important;box-shadow:inset 3px 0 0 #bd3048!important}#v-cs .lead .av{width:38px;height:38px;background:#e9f2fc;color:#285a99;font-size:12px}#v-cs .lead .l-t{font-size:14px;font-weight:750;color:#203453}#v-cs .lead .l-s{margin-top:4px;font-size:11px;color:#7185a2}#v-cs .lead .presence-state{font-size:10px}#v-cs .lead .l-r{text-align:right;white-space:nowrap}#v-cs .lead .l-r .tm{font-size:10px}#v-cs .lead .l-r .red{color:#bd3048;font-weight:700}
#v-cs .case-chat-pair>.card:first-child{overflow:auto!important}#v-cs .case-chat-pair>.card:first-child>.card-b{padding:19px!important}#v-cs .pf-head{align-items:center;padding-bottom:17px;border-bottom:1px solid #e8eff8}#v-cs .pf-head .av{width:46px;height:46px;border-radius:11px;background:#d9ebff;color:#215caa;font-size:15px}#v-cs .pf-head h3{font-size:19px!important;margin:0}#v-cs .pf-head p{font-size:11px!important;color:#8294ad}#v-cs .pf-head>div:last-child{font-size:11px}
#v-cs .kv{grid-template-columns:repeat(2,minmax(0,1fr))!important;gap:0!important;margin:15px 0!important;border:1px solid #e5edf7;border-radius:11px;overflow:hidden;background:#f9fbfe}#v-cs .kv>div{min-height:74px;padding:13px!important;border-right:1px solid #e5edf7;border-bottom:1px solid #e5edf7}#v-cs .kv>div:nth-child(2n){border-right:0}#v-cs .kv>div:nth-child(3),#v-cs .kv>div:nth-child(4){border-bottom:0}#v-cs .kv>div:nth-child(n+5){display:none}#v-cs .kv .k{font-size:11px;color:#7890ad}#v-cs .kv .v{margin-top:7px;font-size:14px;color:#203756;font-weight:700}
#v-cs .ai{margin:16px 0!important;padding:17px!important;background:#f1f7ff!important;border:1px solid #dce9fa!important;border-radius:10px!important}#v-cs .ai .h{font-size:14px!important;color:#24549a}#v-cs .ai p{font-size:12px!important;line-height:1.6;color:#465e7d}#v-cs .ai .tags{display:none}#v-cs .ai .intake-record-details{font-size:11px}
#v-cs .steps-line,#v-cs .steps-line+*{display:none}#v-cs .card-b>div:has(>.steps-line){display:none}#v-cs .cs-current-stage{margin:16px 0;padding:5px 0;font-size:12px;color:#7087a5}#v-cs .cs-current-stage span{display:block;margin-bottom:8px}#v-cs .cs-current-stage strong{display:block;padding:9px 12px;border-radius:8px;background:#e5f0ff;color:#20529d;font-size:15px}#v-cs .cs-current-stage p{margin:7px 0 0;color:#7186a3;font-size:11px}
#v-cs .act-row{display:flex;align-items:center;gap:7px;margin-top:20px;flex-wrap:wrap}#v-cs .act-row .act{min-height:37px;font-size:11px!important;padding:8px 10px!important}#v-cs .act-row [data-action][hidden]{display:none!important}#v-cs .cs-action-label{flex-basis:100%;margin-bottom:3px;color:#7087a5;font-size:11px;font-weight:700}
#v-cs .chat-col{display:flex!important;flex-direction:column!important;overflow:hidden}#v-cs .chat-col .card-h{padding:17px 19px!important}.chat-col .card-h b{font-size:17px!important}.chat-col .card-h .sub{font-size:11px;color:#8da0b8}.chat-col .msgs{flex:1;min-height:0;background:#f1f7ff!important;padding:17px 18px!important;overflow:auto}.chat-col .msg .b{max-width:88%;font-size:12px;line-height:1.65;border-radius:10px}.chat-col .quick{display:flex;flex-wrap:wrap;gap:5px;padding:10px 14px!important;background:#fff}.chat-col .quick span{padding:6px 10px;border:1px solid #cfe1f7;border-radius:16px;color:#2f5e9a;font-size:10px;cursor:pointer}.chat-col .chat-in{padding:9px 12px!important;background:#fff}.chat-col .chat-in input{min-width:0;border:1px solid #d6e5f7;border-radius:20px;background:#f8fbff;font-size:12px}.chat-col .chat-in button{border-radius:50%!important}
#v-cs .cs-empty-detail{grid-column:2/4;height:calc(100vh - 215px);min-height:610px}
@media(max-width:1150px){#v-cs .desk{grid-template-columns:270px minmax(0,1fr)!important}#v-cs .case-chat-pair:not([hidden]){display:grid!important;grid-template-columns:1fr!important;grid-column:2;gap:13px}#v-cs .case-chat-pair>.card:first-child,#v-cs .chat-col{height:auto!important;min-height:360px}#v-cs .chat-col{height:550px!important}#v-cs .cs-empty-detail{grid-column:2;height:auto;min-height:360px}}
@media(max-width:760px){#v-cs .ppt-main{padding:12px!important}#v-cs .cs-view-navigation{position:static;display:block!important;margin:0 12px 0 auto;padding:8px 0 0!important;width:max-content}#v-cs .cs-heading{display:block!important;min-height:0!important;margin:4px 0 12px!important}#v-cs .cs-heading h2{font-size:23px!important;margin-bottom:10px}#v-cs .cs-queue-metrics{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:5px}.cs-queue-metrics>div{display:block;min-width:0;padding:8px!important}.cs-queue-metrics strong{display:block!important;margin-top:2px!important}#v-cs .desk{display:block!important;min-height:0}#v-cs .desk>.card:first-child{height:auto!important;max-height:60vh!important;min-height:0}#v-cs .case-chat-pair:not([hidden]){display:block!important}#v-cs .case-chat-pair>.card:first-child{height:auto!important;min-height:0}#v-cs .chat-col{height:min(72vh,620px)!important;min-height:350px}#v-cs .desk[data-mobile-view="cases"] .case-chat-pair{display:none!important}#v-cs .desk[data-mobile-view="profile"]>.card:first-child,#v-cs .desk[data-mobile-view="chat"]>.card:first-child{display:none!important}#v-cs .desk[data-mobile-view="profile"] .chat-col{display:none!important}#v-cs .desk[data-mobile-view="chat"] .case-chat-pair>.card:first-child{display:none!important}#v-cs .cs-empty-detail{height:auto;min-height:250px}}
#v-cs .ppt-top{min-height:36px!important;margin:0 0 8px!important;padding:0 4px!important;border:0!important;background:transparent!important;box-shadow:none!important;font-size:11px!important}
#v-cs .cs-extra-facts{grid-column:1/-1;padding:0 13px 10px;background:#fff}#v-cs .cs-extra-facts summary{padding:9px 0;color:#315889;font-size:11px;font-weight:700;cursor:pointer}#v-cs .cs-extra-facts-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}#v-cs .kv .cs-extra-facts .v{margin-top:7px;font-size:14px;color:#203756;font-weight:700}
#v-cs .cs-extra-file{display:flex;align-items:center;justify-content:space-between;gap:8px;flex-wrap:wrap;padding:5px 0!important;font-size:13px;font-weight:500}#v-cs .cs-extra-file+.cs-extra-file{border-top:1px solid #e5edf7}#v-cs .cs-extra-file .act{white-space:nowrap}
#v-cs .cs-history-shortcut:not([hidden]){display:flex;align-items:center;justify-content:space-between;gap:12px;margin:14px 0 0;padding:14px 16px;border:1px solid #c7ddf6;border-left:4px solid #3276be;border-radius:12px;background:#eef6ff}#v-cs .cs-history-shortcut strong{display:block;color:#173b6a;font-size:14px}#v-cs .cs-history-shortcut small{display:block;margin-top:4px;color:#6882a1;font-size:11px}#v-cs .cs-history-shortcut .act{flex:none;background:#fff}
.cs-history-dialog{position:fixed;inset:0;margin:auto;width:min(640px,calc(100vw - 32px));max-height:min(75dvh,720px);padding:0;border:1px solid #dce7f4;border-radius:16px;box-shadow:0 24px 70px #102c4e35;color:#193353;box-sizing:border-box;overflow:hidden}
@media(max-width:640px){.cs-history-dialog{width:calc(100vw - 16px);max-height:calc(100dvh - 16px)}.cs-history-dialog header{padding:16px}.cs-history-dialog-body{max-height:calc(100dvh - 104px);padding:14px}}.cs-history-dialog::backdrop{background:#152b4566}.cs-history-dialog header{display:flex;align-items:center;justify-content:space-between;gap:12px;padding:18px 22px;border-bottom:1px solid #e4ecf5;background:#fff}.cs-history-dialog header small{color:#3972ad;font-size:11px;font-weight:700}.cs-history-dialog h2{margin:4px 0 0;font-size:19px}.cs-history-dialog-body{padding:18px 22px;max-height:calc(75vh - 80px);overflow:auto;background:#f7faff}.cs-history-dialog [data-cs-history-list]{display:grid;gap:9px}.cs-history-dialog [data-cs-history-list] .act{display:block;text-align:left;white-space:normal;line-height:1.6;background:#fff;padding:11px 14px}.cs-history-dialog [data-cs-history-detail]:not(:empty){margin-top:14px;padding:16px;border:1px solid #dce7f4;border-radius:11px;background:#fff;font-size:13px;line-height:1.7;overflow-wrap:anywhere}.cs-history-dialog [data-cs-history-detail] h4{margin:0 0 8px;font-size:15px}.cs-history-dialog [data-cs-history-detail] p{margin:8px 0}
#v-cs .card-b>div:has(>.steps-line){display:block}#v-cs .steps-line{display:block;max-height:130px;overflow:auto}#v-cs .steps-line+*{display:block}
#v-cs .case-chat-pair>.card:first-child>.card-b{display:flex;flex-direction:column;min-height:100%;box-sizing:border-box}#v-cs .case-chat-pair .act-row{margin-top:auto;padding-top:20px}#v-cs .act-row [data-action="medical"],#v-cs .act-row [data-action="quote"]{background:#c82d45!important;color:#fff!important;border-color:#c82d45!important}
#v-cs .cs-quick-label{align-self:center;color:#7789a3;font-size:11px;white-space:nowrap}#v-cs .chat-col .quick span{font-weight:700}#v-cs .chat-col .chat-in button{display:grid;place-items:center;flex:none;width:42px;height:42px;background:#224a8a!important;color:#fff!important;border:0!important}#v-cs .chat-col .chat-in svg{display:block}
#v-cs .cs-view-navigation{position:static!important;display:flex!important;align-items:center;gap:5px;width:max-content;max-width:100%;margin:0 0 16px!important;padding:4px!important;border:1px solid #e1e9f4!important;border-radius:11px;background:#eef3fa!important;box-shadow:none!important;overflow-x:auto}
#v-cs .cs-view-navigation .cs-nav{flex:0 0 auto;min-height:36px!important;padding:8px 15px!important;border:0!important;border-radius:8px!important;background:transparent!important;color:#58708e!important;font-size:13px!important;white-space:nowrap}
#v-cs .cs-view-navigation .cs-nav.on{background:#fff!important;color:#b72f48!important;box-shadow:0 1px 5px #17385f16!important}
#v-cs .cs-view-navigation .cs-unread-badge{display:inline-flex;align-items:center;justify-content:center;min-width:18px;height:18px;margin-left:6px;padding:0 4px;border-radius:10px;background:#d42f4b;color:#fff;font-size:11px;font-weight:800;line-height:1;vertical-align:middle}
#v-cs .cs-view-navigation .cs-unread-badge[hidden]{display:none!important}
#v-cs .lead-unread-dot{display:inline-block;margin-left:6px;padding:2px 6px;border-radius:8px;background:#fde8ec;color:#c22c47;font-size:10px;font-weight:800;vertical-align:middle}
@media(max-width:760px){#v-cs .cs-view-navigation{width:100%;box-sizing:border-box;margin:0 0 12px!important}#v-cs .cs-view-navigation .cs-nav{flex:1 0 auto;text-align:center}}
#v-cs .cs-schedule-filters{display:flex;flex-wrap:wrap;align-items:end;gap:12px;margin:16px 0 12px}#v-cs .cs-schedule-filters label{display:grid;gap:6px;color:#607893;font-size:12px;font-weight:700}#v-cs .cs-schedule-filters input,#v-cs .cs-schedule-filters select{min-height:40px;min-width:170px;padding:8px 10px;border:1px solid #dce7f5;border-radius:9px;background:#fff;color:#17345b;font:inherit}#v-cs .cs-schedule-filters button{min-height:40px;padding:8px 17px;border:0;border-radius:9px;background:#294a88;color:#fff;font-weight:700;cursor:pointer}#v-cs .cs-schedule-list{display:grid;grid-template-columns:repeat(auto-fill,minmax(310px,1fr));gap:12px;margin-top:14px}#v-cs .cs-schedule-card{display:grid;gap:14px;padding:18px;border:1px solid #e0eaf6;border-radius:12px;background:#fff;box-shadow:0 4px 16px #17385f0a}#v-cs .cs-schedule-card>div:first-child{display:grid;gap:5px}#v-cs .cs-schedule-card strong{font-size:17px;color:#142c51}#v-cs .cs-schedule-card span,#v-cs .cs-schedule-count{font-size:12px;color:#7187a2}#v-cs .cs-schedule-time{font-size:21px;font-weight:750;color:#244b89}#v-cs .cs-schedule-time.rest{color:#ac4760}#v-cs .cs-schedule-time small{display:block;margin-top:3px;font-size:11px;font-weight:400;color:#8295ad}#v-cs .cs-schedule-count{padding-top:10px;border-top:1px solid #edf2f8}#v-cs .cs-schedule-empty{grid-column:1/-1;padding:30px;border:1px dashed #d6e2ef;border-radius:12px;text-align:center;color:#8194ac}
@media(max-width:760px){#v-cs .cs-schedule-filters{display:grid;grid-template-columns:repeat(2,minmax(0,1fr))}#v-cs .cs-schedule-filters input,#v-cs .cs-schedule-filters select{min-width:0;width:100%;box-sizing:border-box}#v-cs .cs-schedule-filters button{align-self:end}#v-cs .cs-schedule-list{grid-template-columns:1fr}}
#v-cs .cs-schedule-heading{display:flex;align-items:center;min-height:112px;padding:18px 26px;border:1px solid #dde9f5;border-radius:14px;background:#eef6fd url('../images/doctor-stethoscope.jpg') right center/auto 100% no-repeat}
#v-cs .cs-schedule-eyebrow{display:block;color:#b63149;font-size:11px;font-weight:800;letter-spacing:.12em}#v-cs .cs-schedule-heading h2{margin:3px 0 4px;color:#142c51;font-size:27px}#v-cs .cs-schedule-heading p{margin:0;color:#6f84a0;font-size:12px}
#v-cs .cs-schedule-metrics{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:11px;margin:13px 0}#v-cs .cs-schedule-metrics>div{padding:16px 18px;border:1px solid #e1eaf4;border-radius:12px;background:#fff}#v-cs .cs-schedule-metrics span{display:block;color:#778aa4;font-size:12px}#v-cs .cs-schedule-metrics strong{display:block;margin-top:5px;color:#172f58;font-size:26px}#v-cs .cs-schedule-metrics>div:nth-child(2) strong{color:#b7324a}
#v-cs .cs-schedule-filters{margin:0 0 13px;padding:15px;border:1px solid #e1eaf4;border-radius:12px;background:#fff}#v-cs .cs-schedule-board{border:1px solid #e1eaf4;border-radius:13px;background:#fff;overflow:hidden}#v-cs .cs-schedule-board-head{display:flex;align-items:center;gap:12px;padding:15px 19px;border-bottom:1px solid #e9eff7}#v-cs .cs-schedule-board-head h3{margin:0;font-size:17px;color:#17345b}#v-cs .cs-schedule-board-head p{margin:0;color:#8193aa;font-size:11px}
#v-cs .cs-schedule-list{display:block;margin:0}#v-cs .cs-schedule-card{display:grid;grid-template-columns:46px minmax(160px,1.5fr) minmax(140px,1fr) minmax(130px,.8fr) 72px;align-items:center;gap:13px;padding:15px 19px;border:0;border-bottom:1px solid #edf2f8;border-radius:0;background:#fff;box-shadow:none}#v-cs .cs-schedule-card:last-child{border-bottom:0}#v-cs .cs-schedule-avatar{display:grid;place-items:center;width:43px;height:43px;border-radius:11px;background:#e8f1fb;color:#285995;font-size:17px;font-weight:700}#v-cs .cs-schedule-person{display:grid;gap:4px;min-width:0}#v-cs .cs-schedule-person strong{font-size:15px}#v-cs .cs-schedule-person span{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}#v-cs .cs-schedule-time{font-size:16px}#v-cs .cs-schedule-count{display:grid;gap:3px;padding:0;border:0}#v-cs .cs-schedule-badge{justify-self:end;padding:6px 8px;border-radius:7px;background:#e9f7f1;color:#158660;font-size:11px;font-weight:700;white-space:nowrap}#v-cs .cs-schedule-badge.rest{background:#faebee;color:#b63149}
@media(max-width:1000px){#v-cs .cs-workspace:has(.cs-panel[data-cs-content="schedule"].on) .ppt-main{grid-template-columns:150px minmax(0,1fr);gap:12px}#v-cs .cs-schedule-card{grid-template-columns:43px minmax(120px,1fr) minmax(100px,.7fr) 70px}#v-cs .cs-schedule-count{display:none}}
@media(max-width:760px){#v-cs .cs-workspace:has(.cs-panel[data-cs-content="schedule"].on) .ppt-main{display:block;min-height:0}#v-cs .cs-workspace:has(.cs-panel[data-cs-content="schedule"].on) .cs-view-navigation{flex-direction:row;overflow-x:auto;margin:0 0 12px!important}#v-cs .cs-schedule-heading{min-height:100px;padding:15px;background-position:70% center}#v-cs .cs-schedule-heading h2{font-size:22px}#v-cs .cs-schedule-heading p{max-width:230px}#v-cs .cs-schedule-metrics{grid-template-columns:repeat(2,minmax(0,1fr));gap:7px}#v-cs .cs-schedule-metrics>div{padding:11px}#v-cs .cs-schedule-metrics strong{font-size:21px}#v-cs .cs-schedule-filters{display:grid;grid-template-columns:repeat(2,minmax(0,1fr))}#v-cs .cs-schedule-card{grid-template-columns:40px minmax(0,1fr) auto;gap:8px;padding:13px}#v-cs .cs-schedule-avatar{width:38px;height:38px}#v-cs .cs-schedule-time{grid-column:2;font-size:15px}#v-cs .cs-schedule-badge{grid-column:3;grid-row:1}#v-cs .cs-schedule-count{display:none}}
#v-cs .cs-video-appointments{margin:14px 0 4px;padding:13px 15px;border:1px solid #d9e8f8;border-radius:11px;background:#f5f9ff}
#v-cs .cs-schedule-count button{width:max-content;padding:0;border:0;background:none;color:#1e5d9f;font:inherit;text-align:left;text-decoration:underline;cursor:pointer}
#v-cs .cs-schedule-count button:disabled{color:#7187a2;text-decoration:none;cursor:default}
#v-cs #cs-schedule-booked{display:block;margin-top:5px;padding:0;border:0;background:none;color:#245b99;font-size:26px;font-weight:780;line-height:1.2;text-align:left;text-decoration:underline;cursor:pointer}
#v-cs #cs-schedule-booked:disabled{color:#172f58;text-decoration:none;cursor:default}
.cs-schedule-dialog{position:fixed;inset:0;margin:auto;width:min(520px,calc(100vw - 32px));max-height:calc(100dvh - 32px);overflow:auto;padding:20px;border:1px solid #dce7f5;border-radius:13px;color:#17345b;box-shadow:0 20px 60px #17345b30}.cs-schedule-dialog::backdrop{background:#152d4e66}.cs-schedule-dialog h2{margin:0 0 7px;font-size:20px}.cs-schedule-dialog p{color:#7187a2;font-size:12px}.cs-schedule-bookings{display:grid;gap:8px;margin:16px 0}.cs-schedule-bookings>div{display:flex;justify-content:space-between;align-items:center;gap:12px;padding:10px;border:1px solid #e1eaf4;border-radius:8px}.cs-schedule-bookings button,.cs-schedule-dialog [data-close]{padding:7px 11px;border:1px solid #d3e0ef;border-radius:7px;background:#fff;color:#24538a;cursor:pointer}
@media(max-width:1000px){#v-cs .cs-schedule-card{grid-template-columns:43px minmax(120px,1fr) minmax(100px,.7fr) minmax(120px,.8fr) 70px}#v-cs .cs-schedule-count{display:grid!important}}
@media(max-width:760px){#v-cs .cs-schedule-card{grid-template-columns:40px minmax(0,1fr) auto}#v-cs .cs-schedule-count{grid-column:2/-1;grid-row:3;display:flex!important;flex-wrap:wrap;gap:8px}}
#v-cs .cs-video-appointments[hidden]{display:none}
#v-cs .cs-video-appointments h4{margin:0 0 8px;color:#173a71;font-size:13px}
#v-cs .cs-video-appointments h4 span{color:#8294ad;font-weight:400}
#v-cs .cs-video-list{display:grid;gap:7px;max-height:240px;overflow:auto}
#v-cs .cs-video-item{display:flex;align-items:center;justify-content:space-between;gap:10px;padding:9px 10px;border:1px solid #e1eaf4;border-radius:8px;background:#fff}
#v-cs .cs-video-item div{display:grid;gap:3px;min-width:0}
#v-cs .cs-video-item strong{color:#17345b;font-size:12px}
#v-cs .cs-video-item span{color:#7187a2;font-size:11px;overflow-wrap:anywhere}
#v-cs .cs-video-status{flex:none;padding:3px 7px;border-radius:6px;background:#edf3fa;color:#315889;font-size:11px;font-style:normal}
#v-cs .cs-video-status.pending{background:#fff3e6;color:#a56318}
#v-cs .cs-video-status.confirmed{background:#e7f7f0;color:#0b875c}

/* Doctor-to-CS reminders and the list-first doctor arrangement. */
#v-cs .cs-staff-messages-heading{display:flex;align-items:center;justify-content:space-between;gap:20px;min-height:112px;padding:18px 26px;border:1px solid #dde9f5;border-radius:14px;background-color:#eef6fd;background-image:linear-gradient(90deg,#eef6fd 0%,#eef6fd 35%,#eef6fd99 53%,transparent 70%),url('../images/cs-urban-hero.jpg?v=20261111');background-position:center,right center;background-size:cover;background-repeat:no-repeat}
#v-cs .cs-staff-messages-heading span{display:block;color:#b63149;font-size:11px;font-weight:800;letter-spacing:.12em}
#v-cs .cs-staff-messages-heading h2{margin:3px 0 4px;color:#142c51;font-size:27px}
#v-cs .cs-staff-messages-heading p{margin:0;color:#6f84a0;font-size:12px}
#v-cs .cs-staff-messages-heading>button{flex:none;padding:9px 14px;border:1px solid #cdddec;border-radius:9px;background:#fff;color:#31577f;font:inherit;font-size:12px;font-weight:700;cursor:pointer}
#v-cs .cs-staff-message-list{display:grid;gap:10px;margin-top:14px}
#v-cs .cs-staff-message{display:grid;grid-template-columns:42px minmax(0,1fr);gap:13px;padding:15px 17px;border:1px solid #e1eaf4;border-radius:12px;background:#fff}
#v-cs .cs-staff-message.unread{border-color:#efcbd3;background:#fffafb;box-shadow:inset 3px 0 0 #bf3048}
#v-cs .cs-staff-message-icon{display:grid;place-items:center;width:40px;height:40px;border-radius:10px;background:#e9f1fb;color:#285995;font-size:14px;font-weight:800}
#v-cs .cs-staff-message-main{display:grid;gap:8px;min-width:0}
#v-cs .cs-staff-message-head{display:flex;align-items:center;justify-content:space-between;gap:12px;color:#17345b}
#v-cs .cs-staff-message-head strong{font-size:14px}.cs-staff-message-head time{color:#8a9bb0;font-size:11px;white-space:nowrap}
#v-cs .cs-staff-message-main p{margin:0;color:#405b7b;font-size:13px;line-height:1.65;white-space:pre-wrap;overflow-wrap:anywhere}
#v-cs .cs-staff-message-meta{display:flex;align-items:center;justify-content:space-between;gap:12px;color:#8093aa;font-size:11px}
#v-cs .cs-staff-message-meta button{padding:6px 10px;border:1px solid #d3e1ef;border-radius:7px;background:#fff;color:#27619f;font:inherit;font-size:11px;font-weight:700;cursor:pointer}
#v-cs .cs-message-empty{padding:34px;border:1px dashed #d7e3ef;border-radius:12px;background:#fff;color:#8194aa;font-size:12px;text-align:center}
@media(max-width:760px){#v-cs .cs-staff-messages-heading{min-height:100px;padding:15px}#v-cs .cs-staff-messages-heading h2{font-size:22px}#v-cs .cs-staff-message{padding:13px}#v-cs .cs-staff-message-meta{align-items:flex-start;flex-direction:column}}

/* The conversation keeps its horizontal navigation; the other CS pages use a sidebar. */
#v-cs.cs-wide-layout .ppt-main{display:grid!important;grid-template-columns:190px minmax(0,1fr)!important;grid-template-rows:auto minmax(0,1fr);column-gap:20px!important;align-items:start}
#v-cs.cs-wide-layout .ppt-top{grid-column:1/-1;grid-row:1}
#v-cs.cs-wide-layout .cs-view-navigation{position:static!important;grid-column:1;grid-row:2;align-self:stretch;display:flex!important;flex-direction:column!important;align-items:stretch!important;gap:2px!important;box-sizing:border-box;width:auto!important;min-width:0;min-height:calc(100vh - 155px);margin:0!important;padding:10px!important;border:1px solid #dce7f5!important;border-radius:14px!important;background:#fff!important;overflow:visible!important}
#v-cs.cs-wide-layout .cs-view-navigation .cs-nav{display:flex;align-items:center;justify-content:space-between;box-sizing:border-box;width:100%;min-height:46px!important;padding:10px 14px!important;text-align:left!important;border-radius:9px!important;box-shadow:none!important}
#v-cs.cs-wide-layout .cs-view-navigation .cs-nav.on{background:#faebee!important;color:#b72f48!important}
#v-cs.cs-wide-layout .cs-view-navigation .cs-unread-badge{margin-left:8px}
#v-cs.cs-wide-layout .cs-panel.on{grid-column:2;grid-row:2;min-width:0}
@media(max-width:760px){#v-cs.cs-wide-layout .ppt-main{display:block!important}#v-cs.cs-wide-layout .cs-view-navigation{flex-direction:row!important;align-items:center!important;min-height:0;margin:0 0 12px!important;padding:4px!important;background:#eef3fa!important;overflow-x:auto!important}#v-cs.cs-wide-layout .cs-view-navigation .cs-nav{width:auto;min-height:36px!important;white-space:nowrap}#v-cs.cs-wide-layout .cs-panel.on{display:block}}

/* Internal staff chat. */
#v-cs .cs-chat-layout{display:grid;grid-template-columns:minmax(260px,320px) minmax(0,1fr);height:calc(100vh - 300px);min-height:520px;margin-top:14px;border:1px solid #dce7f3;border-radius:13px;background:#fff;overflow:hidden}
#v-cs .cs-chat-sidebar{display:flex;flex-direction:column;min-width:0;border-right:1px solid #e2eaf4;background:#fff}
#v-cs .cs-chat-search{display:flex;gap:7px;padding:13px;border-bottom:1px solid #e7edf5}
#v-cs .cs-chat-search input{min-width:0;flex:1;padding:9px 11px;border:1px solid #d8e4f1;border-radius:8px;background:#f8fbff;font:inherit;font-size:12px}
#v-cs .cs-chat-search button{flex:none;padding:8px;border:1px solid #d8e4f1;border-radius:8px;background:#fff;color:#42658f;font:inherit;font-size:11px;cursor:pointer}
#v-cs .cs-staff-message-list{display:block;flex:1;min-height:0;margin:0;overflow:auto}
#v-cs .cs-chat-thread{display:flex;align-items:center;gap:10px;width:100%;padding:14px 12px;border:0;border-bottom:1px solid #eef2f7;background:#fff;color:#17345b;text-align:left;font:inherit;cursor:pointer}
#v-cs .cs-chat-thread:hover{background:#f5f9fe}#v-cs .cs-chat-thread.on{background:#eaf4ff}#v-cs .cs-chat-thread.unread strong{font-weight:800}
#v-cs .cs-chat-thread-body{display:grid;gap:5px;min-width:0;flex:1}.cs-chat-thread-top{display:flex;align-items:center;justify-content:space-between;gap:7px}.cs-chat-thread-top strong{font-size:14px}.cs-chat-thread-top time{color:#8c9db2;font-size:10px;white-space:nowrap}.cs-chat-thread-preview,.cs-chat-thread-body small{overflow:hidden;color:#6c829e;font-size:12px;text-overflow:ellipsis;white-space:nowrap}.cs-chat-thread-body small{font-size:10px}.cs-chat-unread{display:grid;place-items:center;min-width:19px;height:19px;padding:0 3px;border-radius:11px;background:#d33450;color:#fff;font-size:11px}
#v-cs .cs-chat-main{display:flex;flex-direction:column;min-width:0;min-height:0;background:#f7faff}
#v-cs .cs-chat-head{display:flex;align-items:center;justify-content:space-between;gap:12px;min-height:65px;padding:12px 20px;border-bottom:1px solid #e2eaf4;background:#fff;color:#17345b;font-size:17px;font-weight:750}
#v-cs .cs-chat-head div{display:grid;gap:4px}.cs-chat-head small{color:#7188a3;font-size:11px;font-weight:400}.cs-chat-head button{padding:8px 11px;border:1px solid #d7e4f2;border-radius:8px;background:#fff;color:#2b5e99;font:inherit;font-size:11px;cursor:pointer}
#v-cs .cs-chat-messages{flex:1;min-height:0;padding:20px;overflow:auto}.cs-chat-bubble-row{display:flex;margin-bottom:15px}.cs-chat-bubble-row.mine{justify-content:flex-end}.cs-chat-bubble{max-width:min(75%,560px);padding:10px 13px;border:1px solid #e1e8f1;border-radius:12px;background:#fff;box-shadow:0 2px 8px #1d406508}.cs-chat-bubble-row.mine .cs-chat-bubble{border-color:#ccefd1;background:#d9f8df}.cs-chat-bubble b{color:#617b99;font-size:11px}.cs-chat-bubble p{margin:5px 0;color:#243d5e;font-size:13px;line-height:1.6;white-space:pre-wrap;overflow-wrap:anywhere}.cs-chat-bubble time{display:block;color:#8b9db2;font-size:10px;text-align:right}
#v-cs .cs-chat-compose{padding:12px 15px;border-top:1px solid #e2eaf4;background:#fff}.cs-chat-compose textarea{box-sizing:border-box;width:100%;min-height:70px;padding:10px;border:1px solid #d9e5f1;border-radius:8px;resize:vertical;font:inherit;font-size:13px}.cs-chat-compose>div{display:flex;align-items:center;justify-content:flex-end;gap:12px;margin-top:8px}.cs-chat-compose span{color:#b43149;font-size:11px}.cs-chat-compose button{padding:9px 20px;border:0;border-radius:8px;background:#2e5c9a;color:#fff;font:inherit;font-size:12px;font-weight:700;cursor:pointer}.cs-chat-compose button:disabled{opacity:.5;cursor:default}
@media(max-width:760px){#v-cs .cs-chat-layout{grid-template-columns:1fr;height:auto;min-height:0}#v-cs .cs-chat-sidebar{max-height:250px;border-right:0;border-bottom:1px solid #e2eaf4}#v-cs .cs-chat-main{height:530px}.cs-chat-bubble{max-width:88%}}

/* Familiar messenger layout: quiet list, avatars beside speech bubbles, flat composer. */
#v-cs .cs-chat-layout{grid-template-columns:minmax(290px,350px) minmax(0,1fr);height:calc(100vh - 285px);min-height:590px;border-color:#d9e0e8;border-radius:10px}
#v-cs .cs-chat-sidebar{background:#eceef1;border-right-color:#d9e0e8}
#v-cs .cs-chat-search{padding:15px 13px;border-bottom-color:#dde2e9;background:#eceef1}
#v-cs .cs-chat-search input{height:38px;border:0;border-radius:7px;background:#f9fafb;color:#273b54;font-size:13px}
#v-cs .cs-chat-search button{border:0;background:transparent;color:#62758b;font-size:11px}
#v-cs .cs-chat-thread{min-height:82px;padding:12px 14px;border-bottom:1px solid #dfe3e8;background:transparent}
#v-cs .cs-chat-thread:hover{background:#e3e6ea}#v-cs .cs-chat-thread.on{background:#d9dee4}
#v-cs .cs-chat-thread .cs-staff-message-icon{flex:none;width:46px;height:46px;border-radius:8px;background:#dcebf7;color:#26619b;font-size:19px}
#v-cs .cs-chat-thread-body{gap:4px}.cs-chat-thread-top strong{color:#222e3c;font-size:15px}.cs-chat-thread-top time{color:#929ca8;font-size:11px}.cs-chat-thread-preview{color:#657382;font-size:13px}.cs-chat-thread-body small{color:#929ca8;font-size:10px}
#v-cs .cs-chat-main{background:#f4f5f7}
#v-cs .cs-chat-head{min-height:65px;padding:12px 22px;border-bottom-color:#e1e4e8;background:#f7f8fa;color:#243446;font-size:17px}
#v-cs .cs-chat-head button{border:0;background:transparent;color:#547397;font-size:12px}
#v-cs .cs-chat-messages{padding:18px 24px;background:#f4f5f7}
#v-cs .cs-chat-time{margin:14px 0 18px;color:#9aa2ac;font-size:11px;text-align:center}
#v-cs .cs-chat-bubble-row{display:flex;align-items:flex-start;gap:11px;margin-bottom:20px}
#v-cs .cs-chat-bubble-row.mine{flex-direction:row-reverse;justify-content:flex-start}
#v-cs .cs-chat-avatar{display:grid;place-items:center;flex:none;width:42px;height:42px;border-radius:7px;background:#dcebf7;color:#27619d;font-size:17px;font-weight:750}
#v-cs .cs-chat-bubble-row.mine .cs-chat-avatar{background:#d8e9de;color:#348159}
#v-cs .cs-chat-bubble{position:relative;max-width:min(68%,540px);padding:10px 14px;border:0;border-radius:7px;background:#fff;box-shadow:none}
#v-cs .cs-chat-bubble:before{content:'';position:absolute;top:15px;left:-6px;width:12px;height:12px;transform:rotate(45deg);background:#fff}
#v-cs .cs-chat-bubble-row.mine .cs-chat-bubble{border:0;background:#b9edae}
#v-cs .cs-chat-bubble-row.mine .cs-chat-bubble:before{right:-6px;left:auto;background:#b9edae}
#v-cs .cs-chat-bubble p{position:relative;margin:0;color:#202a35;font-size:14px;line-height:1.55}
#v-cs .cs-chat-compose{padding:9px 17px 12px;border-top:1px solid #e0e3e8;background:#f7f8fa}
#v-cs .cs-chat-compose textarea{min-height:92px;padding:10px 4px;border:0;border-radius:0;outline:0;background:transparent;color:#223349;font-size:14px;resize:none}
#v-cs .cs-chat-compose>div{margin-top:0}.cs-chat-compose button{min-width:82px;border-radius:6px;background:#2e67a7;font-size:13px}
@media(max-width:760px){#v-cs .cs-chat-layout{grid-template-columns:1fr;height:auto;min-height:0}#v-cs .cs-chat-sidebar{max-height:250px}#v-cs .cs-chat-main{height:540px}#v-cs .cs-chat-messages{padding:15px}#v-cs .cs-chat-bubble{max-width:78%}}

/* Approved internal-chat design. */
#v-cs .cs-staff-messages-heading{box-sizing:border-box;height:99px;min-height:99px;padding:12px 28px}
#v-cs .cs-staff-messages-heading h2{font-size:27px}
#v-cs .cs-chat-layout{grid-template-columns:minmax(300px,24.5%) minmax(0,1fr);height:calc(100vh - 255px);min-height:650px;border:1px solid #dce5ef;border-radius:14px;box-shadow:0 8px 28px #294b7010}
#v-cs .cs-chat-sidebar{background:#f7f9fb;border-right:1px solid #e3e9ef}
#v-cs .cs-chat-search{height:76px;flex:none;align-items:center;gap:9px;padding:0 17px;border-bottom:1px solid #e5eaf0;background:#f7f9fb}
#v-cs .cs-chat-search-field{display:flex;align-items:center;gap:8px;flex:1;min-width:0;height:39px;padding:0 11px;border:1px solid #e2e8ef;border-radius:8px;background:#fff}
#v-cs .cs-chat-search-field svg{flex:none;width:15px;height:15px;fill:none;stroke:#91a4b8;stroke-width:2}
#v-cs .cs-chat-search-field input{flex:1;width:100%;height:35px;padding:0;border:0;outline:0;background:transparent;color:#273b54;font-size:12px}
#v-cs .cs-chat-search #cs-chat-find{display:grid;place-items:center;flex:none;width:36px;height:36px;padding:0;border:1px solid #dbe5ef;border-radius:8px;background:#fff;color:#4c719a;font-size:22px;line-height:1}
#v-cs .cs-chat-thread{position:relative;min-height:84px;gap:11px;padding:0 16px;border-bottom:1px solid #e9edf2;background:#f7f9fb}
#v-cs .cs-chat-thread:hover{background:#edf5f2}#v-cs .cs-chat-thread.on{background:#e8f2ef}
#v-cs .cs-chat-thread.on:before{content:'';position:absolute;left:0;top:13px;bottom:13px;width:3px;border-radius:3px;background:#1aa477}
#v-cs .cs-chat-section{padding:13px 17px 7px;color:#9aabbc;font-size:10px;font-weight:700;letter-spacing:1px}
#v-cs .cs-chat-thread .cs-staff-message-icon{width:43px;height:43px;border-radius:10px;font-size:18px}
#v-cs .cs-chat-thread-top strong{font-size:14px}.cs-chat-thread-preview{font-size:12px}.cs-chat-thread-body small{font-size:10px}
#v-cs .cs-chat-unread{position:absolute;right:16px;bottom:13px;width:18px;height:18px;min-width:18px;padding:0;border-radius:10px;background:#df4c5e}
#v-cs .cs-chat-main,#v-cs .cs-chat-messages{background:#f6f8fa}
#v-cs .cs-chat-head{height:78px;min-height:78px;padding:0 24px;border-bottom:1px solid #e7ebf0;background:#fff}
#v-cs #cs-chat-title strong{display:block;color:#20364c;font-size:17px}#v-cs #cs-chat-title small{display:block;margin-top:5px;color:#859bb0;font-size:11px;font-weight:400}
#v-cs .cs-chat-head-actions{display:flex;align-items:center;gap:12px;margin-left:auto}
#v-cs .cs-chat-head .cs-chat-head-actions{display:flex;align-items:center}
#v-cs .cs-chat-head #cs-open-chat-case{padding:8px 12px;border:1px solid #d9e7f2;border-radius:7px;background:#fff;color:#3c6a95;font-size:11px;font-weight:700}
#v-cs .cs-chat-head #cs-open-chat-case[hidden]{display:none}
#v-cs .cs-chat-more{position:relative}.cs-chat-more summary{list-style:none;cursor:pointer;color:#7891aa;font-size:22px;line-height:1}.cs-chat-more summary::-webkit-details-marker{display:none}.cs-chat-more>div{position:absolute;z-index:4;top:30px;right:0;min-width:110px;padding:5px;border:1px solid #dce7f2;border-radius:8px;background:#fff;box-shadow:0 12px 28px #213d5d20}.cs-chat-more button{width:100%;text-align:left}
#v-cs .cs-chat-messages{padding:16px 27px}#v-cs .cs-chat-time{margin:2px 0 19px;color:#9badbe;font-size:10px}
#v-cs .cs-chat-bubble-row{gap:10px;margin-bottom:19px}#v-cs .cs-chat-avatar{width:37px;height:37px;border-radius:8px;font-size:15px}
#v-cs .cs-chat-bubble{max-width:66%;padding:10px 14px;border:1px solid #e8edf1;border-radius:8px;box-shadow:0 2px 6px #36516a08}#v-cs .cs-chat-bubble:before{top:13px;left:-6px;width:10px;height:10px;border-left:1px solid #e8edf1;border-bottom:1px solid #e8edf1}
#v-cs .cs-chat-bubble-row.mine .cs-chat-bubble{background:#d6f3df;border-color:#caead5}#v-cs .cs-chat-bubble-row.mine .cs-chat-bubble:before{right:-6px;left:auto;background:#d6f3df;border:0}
#v-cs .cs-chat-bubble p{font-size:13px;line-height:1.55}
#v-cs .cs-chat-compose{height:145px;flex:none;padding:12px 20px;border-top:1px solid #e4e9ee;background:#fff}
#v-cs .cs-chat-compose-tools{display:flex;gap:14px;align-items:center;height:24px}
#v-cs .cs-chat-compose>.cs-chat-compose-tools{justify-content:flex-start;margin-top:0}
#v-cs .cs-chat-compose-tools button{display:grid;place-items:center;min-width:0;width:20px;height:20px;padding:0;border:0;background:transparent;color:#6f859d;font-size:19px;font-weight:400;line-height:1;cursor:pointer}
#v-cs .cs-chat-compose-tools svg{width:17px;height:17px;fill:none;stroke:currentColor;stroke-width:1.8}
#v-cs .cs-chat-compose-tools{position:relative}
#v-cs .cs-chat-emoji-picker{position:absolute;z-index:8;bottom:30px;left:0;display:grid;grid-template-columns:repeat(8,32px);gap:4px;padding:8px;border:1px solid #dce5ef;border-radius:10px;background:#fff;box-shadow:0 12px 28px #18345626}
#v-cs .cs-chat-emoji-picker[hidden]{display:none}
#v-cs .cs-chat-emoji-picker button{width:30px;height:30px;font-size:19px}
#v-cs .cs-chat-attachment{display:grid;gap:5px;max-width:240px;padding:0;border:0;background:transparent;color:#245887;text-align:left;cursor:pointer;overflow-wrap:anywhere}
#v-cs .cs-chat-attachment img{display:block;max-width:220px;max-height:160px;border-radius:7px;object-fit:contain}
#v-cs .cs-chat-compose-tools button:disabled{opacity:.4}
#v-cs .cs-chat-compose textarea{min-height:64px;height:64px;padding:10px 0;font-size:13px}
#v-cs .cs-chat-compose>div:last-child{justify-content:space-between;margin-top:2px}
#v-cs .cs-chat-shortcut-hint{margin-right:auto;color:#a5b3c0!important;font-size:10px!important}
#v-cs .cs-chat-compose #cs-chat-send{min-width:72px;padding:8px 20px;background:#2e67a7;font-size:12px;transform:translateY(-8px)}
@media(max-width:760px){#v-cs .cs-chat-layout{grid-template-columns:1fr;height:auto;min-height:0}#v-cs .cs-chat-sidebar{max-height:245px}#v-cs .cs-chat-main{height:520px}#v-cs .cs-chat-head{min-height:66px;height:66px;padding:0 14px}#v-cs .cs-chat-messages{padding:15px}#v-cs .cs-chat-bubble{max-width:80%}}
/* CS navigation: option B, connected node rail. */
#v-cs .cs-view-navigation{position:relative!important;top:auto!important;right:auto!important;left:auto!important;display:grid!important;grid-template-columns:repeat(5,minmax(0,1fr))!important;align-items:start!important;width:100%!important;max-width:none!important;box-sizing:border-box;gap:0!important;margin:2px 0 20px!important;padding:8px 18px 6px!important;border:0!important;border-radius:0!important;background:transparent!important;box-shadow:none!important;overflow:visible!important}
#v-cs .cs-view-navigation:before{content:'';position:absolute;top:31px;left:10%;right:10%;height:1px;background:linear-gradient(90deg,transparent,#aebfd0 10%,#aebfd0 90%,transparent);pointer-events:none}
#v-cs .cs-view-navigation:after{content:'';position:absolute;left:8%;right:8%;bottom:0;height:1px;background:linear-gradient(90deg,transparent,#dce5ef 12%,#dce5ef 88%,transparent);pointer-events:none}
#v-cs .cs-view-navigation .cs-nav{position:relative;z-index:1;display:flex!important;flex-direction:column!important;align-items:center!important;justify-content:flex-start!important;gap:6px!important;min-width:0!important;min-height:68px!important;padding:0 8px!important;border:0!important;border-radius:0!important;background:transparent!important;color:#71849a!important;font-size:12px!important;font-weight:650!important;white-space:nowrap;box-shadow:none!important}
#v-cs .cs-view-navigation .cs-nav:hover{color:#214c78!important}
#v-cs .cs-view-navigation .cs-nav.on{background:transparent!important;border:0!important;color:#173b60!important;font-weight:800!important;box-shadow:none!important}
#v-cs .cs-view-navigation .cs-nav.on:after{content:'';position:absolute;left:50%;bottom:-2px;width:25px;height:2px;border-radius:2px;background:#c93650;transform:translateX(-50%)}
#v-cs .cs-nav-icon{display:grid;place-items:center;flex:none;width:38px;height:38px;border:1px solid #d6e2ee;border-radius:50%;background:#f8fbfe;color:#66829d;box-shadow:0 0 0 5px #f3f7fb;transition:background .16s ease,color .16s ease,box-shadow .16s ease,transform .16s ease}
#v-cs .cs-nav-icon svg{width:18px;height:18px;fill:none;stroke:currentColor;stroke-width:1.7;stroke-linecap:round;stroke-linejoin:round}
#v-cs .cs-view-navigation .cs-nav:hover .cs-nav-icon{background:#eef5fc;color:#2f6698;transform:translateY(-1px)}
#v-cs .cs-view-navigation .cs-nav.on .cs-nav-icon{border-color:#173d65;background:linear-gradient(145deg,#214d78,#173a60);color:#fff;box-shadow:0 0 0 5px #f3f7fb,0 9px 18px -12px #173b60bb}
#v-cs .cs-view-navigation .cs-unread-badge{margin-left:4px;border:1.5px solid #f3f7fb;background:#d63a54;box-shadow:0 2px 5px #8e1d3430}
#v-cs.cs-wide-layout .cs-view-navigation{display:flex!important;flex-direction:column!important;align-items:stretch!important;gap:0!important;box-sizing:border-box;width:auto!important;min-width:0;min-height:calc(100vh - 155px);margin:0!important;padding:16px 10px!important;border:1px solid #dce7f5!important;border-radius:16px!important;background:#f8fbfe!important;overflow:visible!important}
#v-cs.cs-wide-layout .cs-view-navigation:before{top:22px;bottom:22px;left:38px;right:auto;width:1px;height:auto;background:linear-gradient(180deg,transparent,#aebfd0 7%,#aebfd0 93%,transparent)}
#v-cs.cs-wide-layout .cs-view-navigation:after{display:none}
#v-cs.cs-wide-layout .cs-view-navigation .cs-nav{flex:0 0 auto!important;flex-direction:row!important;justify-content:flex-start!important;gap:12px!important;width:100%!important;min-height:62px!important;padding:6px 10px!important;border:0!important;border-radius:10px!important;text-align:left!important}
#v-cs.cs-wide-layout .cs-view-navigation .cs-nav:hover{background:#fff!important}
#v-cs.cs-wide-layout .cs-view-navigation .cs-nav.on{background:#fff!important;box-shadow:0 7px 16px -16px #173b6055!important}
#v-cs.cs-wide-layout .cs-view-navigation .cs-nav.on:after{left:0;top:14px;bottom:14px;width:2px;height:auto;transform:none}
#v-cs.cs-wide-layout .cs-view-navigation .cs-unread-badge{margin-left:auto!important}
@media(max-width:760px){#v-cs .cs-view-navigation,#v-cs.cs-wide-layout .cs-view-navigation{display:flex!important;flex-direction:row!important;align-items:flex-start!important;width:100%!important;min-height:0;gap:8px!important;margin:0 0 12px!important;padding:5px 8px!important;border:0!important;border-radius:0!important;background:transparent!important;overflow-x:auto!important;overflow-y:hidden!important}#v-cs .cs-view-navigation:before,#v-cs.cs-wide-layout .cs-view-navigation:before{top:27px;bottom:auto;left:18px;right:auto;width:420px;height:1px;background:linear-gradient(90deg,#aebfd0,#aebfd0 90%,transparent)}#v-cs .cs-view-navigation:after,#v-cs.cs-wide-layout .cs-view-navigation:after{display:none}#v-cs .cs-view-navigation .cs-nav,#v-cs.cs-wide-layout .cs-view-navigation .cs-nav{flex:0 0 104px!important;flex-direction:column!important;justify-content:flex-start!important;width:auto!important;min-height:62px!important;padding:0 4px!important;font-size:11px!important}#v-cs .cs-view-navigation .cs-nav.on:after,#v-cs.cs-wide-layout .cs-view-navigation .cs-nav.on:after{left:50%;top:auto;bottom:-2px;width:22px;height:2px;transform:translateX(-50%)}#v-cs .cs-nav-icon{width:34px;height:34px}}
#v-cs.cs-wide-layout .cs-view-navigation:before{display:none!important}

/* ===== CS doctor schedule: full-width ledger ===== */
#v-cs .cs-schedule-surface{margin:0;border:1px solid #e1eaf4;border-radius:13px;background:#fff;box-shadow:none;overflow:hidden}
#v-cs .cs-schedule-filters{margin:0;padding:15px clamp(28px,4vw,42px);border:0;border-radius:0;background:#fff}
#v-cs .cs-schedule-board{position:relative;overflow:hidden;border:0;border-radius:0;background:#fff;box-shadow:none}
#v-cs .cs-schedule-board:before{display:none}
#v-cs .cs-schedule-board-head{position:relative;display:flex;align-items:center;justify-content:space-between;gap:20px;min-height:0;padding:12px clamp(28px,4vw,42px);border-bottom:1px solid #e2ebf4;background:transparent;overflow:visible}
#v-cs .cs-schedule-board-head:after{display:none}
#v-cs .cs-schedule-board-title{position:relative;z-index:1;display:flex;align-items:center;gap:14px;min-width:0}
#v-cs .cs-schedule-board-head h3{margin:0;font-size:20px;font-weight:780;letter-spacing:-.15px;color:#223f63}
#v-cs .cs-schedule-board-head p{margin:0;padding:6px 10px;border-radius:5px;background:#edf4fc;color:#617c99;font-size:10.5px;font-weight:650;line-height:1.4}
#v-cs .cs-schedule-date-label{position:relative;z-index:1;flex:none;color:#47678a;font-size:11px;font-weight:700;letter-spacing:.9px;font-variant-numeric:tabular-nums}
#v-cs .cs-schedule-columns{display:grid;grid-template-columns:minmax(480px,1.55fr) minmax(210px,.55fr) minmax(310px,.82fr) 120px;column-gap:clamp(24px,3.5vw,54px);align-items:center;min-height:48px;padding:0 clamp(32px,5.2vw,110px);border-bottom:1px solid #e6eef6;background:#f8fbfe;color:#8498ad;font-size:10px;font-weight:720;letter-spacing:.75px}
#v-cs .cs-schedule-columns span:last-child{text-align:right}
#v-cs .cs-schedule-list{display:block;margin:0}
#v-cs .cs-schedule-card{position:relative;display:grid;grid-template-columns:minmax(480px,1.55fr) minmax(210px,.55fr) minmax(310px,.82fr) 120px;column-gap:clamp(24px,3.5vw,54px);align-items:center;min-height:123px;padding:0 clamp(32px,5.2vw,110px);border:0;border-bottom:1px solid #e8eff6;border-radius:0;background:#fff;box-shadow:none}
#v-cs .cs-schedule-card:nth-child(odd){background:#fcfdff}
#v-cs .cs-schedule-card:last-child{border-bottom:0}
#v-cs .cs-schedule-card:before{content:'';position:absolute;left:0;top:27px;bottom:27px;width:3px;border-radius:0 3px 3px 0;background:transparent}
#v-cs .cs-schedule-card:hover:before{background:#477eb4}
#v-cs .cs-schedule-card.is-rest{background:#fffafb}
#v-cs .cs-schedule-doctor{display:flex;align-items:center;gap:18px;min-width:0}
#v-cs .cs-schedule-avatar{display:grid;place-items:center;flex:0 0 52px;width:52px;height:52px;border:1px solid #d9e7f4;border-radius:11px;background:linear-gradient(145deg,#e8f2ff,#f8fcff);color:#315b8d;font-size:19px;font-weight:700}
#v-cs .cs-schedule-person{display:grid;gap:8px;min-width:0}
#v-cs .cs-schedule-person strong{display:block;color:#233f61;font-size:16px;font-weight:770;letter-spacing:.1px}
#v-cs .cs-schedule-person span{display:block;color:#7d92a7;font-size:11.5px;line-height:1.4;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
#v-cs .cs-schedule-time{display:block;color:#294a88;font-size:14px;font-weight:780;letter-spacing:.12px;line-height:1.2}
#v-cs .cs-schedule-time small{display:block;margin-top:8px;color:#92a3b4;font-size:10.5px;font-weight:400;line-height:1.3}
#v-cs .cs-schedule-time.rest{color:#b63149}
#v-cs .cs-schedule-slots{display:flex;align-items:center;gap:24px;min-width:0;padding:0;border:0}
#v-cs .cs-schedule-slot-total{flex:0 0 65px;text-align:center}
#v-cs .cs-schedule-slot-total strong{display:block;color:#294a88;font-size:28px;line-height:1;font-weight:680;font-variant-numeric:tabular-nums}
#v-cs .cs-schedule-slot-total small{display:block;margin-top:7px;color:#8f9faf;font-size:9px;letter-spacing:.5px;font-weight:500}
#v-cs .cs-schedule-slot-detail{display:grid;gap:7px;min-width:170px}
#v-cs .cs-schedule-slot-detail button{width:max-content;max-width:100%;padding:0;border:0;background:none;color:#315f93;font:inherit;font-size:10.5px;font-weight:650;line-height:1.4;text-align:left;text-decoration:underline;cursor:pointer}
#v-cs .cs-schedule-slot-detail button:disabled{color:#647d96;text-decoration:none;cursor:default}
#v-cs .cs-schedule-slot-detail>span{color:#647d96;font-size:10.5px;line-height:1.4}
#v-cs .cs-schedule-slot-bar{display:block;width:182px;max-width:100%;height:5px;overflow:hidden;border-radius:5px;background:#e4edf5}
#v-cs .cs-schedule-slot-bar b{display:block;height:100%;border-radius:5px;background:linear-gradient(90deg,#2f75bb,#6ca8d7)}
#v-cs .cs-schedule-badge{justify-self:end;display:flex;align-items:center;gap:7px;padding:7px 12px;border-radius:5px;background:#e9f7f1;color:#278666;font-size:10.5px;font-weight:700;white-space:nowrap}
#v-cs .cs-schedule-badge i{width:6px;height:6px;border-radius:50%;background:#2fa87d}
#v-cs .cs-schedule-badge.rest{background:#faebee;color:#b63149}
#v-cs .cs-schedule-badge.rest i{background:#c7465c}
#v-cs .cs-schedule-empty{padding:50px 28px;border:0;border-radius:0;background:#fff;color:#8194ac}
@media(max-width:1500px){
  #v-cs .cs-schedule-columns,#v-cs .cs-schedule-card{grid-template-columns:minmax(300px,1.45fr) minmax(150px,.55fr) minmax(220px,.82fr) 96px;column-gap:22px;padding-left:28px;padding-right:28px}
  #v-cs .cs-schedule-doctor{gap:13px}
  #v-cs .cs-schedule-avatar{flex-basis:44px;width:44px;height:44px;font-size:16px}
  #v-cs .cs-schedule-person strong{font-size:14px}
  #v-cs .cs-schedule-slots{gap:14px}
  #v-cs .cs-schedule-slot-total{flex-basis:48px}
  #v-cs .cs-schedule-slot-total strong{font-size:23px}
  #v-cs .cs-schedule-slot-bar{width:140px}
}
@media(max-width:1000px){
  #v-cs .cs-schedule-board-head{align-items:flex-start}
  #v-cs .cs-schedule-board-title{display:grid;gap:8px}
  #v-cs .cs-schedule-columns{display:none}
  #v-cs .cs-schedule-card{grid-template-columns:minmax(220px,1.35fr) minmax(130px,.55fr) minmax(180px,.8fr) 88px;column-gap:16px;min-height:106px;padding:14px 20px}
  #v-cs .cs-schedule-doctor{gap:10px}
  #v-cs .cs-schedule-person span{white-space:normal}
  #v-cs .cs-schedule-slots{gap:8px}
  #v-cs .cs-schedule-slot-bar{display:none}
  #v-cs .cs-schedule-badge{padding:6px 8px;font-size:9px}
}
@media(max-width:760px){
  #v-cs .cs-schedule-filters{padding:14px 15px}
  #v-cs .cs-schedule-board-head{padding:14px 16px;min-height:auto}
  #v-cs .cs-schedule-board-head h3{font-size:18px}
  #v-cs .cs-schedule-board-head p{font-size:9.5px}
  #v-cs .cs-schedule-date-label{font-size:9.5px}
  #v-cs .cs-schedule-card{grid-template-columns:40px minmax(0,1fr) auto;grid-template-rows:auto auto auto;gap:7px 11px;min-height:0;padding:14px 15px}
  #v-cs .cs-schedule-doctor{display:contents}
  #v-cs .cs-schedule-avatar{grid-column:1;grid-row:1;width:38px;height:38px;flex-basis:38px;font-size:14px}
  #v-cs .cs-schedule-person{grid-column:2;grid-row:1;gap:4px}
  #v-cs .cs-schedule-person strong{font-size:13px}
  #v-cs .cs-schedule-person span{font-size:9.5px;white-space:normal}
  #v-cs .cs-schedule-time{grid-column:2;grid-row:2;font-size:13px}
  #v-cs .cs-schedule-time small{margin-top:4px;font-size:9px}
  #v-cs .cs-schedule-badge{grid-column:3;grid-row:1;align-self:start}
  #v-cs .cs-schedule-slots{grid-column:2/4;grid-row:3;gap:11px;padding-top:3px}
  #v-cs .cs-schedule-slot-total{flex-basis:38px;text-align:left}
  #v-cs .cs-schedule-slot-total strong{font-size:21px}
  #v-cs .cs-schedule-slot-total small{font-size:8px}
  #v-cs .cs-schedule-slot-detail{display:flex;flex-wrap:wrap;align-items:center;gap:8px}
  #v-cs .cs-schedule-slot-detail button,#v-cs .cs-schedule-slot-detail>span{font-size:9.5px}
}


#v-cs .cs-schedule-card>div.cs-schedule-doctor{display:flex;align-items:center;gap:18px;min-width:0}
@media(max-width:1500px){#v-cs .cs-schedule-card>div.cs-schedule-doctor{gap:13px}}
@media(max-width:1000px){#v-cs .cs-schedule-card>div.cs-schedule-doctor{gap:10px}}
@media(max-width:760px){#v-cs .cs-schedule-card>div.cs-schedule-doctor{display:contents}}

/* Read-only patient record card opened from an internal conversation. */
#v-cs .cs-patient-record-dialog{position:fixed;inset:0;margin:auto;width:min(900px,calc(100vw - 32px));max-height:min(86dvh,860px);padding:0;border:1px solid #dce8f4;border-radius:16px;background:#fff;color:#213a5c;box-shadow:0 28px 90px #10294b4d;overflow:hidden}
#v-cs .cs-patient-record-dialog::backdrop{background:#10294b73;backdrop-filter:blur(2px)}
#v-cs .cs-patient-record-shell{display:flex;flex-direction:column;max-height:min(86dvh,860px)}
#v-cs .cs-patient-record-head{display:flex;align-items:flex-start;justify-content:space-between;gap:24px;padding:21px 24px 18px;border-bottom:1px solid #dce8f4;background:linear-gradient(135deg,#eff6ff,#f8fbff)}
#v-cs .cs-patient-record-head span{display:block;margin-bottom:4px;color:#b53049;font-size:10px;font-weight:800;letter-spacing:.14em}
#v-cs .cs-patient-record-head h2{margin:0;color:#142c51;font-size:23px}
#v-cs .cs-patient-record-head p{margin:5px 0 0;color:#7187a2;font-size:12px}
#v-cs .cs-patient-record-head button{display:grid;place-items:center;width:34px;height:34px;flex:none;border:1px solid #d4e1ef;border-radius:9px;background:#fff;color:#486482;font:inherit;font-size:22px;line-height:1;cursor:pointer}
#v-cs .cs-patient-record-body{display:grid;gap:16px;padding:20px 24px 24px;overflow:auto;background:#f8fbff}
#v-cs .cs-record-summary{display:flex;align-items:center;gap:14px;padding:16px;border:1px solid #dce8f5;border-radius:12px;background:#fff}
#v-cs .cs-record-avatar{display:grid;place-items:center;width:48px;height:48px;flex:none;border-radius:12px;background:#e1efff;color:#24589b;font-size:15px;font-weight:800}
#v-cs .cs-record-summary h3{margin:0;color:#18345b;font-size:18px}
#v-cs .cs-record-summary p{margin:4px 0 0;color:#7187a2;font-size:12px}
#v-cs .cs-record-status{margin-left:auto;padding:4px 9px;border-radius:7px;background:#eaf2fc;color:#2c5791;font-size:11px;font-weight:700;white-space:nowrap}
#v-cs .cs-record-section{padding:17px;border:1px solid #e0eaf5;border-radius:12px;background:#fff}
#v-cs .cs-record-section h3{margin:0 0 12px;color:#1c3a63;font-size:14px}
#v-cs .cs-record-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:1px;overflow:hidden;border:1px solid #e7eef7;border-radius:9px;background:#e7eef7}
#v-cs .cs-record-grid>div{min-height:62px;padding:11px 12px;background:#fbfdff}
#v-cs .cs-record-grid dt{color:#7a90aa;font-size:10px}
#v-cs .cs-record-grid dd{margin:5px 0 0;color:#203957;font-size:12px;font-weight:700;overflow-wrap:anywhere}
#v-cs .cs-record-appointments{display:grid;gap:8px}
#v-cs .cs-record-appointment{display:grid;grid-template-columns:98px minmax(0,1fr) auto;align-items:center;gap:12px;padding:12px;border:1px solid #e2eaf4;border-radius:9px;background:#fbfdff}
#v-cs .cs-record-appointment time{display:grid;gap:2px;color:#7a90aa;font-size:10px}
#v-cs .cs-record-appointment time strong{color:#18375e;font-size:15px}
#v-cs .cs-record-appointment h4{margin:0;color:#203957;font-size:13px}
#v-cs .cs-record-appointment p{margin:3px 0 0;color:#7087a2;font-size:11px;overflow-wrap:anywhere}
#v-cs .cs-record-appointment em{padding:4px 8px;border-radius:6px;background:#eaf2fc;color:#2c5791;font-size:10px;font-style:normal;white-space:nowrap}
#v-cs .cs-record-empty{padding:18px;border:1px dashed #d7e3f0;border-radius:9px;color:#8398b2;font-size:12px;text-align:center}
#v-cs .cs-record-copy{display:grid;gap:9px}
#v-cs .cs-record-copy>div{padding:11px 12px;border-radius:9px;background:#f7faff}
#v-cs .cs-record-copy b{display:block;margin-bottom:4px;color:#58708e;font-size:11px}
#v-cs .cs-record-copy p{margin:0;color:#314b6b;font-size:12px;line-height:1.7;white-space:pre-wrap;overflow-wrap:anywhere}
#v-cs .cs-record-files{margin-top:9px;padding:10px 12px;border:1px solid #e3ebf4;border-radius:9px;background:#fff}
#v-cs .cs-record-files summary{color:#37608d;font-size:11px;font-weight:700;cursor:pointer}
#v-cs .cs-record-file{padding-top:9px;border-top:1px solid #edf2f8}
#v-cs .cs-record-file+.cs-record-file{margin-top:9px}
#v-cs .cs-record-file b{display:block;color:#405d80;font-size:11px}
#v-cs .cs-record-file p{max-height:130px;margin:4px 0 0;overflow:auto;color:#647b98;font-size:11px;line-height:1.55;white-space:pre-wrap}
@media(max-width:640px){#v-cs .cs-patient-record-dialog{width:calc(100vw - 16px);max-height:92dvh}#v-cs .cs-patient-record-head{padding:17px 16px}#v-cs .cs-patient-record-body{padding:14px 12px 18px}#v-cs .cs-record-grid{grid-template-columns:1fr}#v-cs .cs-record-appointment{grid-template-columns:80px minmax(0,1fr)}#v-cs .cs-record-appointment em{grid-column:2}}

#v-cs .cs-history-shortcut:not([hidden]){position:relative;min-height:78px;padding:15px 16px 15px 20px!important;border-width:1px!important;border-left-width:4px!important;border-radius:14px!important;background:#fff!important;overflow:hidden}
#v-cs .cs-history-shortcut:not([hidden]) strong{display:flex;align-items:center;gap:9px;flex-wrap:wrap;color:#17365d!important;font-size:14px!important;font-weight:760!important;letter-spacing:.05px}
#v-cs .cs-history-shortcut:not([hidden]) strong::after{display:inline-flex;align-items:center;height:20px;padding:0 8px;border:1px solid transparent;border-radius:999px;font-size:9px;font-weight:750;letter-spacing:.4px}
#v-cs .cs-history-shortcut:not([hidden]) small{margin-top:6px!important;color:#7186a0!important;font-size:11px!important;font-weight:500!important}
#v-cs .cs-history-shortcut:not([hidden]) .act{min-height:38px;padding:0 14px!important;border:1px solid transparent!important;border-radius:9px!important;background:#fff!important;font-size:12px!important;font-weight:720!important;box-shadow:0 2px 7px #18395b0d;transition:transform .15s ease,box-shadow .15s ease}
#v-cs .cs-history-shortcut:not([hidden]) .act::after{content:'›';margin-left:7px;font-size:16px;line-height:1;font-weight:500}
#v-cs .cs-history-shortcut:not([hidden]) .act:hover{transform:translateY(-1px);box-shadow:0 5px 14px #18395b16}
#v-cs .cs-history-shortcut.is-cancelled:not([hidden]){border-color:#f0dde2!important;border-left-color:#c62f49!important;background:linear-gradient(100deg,#fff 0%,#fffafb 70%,#fff4f6 100%)!important;box-shadow:0 12px 30px -24px #c62f498c}
#v-cs .cs-history-shortcut.is-cancelled:not([hidden]) strong::after{content:'诊疗取消';border-color:#f3cbd3;background:#fff0f3;color:#b52d45}
#v-cs .cs-history-shortcut.is-cancelled:not([hidden]) .act{border-color:#ebc7cf!important;color:#b52d45!important}
#v-cs .cs-history-shortcut.is-completed:not([hidden]){border-color:#d8e6f4!important;border-left-color:#2f6da8!important;background:linear-gradient(100deg,#fff 0%,#fbfdff 70%,#f2f7fd 100%)!important;box-shadow:0 12px 30px -24px #2f6da873}
#v-cs .cs-history-shortcut.is-completed:not([hidden]) strong::after{content:'已诊疗';border-color:#c9ddf2;background:#edf5ff;color:#245f9e}
#v-cs .cs-history-shortcut.is-completed:not([hidden]) .act{border-color:#c5d9ee!important;color:#245f9e!important}
@media(max-width:640px){#v-cs .cs-history-shortcut:not([hidden]){align-items:flex-start;gap:10px;padding:14px!important}#v-cs .cs-history-shortcut:not([hidden]) .act{min-height:36px;padding:0 11px!important;white-space:nowrap}#v-cs .cs-history-shortcut:not([hidden]) strong{font-size:13px!important}}
