.kp-dt-native{position:absolute!important;width:1px!important;height:1px!important;padding:0!important;margin:0!important;opacity:0;pointer-events:none}
.kp-dt-trigger{display:block;width:100%;min-width:0;text-align:left;overflow-wrap:anywhere;font:inherit;min-height:40px}
.kp-dt-time-native{display:grid;grid-template-columns:minmax(0,1fr) 40px;width:100%;min-width:0;align-items:stretch}
.kp-dt-time-native>input{width:100%;min-width:0;border-radius:6px 0 0 6px!important}
.kp-dt-time-native>.kp-dt-time-toggle{min-width:0;border-left:0;border-radius:0 6px 6px 0;padding:4px;min-height:40px}
.kp-dt-popover{--kp-bg:#102535;--kp-fg:#eff6fc;--kp-muted:#b2c5d3;--kp-line:#3c5b70;--kp-field:#19374a;--kp-accent:#ffdc49;--kp-pressed:#152d40;--kp-range:#4c4326;--kp-error:#ffb2b7;box-sizing:border-box;position:fixed;z-index:15000;max-height:calc(100dvh - 20px);overflow:auto;padding:0;border:1px solid var(--kp-line);border-radius:10px;background:var(--kp-bg);color:var(--kp-fg);font:400 14px/1.4 system-ui,sans-serif;box-shadow:0 8px 30px #0005;text-align:left}
html[data-theme=light] .kp-dt-popover,body.light .kp-dt-popover{--kp-bg:#fff;--kp-fg:#152d40;--kp-muted:#506475;--kp-line:#c7d5df;--kp-field:#f4f8fb;--kp-range:#fff2bb;--kp-error:#a52235}
.kp-dt-popover *{box-sizing:border-box}
.kp-dt-popover .kp-dt-header{display:flex;align-items:center;justify-content:space-between;gap:12px;border:0;border-bottom:1px solid var(--kp-line);padding:10px 14px;background:var(--kp-bg);color:var(--kp-fg)}
.kp-dt-popover strong{font-size:15px;font-weight:600;color:inherit}
.kp-dt-popover button,.kp-dt-popover input{font:inherit;color:var(--kp-fg);background:var(--kp-field);border:1px solid var(--kp-line);border-radius:6px;padding:8px 10px;min-height:38px;box-shadow:none}
.kp-dt-popover button{cursor:pointer}
.kp-dt-popover button:hover{border-color:var(--kp-muted)}
.kp-dt-popover button:focus-visible,.kp-dt-popover input:focus-visible{outline:2px solid var(--kp-accent);outline-offset:2px}
.kp-dt-popover button[aria-pressed=true],.kp-dt-popover button[aria-selected=true],.kp-dt-popover .kp-dt-primary{background:var(--kp-accent);border-color:var(--kp-accent);color:var(--kp-pressed)}
.kp-dt-popover .kp-dt-close{font-size:22px;line-height:1;min-height:34px;padding:4px 10px}
.kp-dt-popover .kp-dt-body{padding:6px 14px 14px}
.kp-dt-shortcuts{display:flex;gap:6px;flex-wrap:wrap;margin:8px 0 12px}
.kp-dt-popover .kp-dt-shortcuts button{font-size:12px;padding:7px 9px}
.kp-dt-month-nav{display:grid;grid-template-columns:38px minmax(0,1fr) 38px;align-items:stretch;gap:6px;margin:8px 0}
.kp-dt-popover .kp-dt-month-nav>button{min-height:42px;line-height:1.2;align-self:stretch;padding:7px 5px}
.kp-dt-prompt{font-size:12px;color:var(--kp-muted);margin:9px 0}
.kp-dt-grid{display:grid;grid-template-columns:26px repeat(7,minmax(0,1fr));gap:3px;align-items:center;margin-bottom:12px}
.kp-dt-grid-label{font-size:11px;text-align:center;color:var(--kp-muted)}
.kp-dt-popover .kp-dt-grid button{min-width:0;padding:6px 0;border-color:transparent;background:transparent;font-size:13px;min-height:35px}
.kp-dt-popover .kp-dt-grid button.kp-dt-between{background:var(--kp-range)}
.kp-dt-popover .kp-dt-grid button[aria-pressed=true]{background:var(--kp-accent);color:var(--kp-pressed)}
.kp-dt-popover .kp-dt-grid button[aria-current=date]{box-shadow:inset 0 0 0 1px var(--kp-muted)}
.kp-dt-popover .kp-dt-grid button.kp-dt-week{font-size:11px;color:var(--kp-muted)}
.kp-dt-months{padding:8px 0;border-bottom:1px solid var(--kp-line);margin-bottom:10px}
.kp-dt-year-row{display:grid;grid-template-columns:38px 100px 38px;gap:10px;justify-content:center}
.kp-dt-popover .kp-dt-year-row input{min-width:0;width:100%;text-align:center}
.kp-dt-month-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:6px;margin:10px 0}
.kp-dt-times{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}
.kp-dt-time-label{display:flex;flex-direction:column;gap:5px;font-size:12px;color:var(--kp-muted);min-width:0}
.kp-dt-time-row{position:relative;display:grid;grid-template-columns:minmax(0,1fr) 38px;gap:0}
.kp-dt-popover .kp-dt-time-row input{min-width:0;width:100%;border-radius:6px 0 0 6px;font-size:16px}
.kp-dt-popover .kp-dt-time-row>button{padding:4px;border-radius:0 6px 6px 0;border-left:0}
.kp-dt-help{display:block;margin:8px 0;color:var(--kp-muted);font-size:11px}
.kp-dt-hour-list{position:absolute;bottom:calc(100% + 4px);left:0;right:0;max-height:190px;overflow:auto;z-index:2;border:1px solid var(--kp-line);border-radius:6px;background:var(--kp-bg);padding:4px}
.kp-dt-popover .kp-dt-hour-list button{display:block;width:100%;text-align:left;border-color:transparent;background:var(--kp-bg)}
.kp-dt-popover .kp-dt-hour-list button[aria-selected=true]{background:var(--kp-accent);color:var(--kp-pressed)}
.kp-dt-popover>.kp-dt-standalone-list{position:static;max-height:250px;margin:8px;border:0}
.kp-dt-summary{display:block;border-top:1px solid var(--kp-line);margin-top:12px;padding-top:10px;font-size:13px}
.kp-dt-footer{display:flex;gap:8px;justify-content:flex-end;flex-wrap:wrap;margin-top:12px;padding:0}
.kp-dt-popover .kp-dt-error{color:var(--kp-error);margin:9px 0;font-size:12px}
.kp-dt-popover [hidden]{display:none!important}
@media(pointer:coarse){.kp-dt-trigger,.kp-dt-time-native>.kp-dt-time-toggle,.kp-dt-popover button,.kp-dt-popover .kp-dt-grid button{min-height:44px}.kp-dt-time-native{grid-template-columns:minmax(0,1fr) 44px}.kp-dt-popover input{font-size:16px}}

/* Embedded trial on appointment creation only. */
.appointment-date-source{display:none!important}.appointment-inline-calendar{min-width:0}.kp-dt-popover.kp-dt-inline{position:static;width:100%;max-height:none;overflow:visible;box-shadow:none;z-index:auto}.kp-dt-inline .kp-dt-body{display:grid;grid-template-columns:minmax(260px,1fr) minmax(220px,.85fr);gap:12px 22px;padding:16px}.kp-dt-inline .kp-dt-body>.kp-dt-shortcuts,.kp-dt-inline .kp-dt-body>.kp-dt-error,.kp-dt-inline .kp-dt-body>.kp-dt-summary{grid-column:1/-1}.kp-dt-inline .kp-dt-inline-times{padding-top:4px}.kp-dt-inline .kp-dt-summary{margin-top:0}.kp-dt-inline .kp-dt-month-nav{margin-top:0}.kp-dt-inline .kp-dt-inline-times>.kp-dt-shortcuts{margin-bottom:14px}.kp-dt-inline .kp-dt-times{margin-top:0}.kp-dt-inline .kp-dt-help{line-height:1.5}.kp-dt-inline .kp-dt-grid button{min-height:38px}@media(max-width:720px){.kp-dt-inline .kp-dt-body{grid-template-columns:minmax(0,1fr);padding:12px;gap:14px}.kp-dt-inline .kp-dt-body>*{grid-column:1}.kp-dt-inline .kp-dt-inline-times{padding-top:0}}

/* Keep calendar selection visible despite the platform's broad light-theme button styles. */
html[data-theme=light] .kp-dt-popover button[aria-pressed=true],html[data-theme=light] .kp-dt-popover button[aria-selected=true],html[data-theme=light] .kp-dt-popover .kp-dt-primary,body.light .kp-dt-popover button[aria-pressed=true],body.light .kp-dt-popover button[aria-selected=true],body.light .kp-dt-popover .kp-dt-primary{background:#ffd75e!important;color:#152d40!important;border-color:#8a6400!important;box-shadow:inset 0 0 0 1px #8a6400;font-weight:700}
html[data-theme=light] .kp-dt-popover .kp-dt-grid button.kp-dt-between,body.light .kp-dt-popover .kp-dt-grid button.kp-dt-between{background:#fff0b5!important;color:#243b4b!important;border-color:#ceb26c!important}
html[data-theme=light] .kp-dt-popover .kp-dt-grid button[aria-current=date]:not([aria-pressed=true]),body.light .kp-dt-popover .kp-dt-grid button[aria-current=date]:not([aria-pressed=true]){box-shadow:inset 0 0 0 2px #496a8a;font-weight:700}

/* Keep the joined time field and dropdown aligned despite surrounding form margins. */
.kp-dt-time-native,.kp-dt-time-row{align-items:stretch}
.kp-dt-time-native>input,.kp-dt-time-native>.kp-dt-time-toggle,.kp-dt-popover .kp-dt-time-row>input,.kp-dt-popover .kp-dt-time-row>button{margin:0;box-sizing:border-box;align-self:stretch}
