body.auth-pending .app-shell,body.auth-pending .bottom-nav{display:none!important}.auth-screen{min-height:100dvh;display:grid;place-items:center;padding:max(22px,env(safe-area-inset-top)) 20px max(22px,env(safe-area-inset-bottom));background:radial-gradient(ellipse at 10% 8%,#e4efff 0,transparent 34%),radial-gradient(ellipse at 95% 90%,#f8e9ee 0,transparent 36%),#f2f2f7}.auth-card{width:min(100%,410px);padding:25px 23px 21px;border:1px solid #ffffffd9;border-radius:30px;background:#ffffffd9;box-shadow:0 20px 55px #25253f12;backdrop-filter:blur(22px);animation:enter .6s var(--spring) both}.auth-brand{display:flex;align-items:center;gap:9px;margin-bottom:26px;font-size:14px;font-weight:650}.auth-brand-icon{width:34px;height:34px;display:grid;place-items:center;border-radius:12px;color:#fff;background:#007aff;font-size:24px}.auth-eyebrow{color:#9999a3;font-size:8px;letter-spacing:1.6px}.auth-card h1{margin:9px 0 6px;font-size:30px;line-height:1.24;letter-spacing:-1.3px}.auth-card h1 span{color:#007aff}.auth-intro{margin:0 0 17px;color:#85858f;font-size:11px;line-height:1.7}.auth-message{display:none;margin:0 0 12px;padding:10px 12px;border-radius:13px;color:#856454;background:#fff2e9;font-size:10px;line-height:1.6}.auth-message:not(:empty){display:block}.auth-form{display:grid;gap:11px}.auth-form label{display:grid;gap:6px;color:#72727c;font-size:10px}.auth-form input{width:100%;min-height:45px;padding:0 13px;border:1px solid #ededf1;border-radius:14px;outline:0;color:#1c1c1e;background:#f8f8fa;font-size:12px}.auth-form input:focus{border-color:#78b5ff;box-shadow:0 0 0 3px #007aff18;background:#fff}.auth-form input::placeholder{color:#b4b4bd}.auth-submit{min-height:48px;display:flex;align-items:center;justify-content:center;gap:12px;margin-top:3px;border-radius:15px;color:white;background:#007aff;box-shadow:0 5px 14px #007aff25;font-size:12px;font-weight:600}.auth-submit span{font-size:17px}.auth-switch{width:100%;margin-top:15px;padding:8px;color:#007aff;background:transparent;font-size:10px}.auth-private-note{display:flex;align-items:center;justify-content:center;gap:5px;margin:12px 0 0;color:#a0a0aa;font-size:8px}.auth-private-note .icon{width:12px;height:12px}.auth-screen.hidden{display:none!important}.account-profile{display:flex;align-items:center;gap:11px;padding:13px;border-radius:18px;background:#fff}.account-avatar{width:42px;height:42px;display:grid;place-items:center;border-radius:15px;color:#007aff;background:#eaf3ff;font-size:18px}.account-profile b,.account-profile small{display:block}.account-profile b{font-size:12px}.account-profile small{margin-top:4px;color:#96969f;font-size:9px}.relationship-card{margin-top:11px;padding:14px;border-radius:18px;background:#fff}.relationship-status{color:#777780;font-size:11px;line-height:1.6}.relationship-actions{display:flex;flex-wrap:wrap;gap:8px;margin-top:12px}.relationship-actions button,.admin-invite-panel button{padding:9px 12px;border-radius:12px;color:#007aff;background:#eaf3ff;font-size:10px}.relationship-actions .danger{color:#cf4f5e;background:#fff0f1}.partner-invite-link{overflow-wrap:anywhere;margin-top:10px;padding:10px;border-radius:12px;background:#f5f5f8;color:#676771;font-size:9px}.admin-invite-panel{margin-top:11px;padding:14px;border-radius:18px;background:#fff}.admin-invite-panel h3{margin:0 0 10px;font-size:12px}.admin-invite-panel form{display:flex;gap:7px}.admin-invite-panel input{min-width:0;flex:1;border:0;border-radius:11px;padding:9px;background:#f4f4f7;font-size:10px}.signout-button{width:100%;min-height:45px;margin-top:14px;border-radius:14px;color:#d44e5b;background:#fff0f1;font-size:11px}.account-security-note{margin:12px 4px 0;color:#a0a0aa;text-align:center;font-size:8px;line-height:1.6}.community-privacy-note{margin:-8px 0 13px;padding:11px 13px;border-radius:14px;color:#777780;background:#fff4e9;font-size:9px;line-height:1.6}.community-post-form{display:grid;gap:9px;padding:13px;border-radius:19px;background:#fff}.community-post-form input,.community-post-form textarea{min-height:42px;padding:11px;border:0;border-radius:13px;background:#f5f5f8;font-size:11px}.community-post-form textarea{min-height:100px;resize:vertical}.public-consent{display:flex;align-items:flex-start;gap:7px;color:#81818b;font-size:9px;line-height:1.5}.public-consent input{min-height:auto;width:15px;height:15px;margin:0;flex:none;accent-color:#007aff}.community-feed{display:grid;gap:9px;margin-top:13px}.community-post{padding:14px;border-radius:19px;background:#fff;box-shadow:var(--soft-shadow)}.community-post header{display:flex;align-items:center;justify-content:space-between;color:#9999a2;font-size:8px}.community-post h3{margin:10px 0 7px;font-size:14px}.community-post-body{color:#696972;font-size:10px;line-height:1.7;overflow-wrap:anywhere}.community-post img{width:100%;max-height:230px;margin-top:10px;border-radius:15px;object-fit:cover}.community-post-actions{display:flex;justify-content:flex-end;margin-top:10px}.community-post-actions button{color:#d15460;background:#fff1f2;font-size:9px;padding:7px 10px;border-radius:999px}.community-empty{padding:22px;border-radius:18px;background:#fff;color:#96969f;text-align:center;font-size:10px;line-height:1.7}

.auth-switch.compact{margin-top:0;color:#8e8e98;font-size:9px}.auth-submit{width:100%}.relationship-actions{display:flex;flex-wrap:wrap;gap:8px}.partner-invite-link{width:100%;overflow-wrap:anywhere;user-select:all}.space-tabs{display:flex;gap:4px;padding:4px;border-radius:16px;background:#e8e8ef;margin:0 0 14px}.space-tabs button{flex:1;padding:10px;border-radius:12px;color:#85858f;background:transparent;font-size:12px}.space-tabs button.active{color:#007aff;background:#fff;box-shadow:0 2px 7px #25253f0b}.space-toolbar{display:flex;align-items:center;justify-content:space-between;gap:7px;margin:12px 0}.space-toolbar>span{font-size:10px;color:#8d8d97}.space-toolbar>button{background:#eaf3ff;color:#007aff;padding:9px 12px;border-radius:999px;font-size:11px;white-space:nowrap}.space-feed{display:grid;gap:12px;margin-top:14px}.space-feed .community-post{padding:16px;border-radius:22px;box-shadow:0 4px 16px #25253f05}.space-feed .community-post>p,.space-feed li{font-size:12px;color:#777780;line-height:1.7}.diary-form-row{display:grid;grid-template-columns:1fr 1fr;gap:10px}.diary-form-row select{border:0;background:#f4f4f8;padding:10px;border-radius:14px;font-size:12px;color:#44444f}.editor-actions{display:flex;gap:8px}.editor-actions button{background:#f0f0f6;color:#81818d;border-radius:999px;padding:8px 11px;font-size:10px}.editor-hint{margin:0;color:#9696a1;font-size:9px;line-height:1.6}.cloud-photo-preview{position:relative;border-radius:18px;overflow:hidden;background:#eee}.cloud-photo-preview img{width:100%;max-height:220px;object-fit:cover;display:block}.cloud-photo-preview button{position:absolute;right:9px;top:9px;background:#3339;color:#fff;border-radius:999px;padding:7px 10px;font-size:9px}.diary-photo-upload small{display:block;color:#aaa;font-size:8px;margin-top:4px}.markdown-body{font-size:13px;line-height:1.75;color:#5e5e68;overflow-wrap:anywhere}.markdown-body p{margin:5px 0 10px}.markdown-body h1,.markdown-body h2,.markdown-body h3{font-size:17px;letter-spacing:0;margin:10px 0}.markdown-body h4,.markdown-body h5,.markdown-body h6{font-size:14px;margin:8px 0}.markdown-body ul,.markdown-body ol{padding-left:20px}.markdown-body pre{overflow:auto;background:#f3f3f7;border-radius:12px;padding:11px;font-size:11px;white-space:pre-wrap}.markdown-body code{background:#f0f0f6;border-radius:4px;padding:2px 4px}.markdown-body blockquote{border-left:3px solid #bfcee7;margin:12px 0;padding-left:12px;color:#92929d}.markdown-body a{color:#007aff}.markdown-body table{display:block;overflow:auto;border-collapse:collapse}.markdown-body td,.markdown-body th{padding:6px;border:1px solid #e5e5ee}.space-sheet{max-height:94dvh}.space-sheet .sheet-header{margin-bottom:15px}.community-post-form .public-consent input{padding:0}.admin-invite-panel #adminInviteResult{font-size:10px;overflow-wrap:anywhere}.report-item{padding:11px 0;border-bottom:1px solid #eee;font-size:11px}.report-item button{margin-right:7px}.report-item p{font-size:10px;color:#92929d}.signout-button.secondary{color:#007aff;background:#eaf3ff}@media(max-width:480px){.auth-form input,.diary-form input,.diary-form textarea,.diary-form select,.community-post-form input,.community-post-form textarea{font-size:16px}.auth-card{padding:24px 20px}.auth-form label{font-size:11px}}

/* Shared typographic rhythm for sign-in, accounts and daily life. */
.auth-card h1 { font-size: 29px; font-weight: 600; letter-spacing: -.5px; line-height: 1.45; }
.auth-brand { font-size: 14px; font-weight: 550; }
.auth-eyebrow { font-size: 8px; letter-spacing: 1.3px; }
.auth-intro { font-size: 12px; line-height: 1.8; }
.auth-form label { font-size: 12px; color: #85858f; }
.auth-submit { font-size: 14px; font-weight: 500; box-shadow: none; }
.auth-switch { font-size: 11px; }
.auth-switch.compact { font-size: 10px; }
.auth-private-note { font-size: 9px; line-height: 1.7; }
.account-profile b { font-size: 15px; font-weight: 550; }
.account-profile small { font-size: 11px; }
.relationship-status { font-size: 13px; line-height: 1.8; }
.relationship-actions button { font-size: 11px; }
.space-tabs button { font-size: 13px; }
.space-toolbar > span { font-size: 11px; }
.community-post header { font-size: 10px; color: #a2a2ab; }
.community-post h3 { font-size: 17px; font-weight: 550; letter-spacing: -.1px; line-height: 1.6; }
.markdown-body { font-size: 13px; line-height: 1.85; }
.markdown-body h1,.markdown-body h2,.markdown-body h3 { font-size: 17px; font-weight: 550; line-height: 1.6; }
.markdown-body strong { font-weight: 600; }
.diary-form label { font-size: 12px; }
.community-empty { font-size: 12px; line-height: 1.8; }

.auth-card h1 { font-weight: 550; }
.auth-submit { font-weight: 500; }

.verification-toggle{display:flex;align-items:center;justify-content:space-between;gap:12px;padding:12px 0}.verification-toggle>span{font-size:13px;font-weight:500}.verification-toggle small{display:block;color:#9696a0;font-size:10px;font-weight:400;line-height:1.7;margin-top:4px}.verification-toggle input{appearance:none;-webkit-appearance:none;position:relative;width:44px;height:27px;min-width:44px;flex:0 0 44px;padding:0;margin:0;border-radius:99px;background:#dedee7;cursor:pointer;transition:background .2s}.verification-toggle input:before{content:'';position:absolute;top:3px;left:3px;width:21px;height:21px;border-radius:50%;background:#fff;box-shadow:0 1px 4px #0002;transition:transform .2s}.verification-toggle input:checked{background:#34c759}.verification-toggle input:checked:before{transform:translateX(17px)}#loginPolicyHint{font-size:10px;line-height:1.8;color:#95959f}#refreshLoginBlocks{margin-bottom:8px}.security-empty{font-size:11px;color:#a0a0a9}.login-block-item,.invite-list-item{display:grid;gap:5px;align-items:start;padding:11px 0;border-top:1px solid #f0f0f5;overflow-wrap:anywhere}.login-block-item b,.invite-list-item b{font-size:11px;font-weight:500}.login-block-item small,.invite-list-item small{color:#9797a1;font-size:10px}.login-block-item button,.invite-list-item button{justify-self:start;font-size:10px;padding:7px 10px;margin-top:3px}#adminInviteList{max-height:230px;overflow:auto;margin-top:10px}#bootstrapForm .public-consent{display:flex;line-height:1.8;font-size:10px}#bootstrapForm [type=checkbox]{min-height:16px;min-width:16px;width:16px;height:16px;padding:0;accent-color:#007aff}
