.kc-calendar-dialog{width:min(1080px,calc(100vw - 32px))!important;max-width:1080px!important;padding:0!important;border:1px solid #dce5ed;border-radius:16px;color:#142b3d;background:#f3f6fa;font-family:'IBM Plex Sans Thai',sans-serif}.kc-calendar-dialog form{margin:0;display:flex;flex-direction:column;max-height:calc(100dvh - 40px)}.kc-calendar-header{display:flex;justify-content:space-between;gap:16px;padding:24px 28px 16px;flex-shrink:0}.kc-calendar-header h2{font-size:24px;font-weight:600;margin:6px 0}.kc-calendar-header p{font-size:13px;color:#687c8e;margin:0}.kc-calendar-header small{color:#088a87}.kc-calendar-body{padding:8px 28px 24px;display:grid;grid-template-columns:minmax(0,660fr) minmax(260px,340fr);gap:24px;overflow:auto;min-height:0}.kc-calendar-body main,.kc-calendar-preview{display:flex;flex-direction:column;gap:18px;min-width:0}.kc-calendar-section{display:flex;flex-direction:column;gap:14px;background:#fff;border:1px solid #dce5ed;border-radius:12px;padding:20px;min-width:0}.kc-calendar-section h3{font-size:16px;font-weight:600;margin:0}.kc-calendar-section .crm-field{display:flex;flex-direction:column;gap:6px;min-width:0;font-size:13px;margin:0}.kc-calendar-section input:not([type=checkbox]),.kc-calendar-section select,.kc-calendar-section textarea{box-sizing:border-box;width:100%;min-width:0;border:1px solid #d3dde5;border-radius:8px;padding:10px 12px;min-height:44px;background:#fff;color:#142b3d;font:inherit}.kc-calendar-section input:focus,.kc-calendar-section select:focus,.kc-calendar-section textarea:focus{outline:2px solid #0aada9;outline-offset:1px}.kc-calendar-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:16px}.kc-calendar-grid .crm-profile-wide{grid-column:1/-1}.kc-calendar-section small{font-size:12px;line-height:1.6;color:#687c8e}.kc-calendar-section details summary{cursor:pointer;font-size:13px;color:#687c8e}.kc-calendar-section details[open] .kc-calendar-grid{margin-top:14px}.kc-calendar-section .kc-product-menu{z-index:10}.kc-attendee-chips{display:flex;flex-wrap:wrap;gap:8px}.kc-attendee-chips>span,.kc-calendar-badge,.kc-teams-badge{font-size:12px;background:#e6f7f7;color:#088a87;border-radius:8px;padding:7px;overflow-wrap:anywhere;align-self:flex-start}.kc-attendee-chips button{border:0;background:transparent;padding:0 6px;color:inherit}.kc-attendee-input{display:flex;gap:8px}.kc-attendee-input button{border:1px solid #dce5ed;border-radius:8px;padding:0 14px;background:white}.kc-calendar-toggle{display:flex;align-items:center;justify-content:space-between;gap:16px;font-size:13px}.kc-calendar-toggle>span{display:flex;flex-direction:column;gap:3px}.kc-calendar-toggle strong{font-weight:500}.kc-calendar-toggle input{appearance:none;width:40px;height:24px;flex:0 0 40px;border-radius:20px;background:#d3dde5;cursor:pointer;position:relative}.kc-calendar-toggle input:after{content:'';display:block;position:absolute;top:3px;left:3px;width:18px;height:18px;border-radius:50%;background:white;box-shadow:0 1px 3px #0002}.kc-calendar-toggle input:checked{background:#0aada9}.kc-calendar-toggle input:checked:after{left:19px}.kc-calendar-toggle input:focus-visible{outline:2px solid #142b3d;outline-offset:3px}.kc-calendar-preview h4{font-size:19px;margin:0;overflow-wrap:anywhere}.kc-calendar-preview p{font-size:13px;margin:0;overflow-wrap:anywhere}.kc-calendar-preview strong{font-size:14px}.kc-calendar-preview ul{padding:0;margin:0;list-style:none;font-size:13px;color:#687c8e;overflow-wrap:anywhere}.kc-teams-badge{color:#6264a7;background:#eef1fa}.kc-calendar-footer{display:flex;justify-content:flex-end;align-items:center;gap:10px;padding:16px 28px;background:#f3f6fa;border-top:1px solid #dce5ed;flex-wrap:wrap}.kc-calendar-footer small{margin-right:auto;color:#687c8e;font-size:12px}.kc-calendar-footer button{font:inherit;font-size:13px;min-height:44px;border:1px solid #cbd5e1;padding:10px 16px;border-radius:8px;background:white}.kc-calendar-footer .crm-save{background:#0aada9!important;color:white;border-color:#0aada9}.kc-calendar-dialog button:disabled{opacity:.5;cursor:not-allowed}.kc-calendar-result{background:#e6f7f7;border:1px solid #b2e8e7;border-radius:10px;padding:14px;display:flex;flex-wrap:wrap;gap:12px;margin:12px 0}.kc-calendar-result a{color:#088a87;text-decoration:underline}
@media(max-width:760px){.kc-calendar-dialog{width:calc(100vw - 16px)!important;border-radius:12px}.kc-calendar-dialog form{max-height:calc(100dvh - 16px)}.kc-calendar-header{padding:18px 16px 12px}.kc-calendar-header h2{font-size:21px}.kc-calendar-header p{font-size:12px}.kc-calendar-body{padding:8px 16px 20px;grid-template-columns:1fr;gap:18px}.kc-calendar-section{padding:16px}.kc-calendar-grid{grid-template-columns:1fr}.kc-calendar-footer{padding:12px 16px;gap:8px}.kc-calendar-footer small{flex-basis:100%}.kc-calendar-footer button{flex:1}.kc-calendar-footer .crm-save{flex-basis:100%}.kc-calendar-dialog .crm-profile-close{min-width:36px;min-height:36px}.kc-calendar-preview{gap:12px}}
.kc-calendar-header h2{color:#142b3d!important}.kc-calendar-preview{position:sticky;top:0;align-self:start}@media(max-width:760px){.kc-calendar-preview{position:static}}
