:root{font-family:Inter,system-ui,-apple-system,BlinkMacSystemFont,Segoe UI,sans-serif;line-height:1.2;font-weight:400;color:#0f172a;background:#f8fafc;font-size:12px;--column-count: 45;--month-label-width: 36px;--grid-gap: 1px;--day-cell-size: minmax( 14px, calc( (100vw - var(--month-label-width) - ((var(--column-count) - 1) * var(--grid-gap)) - 24px) / var(--column-count) ) )}body{margin:0;min-height:100vh;background:#f8fafc}#app{width:100vw;min-height:100vh;margin:0;padding:.25rem;box-sizing:border-box}a{color:inherit}h1{margin:0;font-size:1.25rem}p{margin:0;font-size:.85rem}header{display:flex;flex-wrap:wrap;justify-content:space-between;align-items:center;gap:.5rem;margin-bottom:.5rem}button{background:linear-gradient(135deg,#0ea5e9,#6366f1);color:#fff;border:none;padding:.4rem .65rem;border-radius:.65rem;font-size:.8rem;cursor:pointer;transition:transform .15s ease,box-shadow .15s ease;box-shadow:0 6px 12px #6366f126}button:hover{transform:translateY(-1px);box-shadow:0 10px 16px #6366f133}button:disabled{opacity:.6;cursor:not-allowed;transform:none;box-shadow:none}select,input[type=checkbox]+label{font-size:.8rem}.calendar-container{background:#fff;border-radius:.5rem;box-shadow:none;padding:.5rem;border:1px solid #e2e8f0;width:100%;box-sizing:border-box}.controls-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(320px,1fr));gap:.75rem;margin:.5rem auto .75rem;align-items:start;max-width:1200px}.filter-card,.calendars-card{background:#f8fafc;border:1px solid #e2e8f0;border-radius:.6rem;padding:.75rem .85rem;box-shadow:inset 0 1px #ffffffb3}.section-heading{display:flex;flex-direction:column;gap:.15rem;margin-bottom:.65rem}.section-title{font-size:.95rem;font-weight:700;color:#0f172a}.section-subtitle{font-size:.8rem;color:#475569;margin:0}.legend{display:flex;flex-wrap:wrap;gap:.25rem .5rem;margin:.25rem 0 .5rem;color:#475569;font-size:.8rem}.legend strong{color:#0f172a}.calendar-list{display:flex;flex-direction:column;gap:.35rem;margin:.35rem 0 .75rem;width:100%;max-width:980px}.calendar-row{display:grid;grid-template-columns:minmax(0,1fr) minmax(240px,1.2fr);gap:.75rem;padding:.35rem .65rem;border-radius:.45rem;border:1px solid #e2e8f0;background:#fff;box-shadow:0 6px 12px #0f172a0a}.calendar-header-line{display:flex;align-items:center;gap:.35rem;font-size:.85rem;flex:1;min-width:240px}.calendar-summary{font-weight:600;color:#0f172a}.calendar-filter-input{display:flex;flex-direction:column;gap:.25rem}.filter-input-row{display:flex;flex-direction:column;gap:.35rem;align-items:flex-start}.filter-label{font-size:.85rem;color:#334155;display:inline-flex;align-items:center;gap:.4rem;font-weight:600}.regex-input{padding:.25rem .4rem;border-radius:.35rem;border:1px solid #cbd5e1;min-width:220px;box-sizing:border-box;flex:2;background:#fff;width:100%}.regex-input.wide{min-width:260px}.calendar-grid{display:grid;grid-template-columns:repeat(var(--column-count),var(--day-cell-size));grid-template-rows:minmax(var(--row-min-height, 72px),auto);gap:var(--grid-gap)}.day-cell{min-height:var(--row-min-height, 72px);padding:4px 4px 6px;border-radius:4px;border:1px solid #e2e8f0;background:#fff;display:flex;flex-direction:column;gap:4px;position:relative;overflow:visible;box-sizing:border-box}.day-cell.weekend{background:#ecfccb;border-color:#d9f99d}.day-cell.weekend.dimmed{background:#deefb1}.day-cell.dimmed{background:#f1f5f9;color:#94a3b8;box-shadow:inset 0 0 0 1px #0f172a0d}.day-cell.dimmed:after{content:"";position:absolute;top:0;right:0;bottom:0;left:0;background:#0f172a2e;-webkit-backdrop-filter:blur(1px);backdrop-filter:blur(1px);border-radius:4px;z-index:2;pointer-events:none}.day-cell.has-highlight{background:var(--highlight-color);border-color:color-mix(in srgb,var(--highlight-color) 70%,#94a3b8)}.day-cell.has-highlight.bridge-highlight{background:var(--highlight-color);border-color:color-mix(in srgb,var(--highlight-color) 70%,#a78bfa)}.day-cell.has-highlight.dimmed:after{background:transparent}.day-cell.filtered-match{background:var(--filtered-match-color, #fde047);border-color:color-mix(in srgb,var(--filtered-match-color, #fde047) 70%,#a16207);box-shadow:inset 0 0 0 1px color-mix(in srgb,var(--filtered-match-color, #fde047) 55%,#a16207 20%)}.day-cell.filtered-match.weekend{background:color-mix(in srgb,var(--filtered-match-color, #fde047) 55%,#fff7c2);border-color:color-mix(in srgb,var(--filtered-match-color, #fde047) 65%,#d97706)}.day-cell.filtered-match.has-highlight{background:color-mix(in srgb,var(--filtered-match-color, #fde047) 55%,var(--highlight-color, #fef3c7));border-color:color-mix(in srgb,var(--filtered-match-color, #fde047) 45%,var(--highlight-color, #fef3c7));box-shadow:inset 0 0 0 1px color-mix(in srgb,var(--filtered-match-color, #fde047) 50%,var(--highlight-color, #fef3c7) 50%)}.day-cell.filtered-match.dimmed:after{background:#0f172a0f}.day-number{font-weight:700;font-size:.8rem;color:#0f172a}.day-cell.dimmed .day-number{color:#94a3b8}.events{display:flex;flex-direction:column;gap:4px;position:relative}.event-span{font-size:6pt;line-height:1.2;font-weight:600;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;padding:1px 4px;border-radius:4px;border:1px solid #94a3b8;background:#fffc;box-sizing:border-box;height:1.1em;display:inline-flex;align-items:center;position:relative;z-index:1;cursor:pointer}.event-title{font-weight:600;font-size:inherit;color:inherit}.calendar-header{display:grid;grid-template-columns:repeat(var(--column-count),var(--day-cell-size));gap:var(--grid-gap);font-weight:700;color:#0f172a;text-transform:lowercase}.calendar-header .cell{text-align:center;padding:2px 0;border-radius:4px;background:#e2e8f0;font-size:.75rem}.month-label{writing-mode:vertical-rl;transform:rotate(180deg);text-align:center;font-weight:700;color:#0f172a;display:flex;align-items:center;justify-content:center;letter-spacing:.06em;background:#f8fafc;border:1px solid #e2e8f0;border-radius:8px;font-size:.75rem;width:var(--month-label-width)}.month-wrapper{display:grid;grid-template-columns:var(--month-label-width) 1fr;gap:4px;margin-bottom:4px;align-items:stretch;width:100%}.month-row-wrapper{position:relative}.event-overlay{position:absolute;top:0;right:0;bottom:0;left:0;display:grid;grid-template-columns:repeat(var(--column-count),var(--day-cell-size));grid-template-rows:repeat(var(--overlay-rows),var(--event-row-height, 12px));grid-auto-rows:var(--event-row-height, 12px);padding-top:var(--overlay-padding-top, 16px);column-gap:var(--grid-gap);row-gap:var(--event-row-gap, var(--grid-gap));align-content:start;pointer-events:none;z-index:2}.event-overlay .event-span{align-self:start;height:var(--event-row-height, 12px);width:100%;pointer-events:auto;margin-top:1px;z-index:3}.header-row{margin-bottom:0}.header-row .month-label{background:transparent;border:none}.month-name{margin:0 0 2px;font-size:.8rem;color:#334155}.grid-scroll{overflow:auto;padding-bottom:.25rem;width:100vw}.grid-wrapper{display:flex;flex-direction:column;gap:4px;min-width:max-content;width:100%}.status-box{padding:.5rem .75rem;border-radius:.5rem;background:#eef2ff;border:1px dashed #c7d2fe;color:#312e81;font-size:.8rem}@media (max-width: 1080px){.day-cell{min-height:max(var(--row-min-height, 64px),64px)}.event{font-size:6pt}}@media (max-width: 900px){#app{padding:.35rem}.calendar-header .cell{font-size:.7rem}}@media (max-width: 720px){body{background:#fff}#app{padding:.25rem}.month-wrapper{grid-template-columns:var(--month-label-width) 1fr}.calendar-row{grid-template-columns:1fr}.day-cell{padding:3px;min-height:max(var(--row-min-height, 56px),56px)}.month-label{font-size:.7rem}}.filter-help.svelte-1n46o8q{display:inline-flex;align-items:center;justify-content:center;width:18px;height:18px;margin-left:.35rem;border-radius:9999px;background:#e2e8f0;color:#0f172a;font-weight:700;font-size:.75rem;cursor:help;border:1px solid #cbd5e1}.top-controls.svelte-1n46o8q{display:flex;gap:.5rem;align-items:center;flex-wrap:wrap}.privacy-links.svelte-1n46o8q{display:inline-flex;align-items:center;gap:.35rem;font-size:.9rem;color:#0f172a}.privacy-links.svelte-1n46o8q a:where(.svelte-1n46o8q){color:#2563eb;text-decoration:none;font-weight:600}.privacy-links.svelte-1n46o8q a:where(.svelte-1n46o8q):hover,.privacy-links.svelte-1n46o8q a:where(.svelte-1n46o8q):focus{text-decoration:underline}
