/* UI 02 — reference: 余见, docs/selected-ui.md (2026-10-27).
   Adapted typography, small color accents, white cards and rounded controls. */
:root{
  --ink:#24232c;--muted:#74727e;--line:#e9e7ef;--soft:#faf9fc;
  --purple:#c4b7fc;--lime:#d8ed37;--blue:#74668f;--blue-light:#f2effd;
  --green:#637653;--orange:#9a8263;--red:#ae535e;
  --font:"Segoe UI","PingFang SC","Microsoft YaHei",sans-serif;
  --editorial:"Songti SC","STSong","SimSun",serif;
  --radius-button:14px;--radius-card:20px;
}
body{color:var(--ink)}button{border-radius:var(--radius-button);transition:background .16s,transform .16s,border-color .16s}button:active:not(:disabled){transform:translateY(1px)}button:focus-visible,a:focus-visible{outline-color:#7760a5}
.review-layout{max-width:1080px;grid-template-columns:280px minmax(390px,1fr);gap:60px}.brand{font-family:var(--editorial);font-size:27px}.brand-symbol{border-radius:11px;background:var(--purple);padding:9px;gap:4px}.brand-symbol i{background:var(--ink);height:3px;border-radius:2px}.brand-en{font-family:Arial,sans-serif;font-size:8px;letter-spacing:1.7px}.edition{font-size:9px;color:var(--muted)}.review-title{font-family:var(--editorial);font-size:29px;font-weight:600;line-height:1.65;letter-spacing:1px}.review-lead{font-size:12px;color:var(--muted)}.review-nav{gap:6px}.review-nav button{border-radius:13px;padding:12px 14px}.review-nav button.active{color:var(--ink);background:var(--purple)}.review-nav button.active span{color:var(--ink)}.tiny-square{width:6px;height:6px;border-radius:50%;background:var(--lime);border:1px solid #24232c38}.phone{border-radius:27px;border-color:var(--line);box-shadow:0 17px 50px -30px #36304742}
.glyph{display:inline-block;object-fit:contain;flex-shrink:0;pointer-events:none;vertical-align:middle}.page{padding-left:21px;padding-right:21px;padding-top:19px}.statusbar{height:36px;padding-left:23px;padding-right:23px}.topline{margin-bottom:24px}.topline>.eyebrow{color:var(--muted);font-size:9px;letter-spacing:1.7px}.topline>.eyebrow:before{content:"";display:inline-block;width:6px;height:6px;margin-right:7px;vertical-align:1px;background:var(--lime);border-radius:2px}.avatar{width:36px;height:36px;border-radius:12px;background:var(--purple);color:var(--ink)}.avatar.green{background:var(--lime);color:var(--ink)}.avatar.sand{background:#eee9fc;color:var(--ink)}.avatar.outline{background:#fff;color:var(--muted);border-color:var(--line)}
.page-title,.page-heading h1,.book-detail-title h1,.detail-title,.reminder-heading h1,.invite-top h1{font-family:var(--editorial);font-weight:600;letter-spacing:.5px}.page-heading{margin-top:2px;margin-bottom:18px}.page-heading h1{font-size:28px}.today-intro{align-items:flex-start;margin-bottom:25px;gap:12px}.today-intro>div:first-child{min-width:0;flex:1}.today-intro .page-title{font-size:27px;line-height:1.55;letter-spacing:0;white-space:nowrap}.phone .subline{font-size:11px;line-height:2;color:var(--muted);margin-top:9px}.big-date{font-family:Georgia,"Times New Roman",serif;font-size:61px;line-height:.95;font-weight:600;letter-spacing:-3px;color:var(--ink);padding-top:2px;flex-shrink:0}.big-date small{font-family:Arial,sans-serif;font-size:7px;letter-spacing:.7px;font-weight:400;margin-top:11px;color:var(--muted)}
.week-strip{margin-bottom:22px;padding:13px 0;gap:5px;border-color:var(--line)}.week-day{border-radius:12px;gap:8px;font-size:14px;min-height:51px;color:var(--ink)}.week-day small{font-size:9px;color:var(--muted)}.week-day.active{background:var(--purple);color:var(--ink)}.week-day.active small{color:#514560}.week-day .dot{background:#8676b8;border-radius:50%;bottom:4px}.week-day.active .dot{background:var(--ink)}.phone .section-head h2{font-size:15px;font-weight:550;letter-spacing:-.25px}.section-head{margin-top:22px;margin-bottom:14px}.text-btn{border-radius:9px;min-height:26px;color:var(--muted)}.phone .text-btn.blue{color:var(--blue)}
.featured-event{border:1px solid var(--line);background:#fff;border-radius:var(--radius-card);padding:17px 17px 14px;box-shadow:0 4px 12px #24232c03}.featured-event .book-label{font-size:10px;color:var(--muted)}.color-dot{border-radius:50%;width:5px;height:5px}.badge{border-radius:7px;padding:5px 7px;font-size:9px;background:#fff;border:1px solid var(--line);color:var(--muted)}.badge.blue{background:var(--purple);color:var(--ink);border-color:var(--purple)}.badge.green{background:var(--lime);color:var(--ink);border-color:var(--lime)}.featured-event>.book-label{color:var(--muted)}.featured-time{color:var(--ink);font-size:29px;font-weight:650;letter-spacing:-.8px;margin:15px 0 8px;font-variant-numeric:tabular-nums}.featured-time>span{color:var(--muted)!important;font-size:15px!important;font-weight:400;letter-spacing:-.3px}.featured-event h3{font-size:16px;font-weight:550;line-height:1.7}.phone .event-meta{color:var(--muted);font-size:10px}.featured-event .feature-foot{border-top-color:var(--line);color:var(--muted);padding-top:12px;margin-top:17px;font-size:9px}.feature-foot>span:first-child{display:flex;gap:5px;align-items:center}.mini-member{border-radius:7px;width:21px;height:21px;background:var(--purple);color:var(--ink);border:2px solid white;font-size:8px}.mini-members{gap:0}.mini-member+.mini-member{margin-left:-3px}.mini-member:nth-child(2){background:var(--lime);color:var(--ink)}.mini-member:nth-child(3){background:#eae5f7!important;color:var(--ink)!important}
.simple-event{border-radius:0;gap:13px;padding:15px 0}.simple-event .time{font-size:12px;color:var(--ink)}.simple-event .event-rule{width:3px;border-radius:3px;background:var(--book-color)}.simple-event h3{font-size:13px}.simple-event p{font-size:10px;color:var(--muted)}.simple-event.past{opacity:.63}.task-row{padding:15px 0;gap:11px}.task-check{border-radius:6px;width:19px;height:19px;border-color:#cdc8d9;margin-top:2px;transition:background .16s,border-color .16s,transform .16s}.task-check.done{border-color:var(--ink);background:var(--ink);color:var(--lime)}.task-check.done>svg{stroke-width:2.5}.task-row.done h3{color:#a5a0b0}.phone .task-content h3{font-size:13px;font-weight:500}.phone .task-content p{font-size:10px;color:var(--muted)}.task-time{color:var(--muted)}.inline-update{color:var(--muted);font-size:9px;line-height:1.9}.inline-update>svg{color:#8b7cac}.page-footer{color:#b0a9bb;font-size:7px;letter-spacing:1.7px}
.bottom-nav{height:76px;padding:9px 10px 13px;border-color:var(--line);background:#fff}.bottom-nav button{color:var(--muted);font-size:10px;gap:3px;border-radius:12px}.bottom-nav button.active{color:var(--ink);font-weight:600}.bottom-nav button.active:before{display:none}.bottom-nav button>.glyph,.bottom-nav button>svg{box-sizing:content-box;padding:4px 11px;width:21px;height:21px;border-radius:11px}.bottom-nav button.active>.glyph,.bottom-nav button.active>svg{background:var(--purple)}.fab{width:48px;height:48px;bottom:94px;right:21px;background:var(--lime);color:var(--ink);border-radius:16px;box-shadow:0 4px 12px #24232c0b}.fab>.glyph{width:25px!important;height:25px!important}.icon-btn{border-radius:11px;min-width:32px;min-height:32px}.icon-btn.soft{background:var(--purple);color:var(--ink)}.page-heading>.icon-btn{background:var(--purple);color:var(--ink);width:35px;height:35px}.month-heading strong{font-size:22px;font-weight:650;letter-spacing:-.6px}.month-heading strong small{color:var(--muted);font-size:11px}.month-controls{gap:9px}.month-controls .text-btn{background:var(--purple);color:var(--ink);padding:7px 10px;border-radius:11px;font-size:10px}.calendar-cell{border-radius:11px;font-size:12px;height:44px;transition:background .16s}.calendar-cell.selected{background:var(--purple);color:var(--ink);font-weight:600}.calendar-cell.today:not(.selected){background:var(--lime);color:var(--ink)}.calendar-cell.selected .calendar-dots i{background:var(--ink)}.calendar-cell .calendar-dots i{border-radius:50%}.calendar-weekdays{color:var(--muted)}.book-filters{gap:13px}.book-filters button{font-size:9px;color:#aaa1b7;border-radius:0}.book-filters button.active{color:var(--ink)}
.segmented{border:1px solid var(--line);border-radius:14px;background:#fff;padding:4px;gap:4px;margin-top:24px;margin-bottom:23px;display:flex}.segmented button{border-radius:10px;padding:10px 2px;flex:1;min-width:0;font-size:11px;color:var(--muted)}.segmented button.active{background:var(--purple);color:var(--ink);font-weight:550}.segmented button.active:after{display:none}.progress-line,.progress-line i{border-radius:999px}.progress-line{height:3px;background:var(--line)}.progress-line i{height:3px;background:var(--purple)}.task-count-line{font-size:11px}.task-count-line>span{color:var(--ink);font-weight:600!important}.task-group-label{color:var(--muted)}
.book-card{position:relative;border:1px solid var(--line);border-radius:var(--radius-card);padding:18px 17px;margin-bottom:15px;background:#fff;box-shadow:none;isolation:isolate}.book-card h3{font-size:17px;font-weight:550;margin-top:14px}.book-icon{width:36px;height:36px;background:var(--purple);color:var(--ink);border-radius:12px;display:flex;align-items:center;justify-content:center}.book-card[data-action="book:family"] .book-icon{background:var(--lime)}.book-card[data-action="book:weekend"] .book-icon{background:white;border:1px solid var(--line)}.book-card[data-action="book:family"]{margin-bottom:27px}.book-card[data-action="book:family"]:before,.book-card[data-action="book:family"]:after{content:"";position:absolute;z-index:-1;background:#fff;border:1px solid var(--line);border-radius:18px;left:7px;right:7px;height:25px;bottom:-6px}.book-card[data-action="book:family"]:after{left:14px;right:14px;bottom:-11px;z-index:-2}.book-card p{color:var(--muted);font-size:10px!important}.book-card-foot{color:var(--muted);border-color:var(--line);font-size:9px!important}.book-card>.badge{background:#fff}.add-book{border-radius:14px;border-style:solid;border-color:var(--line);color:var(--ink);padding:15px;font-size:12px;gap:8px}.add-book>.glyph,.add-book>svg{background:var(--lime);border-radius:8px;padding:4px;box-sizing:content-box}.tip-box,.tip-box.blue{border:1px solid var(--line);border-radius:14px;background:#fff;color:var(--muted);padding:13px;gap:9px;line-height:1.9}.tip-box>svg,.tip-box.blue>svg{color:#8c7caf;background:var(--purple);border-radius:7px;padding:4px;box-sizing:content-box}.tip-box>span{font-size:10px}.book-detail-title{margin-top:26px}.book-detail-title .book-square{border-radius:14px;background:var(--lime)!important;color:var(--ink)!important;width:46px;height:46px}.book-detail-title h1{font-size:26px}.book-detail-title p{color:var(--muted);font-size:10px!important}.book-summary{font-size:11px!important;line-height:2;color:var(--muted)}.member-row .avatar{border-radius:10px;width:33px;height:33px}.member-name small,.member-role{color:var(--muted)}.back-header{margin-bottom:24px}.back-header strong{color:var(--muted);font-size:11px}.back-header .back-label button{color:var(--muted);font-size:11px}.book-detail-actions{gap:10px}.small-note{font-size:10px!important;color:var(--muted)}
.primary-btn{border-radius:14px;min-height:46px;background:var(--ink);border-color:var(--ink);font-size:12px;font-weight:500;box-shadow:none}.primary-btn.green{background:var(--ink);border-color:var(--ink)}.primary-btn.danger{background:#a8505b;border-color:#a8505b}.primary-btn>.glyph{filter:brightness(0) invert(1)}.secondary-btn{border-radius:14px;min-height:46px;border-color:var(--line);color:var(--ink);font-size:12px;background:#fff}.danger-link{color:#9a6470;border-radius:10px}.row-link{border-radius:0;border-color:var(--line);padding:18px 0}.row-link .row-copy{font-size:12px!important}.row-link .row-copy small{color:var(--muted);font-size:10px!important}.row-link>svg:first-child{color:var(--muted)}.row-link>svg:last-child{color:#a69cb6}.detail-title{font-size:27px;line-height:1.65}.detail-kicker{margin-bottom:18px}.info-content .big-time{font-size:29px;font-weight:650;letter-spacing:-1px}.info-content strong{font-size:13px}.detail-info{gap:14px}.detail-info>svg{color:var(--muted)}.detail-note{border:1px solid var(--line);background:#fff;border-radius:17px;font-size:12px;line-height:2;color:var(--muted);padding:16px}.detail-audit{font-size:10px;color:var(--muted)}.cancelled-label{background:#fff;border:1px solid #ead8df;border-radius:12px;color:#a8505b}.setting-row{border-color:var(--line);padding:17px 0}.toggle{width:38px;height:24px;background:#dedbe5;border-radius:999px;padding:3px}.toggle:after{width:18px;height:18px;border-radius:50%;background:#fff;box-shadow:0 1px 3px #24232c12}.toggle.on{background:var(--ink)}.toggle.on:after{transform:translateX(14px);background:var(--lime)}.choice{border-radius:12px;border-color:var(--line);padding:12px 3px;color:var(--muted);font-size:11px!important}.choice.active{background:var(--purple);border-color:var(--purple);color:var(--ink)}.reminder-heading{padding-top:17px;padding-bottom:24px}.reminder-heading h1{font-size:25px}.reminder-heading p{font-size:11px;color:var(--muted);line-height:2}.settings-label{font-size:11px;color:var(--muted)}
.profile-card .avatar{border-radius:17px}.profile-card h2{font-family:var(--editorial);font-size:22px;font-weight:600}.channel-card{border-radius:20px;background:#fff;border-color:var(--line);padding:17px}.channel-card-top .channel-symbol{background:var(--lime);color:var(--ink);border-radius:11px;width:34px;height:34px}.channel-card .secondary-btn{border-radius:12px;color:var(--ink)}.profile-quote{font-family:var(--editorial);font-size:14px;color:#8d849c;letter-spacing:1px}.profile-quote small{font-family:Arial,sans-serif;color:#b0a7bb}.profile-demo{color:#9f95ac}.tagline{color:#a094b1}
.editor-title-input{font-family:var(--editorial);font-size:25px;border-radius:0}.phone .form-row input,.phone .form-row select,.phone .form-row textarea,.inline-input{border-radius:12px;border-color:var(--line);padding:12px;font-size:12px;color:var(--ink)}.form-label{font-size:11px!important;color:var(--muted)}.audience{border-radius:12px;background:#fff;border:1px solid var(--line);color:var(--muted);font-size:10px}.audience.private{background:#fff;color:var(--muted)}.audience>svg{color:#9d8fc0}.invite-symbol{border-radius:20px;background:var(--purple);color:var(--ink);width:58px;height:58px}.invite-top h1{font-size:27px}.invite-top p{font-size:11px}.invite-book{border:1px solid var(--line);border-radius:20px;position:relative;background:#fff}.invite-book:before{content:"";height:5px;width:29px;background:var(--lime);position:absolute;top:-3px;left:20px;border-radius:5px}.invite-book h2{font-family:var(--editorial);font-size:21px}.permission-item>svg{color:#8b7bac}.permission-item{font-size:11px!important;color:var(--muted)}.permission-item small{font-size:10px;color:var(--muted)}.invite-safe{font-size:9px;color:var(--muted)}
.sheet{border-radius:26px 26px 0 0;background:#fff;box-shadow:0 -12px 38px #24232c14;padding-top:22px}.sheet:before{content:"";width:33px;height:4px;display:block;margin:-9px auto 18px;background:#ddd8e8;border-radius:3px}.sheet-head h2{font-family:var(--editorial);font-size:21px;font-weight:600}.sheet-head .icon-btn{background:var(--purple);width:33px;height:33px;border-radius:11px}.sheet-option{border-radius:14px;border-color:var(--line);padding:15px}.sheet-option.selected{border-color:var(--purple);background:#faf8ff}.square-checkbox{border-radius:5px;color:var(--ink)}.sheet-option.selected .square-checkbox{background:var(--purple);border-color:var(--purple)}.sheet-intro,.dialog-body{color:var(--muted)}.notification-sample{border:1px solid var(--line)!important;border-radius:17px;background:#fff;padding:16px}.notification-sample .sample-app{color:var(--muted)}.notification-sample h3{color:var(--ink);font-size:13px}.notification-sample p{color:var(--muted)}.toast{border-radius:15px;background:var(--ink);box-shadow:0 7px 22px #24232c1a;bottom:99px;padding:13px 15px}.toast button{color:var(--lime)}.toast.visible{transform:translateY(0)}.empty-state{border-radius:20px;border-color:var(--line);padding:30px 18px}.empty-state>svg{color:#a795d6}.empty-state h3{font-family:var(--editorial);font-size:17px;font-weight:600}.empty-state p{font-size:11px;color:var(--muted)}.empty-state button{color:var(--ink)}
.view-enter{animation:view-in .19s ease-out both}.task-check:active:not(:disabled){transform:scale(.91)}@keyframes view-in{from{opacity:.55;transform:translateY(5px)}to{opacity:1;transform:translateY(0)}}
.task-confirm-layer{align-items:center;justify-content:center;padding:21px}.task-confirm-layer .sheet{border-radius:24px;padding:24px 21px;max-height:calc(100% - 42px);box-shadow:0 12px 45px #24232c1c}.task-confirm-layer .sheet:before{display:none}.task-confirm-layer .sheet-head{align-items:flex-start;gap:8px;margin-bottom:14px}.task-confirm-layer .sheet-head h2{font-size:21px;line-height:1.7;padding-top:1px}.completion-intro{font-size:12px;color:var(--muted);line-height:2;margin:0 0 22px}.completion-item{display:flex;align-items:center;gap:12px;padding:16px 13px;border:1px solid var(--line);border-radius:16px;min-width:0}.completion-check{width:31px;height:31px;border-radius:10px;background:var(--lime);color:var(--ink);display:flex;align-items:center;justify-content:center;flex-shrink:0}.completion-item>div{min-width:0}.completion-item h3{font-size:13px;line-height:1.8;font-weight:500;margin:0 0 7px;overflow-wrap:anywhere}.completion-item .book-label{font-size:10px}.completion-sharing{font-size:10px;color:var(--muted);line-height:1.9;margin:13px 0 0}.task-confirm-layer .sheet-actions{margin-top:24px;gap:10px}
.embedded .phone{border-radius:0}.embedded .page{padding-left:21px;padding-right:21px}
@media(max-width:1200px){.review-layout{grid-template-columns:240px minmax(390px,1fr);gap:30px;padding:35px}.review-title{font-size:26px}}
@media(max-width:760px){.review-layout{display:block;max-width:none;padding:0;min-height:0;height:100%}.phone{border-radius:0}.bottom-nav{height:calc(70px + max(0px,env(safe-area-inset-bottom)));padding-bottom:max(12px,env(safe-area-inset-bottom))}.fab{bottom:91px}.page{padding-top:17px}}
@media(max-width:359px){.phone .page{padding-left:18px;padding-right:18px}.today-intro .page-title{font-size:23px;white-space:normal}.today-intro{gap:8px}.big-date{font-size:51px;letter-spacing:-2px}.big-date small{font-size:6px;letter-spacing:0}.phone .subline{font-size:10px}.week-strip{gap:3px}.week-day{min-height:48px}.featured-event{padding:15px}.featured-event h3{font-size:15px}.book-label{font-size:10px!important}.phone .book-detail-title h1{font-size:24px}.phone .member-role{font-size:9px}.phone .text-btn{font-size:10px}.book-filters{gap:9px}.book-filters button{font-size:8px}.detail-title{font-size:25px}.phone .tip-box>span{font-size:9px}.choice-grid{gap:6px}.phone .choice{font-size:10px!important}.page-heading h1{font-size:26px}}
@media(prefers-reduced-motion:reduce){.view-enter{animation:none!important}button,.task-check,.toggle:after,.toast{transition:none!important}button:active:not(:disabled){transform:none}}
