:root {
  --gp-blue: #2563eb;
  --gp-ink: #1e293b;
  --gp-secondary: #64748b;
  --gp-surface: rgb(255 255 255 / 89%);
  --gp-line: rgb(255 255 255 / 92%);
  --gp-selected: rgb(219 234 254 / 84%);
  --gp-radius: 16px;
  --gp-shadow: 0 18px 50px rgb(30 58 95 / 16%), 0 3px 12px rgb(30 58 95 / 7%);
}
[data-gp-source] { opacity: 0 !important; pointer-events: none !important; }
glass-control.gp-trigger {
  position: absolute; z-index: 1; display: flex; align-items: center; justify-content: space-between; gap: 8px;
  box-sizing: border-box; min-width: 0; margin: 0; padding: 7px 12px; border: 1px solid rgb(221 230 240 / 94%);
  border-radius: 11px; background: rgb(255 255 255 / 86%); color: var(--gp-ink); cursor: pointer;
  font-family: -apple-system, BlinkMacSystemFont, "SF Pro Text", "PingFang SC", "Microsoft YaHei", sans-serif;
  font-size: var(--gp-field-font, 14px); font-weight: 450; line-height: 1.35; text-align: left; user-select: none;
  -webkit-tap-highlight-color: transparent; color-scheme: light; box-shadow: 0 1px 3px rgb(30 58 95 / 3%);
  transition: background .16s, border-color .16s, box-shadow .16s;
}
glass-control.gp-trigger[hidden] { display: none !important; }
glass-control.gp-trigger:hover { background: rgb(255 255 255 / 98%); border-color: #bfdbfe; }
glass-control.gp-trigger:focus-visible, glass-control.gp-trigger[aria-expanded="true"] { outline: none; border-color: #93b6fb; box-shadow: 0 0 0 3px rgb(37 99 235 / 13%); }
glass-control.gp-trigger[aria-disabled="true"] { cursor: not-allowed; opacity: .55; background: #edf2f7; }
glass-control.gp-trigger[aria-invalid="true"] { border-color: #ef9a9a; }
glass-control.gp-trigger.gp-placeholder { color: var(--gp-secondary); }
glass-control.gp-trigger .gp-value { min-width: 0; overflow-wrap: anywhere; }
glass-control.gp-trigger .gp-icon { flex: 0 0 17px; width: 17px; height: 17px; color: var(--gp-secondary); }
glass-control.gp-trigger[aria-expanded="true"] .gp-icon { color: var(--gp-blue); }
.gp-popover.gp-popover {
  position: fixed; inset: auto; z-index: 2147483000; display: block; box-sizing: border-box; min-width: 0;
  margin: 0; padding: 7px; overflow: auto; overscroll-behavior: contain; scrollbar-width: thin;
  border: 1px solid var(--gp-line); border-radius: var(--gp-radius); background: var(--gp-surface);
  color: var(--gp-ink); box-shadow: var(--gp-shadow); -webkit-backdrop-filter: blur(20px) saturate(150%); backdrop-filter: blur(20px) saturate(150%);
  color-scheme: light; font: 14px/1.45 -apple-system, BlinkMacSystemFont, "SF Pro Text", "PingFang SC", "Microsoft YaHei", sans-serif;
  text-align: left; text-shadow: none; animation: gp-appear .14s ease-out; isolation: isolate;
}
.gp-popover.gp-popover::backdrop { background: transparent; }
.gp-popover.gp-popover *, .gp-popover.gp-popover *::before, .gp-popover.gp-popover *::after { box-sizing: border-box; }
.gp-popover.gp-popover .gp-icon { display: block; width: 19px; height: 19px; flex: 0 0 19px; }
.gp-popover.gp-popover .gp-option {
  display: flex; align-items: center; justify-content: space-between; gap: 18px; min-height: 41px;
  margin: 1px 0; padding: 10px 12px; border: 0; border-radius: 10px; background: transparent;
  color: var(--gp-ink); cursor: pointer; line-height: 1.45; overflow-wrap: anywhere;
}
.gp-popover.gp-popover .gp-option .gp-icon { color: var(--gp-blue); visibility: hidden; }
.gp-popover.gp-popover .gp-option[aria-selected="true"] { color: #174bae; background: var(--gp-selected); font-weight: 600; }
.gp-popover.gp-popover .gp-option[aria-selected="true"] .gp-icon { visibility: visible; }
.gp-popover.gp-popover .gp-option[data-active="true"] { background: rgb(235 243 255 / 88%); box-shadow: inset 0 0 0 1px rgb(109 155 239 / 24%); }
.gp-popover.gp-popover .gp-option[aria-disabled="true"] { color: #8a98aa; cursor: not-allowed; opacity: .65; }
.gp-popover.gp-popover .gp-empty { margin: 0; padding: 15px; color: var(--gp-secondary); font-size: 13px; }
.gp-popover.gp-popover .gp-button {
  appearance: none !important; display: inline-flex !important; align-items: center !important; justify-content: center !important;
  position: static !important; width: auto !important; min-width: 0 !important; height: auto !important; min-height: 34px !important;
  margin: 0 !important; padding: 6px 11px !important; border: 0 !important; border-radius: 9px !important;
  background: transparent !important; color: var(--gp-ink) !important; box-shadow: none !important; text-shadow: none !important;
  font: inherit !important; font-weight: 500 !important; line-height: 1.3 !important; letter-spacing: 0 !important; text-align: center !important;
  cursor: pointer !important; touch-action: manipulation; transform: none !important; opacity: 1 !important;
}
.gp-popover.gp-popover .gp-button:hover:not(:disabled) { background: #eaf2ff !important; color: #1d4ed8 !important; }
.gp-popover.gp-popover .gp-button:focus-visible, .gp-popover.gp-popover input:focus-visible { outline: 2px solid #85abfa !important; outline-offset: 2px !important; }
.gp-popover.gp-popover .gp-button:disabled { color: #98a5b6 !important; cursor: not-allowed !important; opacity: .45 !important; }
.gp-popover.gp-popover .gp-calendar-heading { display: flex; align-items: center; gap: 4px; padding: 3px 3px 9px; }
.gp-popover.gp-popover .gp-month-title { flex: 1; color: var(--gp-ink); font-weight: 650; font-size: 15px; text-align: center; }
.gp-popover.gp-popover .gp-icon-button { width: 30px !important; height: 32px !important; min-height: 32px !important; padding: 5px !important; color: #4c6992 !important; }
.gp-popover.gp-popover .gp-close-calendar { margin-left: 4px !important; }
.gp-popover.gp-popover .gp-weekdays, .gp-popover.gp-popover .gp-week { display: grid; grid-template-columns: repeat(7,minmax(0,1fr)); align-items: center; }
.gp-popover.gp-popover .gp-weekdays { padding-bottom: 5px; color: #748399; font-size: 12px; text-align: center; }
.gp-popover.gp-popover .gp-cell { display: grid; place-items: center; height: 39px; }
.gp-popover.gp-popover .gp-day { width: 34px !important; height: 34px !important; min-height: 34px !important; padding: 0 !important; border: 1px solid transparent !important; border-radius: 50% !important; font-size: 13px !important; font-variant-numeric: tabular-nums; }
.gp-popover.gp-popover .gp-day.gp-outside-month { color: #8896a8 !important; }
.gp-popover.gp-popover .gp-day.gp-today { border-color: #5b91f4 !important; color: #2563eb !important; }
.gp-popover.gp-popover .gp-day.gp-selected, .gp-popover.gp-popover .gp-day.gp-selected:hover { background: #2563eb !important; color: #fff !important; border-color: #2563eb !important; font-weight: 650 !important; }
.gp-popover.gp-popover .gp-manual-label { display: grid; grid-template-columns: 55px minmax(0,1fr); align-items: center; gap: 6px; margin: 9px 4px 7px; color: #64748b; font-size: 12px; font-weight: 400; }
.gp-popover.gp-popover input.gp-manual-date, .gp-popover.gp-popover input.gp-time-part {
  appearance: none !important; display: block !important; position: static !important; width: 100% !important; min-width: 0 !important; max-width: 100% !important;
  height: 34px !important; min-height: 34px !important; margin: 0 !important; padding: 6px 8px !important; border: 1px solid #dce6f4 !important;
  border-radius: 8px !important; background: rgb(255 255 255 / 76%) !important; color: #334155 !important; box-shadow: none !important; font-family: inherit !important; font-size: 12px !important; line-height: 1.4 !important;
  letter-spacing: 0 !important; text-align: left !important; opacity: 1 !important; color-scheme: light;
}
.gp-popover.gp-popover .gp-calendar-actions { display: flex; justify-content: flex-end; align-items: center; gap: 6px; position: sticky; bottom: -7px; padding: 9px 4px 3px; background: rgb(250 252 255 / 93%); border-top: 1px solid rgb(216 228 244 / 65%); }
.gp-popover.gp-popover .gp-text-button { color: #3b6bbe !important; }
.gp-popover.gp-popover .gp-text-button:first-child { margin-right: auto !important; }
.gp-popover.gp-popover .gp-apply, .gp-popover.gp-popover .gp-apply:hover:not(:disabled) { min-width: 54px !important; background: #2563eb !important; color: white !important; }
.gp-popover.gp-popover .gp-time-fields { display: flex; align-items: center; gap: 6px; margin: 7px 4px; color: #64748b; font-size: 13px; }
.gp-popover.gp-popover .gp-time-title { margin-right: auto; font-size: 12px; }
.gp-popover.gp-popover input.gp-time-part { width: 48px !important; text-align: center !important; }
.gp-popover.gp-popover .gp-precision { color: #64748b; font-size: 10px; }
.gp-popover.gp-popover .gp-feedback { margin: 6px; color: #b42335; font-size: 12px; line-height: 1.5; }
.gp-popover.gp-popover .gp-feedback[hidden] { display: none; }
@keyframes gp-appear { from { opacity: 0; translate: 0 -3px; } to { opacity: 1; translate: 0 0; } }
@media (prefers-reduced-motion: reduce) { .gp-popover.gp-popover, glass-control.gp-trigger { animation: none; transition: none; } }
@media (forced-colors: active) { .gp-popover.gp-popover, glass-control.gp-trigger { border: 1px solid CanvasText; background: Canvas; color: CanvasText; } .gp-popover.gp-popover .gp-day.gp-selected { forced-color-adjust: none; } }
