body:not([data-auth=ready])>main{display:none}
@media(prefers-reduced-motion:no-preference){
 body[data-auth=ready]>main{animation:entry-appear 180ms ease-out}
 @keyframes entry-appear{from{opacity:.55}to{opacity:1}}
}
#site-tour-open{border:0;background:transparent;color:#77717f;font:inherit;font-size:12px;padding:6px 8px;border-radius:6px;white-space:nowrap}
#site-tour-open:hover{background:#f1f0ff;color:#5753c7}
body[data-view=whiteboard] #site-tour-open{display:none}
#site-tour{position:fixed;inset:0;z-index:10000;isolation:isolate}
#site-tour[hidden]{display:none}
.tour-shade{position:absolute;inset:0;width:100%;height:100%;fill:#242231a8}
.tour-outline{position:fixed;border:2px solid #b7b2f8;border-radius:10px;pointer-events:none;box-shadow:0 0 0 3px #b7b2f824}
.tour-card{position:fixed;width:min(340px,calc(100vw - 24px));max-height:calc(100dvh - 24px);overflow:auto;background:#fff;color:#292632;border:1px solid #efedf4;border-radius:14px;padding:20px;box-shadow:0 12px 48px #17122333;font-size:14px;line-height:1.75}
.tour-card:focus{outline:none}
.tour-top{display:flex;align-items:center;justify-content:space-between;gap:16px;color:#827b8c;font-size:12px}
.tour-card h2{font-size:19px;line-height:1.5;font-weight:600;margin:12px 0 8px}
.tour-card p{margin:0;color:#6d6578}
#tour-close{border:0;border-radius:6px;background:transparent;font-size:24px;line-height:1;width:32px;height:32px;color:#827b8c}
.tour-actions{display:flex;justify-content:flex-end;align-items:center;gap:12px;margin-top:22px}
.tour-actions button{border:0;border-radius:8px;padding:9px 16px;font-size:13px;background:#f5f4f8;color:#6d6578;min-height:40px}
#tour-next{background:#e9e7ff;color:#5753c7}
#tour-next:disabled{opacity:.5;cursor:wait}
#tour-wait{font-size:12px;margin-top:12px;color:#8c7d55}
#tutorial-frame{display:block;flex:1;min-height:0;width:100%;height:100%;border:0;background:var(--paper)}
#site-tour.tour-interactive{pointer-events:none}
.tour-interactive .tour-shade{pointer-events:none}
.tour-interactive .tour-shade path{pointer-events:fill}
.tour-interactive .tour-card{pointer-events:auto}
#tour-task-status:not([hidden]){margin-top:12px;color:#6965a6;font-size:12px}
.tour-fireworks.tour-confetti i{border-radius:1px;box-shadow:none}
.tour-shade{z-index:0}.tour-outline{z-index:2}.tour-card{z-index:3}
.tour-fireworks{position:absolute;inset:0;pointer-events:none;overflow:hidden;z-index:1}
.tour-fireworks i{position:absolute;width:5px;height:5px;border-radius:50%;box-shadow:0 0 7px currentColor}
.tour-celebrating .tour-card{text-align:center;padding:24px}
.tour-celebrating .tour-card h2{margin:22px 0 14px;color:#625592}
.tour-celebrating .tour-card p{line-height:1.9}
.tour-celebrating .tour-actions{margin-top:26px}
.tour-card .tour-example{grid-template-columns:1fr 20px 1fr;gap:8px;padding:12px}
.tour-card .tour-sample-note{font-size:14px;line-height:1.6;text-align:center}
.tour-card .tour-sample-arrow{transform:none}
.tour-card .tour-sample-date{gap:6px;font-size:12px}
.tour-card .tour-sample-date strong{width:34px;height:34px;font-size:19px;flex:none}
.tour-example{margin-top:16px;padding:14px;border:1px dashed #d5d0ed;border-radius:10px;background:#faf9fe;display:grid;justify-items:center;gap:8px}
.tour-example-label{font-size:11px;color:#898096;justify-self:start}
.tour-sample-note{font-size:17px;color:#514969;padding:5px 0}
.tour-sample-arrow{color:#aaa0c7;font-size:20px}
.tour-sample-date{display:flex;align-items:center;gap:12px;color:#625592;font-size:14px}
.tour-sample-date strong{display:grid;place-items:center;width:45px;height:45px;border:2px solid #9c8dc4;border-radius:48% 53% 45% 51%;font-size:22px;font-weight:500}
@media(max-width:600px){.tour-example{grid-template-columns:1fr 20px 1fr;gap:7px;padding:12px;margin-top:12px}.tour-example-label{grid-column:1/-1;font-size:10px}.tour-sample-note{font-size:14px;line-height:1.6;text-align:center}.tour-sample-arrow{transform:rotate(-90deg)}.tour-sample-date{gap:5px;font-size:12px}.tour-sample-date strong{width:32px;height:32px;font-size:18px;flex:none}}
#tour-wait:not([hidden])::before{content:'';display:inline-block;width:12px;height:12px;margin-right:8px;border:2px solid #ded9ec;border-top-color:#8e80bd;border-radius:50%;vertical-align:-2px}
#tour-wait[data-error=true]::before{display:none}
@media(prefers-reduced-motion:no-preference){#tour-wait:not([hidden])::before{animation:tour-spin .8s linear infinite}.tour-sample-date strong{animation:tour-attention .7s ease-out .4s 2}.tour-sample-note{animation:tour-note .55s ease-out both}@keyframes tour-spin{to{transform:rotate(360deg)}}@keyframes tour-attention{50%{transform:scale(1.12);border-color:#6965db}}@keyframes tour-note{from{opacity:0;clip-path:inset(0 100% 0 0)}to{opacity:1;clip-path:inset(0)}}}
@media(max-width:600px){.tour-card{padding:16px}.tour-card h2{font-size:17px}.tour-card p{font-size:13px}.tour-actions{margin-top:16px}.header-right{gap:5px}#site-tour-open{padding:5px}}
#auth-screen{min-height:100dvh;display:grid;place-items:center;padding:24px;background:radial-gradient(ellipse at 50% 33%,#f2edff 0,transparent 62%),#fffdf9}
.auth-card{width:min(100%,360px);padding:26px 28px;background:#fff;border:1px solid #eee8f3;border-radius:16px;box-shadow:0 10px 36px #4737630a}
.auth-card h1,.board-entry h2{color:#3f3654;font-size:21px;font-weight:600;margin:0 0 8px;line-height:1.45}
#auth-description,.board-entry p{font-size:13px;color:#716782;margin:0}
#auth-form{margin-top:18px}
#auth-retry,#board-retry{margin-top:18px;padding:8px 14px;border:0;border-radius:8px;background:#eee9fc;color:#554696;font-size:13px}
body[data-auth=checking] .entry-status::before,body[data-auth=loading] .entry-status::before,.board-entry[data-state=loading] .auth-card::before{
 content:"";display:block;width:26px;height:4px;margin-bottom:16px;border-radius:4px;background:#a694d0
}
.whiteboard{position:relative}
.board-entry{position:absolute;inset:40px 0 0;z-index:2;display:grid;place-items:center;padding:20px;background:radial-gradient(ellipse at 50% 32%,#f4effc,transparent 65%),#fffefb}
.board-entry .auth-card{width:min(100%,330px)}
body[data-tour-active=true] .board-entry{display:none}
body:not([data-tour-active=true]) .whiteboard:has(.board-entry:not([hidden])) #board-save-status{visibility:hidden}
.auth-card label{display:flex;flex-direction:column;gap:6px;margin:12px 0;font-size:13px;color:#786f83}
.auth-card input,.auth-card select,#password-form input{width:100%;min-height:38px;padding:8px 10px;border:1px solid #e5e1ec;border-radius:6px;background:#fff;font:inherit;color:#4e455c}
.auth-card input:focus,.auth-card select:focus,#password-form input:focus{outline:2px solid #d8d3fa;outline-offset:1px}
#auth-submit{width:100%;padding:10px;border:0;border-radius:6px;background:#e9e7ff;color:#5753c7;font-size:14px}
#auth-error{font-size:12px;color:#a35e70;margin:10px 0}#auth-error:empty{display:none}
#account-toggle,#board-edit{height:31px;max-width:86px;overflow:hidden;white-space:nowrap;text-overflow:ellipsis;border:1px solid #efedf4;border-radius:7px;padding:3px 9px;background:#fff;color:#7a7186;font-size:12px}
#account-toggle:hover,#board-edit:hover{background:#f1f0ff}
#board-edit[data-editing=true]{color:#6259bf;background:#eeebff}
#account-panel{position:fixed;inset:auto;margin:0;width:min(260px,calc(100vw - 24px));max-height:calc(100dvh - 85px);overflow:auto;padding:12px;border:1px solid #efedf4;border-radius:10px;background:#fff;color:#62576f;box-shadow:0 5px 22px #29213f17;font-size:13px}
#account-panel strong{display:block;padding:4px 8px 10px;font-weight:500}
#account-panel>button,#account-panel summary,#password-form button{display:block;width:100%;padding:9px 8px;border:0;border-radius:5px;background:none;color:inherit;text-align:left;font:inherit;cursor:pointer}
#account-panel button:hover,#account-panel summary:hover{background:#f1f0ff}
#account-panel button:disabled{opacity:.4;cursor:wait}
#password-form input{margin:4px 0;font-size:12px}#password-form button{color:#6965db}
#account-feedback{font-size:12px;color:#8a7d96;margin:8px;line-height:1.7}#account-feedback:empty{display:none}
.whiteboard-bar{display:flex;flex:none;align-items:center;justify-content:space-between;gap:12px;padding:0 clamp(12px,3vw,24px);border-bottom:1px solid var(--line);background:var(--surface)}
#board-save-status{min-width:0;padding:6px 0;color:#62576f;font-size:13px;line-height:1.5;overflow-wrap:anywhere}
#board-guide-toggle{flex:none;min-height:38px;padding:0 7px;border:0;border-radius:7px;background:none;color:#6259a5;font-size:13px}
#board-guide-toggle:hover,#board-guide-toggle[aria-expanded=true]{background:#f0edfa}
#board-guide{position:fixed;inset:auto;margin:0;width:min(330px,calc(100vw - 24px));max-height:calc(100dvh - 106px);overflow:auto;padding:13px 16px 16px;border:1px solid var(--line);border-radius:10px;background:var(--surface);color:#595166;box-shadow:0 5px 22px #29213f17;font-size:13px}
#board-guide:focus{outline:none}
.board-guide-heading{display:flex;align-items:center;justify-content:space-between;gap:12px}
.board-guide-heading h2{margin:0;color:#3f354a;font-size:16px;font-weight:600}
#board-guide-close{min-height:34px;padding:0 8px;border:0;border-radius:6px;background:none;color:#6259a5;font-size:13px}
#board-guide-close:hover{background:#f0edfa}
#board-guide dl{margin:5px 0 0}
#board-guide dt{margin-top:10px;color:#4a4057;font-weight:600}
#board-guide dd{margin:2px 0 0;line-height:1.65}
#board-guide .board-guide-section{margin:9px 0 4px;color:#4a4057;font-size:13px;font-weight:600}
.board-guide-tools>div{display:grid;grid-template-columns:96px minmax(0,1fr);align-items:start;gap:8px;padding:5px 0;border-bottom:1px solid var(--line)}
#board-guide .board-guide-tools dt{display:flex;align-items:center;gap:6px;margin:0}
#board-guide .board-guide-tools dd{margin:0}
.board-guide-tools svg{flex:none;width:21px;height:21px;color:#6259a5}
.board-guide-examples{width:100%;table-layout:fixed;border-collapse:collapse;font-size:12px;line-height:1.5;text-align:left}
.board-guide-examples th,.board-guide-examples td{padding:6px 5px;vertical-align:top;overflow-wrap:anywhere;border-bottom:1px solid var(--line)}
.board-guide-examples thead{color:#514768;background:#f6f3fa}
.board-guide-examples tbody th{font-weight:500;color:#4a4057}
#board-guide kbd{padding:1px 4px;border:1px solid #eae5f0;border-radius:4px;background:#f9f7fc;font-size:12px}
.header-right{gap:10px}
@media(max-width:600px){.header-right{gap:6px}.page-header time{display:none}#board-edit{padding:3px 7px}#account-toggle{max-width:52px}}

.board-edit-short{display:none}
@media(max-width:480px){.board-edit-full{display:none}.board-edit-short{display:inline}#account-toggle{max-width:42px}}

body[data-auth=checking] .meeting-summary{visibility:hidden}
[popover=manual]::backdrop{pointer-events:none}
