:root{--blue:#105cff;--blue-ink:#164ab9;--blue-soft:#edf3ff;--ink:#17243b;--muted:#788396;--line:#e9edf3;--page:#f6f8fb;--white:#fff;--danger:#bd4052;--header:72px;--navigation:74px;font-family:-apple-system,BlinkMacSystemFont,"Segoe UI","PingFang SC","Hiragino Sans GB","Microsoft YaHei",sans-serif;color:var(--ink);background:#eaf0f7;font-synthesis:none;color-scheme:light}
*{box-sizing:border-box}body{margin:0}button,select{font:inherit}button{color:inherit;cursor:pointer;-webkit-tap-highlight-color:transparent}button:focus-visible,a:focus-visible,select:focus-visible{outline:3px solid #78a4ff;outline-offset:3px}button:disabled{cursor:default}svg{display:block;width:22px;height:22px;fill:none;stroke:currentColor;stroke-width:1.7;stroke-linecap:round;stroke-linejoin:round}button{touch-action:manipulation}.app-shell{width:100%;max-width:480px;height:100vh;height:100dvh;margin:auto;display:grid;grid-template-rows:calc(var(--header) + env(safe-area-inset-top)) minmax(0,1fr) calc(var(--navigation) + env(safe-area-inset-bottom));background:var(--page);position:relative;box-shadow:0 0 80px #1b355812}
.shell-header{display:grid;grid-template-columns:48px minmax(0,1fr) 48px;align-items:center;gap:14px;padding:env(safe-area-inset-top) 18px 0;background:var(--white);border-bottom:1px solid var(--line);z-index:5}.brand-button{width:48px;height:48px;padding:3px;background:none;border:0;display:grid;place-items:center}.brand-button img{display:block;object-fit:contain;aspect-ratio:1;width:42px;height:42px}.space-name{min-width:0;display:flex;flex-direction:column;align-items:center;gap:3px;text-align:center;letter-spacing:.01em}.space-primary,.space-identity{display:block;max-width:100%;overflow:hidden;white-space:nowrap;text-overflow:ellipsis}.space-primary{font-size:0.9375rem;font-weight:700;line-height:1.2}.space-identity{font-size:0.625rem;font-weight:550;line-height:1.2;color:var(--muted)}.message-button{width:44px;height:44px;position:relative;display:grid;place-items:center;background:transparent;border:0;color:#33465f;border-radius:14px}.message-button svg{width:25px;height:25px}.message-button:active{background:var(--blue-soft)}.unread-badge{position:absolute;top:1px;right:0;min-width:17px;height:17px;display:grid;place-items:center;background:var(--blue);border:2px solid white;border-radius:20px;color:white;font-size:0.625rem;font-weight:700;padding:0 3px}
main{overflow-y:auto;overscroll-behavior-y:contain;-webkit-overflow-scrolling:touch;padding:20px 20px 18px;scrollbar-width:thin}main:focus{outline:0}.page-heading{display:flex;justify-content:space-between;align-items:center;margin:0 0 17px;min-height:32px}.page-heading h1{font-size:1.6875rem;line-height:1.2;letter-spacing:-.035em;margin:0;font-weight:750}.prototype-tag{font-size:0.625rem;color:#6d7f9a;border:1px solid #dfe7f2;border-radius:6px;padding:4px 6px;letter-spacing:.04em}
.profile-card{width:100%;border:1px solid #e6edf8;border-radius:20px;background:linear-gradient(110deg,#fff 38%,#f0f5ff);padding:20px 16px;display:flex;align-items:center;gap:14px;text-align:left;box-shadow:0 5px 16px #244c8c04;margin-bottom:21px}.profile-card:active{background:#edf3ff}.avatar{display:grid;place-items:center;width:56px;height:56px;flex-shrink:0;border-radius:18px;background:#dce9ff;color:#205dcc;font-weight:650;font-size:1.5625rem}.profile-avatar-image{display:block;object-fit:cover}.profile-copy{min-width:0;flex:1}.profile-name{display:block;font-size:1.3125rem;font-weight:700;letter-spacing:-.025em;line-height:1.3;margin-bottom:5px}.profile-email{display:block;font-size:0.75rem;color:#6c7c93;overflow-wrap:anywhere}.chevron{color:#9aa8bd;flex-shrink:0}.chevron svg{width:17px;height:17px}
.menu-group{margin-bottom:18px}.group-title{font-size:0.6875rem;font-weight:600;color:#8490a2;margin:0 0 8px 4px;line-height:1.4;letter-spacing:.08em}.menu-list{background:white;border:1px solid #edf0f5;border-radius:16px;overflow:hidden}.menu-row{display:flex;align-items:center;gap:12px;width:100%;min-height:54px;background:white;border:0;text-align:left;padding:10px 14px;font-size:0.875rem;font-weight:550}.menu-row+.menu-row{position:relative}.menu-row+.menu-row:before{content:"";position:absolute;left:58px;right:14px;top:0;height:1px;background:var(--line)}.menu-row:active{background:#f2f6ff}.row-icon{width:31px;height:31px;display:grid;place-items:center;background:var(--blue-soft);color:#3f6cbd;border-radius:9px;flex-shrink:0}.row-icon svg{width:18px;height:18px}.row-text{flex:1}.account-actions{display:flex;gap:12px;padding:1px 0 0}.account-actions button{min-height:44px;flex:1;display:flex;align-items:center;justify-content:center;gap:7px;border:1px solid #e0e6ef;background:transparent;border-radius:12px;font-size:0.75rem;color:#6b7b91}.account-actions button:last-child{color:var(--danger);border-color:#eadfe3}.account-actions svg{width:16px;height:16px}.demo-footnote{font-size:0.625rem;line-height:1.4;text-align:center;color:#9aa5b5;margin:13px 0 0}
.bottom-navigation{background:rgba(255,255,255,.98);border-top:1px solid var(--line);display:grid;grid-template-columns:repeat(4,minmax(0,1fr));padding:8px 9px calc(8px + env(safe-area-inset-bottom));z-index:4}.nav-button{border:0;background:none;min-width:0;border-radius:13px;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:5px;color:#8b97a9;font-size:0.625rem;font-weight:550;padding:6px 2px}.nav-button svg{width:22px;height:22px}.nav-button[aria-current=page]{color:var(--blue);background:var(--blue-soft)}.nav-button:active{background:#f3f6fb}.nav-button:disabled{color:#b7c0cc}
dialog{color:var(--ink);border:0}dialog::backdrop{background:#15243b30}.space-menu{position:fixed;top:calc(64px + env(safe-area-inset-top));left:max(16px,calc((100vw - 480px)/2 + 16px));right:auto;bottom:auto;margin:0;width:min(300px,calc(100vw - 32px));max-height:calc(100dvh - 90px - env(safe-area-inset-top));overflow-y:auto;padding:8px;border:1px solid #e5ebf5;border-radius:16px;background:var(--white);box-shadow:0 16px 48px #152a502b}.space-menu-group{padding:4px 0}.space-menu-group+.space-menu-group{border-top:1px solid var(--line);margin-top:4px;padding-top:9px}.space-menu-group h2{margin:0;padding:5px 12px 6px;color:var(--muted);font-size:0.625rem;font-weight:650;line-height:1.3;letter-spacing:.08em}.space-menu button{display:flex;align-items:center;gap:10px;width:100%;min-height:52px;text-align:left;border:0;background:none;padding:9px 12px;border-radius:10px}.space-menu-copy{display:flex;min-width:0;flex:1;flex-direction:column;gap:3px}.space-menu-copy strong,.space-menu-copy small{overflow:hidden;white-space:nowrap;text-overflow:ellipsis}.space-menu-copy strong{font-size:0.8125rem;font-weight:650}.space-menu-copy small{color:var(--muted);font-size:0.625rem;font-weight:500}.space-menu-status{min-width:28px;color:var(--blue);font-size:0.5625rem;font-weight:650;text-align:right}.space-menu button[aria-pressed=true]{background:var(--blue-soft);color:var(--blue)}.space-menu button[aria-pressed=true] small{color:var(--blue-ink)}.space-menu button:active{background:var(--blue-soft)}
.subpage-heading{display:flex;align-items:center;gap:11px;margin:0 0 25px;min-height:38px}.back-button{height:40px;width:40px;display:grid;place-items:center;background:white;border:1px solid #e2e9f2;border-radius:12px;flex-shrink:0}.subpage-heading h1{font-size:1.3125rem;line-height:1.3;letter-spacing:-.02em;margin:0}.placeholder{background:white;border:1px solid #e6edf6;border-radius:22px;padding:30px 22px;text-align:center}.placeholder-icon{width:60px;height:60px;border-radius:20px;background:var(--blue-soft);color:#4477cf;display:grid;place-items:center;margin:0 auto 21px}.placeholder-icon svg{width:27px;height:27px}.placeholder h2{font-size:1.1875rem;margin:0 0 10px}.placeholder p{font-size:0.8125rem;line-height:1.85;color:#7c899e;margin:0 auto;max-width:280px}.placeholder-label{display:inline-block;font-size:0.625rem;color:#7790b6;background:#f4f7fc;border-radius:6px;padding:4px 8px;margin-bottom:16px}.placeholder .primary-button{margin-top:24px}.subpage-note{font-size:0.6875rem;color:#96a2b4;line-height:1.7;text-align:center;margin-top:17px}.primary-button,.secondary-button{min-height:44px;display:flex;align-items:center;justify-content:center;gap:8px;width:100%;border-radius:12px;font-weight:600;font-size:0.8125rem;padding:10px 16px}.primary-button{background:var(--blue);color:white;border:1px solid var(--blue)}.secondary-button{background:white;color:#546985;border:1px solid #dfe7f2}.settings-action{margin-top:16px}.configuration{margin-top:18px;background:white;border:1px solid #e4ebf5;border-radius:20px;padding:20px}.configuration h2{font-size:1rem;margin:0 0 7px}.configuration p{font-size:0.75rem;color:#8b96a6;line-height:1.7;margin:0 0 18px}.slot-field{display:flex;align-items:center;justify-content:space-between;gap:12px;margin:14px 0;font-size:0.8125rem}.slot-field select{min-height:44px;max-width:63%;width:180px;background:#f7f9fd;border:1px solid #dde5f1;border-radius:10px;color:#3b526e;padding:8px 10px}.fixed-slot{font-size:0.75rem!important;background:#f5f7fb;border-radius:10px;padding:13px;margin:16px 0!important}.configuration-actions{display:flex;gap:9px;margin-top:18px}
.confirmation{width:min(340px,calc(100vw - 40px));border-radius:23px;padding:25px;box-shadow:0 15px 70px #14254526}.confirmation h2{font-size:1.25rem;letter-spacing:-.02em;margin:0 0 12px}.confirmation p{color:#7c899a;font-size:0.8125rem;line-height:1.8;margin:0 0 23px}.confirmation-actions{display:flex;gap:9px}.confirmation-actions button{flex:1}.danger-button{background:#bd4052;border-color:#bd4052}.toast{position:fixed;z-index:20;bottom:calc(94px + env(safe-area-inset-bottom));left:50%;transform:translateX(-50%);width:max-content;max-width:calc(100vw - 40px);background:#23354a;color:white;padding:12px 18px;box-shadow:0 8px 30px #1a304725;border-radius:13px;font-size:0.75rem;margin:0;pointer-events:none;text-align:center}.toast[hidden]{display:none}
@media(min-width:700px){.app-shell{border-left:1px solid #dfe7f1;border-right:1px solid #dfe7f1}}@media(max-width:359px){main{padding:16px}.profile-card{padding:17px 13px;gap:11px}.profile-name{font-size:1.1875rem}.profile-email{font-size:0.6875rem}.menu-row{font-size:0.8125rem}.shell-header{padding-left:14px;padding-right:14px}.account-actions{gap:8px}}@media(max-height:720px){main{padding-top:16px}.profile-card{margin-bottom:17px}.menu-group{margin-bottom:15px}}@media(prefers-reduced-motion:no-preference){button{transition:background-color .14s ease,color .14s ease}.toast{animation:toast-in .18s ease-out}@keyframes toast-in{from{opacity:0;translate:0 6px}to{opacity:1;translate:0 0}}}
