.leave-start-guide,.leave-list-guide,.leave-field-help {font-size:13px;line-height:1.65;color:#506b7d;margin:6px 0 12px}.leave-start-guide{padding:10px 12px;background:#edf5fa;border-radius:8px}.leave-field-help.invalid,.leave-load-warning{color:#a33a35;background:#fff1ed;padding:8px 12px;border-radius:8px}.leave-field-help{margin-bottom:0}#leave-modal .day-result{grid-column:1/-1}#history-view .leave-list-tabs button{min-height:40px}#history-view .history-query{gap:10px;align-items:end}#history-view .history-query button{min-height:40px;white-space:nowrap}#history-view .record-row{min-height:66px}#history-view .history-query label{min-width:0}#leave-load-warning[hidden]{display:none!important}@media(max-width:760px){#history-view .history-query{display:flex;flex-wrap:wrap}#history-view .history-search-label{flex-basis:100%}#history-view .page-head{flex-wrap:wrap;gap:12px}#history-view .leave-list-tabs{flex-wrap:wrap}#history-view .record-row{overflow-wrap:anywhere}#leave-modal .leave-start-guide{font-size:12px}}
.leave-advanced-query{border-top:1px solid #dce7ef;margin:8px 0;padding-top:8px}.leave-advanced-query summary{cursor:pointer;font-size:13px;color:#305f79;min-height:36px;padding:8px 0}.leave-advanced-fields{display:flex;flex-wrap:wrap;gap:12px;padding:8px 0}.leave-advanced-fields>.leave-list-tabs,.leave-advanced-fields>#history-custom-dates{flex-basis:100%}.leave-advanced-fields label{display:grid;gap:5px;font-size:13px}.leave-range-summary{font-size:12px;line-height:1.5;color:#506b7d;margin:8px 0}
/* Four droplets for the history date filter. */
html body #app-shell #history-view :is(.history-query,#leave-advanced-query,#history-range-summary){display:none!important}
html body #app-shell #history-view .leave-date-capsule{
  --drop-gap:32px;
  --drop-fill:linear-gradient(160deg,#f8fcff 4%,#e7f5fc 45%,#d3ebf8 100%);
  position:relative;display:inline-flex;align-items:center;max-width:calc(100% - 24px);
  margin:8px 12px;vertical-align:middle;
}
html body #app-shell #history-view .leave-date-capsule :is(.leave-date-toggle,.leave-date-form>label,.leave-date-form>button){
  position:relative;flex:none;border:0!important;border-radius:999px!important;
  background:var(--drop-fill)!important;color:#214c67;
  box-shadow:inset 0 1px 1px #fff,inset 0 0 0 1px #b6d8eb,0 3px 10px #204e6f18!important;
}
html body #app-shell #history-view .leave-date-capsule .leave-date-toggle{
  display:flex;align-items:center;gap:8px;flex:0 1 auto;min-width:0;min-height:42px;
  padding:8px 15px!important;text-align:start;transform:none!important;
}
.leave-date-label{font-size:12px;font-variant-numeric:tabular-nums}
.leave-date-toggle>span:last-child{transition:transform 260ms ease}
.leave-date-capsule.is-expanded .leave-date-toggle>span:last-child{transform:rotate(90deg)}
.leave-date-extension{
  display:grid;grid-template-columns:0fr;min-width:0;max-width:0;opacity:0;overflow:hidden;
  
}
.leave-date-capsule.is-expanded .leave-date-extension{grid-template-columns:1fr;max-width:540px;opacity:1}
.leave-date-form{
  display:flex;align-items:center;gap:var(--drop-gap);min-width:0;overflow:hidden;
  padding:6px 8px 8px var(--drop-gap);margin:0;
}
.leave-date-form>label{display:grid;gap:1px;padding:5px 13px 6px;font-size:11px}
html body #app-shell #history-view .leave-date-form input{
  width:9.2em;min-width:0;min-height:0!important;padding:0!important;
  border:0!important;border-radius:0!important;background:transparent!important;
  box-shadow:none!important;color:inherit;
}
html body #app-shell #history-view .leave-date-form button{
  min-height:42px;padding:7px 15px!important;white-space:nowrap;transform:none!important
}
@media(max-width:850px){
  html body #app-shell #history-view .leave-date-capsule{display:inline-grid;justify-items:center;--drop-gap:22px}
  .leave-date-extension,.leave-date-capsule.is-expanded .leave-date-extension{max-width:100%}
  .leave-date-extension{grid-template-columns:1fr;grid-template-rows:0fr;}
  .leave-date-capsule.is-expanded .leave-date-extension{grid-template-rows:1fr}
  .leave-date-form{flex-direction:column;align-items:center;min-height:0;padding:0 8px}
  .leave-date-capsule.is-expanded .leave-date-form{padding:var(--drop-gap) 8px 8px}
}

html body.leave-style #app-shell #history-view .table-card #history-list{gap:4px}
html body.leave-style #app-shell #history-view .table-card #history-list .record-row{
  min-height:36px;padding:4px 10px!important;line-height:1.25
}
html body.leave-style #app-shell #history-view .table-card #history-list .record-main>.sub{line-height:1.2}
html body.leave-style #app-shell #history-view .table-card #history-list .record-progress{gap:2px 5px}
@media(max-width:760px){
  html body.leave-style #app-shell #history-view .table-card #history-list .record-row{min-height:56px}
}

/* The filter joins the glass silhouettes without affecting the controls. */
.leave-date-goo{
  position:absolute;inset:0;width:100%;height:100%;overflow:visible;
  pointer-events:none;visibility:hidden;
}
.leave-date-capsule:is(.is-moving,.is-expanded) .leave-date-goo{visibility:visible}
html body #app-shell #history-view .leave-date-capsule:is(.is-moving,.is-expanded) :is(.leave-date-toggle,.leave-date-form>label,.leave-date-form>button){
  background:transparent!important;box-shadow:none!important;
}
.leave-date-capsule.is-moving .leave-date-form>*{animation:leave-date-appear 340ms ease both}
@keyframes leave-date-appear{0%,35%{opacity:0}100%{opacity:1}}
.leave-metric-number{display:inline-block;font-variant-numeric:tabular-nums}

/* Compact heading and controls for the leave query. */
html body.leave-style #app-shell #history-view {
  padding-block-start:12px!important;padding-inline:12px!important;
}
html body.leave-style #app-shell #history-view .leave-query-heading {
  justify-content:flex-start;align-items:center;flex-wrap:wrap;
  gap:4px 10px;padding:0 2px 8px;
}
html body.leave-style #app-shell #history-view .leave-query-heading #leave-query-context {
  margin:0;padding:2px 8px;
}
#history-view .leave-query-heading #history-total {
  margin-inline-start:auto;color:#506b7d;font-size:12px;
}
html body.leave-style #history-view.leave-query-has-dock .table-toolbar:not(:has(> #history-total)) {display:none}
#history-view .leave-query-controls {
  display:flex;align-items:center;flex-wrap:wrap;gap:4px 12px;padding:5px 10px;
}
html body #app-shell #history-view .leave-query-controls .leave-date-capsule {
  margin:0;max-width:100%;
}
html body #app-shell #history-view .leave-query-controls #history-date-sort {
  margin:0;min-height:32px;
}
@media(max-width:600px){
  #history-view .leave-query-heading #history-total {
    flex-basis:100%;margin-inline-start:0;
  }
}
