.book{--ease:cubic-bezier(.2, 0, 0, 1);--field:var(--surface);--field-line:var(--frame);--tile:var(--raised);--slot-line:var(--line);background:var(--bg);justify-content:center;align-items:flex-start;min-height:100vh;padding:clamp(24px,9vh,96px) 16px 48px;display:flex}html[data-theme$=light] .book{--field-line:var(--frame);--tile:var(--raised);--slot-line:var(--border)}.book--embed{min-height:0;padding:0}.book-card{background:var(--surface);border:1px solid var(--line);border-radius:var(--radius);width:100%;max-width:1040px;display:grid}html[data-theme$=light] .book-card{box-shadow:0 1px 2px color-mix(in srgb, var(--scrim) 20%, transparent), 0 12px 40px -16px color-mix(in srgb, var(--scrim) 60%, transparent)}.book-card--done{max-width:540px}.book--embed .book-card{max-width:none;box-shadow:none;border:0;border-radius:0}.book--embed .book-done{padding-top:60px}.book-zone-pick{border-radius:4px;align-items:center;gap:6px;min-width:0;max-width:100%;display:inline-flex;position:relative}.book-zone-pick>span{text-overflow:ellipsis;white-space:nowrap;min-width:0;overflow:hidden}.book-zone-pick svg{color:var(--muted)}.book-zone-pick select{opacity:0;cursor:pointer;border:0;width:100%;padding:0;position:absolute;inset:0}.book-zone-pick:hover>span{color:var(--ink)}.book-zone-pick:has(select:focus-visible){outline:2px solid var(--accentText);outline-offset:3px}.book-brand{opacity:.5;justify-content:center;padding-top:6px;display:flex}.book-form{flex-direction:column;gap:14px;min-width:0;padding:22px 24px 20px;display:flex}.book-field{color:var(--muted);letter-spacing:.08em;text-transform:uppercase;gap:8px;font-size:12px;font-weight:500}.book-form input{border:1px solid var(--line);border-radius:var(--radiusCtl);background:var(--field);height:44px;color:var(--ink);letter-spacing:normal;text-transform:none;box-shadow:none;transition:border-color .15s var(--ease), box-shadow .15s var(--ease);padding:0 14px;font-size:14px;font-weight:400}.book-form input:hover:not(:focus):not(:disabled){border-color:var(--frame)}.book-form input:focus,.book-form input:focus-visible{border-color:color-mix(in srgb, var(--accent) 75%, transparent);box-shadow:0 0 0 3px color-mix(in srgb, var(--accent) 22%, transparent);outline:none}.book-form input[aria-invalid=true]{border-color:var(--red)}.book-field-error{letter-spacing:normal;text-transform:none;color:var(--red);font-size:12px;font-weight:400}.book-guests{flex-direction:column;margin:-14px -3px 0;display:flex}.book-guest{animation:book-row-in .2s var(--ease) both;grid-template-rows:1fr;display:grid}.book-guest--leaving{animation:book-row-out var(--motion-exit-panel) var(--ease-folio-exit) both}.book-guest-row{min-height:0;overflow:hidden}.book-guest-inner{gap:6px;padding:11px 3px 3px;display:flex}.book-guests>.book-field-error{padding:4px 3px 0}@keyframes book-row-in{0%{opacity:0;grid-template-rows:0fr}}@keyframes book-row-out{to{opacity:0;grid-template-rows:0fr}}.book-guest-remove{width:40px;height:40px;color:var(--muted);background:0 0;border:0;border-radius:8px;flex-shrink:0;place-items:center;padding:0;display:grid}.book-guest-remove:hover:not(:disabled){background:var(--hover);color:var(--ink)}.book-add{color:var(--muted);background:0 0;border:0;border-radius:7px;align-self:flex-start;align-items:center;gap:6px;margin:-4px 0 0 -8px;padding:6px 8px;font-size:13px;font-weight:500;display:inline-flex}.book-add:hover{background:var(--hover);color:var(--ink)}.book-trap{clip-path:inset(50%);white-space:nowrap;width:1px;height:1px;position:absolute;overflow:hidden}.book-message{text-align:center;color:var(--red);outline:none;font-size:13px}.book-message:empty{display:none}.book-message--note{color:var(--muted)}.book-month{flex-direction:column;gap:16px;min-width:0;padding:24px;display:flex}.book-month-head{justify-content:space-between;align-items:center;gap:8px;min-height:32px;display:flex}.book-month-head h2{font-size:14px;font-weight:500}.book-month-head h2 span{color:var(--muted);font-weight:400}.book-month-nav{gap:2px;display:flex}.book-nav{border-radius:var(--radiusCtl);width:32px;height:32px;color:var(--ink);background:0 0;border:0;place-items:center;padding:0;display:grid}.book-nav:hover:not(:disabled){background:var(--hover)}.book-nav:disabled{color:var(--dim);cursor:default;opacity:.6}.book-grid{flex-direction:column;gap:6px;display:flex}.book-week{grid-template-columns:repeat(7,minmax(0,1fr));gap:6px;display:grid}.book-weekday{text-align:center;letter-spacing:.08em;text-transform:uppercase;color:var(--muted);padding-bottom:4px;font-size:11px;font-weight:500}.book-date,.book-tile{font-variant-numeric:var(--numeric);place-items:center;width:100%;height:44px;font-size:14px;display:grid;position:relative}.book-date{color:var(--dim)}.book-tile{border-radius:var(--radiusCtl);background:var(--tile);color:var(--ink);transition:background .15s var(--ease), border-color .15s var(--ease), color .15s var(--ease);border:1px solid #0000;padding:0;font-weight:500}.book-tile:hover{border-color:var(--frame)}.book-tile[aria-pressed=true]{background:var(--ink);border-color:var(--ink);color:var(--surface)}.book-date--today:after{content:"";background:currentColor;border-radius:50%;width:4px;height:4px;margin-left:-2px;position:absolute;bottom:18%;left:50%}.book-empty{color:var(--muted);flex-direction:column;align-items:flex-start;gap:12px;padding:24px;display:flex}.book-zone{color:var(--dim);overflow-wrap:anywhere;font-size:12px;font-weight:400;display:block}.book-bone{border-radius:var(--skullet-radius);background:var(--skullet-base);animation:1.4s ease-in-out infinite book-pulse;display:block}.book-bone--title{width:120px;height:32px}.book-bone--time{flex-shrink:0;height:42px}@keyframes book-pulse{50%{opacity:.5}}.book-done{text-align:center;flex-direction:column;align-items:center;gap:10px;padding:36px 32px 32px;display:flex}.book-done-mark{background:var(--brand-soft);width:40px;height:40px;color:var(--accentText);border-radius:50%;place-items:center;margin-bottom:6px;display:grid}.book-done-mark--off{background:var(--raised);color:var(--muted)}.book-done h2,.book-done-title{font-family:var(--font-sans), ui-sans-serif, system-ui, sans-serif;letter-spacing:-.02em;outline:none;font-size:clamp(22px,1.2vw + 14px,30px);font-weight:400;line-height:1.2}.book-done-note{color:var(--muted);overflow-wrap:anywhere}.book-summary{border-top:1px solid var(--line);border-bottom:1px solid var(--line);text-align:left;flex-direction:column;gap:14px;width:100%;margin:18px 0 8px;padding:20px 0;display:flex}.book-summary>div{grid-template-columns:72px 1fr;gap:12px;display:grid}.book-summary dt{color:var(--muted);letter-spacing:.08em;text-transform:uppercase;padding-top:2px;font-size:12px;font-weight:500}.book-summary dd{min-width:0;color:var(--ink);overflow-wrap:anywhere;font-variant-numeric:var(--numeric);margin:0}.book-done .lit{margin-top:6px}.book-cancel-lead{color:var(--muted)}@media (min-width:768px){.book{--gap:clamp(16px, 6vh, 64px);height:100dvh;min-height:0;padding:var(--gap) 16px}.book--embed{height:auto;padding:0}}@media (max-width:767px){.book{padding:16px 12px 32px}.book--embed{padding:0}.book-done{padding:28px 20px 24px}}@media (max-width:360px){.book:not(.book--embed){padding:8px 8px 24px}.book-week{gap:4px}.book-summary>div{grid-template-columns:56px 1fr}}.book-card{view-transition-name:book-card}::view-transition-old(book-card){object-fit:none;object-position:left top;height:100%;animation-duration:.22s;animation-timing-function:cubic-bezier(.2,0,0,1)}::view-transition-new(book-card){object-fit:none;object-position:left top;height:100%;animation-duration:.22s;animation-timing-function:cubic-bezier(.2,0,0,1)}::view-transition-group(book-card){animation-duration:.22s;animation-timing-function:cubic-bezier(.2,0,0,1)}@keyframes book-in{0%{opacity:0;transform:translateY(4px)}}@keyframes book-fade{0%{opacity:0}}@supports not (view-transition-name:none){.book-card--done>*{animation:.22s cubic-bezier(.2,0,0,1) both book-in}}.book-grid{animation:.12s linear both book-fade}@media (prefers-reduced-motion:reduce){.book-bone,.book-grid,.book-guest,.book-guest--leaving,.book-card>*{animation:none}.book-tile,.book-form input{transition:none}}.book-done{position:relative}.book-host{color:var(--muted);align-items:center;gap:10px;font-size:14px;display:flex}.book-avatar{border:1px solid var(--line);background:var(--tile);width:36px;height:36px;color:var(--ink);border-radius:50%;place-items:center;font-size:13px;font-weight:600;display:inline-grid}img.book-avatar{object-fit:cover}.book-done .book-host{margin-bottom:4px}.stage-card{max-width:560px;max-height:none;display:block;overflow:visible}.book--embed .stage-card{max-width:none}.stage{flex-direction:column;gap:12px;width:100%;max-width:560px;margin:0 auto;padding:32px 36px 28px;display:flex}@supports not (view-transition-name:none){.stage-card--moved .stage{animation:stage-in .2s var(--ease) both}}.book--embed .stage{padding-top:28px}.book--embed .stage>:first-child{margin-right:44px}@keyframes stage-in{0%{opacity:0}}.stage-line{color:var(--muted);font-variant-numeric:var(--numeric);flex-wrap:wrap;align-items:center;gap:6px;margin:0;font-size:13px;display:flex}.stage-line .book-zone-pick{font-weight:400}.stage-date,.stage-title{font-family:var(--font-sans), ui-sans-serif, system-ui, sans-serif;letter-spacing:-.02em;color:var(--ink);outline:none;margin:10px 0 0;font-weight:400;line-height:1.15}.stage-date{font-size:clamp(26px,1.6vw + 18px,34px)}.stage-title{font-size:clamp(22px,1vw + 16px,26px)}.stage-date:focus-visible,.stage-title:focus-visible{text-decoration:underline;-webkit-text-decoration-color:color-mix(in srgb, var(--accent) 60%, transparent);text-decoration-color:color-mix(in srgb, var(--accent) 60%, transparent);text-underline-offset:6px}.stage-nav{align-items:center;gap:2px;margin:-2px 0 6px -10px;display:flex}.stage-step,.stage-more,.stage-back{border-radius:var(--radiusCtl);color:var(--muted);font:inherit;cursor:pointer;transition:color .15s var(--ease), background .15s var(--ease);background:0 0;border:0;align-items:center;gap:4px;padding:6px 10px;font-size:13px;display:inline-flex}.stage-step:hover,.stage-more:hover,.stage-back:hover{color:var(--ink);background:var(--hover)}.stage-step:focus-visible,.stage-more:focus-visible,.stage-back:focus-visible{box-shadow:0 0 0 2px color-mix(in srgb, var(--accent) 50%, transparent);outline:none}.stage-step--day{min-width:68px}.stage-step--next{justify-content:flex-end}.stage-step:disabled{visibility:hidden}.stage-calendar{margin-left:auto}.stage-roll{animation:stage-roll .22s var(--ease) both;display:inline-block}@keyframes stage-roll{0%{opacity:0;transform:translateX(var(--roll,10px))}}.stage-panels{display:grid}.stage-panel{min-width:0;transition:opacity .2s var(--ease), visibility 0s;grid-area:1/1}.stage-panel:not([data-shown]){opacity:0;visibility:hidden;transition:opacity .14s var(--ease), visibility 0s .14s}.stage-times-frame{overflow-clip-margin:4px;overflow:clip}.stage-times{grid-template-columns:repeat(3,minmax(0,1fr));gap:8px;margin:0;padding:0;list-style:none;display:grid}.stage-time{border:1px solid var(--slot-line);border-radius:var(--radiusCtl);background:var(--tile);width:100%;height:44px;color:var(--ink);font:inherit;font-variant-numeric:var(--numeric);cursor:pointer;transition:border-color .15s var(--ease), box-shadow .15s var(--ease), background .15s var(--ease);font-size:14px}.stage-time:hover{border-color:color-mix(in srgb, var(--accent) 55%, var(--slot-line))}.stage-time:focus-visible,.stage-time[aria-pressed=true]{border-color:var(--accentText);box-shadow:0 0 0 3px color-mix(in srgb, var(--accent) 18%, transparent);outline:none}.stage-time--new{animation:stage-fade .24s var(--ease) both}@keyframes stage-fade{0%{opacity:0;transform:translateY(4px)}}.stage-more{margin:8px 0 0 -10px}.stage-month{border:0;padding:0}.stage .book-message:not(:empty){margin:0}.stage-back{font-variant-numeric:var(--numeric);align-self:flex-start;margin-left:-10px}.stage-back-len{color:var(--dim);margin-left:6px}.book-form.stage-form{min-height:0;padding:0;overflow:visible}.stage-fields{flex-direction:column;gap:10px;display:flex}.stage-row{grid-template-columns:repeat(auto-fit,minmax(0,1fr));gap:10px;display:grid}.stage-fields .book-field{flex-direction:column;gap:6px;display:flex}.book-form input::placeholder{color:var(--dim)}.stage-fields .book-add{align-self:flex-start}.stage--you .stage-back{color:var(--ink);margin:0 0 6px -10px;font-size:14px}.stage-optional{text-transform:none;letter-spacing:normal;color:var(--dim);font-weight:400}.book-form textarea{border:1px solid var(--line);border-radius:var(--radiusCtl);background:var(--field);width:100%;height:44px;min-height:44px;color:var(--ink);font:inherit;letter-spacing:normal;text-transform:none;resize:none;transition:border-color .15s var(--ease), box-shadow .15s var(--ease);padding:11px 14px;font-size:14px;font-weight:400;line-height:20px;display:block;overflow-y:hidden}.book-form textarea::placeholder{color:var(--dim)}.book-form textarea:hover:not(:focus){border-color:var(--frame)}.book-form textarea:focus{border-color:color-mix(in srgb, var(--accent) 75%, transparent);box-shadow:0 0 0 3px color-mix(in srgb, var(--accent) 22%, transparent);outline:none}.stage-book{font-variant-numeric:var(--numeric);width:100%;margin-top:2px}.stage--done{text-align:center;align-items:center}.stage--done>.book-host{align-self:flex-start}.stage-check{width:56px;height:56px;margin-top:12px;position:relative}.stage-check svg{fill:none;width:100%;height:100%;stroke:var(--accentText);stroke-linecap:round;stroke-linejoin:round}.stage-check circle{stroke-width:1.5px;stroke-dasharray:139;stroke-dashoffset:139px;animation:stage-draw .4s var(--ease) forwards}.stage-check path{stroke-width:3px;stroke-dasharray:30;stroke-dashoffset:30px;animation:stage-draw .3s var(--ease) .25s forwards}@keyframes stage-draw{to{stroke-dashoffset:0}}.stage-fireworks{pointer-events:none;position:absolute;top:50%;left:50%}.stage-spark{opacity:0;border-radius:1px;width:2px;height:12px;position:absolute;top:-6px;left:-1px}.stage-when{color:var(--ink);font-variant-numeric:var(--numeric);margin:0;font-size:15px;line-height:1.5}.stage-when .book-zone{color:var(--muted);font-size:13px;display:block}.stage-invite{max-width:340px;color:var(--muted);margin:4px 0 0;font-size:14px;line-height:1.5}.stage-invite strong{color:var(--ink);font-weight:500}.stage-inbox{align-items:center;gap:8px;margin-top:6px;display:inline-flex}.stage--done .book-brand{opacity:1;margin-top:18px;padding:0}.book-brand-mark{width:40px;height:26px;display:block;position:relative}.book-brand-mark:before,.book-brand-mark:after{content:"";position:absolute;inset:0;-webkit-mask:url(/brand/folio-logo-ink.png) 50%/contain no-repeat;mask:url(/brand/folio-logo-ink.png) 50%/contain no-repeat}.book-brand-mark:before{z-index:1;background:color-mix(in srgb, var(--ink) 10%, var(--surface))}.book-brand-mark:after{background:color-mix(in srgb, var(--ink) 26%, var(--surface));transform:translateY(1px)}html[data-theme$=light] .book-brand-mark:before{background:color-mix(in srgb, var(--ink) 14%, var(--surface))}html[data-theme$=light] .book-brand-mark:after{background:color-mix(in srgb, var(--ink) 34%, var(--surface));transform:translateY(-1px)}.stage-note{color:var(--muted);margin:0;font-size:13px}.stage-bone-date{width:70%;height:34px}.stage .book-bone--time{height:44px}@media (max-width:479px){.stage{padding:22px 18px 20px}.stage-times{grid-template-columns:repeat(2,minmax(0,1fr))}}@media (prefers-reduced-motion:reduce){.stage,.stage-time--new{animation:none}.stage-check circle,.stage-check path{stroke-dashoffset:0;animation:none}.stage-panel,.stage-panel:not([data-shown]){transition:none}.stage-roll{animation:none}}
