:root{--ink:#17231f;--muted:#66736e;--paper:#f5f7f2;--card:#fff;--line:#dce4dd;--green:#157451;--green-dark:#0e523a;--mint:#dff3e8;--coral:#ed765f;--amber:#f1b94f;--blue:#4978d1;--shadow:0 18px 50px rgba(25,58,45,.09);font-family:Inter,ui-sans-serif,system-ui,-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif;color:var(--ink);background:var(--paper)}*{box-sizing:border-box}body{margin:0;min-height:100vh}button,input,textarea,select{font:inherit}button{cursor:pointer}.hidden{display:none!important}.eyebrow{font-size:.72rem;font-weight:800;letter-spacing:.16em;color:#c8f0db}.eyebrow.ink{color:var(--green)}.brand{display:flex;align-items:center;gap:.7rem;font-size:1.12rem;font-weight:850}.brand-light{color:#fff;text-decoration:none}.brand-mark{display:grid;place-items:center;width:2.25rem;height:2.25rem;border-radius:.7rem;background:var(--green);color:#fff;font-family:Georgia,serif;font-size:1.35rem}.brand-light .brand-mark{background:#fff;color:var(--green-dark)}.auth-shell{display:grid;grid-template-columns:1.05fr .95fr;min-height:100vh}.auth-story{position:relative;overflow:hidden;padding:3rem 4rem;background:linear-gradient(145deg,#0b5038,#177b56 62%,#25956c);color:#fff}.story-content{position:relative;z-index:2;max-width:640px;margin-top:17vh}.story-content h1{font:700 clamp(2.6rem,5vw,5.5rem)/.98 Georgia,serif;letter-spacing:-.045em;margin:.7rem 0 1.5rem}.story-content>p{max-width:550px;font-size:1.12rem;line-height:1.7;color:#d9f3e6}.story-proof{display:flex;gap:3.5rem;margin-top:3rem}.story-proof div{display:flex;flex-direction:column;gap:.35rem}.story-proof strong{font-size:1.2rem}.story-proof span{font-size:.84rem;color:#c1e3d2}.orbit{position:absolute;border:1px solid rgba(255,255,255,.2);border-radius:50%}.orbit-one{width:420px;height:420px;right:-120px;bottom:-100px}.orbit-two{width:620px;height:620px;right:-250px;bottom:-190px}.auth-panel{display:grid;place-items:center;padding:2rem;background:#f9faf7}.auth-card{width:min(430px,100%)}.auth-card h2{font:700 2.35rem Georgia,serif;margin:.65rem 0 .4rem}.muted{color:var(--muted)}.form-stack{display:grid;gap:1.05rem;margin-top:2rem}label{display:grid;gap:.45rem;font-size:.86rem;font-weight:700}input,textarea,select{width:100%;border:1px solid var(--line);background:#fff;border-radius:.75rem;padding:.86rem 1rem;color:var(--ink);outline:none;transition:.2s}input:focus,textarea:focus,select:focus{border-color:var(--green);box-shadow:0 0 0 3px rgba(21,116,81,.12)}.btn{display:inline-flex;align-items:center;justify-content:center;gap:.55rem;border:0;border-radius:.72rem;padding:.82rem 1.05rem;font-weight:800}.btn-primary{background:var(--green);color:#fff}.btn-primary:hover{background:var(--green-dark)}.btn-secondary{background:#edf1ed;color:var(--ink)}.btn-light{background:#fff;color:var(--green-dark)}.btn-block{width:100%;justify-content:space-between}.text-button{border:0;background:none;color:var(--green);font-weight:800;padding:.2rem}.switch-copy{text-align:center;color:var(--muted);margin-top:1.5rem}.mobile-brand{display:none}.app-shell{display:grid;grid-template-columns:245px 1fr;min-height:100vh}.sidebar{position:sticky;top:0;height:100vh;padding:1.6rem 1.2rem;background:#fff;border-right:1px solid var(--line);display:flex;flex-direction:column}.sidebar-nav{display:grid;gap:.35rem;margin-top:2.5rem}.nav-item{display:flex;align-items:center;gap:.8rem;width:100%;border:0;background:transparent;padding:.8rem .9rem;border-radius:.65rem;color:var(--muted);font-weight:750;text-align:left}.nav-item:hover,.nav-item.active{background:var(--mint);color:var(--green-dark)}.nav-item.danger:hover{background:#fff0ed;color:#b33d2c}.sidebar-bottom{margin-top:auto}.user-chip{display:flex;align-items:center;gap:.75rem;padding:1rem 0;border-top:1px solid var(--line)}.user-chip>div{min-width:0;display:grid}.user-chip strong,.user-chip span{white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.user-chip div span{font-size:.76rem;color:var(--muted)}.avatar{display:grid;place-items:center;flex:0 0 auto;width:2.5rem;height:2.5rem;border-radius:50%;background:var(--mint);color:var(--green-dark);font-weight:850}.main{min-width:0;padding:0 3rem 4rem}.topbar{display:flex;align-items:center;justify-content:space-between;padding:1.6rem 0}.topbar h2{margin:.25rem 0 0;font:700 1.7rem Georgia,serif}.icon-button{border:0;background:transparent;font-size:1.5rem}.topbar .icon-button{display:none}.view{animation:rise .3s ease}@keyframes rise{from{opacity:.2;transform:translateY(6px)}}.hero-card{position:relative;overflow:hidden;display:grid;grid-template-columns:1.5fr .7fr;min-height:340px;padding:3rem;border-radius:1.35rem;background:linear-gradient(120deg,#154f3b,#177554);color:#fff;box-shadow:var(--shadow)}.hero-card h1{font:700 clamp(2.1rem,4vw,4rem)/1.02 Georgia,serif;margin:1rem 0}.hero-card p{max-width:580px;color:#d8eee3;line-height:1.6}.pill{display:inline-flex;border-radius:2rem;padding:.35rem .7rem;font-size:.75rem;font-weight:800}.pill-light{background:rgba(255,255,255,.15)}.hero-visual{display:grid;place-items:center;position:relative}.calendar-card{width:160px;height:190px;border-radius:1rem;background:#fff;color:var(--ink);display:grid;place-items:center;padding:1rem;transform:rotate(5deg);box-shadow:0 20px 45px rgba(0,0,0,.2)}.calendar-card span{color:var(--coral);font-weight:900;letter-spacing:.18em}.calendar-card strong{font:700 4rem Georgia,serif}.calendar-card small{color:var(--muted)}.avatar-stack{position:absolute;bottom:15px;display:flex}.avatar-stack i{display:grid;place-items:center;width:38px;height:38px;margin-left:-8px;border:3px solid var(--green-dark);border-radius:50%;background:#f5c572;color:#573e0e;font-style:normal;font-weight:800}.section-heading{display:flex;justify-content:space-between;align-items:end;margin:2.4rem 0 1rem}.section-heading h3{font:700 1.9rem Georgia,serif;margin:.3rem 0}.event-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:1rem}.event-card{border:1px solid var(--line);background:var(--card);border-radius:1rem;padding:1.2rem;box-shadow:0 8px 25px rgba(25,58,45,.04);transition:.2s}.event-card:hover{transform:translateY(-3px);box-shadow:var(--shadow)}.event-card button{all:unset;cursor:pointer;display:block;width:100%}.event-card .card-top{display:flex;justify-content:space-between;align-items:center}.status{display:inline-flex;align-items:center;gap:.35rem;font-size:.72rem;font-weight:850;text-transform:uppercase;letter-spacing:.08em}.status::before{content:"";width:.45rem;height:.45rem;border-radius:50%;background:var(--amber)}.status.finalized::before{background:var(--green)}.status.cancelled::before{background:var(--coral)}.event-card h4{font:700 1.25rem Georgia,serif;margin:1rem 0 .5rem}.event-card p{min-height:2.7rem;color:var(--muted);font-size:.88rem;line-height:1.55}.event-meta{display:flex;justify-content:space-between;padding-top:1rem;border-top:1px solid var(--line);font-size:.78rem;color:var(--muted)}.empty-state{grid-column:1/-1;padding:3rem;border:1px dashed #b8c7bd;border-radius:1rem;text-align:center;background:#fafcf9}.filter-row{display:flex;gap:.4rem}.chip{border:1px solid var(--line);background:#fff;border-radius:2rem;padding:.45rem .8rem;color:var(--muted);font-weight:750}.chip.active{background:var(--ink);color:#fff;border-color:var(--ink)}.back-button{margin:1rem 0}.event-header{display:flex;justify-content:space-between;gap:2rem;align-items:start;padding:1.8rem;background:#fff;border:1px solid var(--line);border-radius:1rem}.event-header h1{font:700 2.2rem Georgia,serif;margin:.4rem 0}.event-header p{color:var(--muted);max-width:700px}.workspace-layout{margin-top:1rem;display:grid;grid-template-columns:200px 1fr;gap:1rem}.event-tabs{display:grid;align-content:start;gap:.25rem;padding:.65rem;border-radius:1rem;background:#fff;border:1px solid var(--line);height:max-content}.event-tabs button{border:0;background:transparent;border-radius:.6rem;padding:.75rem;text-align:left;color:var(--muted);font-weight:750}.event-tabs button.active{background:var(--mint);color:var(--green-dark)}.event-content{min-width:0;background:#fff;border:1px solid var(--line);border-radius:1rem;padding:1.5rem}.panel-head{display:flex;justify-content:space-between;align-items:start;gap:1rem;margin-bottom:1.2rem}.panel-head h3{font:700 1.55rem Georgia,serif;margin:.2rem 0}.grid-two{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:1rem}.info-card{padding:1rem;border:1px solid var(--line);border-radius:.8rem;background:#fbfcfa}.info-card small{color:var(--muted)}.info-card strong{display:block;margin-top:.25rem}.inline-form{display:grid;grid-template-columns:1fr 160px auto;gap:.7rem;align-items:end}.list{display:grid;gap:.7rem}.list-item{display:flex;align-items:center;justify-content:space-between;gap:1rem;padding:.85rem 1rem;border:1px solid var(--line);border-radius:.75rem}.list-item p{margin:.2rem 0;color:var(--muted);font-size:.84rem}.state-badge{padding:.3rem .55rem;border-radius:2rem;background:#edf1ed;font-size:.72rem;font-weight:850}.state-badge.available{background:#dff3e8;color:#0e6847}.state-badge.tentative{background:#fff0c9;color:#8d6000}.state-badge.busy{background:#ffe3dc;color:#a43b2c}.score{font:700 1.35rem Georgia,serif;color:var(--green)}.poll{padding:1rem;border:1px solid var(--line);border-radius:.9rem}.poll-options{display:grid;gap:.5rem;margin-top:.8rem}.poll-option{display:grid;grid-template-columns:1fr auto;align-items:center;gap:.8rem}.poll-option button{border:1px solid var(--line);background:#fafcf9;border-radius:.6rem;padding:.65rem;text-align:left}.poll-option button.selected{border-color:var(--green);background:var(--mint)}.progress{height:.4rem;border-radius:1rem;background:#e7ece8;overflow:hidden}.progress span{display:block;height:100%;background:var(--green)}.cancel-card{text-align:center;padding:2rem;background:#f8fbf8;border-radius:1rem}.cancel-meter{width:150px;height:150px;margin:1.2rem auto;border-radius:50%;display:grid;place-items:center;background:conic-gradient(var(--coral) var(--progress),#e7ece8 0)}.cancel-meter::before{content:"";position:absolute;width:112px;height:112px;border-radius:50%;background:#fff}.cancel-meter strong{position:relative;font:700 1.9rem Georgia,serif}.summary-card{padding:2rem;border-radius:1rem;background:linear-gradient(145deg,#f0f8f3,#fff);border:1px solid #cfe3d6}.dialog{border:0;border-radius:1.1rem;padding:0;box-shadow:0 30px 80px rgba(0,0,0,.2);width:min(540px,calc(100% - 2rem))}.dialog::backdrop{background:rgba(10,30,23,.55);backdrop-filter:blur(3px)}.dialog-card{display:grid;gap:1rem;padding:1.5rem}.dialog-head,.dialog-actions{display:flex;justify-content:space-between;align-items:center}.dialog-head h2{font:700 1.7rem Georgia,serif;margin:.2rem 0}.dialog-actions{justify-content:flex-end;gap:.6rem}.toast{position:fixed;z-index:50;right:1.5rem;bottom:1.5rem;max-width:360px;padding:.9rem 1.1rem;border-radius:.7rem;background:var(--ink);color:#fff;box-shadow:var(--shadow);opacity:0;transform:translateY(20px);pointer-events:none;transition:.25s}.toast.show{opacity:1;transform:none}.toast.error{background:#a33d2f}@media(max-width:1000px){.event-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.main{padding:0 1.5rem 3rem}.auth-story{padding:2rem}.workspace-layout{grid-template-columns:1fr}.event-tabs{display:flex;overflow:auto}.event-tabs button{white-space:nowrap}}@media(max-width:760px){.auth-shell{grid-template-columns:1fr}.auth-story{display:none}.auth-panel{min-height:100vh}.mobile-brand{display:flex;margin-bottom:3rem}.app-shell{grid-template-columns:1fr}.sidebar{position:fixed;z-index:20;left:-260px;width:245px;transition:.25s}.sidebar.open{left:0;box-shadow:20px 0 60px rgba(0,0,0,.18)}.main{padding:0 1rem 2rem}.topbar .icon-button{display:block}.topbar{gap:.8rem}.topbar>div{margin-right:auto}.topbar .btn{font-size:0}.topbar .btn::first-letter{font-size:1rem}.hero-card{grid-template-columns:1fr;padding:1.5rem}.hero-visual{display:none}.event-grid,.grid-two{grid-template-columns:1fr}.inline-form{grid-template-columns:1fr}.event-header{display:block}.section-heading{align-items:start}.filter-row{flex-wrap:wrap}}
:root { --schedule-green: #007c59; --schedule-yellow: #a46705; --schedule-red: #aa3434; }
button:focus-visible, a:focus-visible, summary:focus-visible { outline: 3px solid #166b96; outline-offset: 3px; }
button:disabled { opacity: .55; cursor: not-allowed; }
.event-tabs { flex-wrap: wrap; overflow: visible; gap: .3rem; }
.event-tabs button { flex: 0 1 auto; }
.eyebrow { text-transform: none; letter-spacing: .03em; }
.list-item { flex-wrap: wrap; }
.list-item > div { min-width: 0; overflow-wrap: anywhere; }
#availability-form { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.schedule-board { margin-top: 2rem; }
.schedule-day { margin-top: 1rem; display: grid; grid-template-columns: minmax(8rem, 1fr) 3fr; gap: .6rem; border-top: 1px solid #d4e3dc; padding-top: 1rem; }
.schedule-day h4 { grid-row: span 20; margin: .5rem 0; }
.schedule-entry { display: flex; flex-wrap: wrap; gap: .6rem 1rem; align-items: center; border-left: 4px solid var(--schedule-green); padding: .75rem 1rem; background: #eef8f3; }
.schedule-entry.tentative { border-color: var(--schedule-yellow); background: #fff7e5; }
.schedule-entry.busy { border-color: var(--schedule-red); background: #fff0ef; }
.schedule-entry small { margin-left: auto; }
.invitation-card { margin-bottom: 1.5rem; }
.button-row { display:flex; gap:.75rem; margin-top:1rem; }
#event-content p { max-width: 75ch; }
.summary-card .grid-two small { display: block; margin-bottom: .4rem; color: var(--muted); }
.summary-card .grid-two strong { display: block; line-height: 1.5; overflow-wrap: anywhere; }
@media (max-width: 640px) {
  #availability-form { grid-template-columns: 1fr; }
  .schedule-day { display:block; }
  .schedule-entry { margin-bottom:.5rem; }
  .event-tabs button { padding: .65rem; }
  .topbar .btn { font-size: .85rem; padding: .65rem; }
  .topbar > div { min-width: 0; }
  .topbar .btn { flex-shrink: 0; max-width: 7rem; }
}
@media (prefers-reduced-motion: reduce) { *, *::before, *::after { animation: none !important; transition: none !important; scroll-behavior: auto !important; } }

.place-search { display:flex; align-items:end; gap:.75rem; margin:1.5rem 0; }
.place-search label { flex:1; }
.place-search button { white-space:nowrap; }
.place-results { display:grid; gap:.8rem; margin:1.2rem 0; }
.place-card { display:flex; justify-content:space-between; gap:1.2rem; padding:1.1rem; border:1px solid var(--line); border-radius:.85rem; background:#fbfcfa; }
.place-card h4,.selected-place h4 { font:700 1.2rem Georgia,serif; margin:.65rem 0 .25rem; }
.place-card p,.selected-place p { margin:.2rem 0 .65rem; color:var(--muted); }
.place-card small { color:var(--muted); line-height:1.5; }
.place-actions { display:flex; flex-direction:column; align-items:end; justify-content:space-between; gap:1rem; min-width:120px; }
.place-actions a,.selected-place a,.place-attribution a { color:var(--green-dark); text-decoration:underline; }
.selected-place { display:grid; gap:.3rem; padding:1.2rem; border:1px solid #b5dcc5; border-radius:.85rem; background:#eef9f2; }
.selected-place .btn { justify-self:start; margin-top:.6rem; }
.place-attribution { margin:1.5rem 0 0; font-size:.8rem; color:var(--muted); }
@media(max-width:640px) { .place-search,.place-card { flex-direction:column; align-items:stretch; } .place-actions { flex-direction:row; align-items:center; } }
