.cal-create-dialog{width:min(540px,calc(100vw - 28px));max-height:90dvh;overflow:auto;border:1px solid #3a433d;border-radius:16px;background:#121719;color:#edf1ef;padding:24px;box-sizing:border-box;box-shadow:0 24px 90px #0009}
.cal-create-dialog::backdrop{background:#000b}
.cal-create-heading{display:flex;justify-content:space-between;align-items:flex-start;gap:14px}
.cal-create-heading small{font-size:10px;color:#a6b396;letter-spacing:.12em}
.cal-create-heading h2{font-size:22px;margin:8px 0 4px}
.cal-create-heading>button{background:transparent;color:#c9d1cb;border:0;font-size:24px;cursor:pointer}
.cal-create-dialog p{font-size:12px;line-height:1.6;color:#a5b0a8}
.cal-create-fields{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:16px;margin-top:20px}
.cal-create-fields label{display:grid;gap:7px;font-size:12px;color:#c0cbc3}
.cal-create-fields input,.cal-create-fields select{box-sizing:border-box;width:100%;min-width:0;min-height:41px;padding:10px 11px;background:#0b100e;color:#f0f4f1;border:1px solid #38443b;border-radius:8px;font:inherit;color-scheme:dark}
.cal-create-full{grid-column:1/-1}
.cal-create-actions{display:flex;justify-content:flex-end;gap:10px;margin-top:20px}
.cal-create-dialog :disabled{opacity:.55;cursor:wait}
.cal-create-dialog [hidden]{display:none!important}
.cal-create-dialog :focus-visible{outline:2px solid #bedc97;outline-offset:3px}
#calCreateStatus{min-height:20px;color:#dce6d1;overflow-wrap:anywhere}
#calendar .cal-create-feedback{font-size:12px;color:#c2df9f;overflow-wrap:anywhere;border-left:2px solid #9ec763;padding:9px 12px;background:#1a2519}
#calendar .cal-create-day{margin-top:8px}
#calendar .cal-entry-actions{display:flex;gap:8px;flex-wrap:wrap;justify-content:flex-end;flex-shrink:0}
@media(max-width:650px){#calendar .cal-entry-actions{justify-content:flex-start}}
#calendar .cal-controls{flex-wrap:wrap}
.cal-create-dialog .primary{background:#b5e76a;color:#10160c}
.cal-create-dialog .secondary{background:#202922;color:#e2e9e3;border:1px solid #3a493e}
@media(max-width:520px){.cal-create-dialog{padding:18px}.cal-create-fields{grid-template-columns:1fr}.cal-create-full{grid-column:auto}.cal-create-actions{flex-wrap:wrap}}
