/* The first screen is an editor, with the same blocks and theme as the workspace. */
#welcome-root .start-page{--start-accent:light-dark(#7954a4,#bc9be0);--start-wash:light-dark(#f6f2fa,#28232f);min-height:100svh;background:radial-gradient(ellipse at 50% 32%,light-dark(#f8f5fc80,#27212d45),transparent 65%);padding:0 48px;color:var(--text);display:flex;flex-direction:column}
.start-page a{color:inherit;text-decoration:none}.start-page button{font-family:var(--font-ui)}
.start-header{display:flex;align-items:center;justify-content:space-between;gap:24px;min-height:100px;width:100%;max-width:1440px;margin:0 auto}.start-header .welcome-brand{font-size:26px}.start-header-actions{display:flex;align-items:center;gap:24px}.start-header-actions>a,.start-header-actions>button{display:inline-flex;align-items:center;gap:8px;font-size:13px;min-height:44px}
.start-header .theme-switch{padding:3px;background:transparent;border:1px solid var(--line);border-radius:30px;gap:2px}.start-header .theme-switch button{border-radius:50%;min-width:36px;min-height:36px;padding:8px}.start-header .theme-switch button[aria-checked=true]{background:var(--start-wash);color:var(--start-accent)}.start-header .theme-switch button span{display:none}
.start-main{width:100%;max-width:700px;margin:clamp(40px,10vh,112px) auto 70px;padding:0;flex:1}.start-invitation{margin-bottom:40px;transition:opacity .2s}.start-kicker{font-size:10px;letter-spacing:.16em;color:var(--start-accent);font-weight:600}.start-invitation h1{font-family:var(--font-ui);font-size:clamp(32px,4.5vw,48px);font-weight:450;letter-spacing:-.045em;line-height:1.15;margin:18px 0 16px}.start-invitation p{font-size:15px;color:var(--muted);margin:0}.has-draft .start-invitation{opacity:.65}
.start-workbench{background:var(--paper);border:1px solid var(--line);border-radius:18px;padding:20px 24px 14px;box-shadow:0 8px 30px light-dark(#34214104,#00000008);min-width:0}.start-editor-top{display:flex;align-items:center;justify-content:space-between;gap:12px;margin-bottom:18px}.start-kind{display:flex;gap:3px}.start-kind button{display:inline-flex;gap:7px;align-items:center;font-size:12px;min-height:36px;padding:8px 12px;border:0;border-radius:8px;color:var(--muted);background:transparent}.start-kind button[aria-pressed=true]{color:var(--start-accent);background:var(--start-wash)}.start-editor-top>.text-button{font-size:11px;padding:8px}
.start-workbench .note-document{margin:0;padding:0;min-height:150px}.start-workbench .note-blocks{margin:0;min-height:150px}.start-workbench .note-layout-row,.start-workbench .note-column,.start-workbench .note-column-segment{margin:0;min-width:0}.start-workbench .block-selection-tools:has([hidden]){display:none}.start-workbench .note-layout-tools,.start-workbench [data-layout-row-tools],.start-workbench .note-add-block,.start-workbench .note-column-tools,.start-workbench .layout-row-tools{display:none}.start-workbench .block-text{font-size:17px;line-height:1.7;min-height:42px;padding:5px 0;outline:none;overflow-wrap:anywhere}.start-workbench .block-text:empty::before{color:var(--muted);opacity:.68}.start-workbench .note-block{padding-top:2px;padding-bottom:2px}.start-workbench .block-add,.start-workbench .block-drag{opacity:0}.start-workbench .note-block:hover .block-add,.start-workbench .note-block:hover .block-drag{opacity:1}
.start-block-actions{display:flex;gap:14px;padding:12px 0 4px;border-top:1px solid var(--line)}.start-block-actions button{font-size:11px;display:inline-flex;align-items:center;gap:5px;min-height:34px;color:var(--muted);padding:5px 0}.start-status{font-size:11px;color:var(--muted);line-height:1.6;margin:9px 0 0;min-height:18px}.start-status:empty{display:none}.start-error{font-size:12px;color:light-dark(#9c3939,#ffb0b0);line-height:1.6}.start-task-options{display:flex;justify-content:space-between;align-items:center;gap:18px;margin:8px 0 12px;color:var(--muted);font-size:12px}.start-task-options label{display:flex;align-items:center;gap:8px}.start-task-options input[type=date]{font:inherit;width:140px;padding:7px;border:1px solid var(--line);background:transparent;color:var(--text);border-radius:7px}.start-task-options input[type=checkbox]{accent-color:var(--start-accent);width:18px;height:18px}
.start-actions{display:flex;align-items:center;gap:14px;flex-wrap:wrap;margin-top:18px}.start-actions button{font-size:12px;min-height:44px;padding:12px 16px}.start-actions .start-primary{border:0;border-radius:9px;color:light-dark(#fff,#211a2b);background:var(--start-accent);font-weight:550}.start-privacy{font-size:10px;line-height:1.6;color:var(--muted);margin:12px 0 0}.start-privacy a{text-decoration:underline;text-underline-offset:3px}.start-quiet{font-size:11px;color:var(--muted);margin:22px 0 0;text-align:center}.start-destination{font-size:12px;margin:14px 0}.start-destination label{display:flex;gap:8px;align-items:center}.start-destination select{max-width:100%;min-width:0;padding:8px}
.start-footer{display:flex;justify-content:space-between;align-items:center;gap:16px;max-width:1440px;width:100%;margin:0 auto;padding:22px 0 28px;color:var(--muted);font-size:11px}.start-footer a{display:inline-flex;align-items:center;gap:7px}.start-page :focus-visible{outline:2px solid var(--start-accent);outline-offset:3px}.start-page [hidden]{display:none!important}
@media(max-width:620px){#welcome-root .start-page{padding:0 20px;padding-bottom:env(safe-area-inset-bottom,0px)}.start-header{min-height:84px;gap:12px}.start-header .welcome-brand{font-size:23px}.start-header-actions{gap:10px}.start-header .theme-switch button{min-height:32px;min-width:32px;padding:7px}.start-header-actions>button,.start-header-actions>a{font-size:12px}.start-header-actions>a{max-width:100px;line-height:1.3}.start-main{margin:42px auto 44px}.start-invitation{margin-bottom:28px}.start-invitation h1{font-size:34px;margin:15px 0}.start-invitation p{font-size:13px;max-width:270px;line-height:1.6}.start-kicker{font-size:9px}.start-workbench{padding:14px 14px 12px;border-radius:14px}.start-editor-top{gap:4px}.start-kind button{font-size:11px;padding:7px 8px;gap:5px}.start-editor-top>.text-button{max-width:80px;line-height:1.35}.start-workbench .note-document,.start-workbench .note-blocks{min-height:140px}.start-workbench .block-text{font-size:16px}.start-actions{gap:6px}.start-actions button{padding:11px 12px}.start-task-options{gap:8px;flex-wrap:wrap}.start-footer{align-items:flex-start;font-size:10px;line-height:1.6}.start-footer span{max-width:145px}.start-quiet{line-height:1.6}.start-workbench .block-gutter{left:-16px}.start-page .note-column-segment{padding-left:0;padding-right:0}}
@media(prefers-reduced-motion:reduce){.start-invitation{transition:none}}
@media(forced-colors:active){.start-actions .start-primary,.start-kind button[aria-pressed=true]{border:1px solid ButtonText}.start-workbench{border-color:CanvasText}}
@media(max-width:620px){#welcome-root .start-workbench .note-add-block{display:none!important}body:has(#welcome-root .start-page) .mobile-editor-bar{bottom:var(--start-keyboard-bottom,0px);padding-bottom:max(3px,env(safe-area-inset-bottom))}body:has(#welcome-root .start-page):has(.mobile-editor-bar.is-editing){padding-bottom:64px}}
