:root{--brand:#566479;--ink:#14171b;--muted:#737b87;--line:#e8ebef;--soft:#f4f6f8;--tint:#edf0f4;--radius:18px;color-scheme:light;font-family:-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif;color:var(--ink);background:#fff}*{box-sizing:border-box}body{margin:0}button,input,textarea,select{font:inherit}button,a,input,select,textarea{-webkit-tap-highlight-color:transparent}button{cursor:pointer;color:inherit}button:disabled{opacity:.5;cursor:wait}button:focus-visible,a:focus-visible{outline:3px solid #8facca;outline-offset:3px}button{border:0;background:none}a{color:var(--brand)}svg{width:21px;height:21px;fill:none;stroke:currentColor;stroke-width:1.7;stroke-linecap:round;stroke-linejoin:round;flex-shrink:0}h1,h2,h3,p{margin:0}h1{font-size:34px;letter-spacing:-1.1px;font-weight:650}h2{font-size:24px;letter-spacing:-.5px}h3{font-size:16px}small,.muted{color:var(--muted)}.loading{min-height:100vh;display:grid;place-content:center;text-align:center;gap:16px}.loading img{width:65px;margin:auto}.icon{display:inline-flex;align-items:center;justify-content:center;width:42px;height:42px;border-radius:12px;color:var(--brand);flex-shrink:0}.icon:hover{background:var(--soft)}.icon.active,.primary{background:var(--brand);color:#fff}.icon.active:hover{background:#46556b}.icon.danger{color:#ac3746}.primary,.secondary{padding:13px 18px;border-radius:12px;font-weight:600;display:inline-flex;gap:8px;align-items:center;justify-content:center;text-decoration:none}.secondary{background:var(--soft);color:var(--brand)}.primary:hover{background:#46556b}.primary.wide{width:100%}.stack{display:grid;gap:16px}.row{display:flex;align-items:center;gap:12px}.between{justify-content:space-between}.grow{flex:1;min-width:0}.label{font-size:11px;text-transform:uppercase;letter-spacing:1.5px;font-weight:700;color:var(--muted)}.dot{width:9px;height:9px;border-radius:50%;background:var(--event-color,var(--brand));flex-shrink:0;display:inline-block}.brand{display:flex;align-items:center;gap:12px}.brand img{width:40px;height:47px;object-fit:contain}.brand strong{display:block;font-size:19px;letter-spacing:-.4px}.brand small{font-size:12px;display:block;margin-top:3px}.topbar{height:93px;border-bottom:1px solid var(--line);display:flex;align-items:center;justify-content:space-between;padding:0 40px;gap:20px}.top-right{display:flex;align-items:center;gap:22px}.season{font-size:13px;color:var(--muted)}.avatar{width:36px;height:36px;border-radius:50%;background:var(--tint);color:var(--brand);display:grid;place-items:center;font-size:13px;font-weight:700}.app-layout{display:grid;grid-template-columns:245px minmax(0,1fr);max-width:1700px;margin:auto;min-height:calc(100vh - 93px)}.sidebar{padding:33px 25px;border-right:1px solid var(--line);display:flex;flex-direction:column;gap:30px}.sidebar .month-mini{font-size:13px;color:var(--muted);line-height:1.6}.filters{display:grid;gap:5px}.filter{display:flex;align-items:center;gap:12px;padding:10px 9px;border-radius:10px;text-align:left;width:100%;font-size:14px}.filter:hover{background:var(--soft)}.filter.off{opacity:.4}.filter .check{margin-left:auto;width:16px;height:16px;color:var(--brand)}.side-note{padding-top:24px;border-top:1px solid var(--line);font-size:13px;line-height:1.7;color:var(--muted)}.sidebar-footer{margin-top:auto;display:flex;gap:8px;align-items:center;font-size:12px;color:var(--muted);padding-top:30px}.sidebar-footer img{width:24px;height:30px;object-fit:contain}.content{padding:32px 36px 30px;min-width:0}.calendar-heading{display:flex;align-items:center;justify-content:space-between;gap:20px;margin-bottom:26px}.month-title{display:flex;align-items:baseline;gap:12px}.month-title .year{font-size:27px;font-weight:300;color:var(--muted)}.month-caption{font-size:13px;color:var(--muted);margin-top:7px}.toolbar{display:flex;align-items:center;gap:8px}.segmented{display:flex;background:var(--soft);padding:3px;border-radius:13px;gap:2px}.segmented .icon{height:35px;width:39px;border-radius:10px}.segmented .active{background:#fff;color:var(--brand);box-shadow:0 1px 4px #18213516}.toolbar .divider{height:25px;width:1px;background:var(--line);margin:0 5px}.mobile-only{display:none!important}.weekdays{display:grid;grid-template-columns:repeat(7,minmax(0,1fr));color:var(--muted);font-size:11px;letter-spacing:1px;text-transform:uppercase;border-bottom:1px solid var(--line)}.weekday{padding:12px;text-align:right}.month-grid{display:grid;grid-template-columns:repeat(7,minmax(0,1fr));border-left:1px solid var(--line)}.day{min-height:116px;min-width:0;border-bottom:1px solid var(--line);border-right:1px solid var(--line);padding:8px 5px 7px;cursor:pointer;position:relative}.day:hover{background:#fafbfc}.day.selected{background:#f1f4f8;box-shadow:inset 0 0 0 1px var(--brand)}.day.other{background:#fcfcfd;color:#b5bbc2}.day-head{display:flex;justify-content:flex-end;margin-bottom:6px;padding:0 3px}.day-number{height:28px;min-width:28px;display:grid;place-items:center;border-radius:50%;font-size:13px}.day.today .day-number{background:var(--brand);color:#fff;font-weight:700}.cal-event{display:flex;width:100%;gap:4px;align-items:center;padding:5px 5px;margin:2px 0;border-radius:5px;background:var(--event-bg);color:#191b1f;font-size:10px;line-height:1.25;text-align:left;border-left:3px solid var(--event-color);overflow:hidden}.cal-event span{white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.cal-event:hover{filter:brightness(.96)}.cal-event.cancelled{text-decoration:line-through;opacity:.5}.extra-count{font-size:10px;color:var(--muted);padding:4px}.mobile-dots{display:none}.calendar-footer{display:flex;align-items:center;justify-content:space-between;margin-top:14px;gap:12px;color:var(--muted);font-size:11px}.selection{margin-top:25px;padding-top:23px;border-top:1px solid var(--line)}.selection-header{margin-bottom:14px;display:flex;align-items:center;justify-content:space-between}.selection-header h3{font-weight:600}.event-row{display:flex;align-items:center;gap:16px;padding:16px 10px;width:100%;text-align:left;border-bottom:1px solid var(--line)}.event-row:hover{background:var(--soft);border-radius:10px}.event-bar{width:4px;align-self:stretch;min-height:38px;border-radius:4px;background:var(--event-color)}.event-title{font-size:14px;font-weight:600;margin-bottom:5px}.event-meta{font-size:12px;color:var(--muted);line-height:1.5}.chevron{margin-left:auto;color:#a4acb8;width:16px}.agenda{border-top:1px solid var(--line)}.agenda-row{display:flex;align-items:stretch;gap:24px;padding:7px 0}.agenda-date{width:70px;flex-shrink:0;padding:17px 0 0;color:var(--muted);text-align:center;font-size:11px;text-transform:uppercase;letter-spacing:.8px}.agenda-date strong{display:block;color:var(--ink);font-size:26px;line-height:1.2;font-weight:550;letter-spacing:-1px;margin:3px 0}.agenda-items{flex:1;min-width:0}.empty{padding:38px 20px;text-align:center;color:var(--muted);font-size:14px;line-height:1.7}.empty svg{display:block;width:34px;height:34px;margin:0 auto 12px}.auth-shell{min-height:100vh;display:grid;grid-template-columns:1fr 1fr}.auth-story{background:var(--soft);padding:55px 70px;display:flex;flex-direction:column;justify-content:space-between;gap:45px}.auth-story .brand img{width:53px;height:63px}.auth-story h1{font-size:clamp(38px,4vw,58px);max-width:470px;line-height:1.1;letter-spacing:-2px}.auth-story p{color:var(--muted);line-height:1.75;max-width:380px;margin-top:22px;font-size:15px}.auth-story .foot{font-size:12px;color:var(--muted)}.auth-visual{margin-top:35px;background:#fff;border:1px solid #e7ebf0;border-radius:22px;padding:25px;max-width:380px;box-shadow:0 12px 40px #46577007;transform:rotate(-3deg)}.auth-visual .sample-week{display:grid;grid-template-columns:repeat(7,1fr);gap:6px;text-align:center;margin-top:22px;font-size:13px;color:#9098a3}.sample-week span{padding:9px 0}.sample-week .mark{background:var(--brand);color:#fff;border-radius:11px}.auth-main{display:flex;align-items:center;justify-content:center;padding:50px 30px}.auth-card{width:100%;max-width:370px}.auth-card .eyebrow{margin-bottom:15px}.auth-card h2{font-size:30px;margin-bottom:10px;letter-spacing:-.8px}.auth-card .intro{color:var(--muted);font-size:14px;line-height:1.6;margin-bottom:30px}.field{display:grid;gap:7px;font-size:12px;font-weight:600;color:#343a43}.field input,.field textarea,.field select{border:1px solid #dce1e7;background:#fff;border-radius:11px;padding:12px 13px;width:100%;min-width:0;font-size:14px;font-weight:400;color:var(--ink);outline:none}.field input:focus,.field textarea:focus,.field select:focus{border-color:var(--brand);box-shadow:0 0 0 3px #56647912}.field textarea{resize:vertical;min-height:90px;line-height:1.5}.password-wrap{position:relative}.password-wrap input{padding-right:45px}.password-wrap .icon{position:absolute;right:3px;top:2px;width:38px;height:38px}.auth-links{display:flex;flex-wrap:wrap;justify-content:center;gap:8px 20px;margin-top:22px;font-size:12px}.text-button{padding:4px 0;color:var(--brand);font-size:12px;text-decoration:underline;text-underline-offset:3px}.form-message{font-size:13px;line-height:1.5;padding:12px;border-radius:10px;background:#f9ecee;color:#8a3342}.form-message:empty{display:none}.form-message.success{background:#edf5eb;color:#3b613a}.hint{font-size:12px;line-height:1.6;color:var(--muted);font-weight:400}.form-grid{display:grid;grid-template-columns:1fr 1fr;gap:16px}.full{grid-column:1/-1}dialog{border:1px solid var(--line);border-radius:23px;padding:0;width:min(570px,calc(100vw - 32px));max-height:calc(100dvh - 55px);color:var(--ink);box-shadow:0 30px 100px #1c263633}dialog::backdrop{background:#18233355;backdrop-filter:blur(4px)}.modal-head{position:sticky;top:0;z-index:2;background:#fff;padding:19px 23px 15px;display:flex;align-items:center;justify-content:space-between;border-bottom:1px solid var(--line);gap:12px}.modal-head h2{font-size:18px;font-weight:650}.modal-body{padding:24px}.modal-foot{display:flex;align-items:center;justify-content:flex-end;gap:9px;padding-top:16px}.detail-title{font-size:28px;line-height:1.15;letter-spacing:-.8px;margin:16px 0 24px}.pills{display:flex;gap:8px;flex-wrap:wrap}.pill{font-size:11px;padding:6px 9px;border-radius:7px;background:var(--event-bg,var(--soft));display:inline-flex;gap:6px;align-items:center}.detail-item{display:flex;gap:13px;align-items:flex-start;padding:14px 0;border-bottom:1px solid var(--line);font-size:14px;line-height:1.6}.detail-item svg{color:var(--brand);margin-top:2px}.detail-item small{display:block}.prose{white-space:pre-wrap;font-size:14px;line-height:1.7;overflow-wrap:anywhere}.note{background:var(--soft);border-radius:13px;padding:15px;margin-top:22px}.note .label{margin-bottom:8px}.date-options{display:grid;gap:10px}.date-option{display:flex;gap:7px;align-items:end;border:1px solid var(--line);border-radius:12px;padding:11px}.date-option .field{flex:1;min-width:0}.date-option .field input{padding:10px 7px}.date-option .icon{width:30px;height:40px}.checks{display:flex;gap:8px;flex-wrap:wrap}.check-label{display:flex;align-items:center;gap:7px;padding:8px 10px;background:var(--soft);border-radius:9px;font-size:12px}.check-label input{accent-color:var(--brand)}.admin-header{display:flex;align-items:center;justify-content:space-between;margin-bottom:25px}.admin-tabs{display:flex;gap:5px;margin-bottom:22px;border-bottom:1px solid var(--line);padding-bottom:10px}.admin-tabs button{padding:10px 15px;border-radius:10px;font-size:13px;color:var(--muted)}.admin-tabs .active{color:var(--brand);background:var(--tint);font-weight:600}.admin-search{margin-bottom:14px}.admin-list{display:grid;gap:3px}.admin-event{display:flex;gap:14px;align-items:center;padding:14px 4px;border-bottom:1px solid var(--line)}.admin-event .event-title{margin-bottom:6px}.status{font-size:10px;background:var(--soft);padding:4px 7px;border-radius:5px;color:var(--muted);display:inline-block}.status.pending{color:#9c6426;background:#faf2e5}.admin-alert{background:#faf7ef;border:1px solid #f1e7d3;border-radius:13px;padding:14px 17px;margin-bottom:20px;line-height:1.6;font-size:13px;color:#76582e}.category-edit{display:grid;grid-template-columns:38px 1fr 42px 42px;gap:10px;align-items:center;margin-bottom:12px}.category-edit input[type=color]{width:36px;height:36px;padding:0;border:0;border-radius:10px;background:none}.category-edit input[type=text]{width:100%;padding:10px;border:1px solid var(--line);border-radius:9px;min-width:0}.user-row{padding:18px 0;border-bottom:1px solid var(--line);display:flex;align-items:center;gap:15px}.user-row .grow{overflow-wrap:anywhere}.user-actions{display:flex;align-items:center;gap:10px}.user-actions select{padding:9px;border:1px solid var(--line);border-radius:9px;background:#fff;font-size:12px}.toast{position:fixed;bottom:28px;left:50%;transform:translate(-50%,20px);background:#263345;color:#fff;padding:14px 20px;border-radius:13px;box-shadow:0 4px 20px #0002;opacity:0;pointer-events:none;transition:.2s;z-index:100;max-width:calc(100vw - 30px);font-size:13px;text-align:center}.toast.visible{opacity:1;transform:translate(-50%,0)}.header-mobile-brand{display:none}.empty-state{margin:60px auto;max-width:370px;text-align:center;line-height:1.8}.empty-state img{width:60px}.inline-spinner{opacity:.6}.month-picker{display:flex;align-items:center;gap:5px}.sr-only{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border:0}
@media(min-width:1450px){.day{min-height:137px}.cal-event{font-size:11px}.content{padding:36px 45px}}
@media(max-width:1100px){.app-layout{grid-template-columns:210px minmax(0,1fr)}.sidebar{padding:28px 15px}.content{padding:28px 22px}.topbar{padding:0 25px}.calendar-heading{gap:8px}.month-title{gap:7px}h1{font-size:28px}.month-title .year{font-size:24px}.toolbar{gap:3px}.toolbar .divider{margin:0 2px}.icon{width:36px}.auth-story{padding:40px}.cal-event{font-size:9px}.day{min-height:106px}}
@media(max-width:760px){.desktop-only{display:none!important}.mobile-only{display:inline-flex!important}.auth-shell{display:block}.auth-story{padding:25px 25px 22px;background:#fff;gap:0}.auth-story .brand img{width:35px;height:43px}.auth-story .brand strong{font-size:19px}.auth-story .story,.auth-story .foot{display:none}.auth-main{padding:30px 25px 50px;align-items:flex-start}.auth-card{max-width:420px}.auth-card h2{font-size:30px}.topbar{height:77px;padding:0 19px}.brand img{width:30px;height:38px}.brand strong{font-size:18px}.brand small{font-size:10px}.top-right{gap:7px}.app-layout{display:block;min-height:calc(100dvh - 77px)}.sidebar{display:none}.content{padding:24px 14px 110px}.calendar-heading{margin-bottom:20px;align-items:center}.month-title h1{font-size:28px}.month-title .year{font-size:22px}.month-title{gap:8px}.month-caption{font-size:11px;margin-top:5px}.toolbar{position:fixed;bottom:calc(12px + env(safe-area-inset-bottom));left:50%;transform:translateX(-50%);background:#fffefeee;backdrop-filter:blur(15px);border:1px solid #e1e5eb;box-shadow:0 8px 28px #283a4b1f;border-radius:20px;padding:7px 10px;z-index:10;gap:4px}.toolbar .icon{width:38px;height:38px}.toolbar .divider{margin:0 3px}.toolbar .segmented .icon{width:35px;height:32px}.month-grid{border:0;gap:3px}.weekdays{border:0;margin-bottom:7px}.weekday{padding:9px 0;text-align:center;font-size:10px}.day{border:0;border-radius:12px;min-height:66px;padding:5px 0}.day-head{justify-content:center;margin-bottom:3px}.day-number{width:30px;height:30px;font-size:15px}.day.other{background:transparent;color:#bbc0c8}.day.selected{box-shadow:inset 0 0 0 1px #56647990;background:var(--tint)}.cal-event,.extra-count{display:none}.mobile-dots{display:flex;justify-content:center;gap:3px;flex-wrap:wrap;padding:0 3px}.mobile-dots .dot{width:5px;height:5px}.calendar-footer{font-size:10px;margin-top:18px;justify-content:center}.calendar-footer .footer-right{display:none}.selection{margin-top:23px;padding-top:22px}.selection-header{padding:0 5px}.event-row{padding:16px 5px;gap:12px}.event-title{font-size:14px}.event-meta{font-size:11px}.agenda-row{gap:10px}.agenda-date{width:45px}.agenda-date strong{font-size:25px}.agenda .event-row{padding:15px 2px}.admin-header h1{font-size:27px}.admin-tabs{gap:3px;overflow:auto;white-space:nowrap}.admin-tabs button{font-size:12px;padding:9px 12px}.admin-event{gap:9px}.admin-event .icon{width:31px}.admin-event .event-meta{font-size:11px}.admin-event .event-title{font-size:13px}.admin-list{padding-bottom:20px}.user-row{align-items:flex-start;gap:8px;flex-wrap:wrap}.user-actions{width:100%;justify-content:flex-end}.form-grid{gap:13px}.modal-body{padding:20px}.modal-head{padding:14px 18px}.modal-head h2{font-size:17px}dialog{max-height:calc(100dvh - 30px);border-radius:20px;width:calc(100vw - 20px)}.date-option{padding:8px;gap:4px;flex-wrap:wrap}.date-option .field{min-width:100px}.toast{bottom:95px}.detail-title{font-size:25px}.header-mobile-brand{display:block}.category-edit{gap:7px;grid-template-columns:35px 1fr 36px 36px}}
@media(prefers-reduced-motion:reduce){*{scroll-behavior:auto!important;transition:none!important}}

[hidden]{display:none!important}

/* Original supplied artwork, used as a decorative watermark. */
.auth-story,.auth-main,.content{position:relative;isolation:isolate}
.auth-story::before,.auth-main::before,.content::before{content:"";position:absolute;inset:0;z-index:-1;pointer-events:none;background-image:url("antorcha-hero.png");background-repeat:no-repeat;background-position:center;background-size:min(76%,480px) auto;opacity:.065;mix-blend-mode:multiply}
.auth-story::before{background-position:center 35%;background-size:min(78%,520px) auto;opacity:.055}
.content::before{background-position:center 260px;background-size:min(75%,560px) auto;opacity:.055}
@media(max-width:760px){.auth-story::before{display:none}.auth-main::before{background-position:center 42%;background-size:88% auto;opacity:.06}.content::before{background-position:center 155px;background-size:90% auto;opacity:.06}}

/* The supplied complete logo replaces the separate header mark and text. */
.topbar{height:124px}
.app-layout{min-height:calc(100vh - 124px)}
.brand.hero-brand img{width:100px;height:102px;object-fit:contain}
.auth-story .brand.hero-brand img{width:135px;height:137px}
@media(max-width:760px){.topbar{height:112px}.app-layout{min-height:calc(100dvh - 112px)}.brand.hero-brand img{width:90px;height:92px}.auth-story .brand.hero-brand img{width:105px;height:107px}.auth-story{padding-bottom:8px}.auth-main{padding-top:18px}}

/* Complete brand for welcome and large screens; simple mark for compact UI. */
.brand picture{display:block;line-height:0}
@media(max-width:760px){.topbar{height:77px}.app-layout{min-height:calc(100dvh - 77px)}.topbar .brand.hero-brand img{width:38px;height:46px}.content::before{background-image:url("antorcha-icon.png");background-size:min(76%,300px) auto}.auth-story .welcome-brand img{width:105px;height:107px}}

/* Toolbar uses only the simple icon at every viewport size. */
.topbar{height:93px}
.topbar .brand.hero-brand img{width:40px;height:48px}
.app-layout{min-height:calc(100vh - 93px)}
@media(max-width:760px){.topbar{height:77px}.topbar .brand.hero-brand img{width:38px;height:46px}.app-layout{min-height:calc(100dvh - 77px)}}

/* Keep authentication forms on a clear white background. */
.auth-main::before{display:none}

.auth-shell{min-height:calc(100dvh - 52px)}
.site-credit{min-height:52px;padding:17px 20px;text-align:center;font-size:12px;color:var(--muted);background:#fff}
.site-credit a{color:var(--brand);font-weight:600;text-decoration:none}
.site-credit a:hover{text-decoration:underline;text-underline-offset:3px}
