/* Spacious TELUS-purple calendar with mint, gold and rose status colors. */
.surrox-calendar{--cal-ink:#392749;--cal-muted:#84708f;--cal-border:#e8dff0;--cal-surface:#fff;--cal-empty:#faf8fd;--cal-purple:#4b286d;--cal-completed:#237c54;--cal-incomplete:#966714;--cal-rejected:#ad405d;--cal-other:#7155a0;color:var(--cal-ink);background:radial-gradient(ellipse at top left,#f0e4fc80,transparent 50%),var(--cal-surface);border:1px solid var(--cal-border);border-radius:27px;padding:30px;margin-bottom:38px;box-shadow:0 12px 40px #4b286d07,0 3px 0 #e8ddf26b;position:relative;isolation:isolate;overflow:hidden;animation:cal-arrive .6s ease-out}
.surrox-calendar *{box-sizing:border-box}.surrox-calendar a{text-decoration:none}.surrox-calendar button{background:var(--cal-surface);border:1px solid var(--cal-border);color:var(--cal-purple);font:inherit;box-shadow:none}.surrox-calendar button:hover{background:#f0e7f8;transform:translateY(-1px)}.surrox-calendar a:focus-visible,.surrox-calendar button:focus-visible,.surrox-calendar input:focus-visible{outline:3px solid #66cc00;outline-offset:3px}.surrox-calendar a,.surrox-calendar button{touch-action:manipulation}
.cal-intro{display:flex;align-items:center;justify-content:space-between;gap:22px;margin-bottom:23px}.cal-intro .eyebrow{color:var(--cal-muted);font-size:9px;margin-bottom:9px;letter-spacing:1.7px}.cal-intro h2{font-size:30px;letter-spacing:-1.1px;color:var(--cal-ink);line-height:1.3;margin:0}.cal-intro h2>span{color:#66cc00}.cal-intro>div>p:last-child{font-size:12px;color:var(--cal-muted);margin:8px 0 0}.cal-year-controls{display:flex;gap:10px;align-items:center;flex-shrink:0;padding:8px;border-radius:16px;background:#efe6f580;border:1px solid var(--cal-border)}.cal-year-controls button{height:40px;width:35px;padding:0;border-radius:10px;font-size:23px;line-height:1}.cal-year-controls label{display:grid;gap:0;margin:0;text-align:center;font-size:8px;font-weight:600;color:var(--cal-muted);letter-spacing:1px;text-transform:uppercase}.cal-year-controls input{width:78px;padding:1px 3px;border:0;box-shadow:none;background:transparent;text-align:center;color:var(--cal-ink);font-size:19px;font-weight:700;letter-spacing:-.4px;margin:0;appearance:textfield}.cal-year-controls input::-webkit-inner-spin-button{appearance:none}
.cal-months{display:grid;grid-template-columns:repeat(12,minmax(0,1fr));gap:7px;margin:0 0 23px}.cal-months>a{display:grid;gap:6px;border-radius:12px;text-align:center;padding:11px 5px 10px;background:#f6f1fa;border:1px solid #e9e0f0;color:var(--cal-muted);font-weight:650;transition:background .18s,transform .18s,border-color .18s;position:relative;min-width:0}.cal-months>a:nth-child(4n+2){background:#edf7f0;border-color:#dceee2}.cal-months>a:nth-child(4n+3){background:#fff6e8;border-color:#f2e5cc}.cal-months>a:nth-child(4n){background:#fff0f1;border-color:#f2dfe5}.cal-months>a>span{font-size:11px}.cal-months>a>small{font-size:9px;font-weight:500;opacity:.85}.cal-months>a:hover{transform:translateY(-3px);border-color:#a17cbd}.cal-months>a.viewing{background:#4b286d;color:#fff;border-color:#4b286d;box-shadow:0 5px 15px #4b286d24}.cal-month-selected:after{content:'';width:4px;height:4px;border-radius:50%;background:#66cc00;position:absolute;top:6px;right:6px}
.cal-month-heading{display:flex;align-items:center;justify-content:space-between;gap:18px;flex-wrap:wrap;margin:0 0 19px}.cal-month-navigation{display:flex;align-items:center;gap:12px}.cal-month-navigation button{width:33px;height:33px;padding:0;font-size:16px;border-radius:10px;flex-shrink:0}.cal-month-navigation>a{display:flex;align-items:center;gap:8px;color:var(--cal-ink);font-size:22px;letter-spacing:-.5px;line-height:1.3;font-weight:650}.cal-month-navigation>a>b{font-weight:650}.cal-month-navigation>a>span{color:var(--cal-muted);font-weight:450}.cal-month-navigation>a>i{font-size:12px;color:var(--cal-purple);font-style:normal;background:#eee2f6;border-radius:6px;padding:4px}.cal-month-counts{display:flex;gap:8px;flex-wrap:wrap}.cal-count{display:inline-flex;align-items:center;gap:5px;color:var(--cal-other);background:#f0e8f8;border-radius:8px;font-size:9px;padding:7px 9px;white-space:nowrap}.cal-count i{height:4px;width:4px;border-radius:50%;background:currentColor}.cal-count strong{font-size:12px;font-weight:700}.cal-count.completed{color:var(--cal-completed);background:#e8f5ed}.cal-count.incomplete{color:var(--cal-incomplete);background:#fff2da}.cal-count.rejected{color:var(--cal-rejected);background:#fde9ed}
.cal-weekdays{display:grid;grid-template-columns:repeat(7,minmax(0,1fr));gap:10px;padding:0 0 10px}.cal-weekdays span{font-size:9px;text-align:center;color:var(--cal-muted);font-weight:650;letter-spacing:.3px}.cal-weekdays span:nth-last-child(-n+2){color:#a48ab7}.cal-grid{display:grid;grid-template-columns:repeat(7,minmax(0,1fr));gap:10px}.cal-day,.cal-blank{border-radius:15px;min-width:0;min-height:105px}.cal-day{display:flex;flex-direction:column;gap:9px;padding:12px 13px;color:var(--cal-muted);background:var(--cal-empty);border:1px solid var(--cal-border);transition:transform .18s,box-shadow .18s,border-color .18s;position:relative;overflow:hidden}.cal-blank{background:repeating-linear-gradient(-45deg,transparent,transparent 7px,#9f85b503 7px,#9f85b503 8px);border:1px dashed #bba8c914}.cal-day:hover{transform:translateY(-3px);box-shadow:0 8px 18px #4b286d14;border-color:#b08eca}.cal-day-top{display:flex;align-items:center;justify-content:space-between;gap:4px}.cal-day-top>b{font-size:18px;font-weight:600;line-height:1.1;letter-spacing:-.6px;font-variant-numeric:tabular-nums}.cal-day-top>i{font-size:7px;background:var(--cal-purple);color:white;font-style:normal;padding:2px 4px;border-radius:4px}.cal-day-total{font-size:16px;font-weight:600;line-height:1.2;font-variant-numeric:tabular-nums;margin-top:auto;letter-spacing:-.2px}.cal-day-total>small{font-weight:450;font-size:9px;letter-spacing:0}.cal-day:not(.has-jobs) .cal-day-total{font-size:11px;opacity:.5}.cal-day:not(.has-jobs) .cal-day-statuses{height:10px}.cal-day-statuses{display:flex;gap:7px;align-items:center;min-height:12px}.cal-day-statuses>span{display:flex;align-items:center;gap:3px;font-size:8px;line-height:1;color:var(--cal-other)}.cal-day-statuses i{width:5px;height:5px;flex-shrink:0;border-radius:50%;background:currentColor;box-shadow:0 0 0 2px #ffffff55}.cal-day-statuses b{font-weight:550}.cal-day-statuses .completed{color:var(--cal-completed)}.cal-day-statuses .incomplete{color:var(--cal-incomplete)}.cal-day-statuses .rejected{color:var(--cal-rejected)}
.cal-day.has-jobs:before{content:'';position:absolute;height:40px;width:40px;right:-18px;bottom:-18px;border-radius:50%;border:7px solid #ffffff58;pointer-events:none}.cal-day.cal-completed{background:linear-gradient(135deg,#e3f5e9,#f1faf5);border-color:#d3eadc;color:var(--cal-completed)}.cal-day.cal-incomplete{background:linear-gradient(135deg,#fff0cc,#fff8e8);border-color:#f0dfb4;color:var(--cal-incomplete)}.cal-day.cal-rejected{background:linear-gradient(135deg,#fde1e7,#fff2f4);border-color:#f1d2dc;color:var(--cal-rejected)}.cal-day.cal-other,.cal-day.cal-mixed{background:linear-gradient(135deg,#eaddf9,#f7f0ff);border-color:#e2d2f0;color:var(--cal-other)}.cal-day.cal-today{border-color:#a17bbf;box-shadow:inset 0 0 0 1px #a17bbf}.cal-day.cal-selected{outline:2px solid #795298;outline-offset:-2px;box-shadow:0 3px 10px #4b286d0c}.cal-day.cal-selected:after{content:'';position:absolute;width:5px;height:5px;border-radius:50%;background:#66cc00;right:8px;bottom:8px}
.cal-footer{display:flex;justify-content:space-between;gap:16px;align-items:center;padding:18px 0 0;margin-top:17px;border-top:1px solid var(--cal-border);font-size:10px;color:var(--cal-muted);flex-wrap:wrap}.cal-footer>div:first-child{display:flex;gap:8px;align-items:center;min-width:0}.cal-footer p{margin:0;font-size:11px;font-weight:550;color:var(--cal-ink);overflow-wrap:anywhere}.cal-selection-dot{height:7px;width:7px;flex-shrink:0;background:#66cc00;border-radius:50%;box-shadow:0 0 0 4px #66cc0012}.cal-footer-links{display:flex;gap:13px;align-items:center;font-size:10px}.cal-footer-links>a{color:var(--cal-purple);padding:6px 0;white-space:nowrap}.cal-footer-links>a:last-child{background:#eee5f6;padding:8px 11px;border-radius:8px}.cal-meta{font-size:9px;color:var(--cal-muted);margin:13px 0 0;line-height:1.7}.cal-error{color:#ae3658;background:#fff0f4;padding:10px 12px;border-radius:9px;font-size:11px;margin:14px 0 0}.surrox-calendar[aria-busy=true] .cal-grid{opacity:.55}.surrox-calendar[aria-busy=true] .cal-year-controls{animation:cal-loading 1s ease-in-out infinite}
html:is([data-theme=dark],[data-theme=midnight]) .surrox-calendar{--cal-ink:#eee4fa;--cal-muted:#b1a0c5;--cal-border:#443653;--cal-surface:#241d31;--cal-empty:#2a2238;--cal-purple:#d7b5f4;--cal-completed:#a2e1bc;--cal-incomplete:#edcc7c;--cal-rejected:#f0a8bd;--cal-other:#d3b4f1;background:radial-gradient(ellipse at top left,#4b286d38,transparent 55%),var(--cal-surface);box-shadow:0 12px 40px #0002,0 3px 0 #44365340}
html:is([data-theme=dark],[data-theme=midnight]) .cal-year-controls{background:#49335d44}html:is([data-theme=dark],[data-theme=midnight]) .surrox-calendar button:hover{background:#443154}html:is([data-theme=dark],[data-theme=midnight]) .cal-months>a{background:#352940;border-color:#4a365b;color:#c5afd7}html:is([data-theme=dark],[data-theme=midnight]) .cal-months>a:nth-child(4n+2){background:#253c35;border-color:#344c43}html:is([data-theme=dark],[data-theme=midnight]) .cal-months>a:nth-child(4n+3){background:#3a332c;border-color:#504536}html:is([data-theme=dark],[data-theme=midnight]) .cal-months>a:nth-child(4n){background:#3b2736;border-color:#523347}html:is([data-theme=dark],[data-theme=midnight]) .cal-months>a.viewing{background:#6a4590;color:#fff;border-color:#9163b7}
html:is([data-theme=dark],[data-theme=midnight]) .cal-day.cal-completed{background:linear-gradient(135deg,#204035,#263c36);border-color:#385e4a}html:is([data-theme=dark],[data-theme=midnight]) .cal-day.cal-incomplete{background:linear-gradient(135deg,#493927,#3d332c);border-color:#655238}html:is([data-theme=dark],[data-theme=midnight]) .cal-day.cal-rejected{background:linear-gradient(135deg,#462636,#382935);border-color:#673b4d}html:is([data-theme=dark],[data-theme=midnight]) .cal-day.cal-other,html:is([data-theme=dark],[data-theme=midnight]) .cal-day.cal-mixed{background:linear-gradient(135deg,#44305c,#322741);border-color:#634580}
html:is([data-theme=dark],[data-theme=midnight]) .cal-count.total,html:is([data-theme=dark],[data-theme=midnight]) .cal-count.other{background:#49315f}html:is([data-theme=dark],[data-theme=midnight]) .cal-count.completed{background:#224333}html:is([data-theme=dark],[data-theme=midnight]) .cal-count.incomplete{background:#483925}html:is([data-theme=dark],[data-theme=midnight]) .cal-count.rejected{background:#492738}html:is([data-theme=dark],[data-theme=midnight]) .cal-month-navigation>a>i,html:is([data-theme=dark],[data-theme=midnight]) .cal-footer-links>a:last-child{background:#49315f}
html[data-theme=midnight] .surrox-calendar{--cal-surface:#141a2f;--cal-empty:#1b2138;--cal-border:#333b5b;background:radial-gradient(ellipse at top left,#50308133,transparent 55%),#141a2f}.cal-day:focus-visible{z-index:1}
@keyframes cal-arrive{from{opacity:0;transform:translateY(12px)}to{opacity:1;transform:translateY(0)}}@keyframes cal-loading{50%{opacity:.65}}
@media(max-width:1150px){.surrox-calendar{padding:25px}.cal-months{grid-template-columns:repeat(6,minmax(0,1fr))}.cal-day{padding:10px;min-height:95px}.cal-intro h2{font-size:28px}.cal-month-counts{gap:6px}.cal-count{font-size:8px;padding:6px 8px}.cal-month-navigation>a{font-size:21px}}
@media(max-width:760px){.surrox-calendar{padding:22px;border-radius:22px}.cal-intro{gap:12px}.cal-intro h2{font-size:25px}.cal-intro>div>p:last-child{font-size:10px;max-width:210px}.cal-year-controls{gap:4px;padding:5px}.cal-year-controls button{width:26px;height:34px;font-size:19px}.cal-year-controls input{width:65px;font-size:17px}.cal-month-heading{gap:12px}.cal-month-counts{width:100%}.cal-grid,.cal-weekdays{gap:6px}.cal-day,.cal-blank{min-height:88px;border-radius:12px}.cal-day{padding:9px 7px;gap:8px}.cal-day-top>b{font-size:17px}.cal-day-total{font-size:14px}.cal-day-total small{font-size:8px}.cal-day-statuses{gap:5px}.cal-day-statuses b{display:none}.cal-day-top i{display:none}.cal-today .cal-day-top>b{border-bottom:2px solid #a17bbf;padding-bottom:2px}.cal-footer{gap:12px}.cal-footer p{font-size:10px}}
@media(max-width:500px){.surrox-calendar{padding:17px;margin-bottom:29px}.cal-intro{align-items:flex-start;margin-bottom:18px}.cal-intro h2{font-size:22px;letter-spacing:-.8px}.cal-intro .eyebrow{font-size:7px;letter-spacing:1px}.cal-intro>div>p:last-child{max-width:160px;line-height:1.65}.cal-year-controls{margin-top:2px;gap:2px}.cal-year-controls input{width:56px;font-size:16px}.cal-year-controls button{width:23px;height:30px}.cal-months{grid-template-columns:repeat(4,minmax(0,1fr));gap:6px;margin-bottom:18px}.cal-months>a{padding:8px 4px;border-radius:10px;gap:4px}.cal-months>a>span{font-size:10px}.cal-months>a>small{font-size:8px}.cal-month-navigation{gap:9px}.cal-month-navigation>a{font-size:20px}.cal-month-navigation button{width:29px;height:29px}.cal-count{font-size:7px;gap:4px;padding:6px 7px}.cal-count strong{font-size:11px}.cal-grid,.cal-weekdays{gap:4px}.cal-day,.cal-blank{min-height:77px;border-radius:10px}.cal-day{padding:8px 5px}.cal-day-top>b{font-size:15px}.cal-day-total{font-size:12px}.cal-day-total small{font-size:7px}.cal-day:not(.has-jobs) .cal-day-total{font-size:9px}.cal-day-statuses{gap:4px;min-height:6px}.cal-day-statuses i{height:4px;width:4px;box-shadow:none}.cal-weekdays span{font-size:8px}.cal-footer-links{font-size:9px;gap:12px}.cal-meta{font-size:8px}.cal-day.cal-selected{outline-width:1.5px}.cal-day.cal-selected:after{width:3px;height:3px;right:5px;bottom:5px}}
.surrox-calendar .cal-count i{display:inline-flex;align-items:center;justify-content:center;background:none;border-radius:0;width:12px;height:12px;font-size:12px;font-style:normal;font-weight:700;flex-shrink:0}
.surrox-calendar .cal-day-statuses i{display:inline-flex;align-items:center;justify-content:center;background:none;border-radius:0;box-shadow:none;width:10px;height:10px;font-size:10px;font-style:normal;font-weight:700}
@media(prefers-reduced-motion:reduce){.surrox-calendar,.surrox-calendar *{animation:none!important;transition:none!important}.cal-day:hover,.cal-months>a:hover{transform:none}}
