.welcome-page { background: #edf2f0; }
.welcome-page::before { display: none; }
.welcome-header, .welcome-footer { max-width: 1320px; margin: auto; padding: 32px 48px; display: flex; justify-content: space-between; align-items: center; gap: 24px; }
.welcome-signin { color: var(--ink); font-weight: 600; text-decoration: none; display: flex; gap: 18px; align-items: center; }
.welcome-layout { max-width: 1320px; margin: auto; padding: 38px 48px 64px; display: grid; grid-template-columns: 1.15fr 1fr; align-items: center; gap: clamp(40px, 7vw, 110px); }
.welcome-kicker { font-size: .68rem; letter-spacing: .13em; font-weight: 700; }
.welcome-story h1 { font-family: var(--display); font-size: clamp(3.8rem, 6.4vw, 6.6rem); line-height: .98; letter-spacing: -.055em; font-weight: 500; margin: 26px 0; }
.welcome-story h1 span { color: #437c67; }
.welcome-intro { max-width: 430px; font-size: 1.08rem; line-height: 1.75; color: var(--ink-soft); }
.day-preview { background: #17382f; color: #fff; border-radius: 16px; padding: 28px; margin-top: 36px; max-width: 495px; box-shadow: 12px 14px 0 #d6e2da; transform: rotate(-1deg); }
.preview-top { display: flex; justify-content: space-between; font-size: .63rem; letter-spacing: .12em; color: #bacfc4; }
.day-preview h2 { font-family: var(--display); font-size: 1.8rem; font-weight: 500; margin: 16px 0 20px; }
.preview-row { display: flex; align-items: center; gap: 13px; border-top: 1px solid #ffffff24; padding: 16px 0; }
.preview-row strong { display: block; font-size: .8rem; font-weight: 500; }
.preview-row small { display: block; font-size: .7rem; color: #bacfc4; margin-top: 5px; }
.preview-check, .preview-open { display: grid; place-items: center; flex: 0 0 27px; height: 27px; border: 1px solid #ffffff30; border-radius: 7px; color: #c9e1b1; }
.preview-check { background: #ffffff12; }
.preview-tag { font-size: .6rem; color: #d8e5dc; margin-left: auto; padding: 5px 8px; border: 1px solid #ffffff24; border-radius: 4px; flex-shrink: 0; }
.preview-bottom { border-top: 1px solid #ffffff24; padding-top: 18px; font-size: .7rem; color: #bacfc4; }
.preview-bottom span { color: #e9c47b; margin-right: 8px; }
.welcome-features { display: flex; gap: 20px; flex-wrap: wrap; margin-top: 30px; font-size: .72rem; color: var(--ink-soft); }
.welcome-features span::before { content: '✓'; color: #437c67; margin-right: 7px; }
.account-entry { background: #fff; padding: clamp(28px, 3.5vw, 48px); border: 1px solid #dce5df; border-radius: 18px; box-shadow: 0 18px 65px #17382f08; scroll-margin-top: 24px; }
.entry-monogram { display: grid; place-items: center; height: 44px; width: 44px; background: #edf2f0; border: 1px solid #dce5df; border-radius: 10px; font-family: var(--display); font-size: 1.1rem; margin-bottom: 28px; }
.account-entry h2 { font-family: var(--display); font-size: clamp(2rem, 3vw, 2.7rem); font-weight: 500; letter-spacing: -.035em; margin: 14px 0; }
#entry-description { font-size: .87rem; line-height: 1.65; color: var(--ink-soft); margin-bottom: 28px; }
.provider-actions { display: grid; gap: 12px; }
.provider-button, .guest-button { min-height: 54px; border: 1px solid #c7d5cd; border-radius: 8px; padding: 14px 17px; display: flex; align-items: center; gap: 12px; color: var(--ink); font-size: .85rem; font-weight: 600; text-decoration: none; transition: background .15s, border-color .15s; }
.provider-button:hover { background: #edf2f0; border-color: #437c67; }
.provider-button > :last-child, .guest-button > :last-child { margin-left: auto; }
.provider-button svg { height: 21px; width: 21px; }
.microsoft-mark { display: grid; grid-template-columns: 1fr 1fr; gap: 2px; width: 20px; height: 20px; }
.microsoft-mark i { background: #f25022; }.microsoft-mark i:nth-child(2) { background: #7fba00; }.microsoft-mark i:nth-child(3) { background: #00a4ef; }.microsoft-mark i:nth-child(4) { background: #ffb900; }
.entry-password-note { font-size: .72rem; text-align: center; color: var(--ink-soft); margin: 16px 0; }
.account-status { font-size: .76rem; line-height: 1.65; color: var(--ink-soft); }
.account-status:empty { display: none; }
.entry-divider { display: flex; align-items: center; gap: 12px; font-size: .7rem; color: var(--ink-soft); margin: 26px 0; }
.entry-divider::before, .entry-divider::after { content: ''; flex: 1; height: 1px; background: #dce5df; }
.guest-button { justify-content: space-between; background: var(--ink); color: #fff; border-color: var(--ink); }.guest-button:hover { background: #285345; }
.entry-data-note { font-size: .73rem; line-height: 1.7; color: var(--ink-soft); margin: 18px 0 25px; }
.entry-switch { text-align: center; font-size: .78rem; margin-bottom: 0; }.entry-switch a { color: var(--ink); font-weight: 700; text-underline-offset: 3px; }
.welcome-footer { font-size: .72rem; color: var(--ink-soft); border-top: 1px solid #d5e0d9; }
.account-tools p { font-size: .82rem; line-height: 1.6; }
.account-tools a { color: var(--ink); text-underline-offset: 3px; font-weight: 600; }.account-tools .account-links { display: flex; flex-wrap: wrap; gap: 18px; }
.welcome-page a:focus-visible, .welcome-page button:focus-visible, .account-tools a:focus-visible { outline: 3px solid #c96542; outline-offset: 4px; }
@media (max-width: 850px) { .welcome-layout { grid-template-columns: 1fr; max-width: 590px; padding: 25px 24px 48px; gap: 48px; }.welcome-header, .welcome-footer { padding: 24px; }.welcome-story h1 { font-size: 4.6rem; }.welcome-story { order: 1; }.account-entry { order: 0; }.welcome-intro { max-width: none; }.day-preview { max-width: none; }.welcome-footer { flex-wrap: wrap; }.welcome-features { gap: 12px; } }
@media (prefers-reduced-motion: reduce) { .provider-button, .guest-button { transition: none; } }
.workspace-loading > .site-header, .workspace-loading > #main-content, .workspace-loading > .ambient, .workspace-loading > .toast, .workspace-loading > .level-up { display: none !important; }
#workspace-gate { max-width: 620px; margin: 8vh auto; padding: 24px; }
#workspace-gate h1 { font-family: var(--display); font-size: 2.8rem; line-height: 1.1; }
.workspace-message, #account-action-description { line-height: 1.75; }
.workspace-actions { display: grid; gap: 24px; }.workspace-actions form { display: grid; gap: 18px; }
.workspace-actions input[type="text"], #setup-name { width: 100%; padding: 12px; border: 1px solid #749282; border-radius: 6px; font-size: 1rem; }
.workspace-actions fieldset { padding: 14px; border: 1px solid #dce5df; border-radius: 8px; }
.account-choice { display: block; font-size: .9rem; padding: 12px 0; cursor: pointer; }
.account-choice small { display: block; margin: 5px 0 0 23px; line-height: 1.65; color: var(--ink-soft); }
.account-choice input { accent-color: var(--ink); width: auto; display: inline-block; margin: 0 8px 0 0; padding: 0; vertical-align: middle; }
#account-action-dialog { max-width: 620px; } #account-action-dialog input { font-size: 1rem; }
.policy-page { width: 100%; max-width: 860px; padding: 32px 24px 80px; margin: auto; }.policy-page h1 { font-family: var(--display); font-size: clamp(2.2rem, 8vw, 3.5rem); line-height: 1.05; }.policy-page p, .policy-page li { line-height: 1.8; }.policy-page h2 { margin-top: 36px; font-family: var(--display); font-size: 2rem; }.policy-page a { color: var(--ink); text-underline-offset: 3px; overflow-wrap: anywhere; }
