:root{--bg-page:#f8f8fa;--text-primary:#17151b;--text-body:#28252f;--text-secondary:#797986;--text-muted:#a3a1aa;--habit:#b15cff;--habit-soft:#f4ecff;--positive:#8ddb50;--positive-soft:#edffda;--border-subtle:#e7e5eb;--focus-ring:0 0 0 3px #b15cff33;--radius-card:24px;--radius-page-card:28px;--shadow-card:none;--accent-on-soft:#b15cff}
.main{padding:28px 32px 100px}.ds-topbar__title{font-size:28px;font-weight:800;color:#141217}.ds-topbar__icon{background:#f2ecfa;color:#8c47ca;border-radius:50%;width:42px;height:42px}.ds-card{border:1px solid #e7e5eb;box-shadow:none;border-radius:24px}.ds-pill-btn{background:#b15cff;color:#fff;border-radius:999px;min-height:44px;font-weight:700}.ds-pill-btn--secondary{background:#f2ecfa;color:#8d46c9}.ds-dock{border-radius:0!important;left:0!important;right:0!important;bottom:0!important;transform:none!important;width:100%!important;max-width:none!important;background:#fff!important;border:0;border-top:1px solid #eee;box-shadow:none!important;padding:10px 8px max(10px,env(safe-area-inset-bottom));height:auto;min-height:72px}.ds-dock__item{color:#96949d!important;font-size:12px;gap:5px}.ds-dock__item--active{color:#b15cff!important;background:transparent!important}.ds-dock__item svg{width:25px;height:25px}.ds-modal{border-radius:28px;background:#f8f8fa}.ds-modal__title{font-size:22px;font-weight:800}.wt-habit-card{background:#e5d0ff;border:1px solid #d5b5f5;border-radius:23px}.wt-habit-card:nth-child(6n+2){background:#ffe0ed}.wt-habit-card:nth-child(6n+3){background:#d5f2fb}.wt-habit-card:nth-child(6n+4){background:#fff7a5}.wt-habit-card:nth-child(6n+5){background:#d5f7c7}.wt-habit-card__name{font-size:20px;font-weight:800}.wt-habit-card__icon{background:#ffffff77}.wt-habit-card__action{border-radius:999px}.wt-habits__chips button[aria-pressed=true]{background:#b15cff;color:white}.wt-row{min-height:58px}.wt-row__label{font-size:16px}.wt-my .wt-rows svg{color:#b58be9}.wt-wizard{background:#f8f8fa}.wt-wizard__field{border-radius:22px}.wt-cal-day,.wt-schedule-day{border-radius:18px}.wt-tasks__row{border-radius:20px}.duo-today{width:100%;max-width:980px;margin:0 auto;position:relative}.duo-calendar{background:#f4ecff;padding:24px 24px 8px;border-radius:30px 30px 0 0}.duo-heading{display:flex;justify-content:space-between;align-items:center;gap:16px}.duo-heading h1{font-size:32px;font-weight:850;letter-spacing:-1px;line-height:1.25}.duo-heading>button{width:42px;height:42px;display:grid;place-items:center}.duo-period{display:flex;justify-content:space-between;align-items:center;margin:10px 0 8px;color:#82758e;font-size:12px}.duo-period>button:first-child,.duo-period>button:last-child{font-size:26px;min-width:34px;min-height:30px}.duo-days,.duo-week-labels{display:grid;grid-template-columns:repeat(7,minmax(0,1fr));gap:5px}.duo-day{min-height:68px;border-radius:22px;border:1px solid transparent;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:4px}.duo-day>span{color:#797580;font-size:15px}.duo-day>strong{font-size:21px;font-weight:750}.duo-day.is-selected{background:#fff;border:1px solid #d9baff}.duo-day.is-muted>strong{color:#aba4b2}.duo-day i{width:6px;height:6px;border-radius:50%;background:transparent}.duo-day i.has-task{background:#bc88ee}.duo-expand{display:grid;place-items:center;width:100%;min-height:28px;margin-top:4px}.duo-week-labels{text-align:center;color:#797580;padding:10px 0;font-size:15px}.duo-days--month .duo-day{min-height:48px;border-radius:16px;gap:2px}.duo-content{border-radius:28px 28px 0 0;background:white;margin-top:-1px;min-height:400px;padding:24px 22px 88px}.duo-tabs{display:flex;border:1px solid #f0edf4;border-radius:20px;padding:4px;gap:4px;margin-bottom:24px;box-shadow:0 2px 10px #31213d04}.duo-tabs>button{flex:1;min-height:44px;border-radius:15px;font-size:17px;font-weight:750;white-space:nowrap}.duo-tabs>button.is-active{background:#bb7bff;color:#fff}.duo-task-list{display:grid;gap:14px}.duo-task{display:flex;align-items:center;border-radius:23px;background:var(--task-color);border:1px solid color-mix(in srgb,var(--task-color),#655077 14%);padding:14px 16px;min-height:88px;gap:12px}.duo-task-main{flex:1;min-width:0;text-align:left;display:flex;flex-direction:column;gap:5px}.duo-task-main>span{font-size:13px;color:#504856}.duo-task-main>strong{font-size:21px;line-height:1.4;font-weight:800;overflow-wrap:anywhere}.duo-task-main>small{font-size:13px;white-space:pre-wrap;color:#57515d}.duo-task.is-done strong{text-decoration:line-through;color:#77717f}.duo-check{flex:none;width:32px;height:32px;border-radius:50%;border:1.5px solid #69616c;display:grid;place-items:center}.duo-task.is-done .duo-check{background:#b15cff;border-color:#b15cff;color:white;opacity:1}.duo-manage{display:block;margin:20px auto;color:#8c8894;font-size:14px;text-decoration:underline;min-height:36px}.duo-personal-links{display:flex;gap:12px;justify-content:center;margin-top:36px}.duo-personal-links button{display:flex;align-items:center;gap:7px;color:#9e66cd;background:#f7f0ff;border-radius:999px;padding:10px 14px;font-size:13px}.duo-empty{min-height:240px;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:9px;color:#8c8896;text-align:center;font-size:17px}.duo-empty svg{color:#d9baff;margin-bottom:12px}.duo-fab{position:fixed;right:32px;bottom:40px;width:62px;height:62px;background:#b15cff;color:#fff;border:1px solid #9e46e9;border-radius:50%;font-size:42px;line-height:1;box-shadow:0 5px 14px #ab66d526;z-index:110}.duo-editor{display:flex;flex-direction:column;gap:18px}.duo-title-card{background:var(--task-color);border:1px solid color-mix(in srgb,var(--task-color),#655077 14%);padding:20px;border-radius:24px}.duo-title-card textarea{background:transparent;border:0;box-shadow:none;width:100%;resize:vertical;padding:0;font-size:24px;font-weight:800;min-height:70px}.duo-title-card textarea:focus{box-shadow:none}.duo-title-card textarea::placeholder{color:#86798b}.duo-palette{display:flex;gap:12px;margin-top:12px;flex-wrap:wrap}.duo-palette button{width:28px;height:28px;border-radius:50%;display:grid;place-items:center}.duo-palette button[aria-pressed=true]{outline:4px solid #fff}.duo-editor-group{border:1px solid #e2dfe7;background:#fff;border-radius:24px;overflow:hidden}.duo-field{display:flex;justify-content:space-between;align-items:center;gap:16px;padding:14px 16px;min-height:60px}.duo-field+.duo-field{border-top:1px solid #f0edf4}.duo-field>span{font-size:16px;font-weight:750;flex:none}.duo-field input{max-width:68%;min-width:0;border:0;background:#f8f6fb;padding:8px;font-size:13px;border-radius:10px}.duo-notes{background:#fff;border:1px solid #e2dfe7;border-radius:24px;padding:16px;display:grid;gap:12px}.duo-notes>span{font-weight:750;font-size:16px}.duo-notes textarea{width:100%;border:0;background:#f8f6fb;resize:vertical}.duo-editor-actions{display:grid;gap:12px}.duo-delete{color:#ba4b68;display:flex;align-items:center;justify-content:center;gap:7px;min-height:36px}.duo-error{color:#b13c52;background:#fff0f2;padding:12px;border-radius:16px;font-size:14px;overflow-wrap:anywhere}.duo-error button{margin-left:12px;text-decoration:underline}.duo-celebration{text-align:center;background:#edffda;border-radius:24px;padding:28px 18px;display:grid;gap:20px}.duo-celebration h2{font-size:22px}.duo-celebration-mark{display:grid;place-items:center;margin:auto;width:64px;height:64px;border-radius:50%;background:#92da42;color:white;font-size:38px}.duo-celebration .ds-pill-btn{background:#83cc32;color:#173604}
.web-app{--wt-accent-solid:#b15cff;--wt-accent-solid-pressed:#9f43ec;--wt-on-accent-solid:#fff;--web-accent:#b15cff;--web-bg:#f8f8fa;--web-border:#e7e5eb}.web-app .ds-pill-btn--primary{background:#b15cff;color:#fff}.web-app .ds-pill-btn--primary:hover{background:#a44bec}.web-app .ds-topbar__title{font-size:28px;font-weight:800}.web-app .web-content:has(.duo-today){width:100%;max-width:980px;gap:0}.web-app .web-main:has(.duo-today){padding-bottom:94px}.web-app .web-title strong{color:#9e53d3}.web-app .ds-dock__item--active{color:#b15cff}.web-app .web-content>.wt-reminder-notice-slot:empty{display:none}
@media(min-width:861px){.duo-fab{right:max(32px,calc((100vw - 232px - 980px)/2));bottom:36px}.duo-content{min-height:600px}.duo-task-list{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:860px){.main{padding:0 0 94px}.main> :not(.duo-today){padding-left:20px;padding-right:20px;padding-top:22px}.duo-calendar{border-radius:0;padding:22px 20px 8px}.duo-content{min-height:calc(100dvh - 210px);padding:24px 22px 110px}.duo-fab{right:20px;bottom:96px}.duo-today{max-width:none}.duo-personal-links{margin-top:70px}.duo-days{gap:3px}.duo-period{margin-top:8px}.duo-heading h1{font-size:30px}.ds-modal{max-height:90dvh}.duo-palette{gap:11px}}
@media(max-width:860px){.web-app .web-main:has(.duo-today){padding:0 0 80px}.web-main:has(.duo-today)>.web-header{display:none}.web-app .web-content:has(.duo-today){margin:0;max-width:none}.web-app .web-main:has(.duo-today) .duo-today{width:100%;margin:0}.web-app .web-shell{padding:0}.web-app .ds-topbar__title{font-size:26px}}
.web-app .wt-my .my-identity{display:flex;flex-direction:column;align-items:center;gap:12px;text-align:center;padding:28px 18px 22px;border:0;background:radial-gradient(ellipse at 20% 0,#eee0ff 0,transparent 65%),#fff;border-radius:28px}.web-app .wt-my .my-identity__mark{width:96px;height:96px;border:5px solid white;outline:1px solid #f4ecff;display:grid;place-items:center;border-radius:50%;background:#f4ecff;color:#b15cff;font-size:42px;font-weight:800}.web-app .wt-my .my-identity__name{font-size:25px;font-weight:800}.web-app .wt-my .my-identity__handle{font-size:12px;color:#a29aaa}.web-app .wt-my .my-identity__edit{color:#a45dd8;background:#f6eeff;border-radius:999px;padding:8px 14px}.web-app .my-nav__row{min-height:64px;font-size:17px}.web-app .my-nav__arrow{color:#ad85db}.web-app .web-sidebar__item.active{background:#f3eaff;color:#a551e8}.web-app .wt-habit-card{background:#e5d0ff;border:1px solid #d5b5f5;border-radius:23px;box-shadow:none}.web-app .wt-habit-card:nth-child(6n+2){background:#ffe0ed;border-color:#f7c8dc}.web-app .wt-habit-card:nth-child(6n+3){background:#d5f2fb;border-color:#b6e3f1}.web-app .wt-habit-card:nth-child(6n+4){background:#fff7a5;border-color:#eee491}.web-app .wt-habit-card:nth-child(6n+5){background:#d5f7c7;border-color:#b5dfad}.web-app .wt-habit-card__name{font-size:19px;font-weight:800}.web-login{background:radial-gradient(ellipse at 15% 15%,#e9d2ff,transparent 50%),radial-gradient(ellipse at 95% 85%,#ffe0ec,transparent 45%),#f6f1fb}.web-login-card{border:1px solid #e9ddf3;border-radius:30px}.web-login-tabs .active{color:#a44bec}.web-login-card .ds-pill-btn--primary{background:#b15cff;color:#fff}
.solo-ideas,.solo-me,.solo-guide{width:100%;max-width:900px;margin:0 auto}.solo-page-head{background:#f4ecff;border-radius:28px 28px 0 0;padding:26px 24px 32px}.solo-page-head h1{font-size:30px;font-weight:850;color:#18131e}.solo-page-head p{font-size:14px;line-height:1.6;color:#8b799b;margin-top:9px}.solo-page-body{background:white;border-radius:28px 28px 0 0;margin-top:-12px;padding:24px 22px 110px;min-height:600px;display:flex;flex-direction:column;gap:22px}.solo-idea-composer{background:#f0e3ff;border:1px solid #e0c9f5;border-radius:24px;padding:18px}.solo-idea-composer textarea{width:100%;border:0;background:transparent;box-shadow:none;resize:vertical;font-size:18px;line-height:1.7;padding:0;color:#34253e}.solo-composer-foot{display:flex;align-items:center;justify-content:space-between;gap:16px;margin-top:12px}.solo-composer-foot>span{font-size:12px;color:#9a81ac}.solo-ideas .duo-tabs{margin-bottom:0}.solo-idea-list{display:grid;gap:16px}.solo-idea-card{border-radius:24px;background:var(--idea-color);border:1px solid #00000008;padding:20px;display:grid;gap:14px}.solo-idea-card>p{white-space:pre-wrap;overflow-wrap:anywhere;font-size:18px;font-weight:650;line-height:1.7}.solo-idea-meta{display:flex;justify-content:space-between;gap:10px;color:#89718c;font-size:12px}.solo-idea-actions{display:flex;justify-content:space-between;align-items:center;border-top:1px solid #00000008;padding-top:10px}.solo-idea-actions button{min-height:36px;font-size:13px;color:#78539a;font-weight:650}.solo-idea-actions button:last-child{width:36px;border-radius:50%;background:#ffffff66;display:grid;place-items:center}.solo-profile{text-align:center;background:radial-gradient(ellipse at 20% 0,#eee0ff,transparent 70%),#faf7ff;border-radius:26px;padding:24px;display:grid;gap:10px;justify-items:center}.solo-avatar{width:90px;height:90px;display:grid;place-items:center;background:#ead9ff;color:#a653ec;border:5px solid #fff;border-radius:50%;font-size:38px;font-weight:800}.solo-profile h2{font-size:23px;font-weight:800;overflow-wrap:anywhere;max-width:100%}.solo-profile>p{font-size:12px;color:#9e8caa}.solo-profile-edit{border-radius:999px;background:#fff;color:#a75fdb;padding:9px 18px;margin-top:4px;font-size:12px}.solo-stats{display:grid;grid-template-columns:1fr 1fr;gap:14px}.solo-stats button{display:grid;gap:7px;padding:18px 12px;border-radius:22px;background:#f4ecff}.solo-stats button:nth-child(2){background:#eaf7e5}.solo-stats strong{font-size:27px;font-weight:800;color:#282130}.solo-stats span{font-size:12px;color:#84778e}.solo-me-group{border:1px solid #ece6f1;border-radius:24px;overflow:hidden}.solo-me-row{display:flex;align-items:center;gap:13px;width:100%;padding:17px;text-align:left;min-height:76px}.solo-me-row+.solo-me-row{border-top:1px solid #f1edf5}.solo-me-row-icon{width:36px;height:36px;background:#f4ecff;border-radius:12px;color:#b17de0;display:grid;place-items:center;flex:none}.solo-me-row>span:nth-child(2){flex:1;min-width:0;display:grid;gap:5px}.solo-me-row strong{font-size:16px;font-weight:750}.solo-me-row small{font-size:12px;color:#a295ac;line-height:1.5}.solo-me-row>svg{color:#b5a5c1;flex:none}.solo-me-footer{font-size:12px;color:#b1a4bd;text-align:center;padding:10px}.solo-records{border:1px solid #ece6f1;border-radius:24px;padding:16px}.solo-records-head{display:flex;align-items:center;justify-content:space-between;padding-bottom:14px}.solo-records-head h2{font-size:18px}.solo-records-head button{font-size:12px;color:#a867d9}.web-app .solo-records .wt-my{display:block;padding:0}.solo-records .my-topbar,.solo-records .my-section--identity,.solo-records .my-more,.solo-records .my-records__head{display:none!important}.solo-guide-card{background:#f4ecff;border-radius:24px;padding:20px;display:grid;gap:12px}.solo-guide-card:nth-child(2){background:#eaf7e5}.solo-guide-card:nth-child(3){background:#fff2d7}.solo-guide-card h2{font-size:20px}.solo-guide-card p{font-size:14px;line-height:1.8;color:#786b85}.solo-guide-card .ds-pill-btn{justify-self:start}
@media(min-width:861px){.solo-idea-list{grid-template-columns:1fr 1fr}}
@media(max-width:860px){.web-app .web-main:has(.solo-ideas,.solo-me,.solo-guide){padding:0 0 80px}.web-main:has(.solo-ideas,.solo-me,.solo-guide)>.web-header{display:none}.solo-page-head{border-radius:0;padding:25px 22px 32px}.solo-page-body{min-height:calc(100dvh - 120px)}.web-app .ds-dock{display:grid;grid-template-columns:repeat(4,1fr)}}
.web-app .dr-surface{z-index:950}.web-app .web-main:has(.dr-surface)>.web-header{display:none}.web-app .wt-habits .ds-topbar__icon{width:auto;min-width:42px;gap:6px;padding:10px 14px;border-radius:999px;white-space:nowrap}.web-app .wt-habits .wt-topbar-action__label{font-size:13px}
.web-app .duo-nav{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));position:fixed;left:0;right:0;transform:none;bottom:0;width:100%;max-width:none;padding:6px 8px calc(6px + env(safe-area-inset-bottom,0px));gap:0;min-height:68px;border:0;border-top:1px solid #ece8f0;background:#fff;border-radius:0;box-shadow:none;z-index:160}.duo-nav>button{display:flex;flex-direction:column;align-items:center;justify-content:center;gap:5px;min-height:55px;border-radius:0;font-size:12px;color:#96909e;font-weight:650;background:transparent;transition:color .15s ease}.duo-nav>button.is-active{background:transparent;color:#b15cff;box-shadow:none}.duo-nav-icon{display:grid;place-items:center;line-height:1}.web-app .duo-nav .duo-nav-icon,.web-app .duo-nav svg{color:inherit}.duo-nav svg{width:24px;height:24px}.duo-status-filters{display:flex;gap:12px;align-items:center;margin:-10px 0 22px;padding:0 4px}.duo-status-filters>button{font-size:12px;color:#a699b1;min-height:32px;padding:5px 9px;border-radius:999px}.duo-status-filters>button[aria-pressed=true]{background:#f5edff;color:#a256d6}.duo-shared-list{margin-bottom:14px}.duo-shared-task{flex-direction:column;align-items:stretch;gap:14px}.duo-shared-head{display:flex;align-items:center;gap:16px}.duo-pair-progress{display:flex;gap:10px;align-items:flex-start}.duo-pair-progress>span{display:flex;align-items:center;gap:6px;flex:1;min-width:0;font-size:11px;color:#837189;overflow-wrap:anywhere}.duo-pair-progress i{display:grid;place-items:center;width:25px;height:25px;background:#ffffffaa;border-radius:50%;font-style:normal;font-weight:700;flex:none}.duo-pair-progress>span.is-checked{color:#66518a}.duo-pair-progress>span.is-checked i{background:#b15cff;color:white}.duo-check.is-checked{background:#b15cff;color:#fff;border-color:#b15cff}.duo-pair-status{font-size:11px;color:#92729e;margin-top:-2px}.duo-editor select{max-width:68%;min-width:0;border:0;background:#f8f6fb;padding:8px;font-size:13px;border-radius:10px}.duo-partners{border:1px solid #e8ddf3;background:#faf7ff;border-radius:24px;padding:18px;display:grid;gap:18px}.duo-partners-intro{color:#9681a7;font-size:13px;line-height:1.8}.duo-partner-forms{display:grid;gap:16px}.duo-partner-forms form{display:grid;gap:12px;background:#eeddff;padding:18px;border-radius:22px}.duo-partner-forms form:nth-child(2){background:#e8f6dd}.duo-partner-forms h3{font-size:17px;font-weight:800}.duo-partner-forms input{width:100%;min-width:0;background:#ffffffc9;border:0;min-height:44px}.duo-room-list{display:grid;gap:16px}.duo-room{background:#fff;border:1px solid #e8ddf3;border-radius:22px;padding:17px;display:grid;gap:14px}.duo-room-head{display:flex;align-items:center;gap:12px}.duo-room-avatar{width:42px;height:42px;display:grid;place-items:center;background:#f2e6ff;border-radius:50%;color:#af79dc;flex:none}.duo-room-head h3{font-size:16px;font-weight:750;overflow-wrap:anywhere}.duo-room-head p{font-size:12px;color:#ac98bc;margin-top:6px;overflow-wrap:anywhere}.duo-invite-code{padding:14px;border-radius:18px;background:#f3ecff;display:grid;gap:10px;text-align:center}.duo-invite-code code{font-size:18px;color:#9561c8;letter-spacing:2px;overflow-wrap:anywhere}.duo-invite-code button{min-height:36px;background:#fff;border-radius:999px;color:#a366d4;font-size:12px}.duo-invite-code small{font-size:11px;color:#aa95b9;line-height:1.6}.duo-room-hint{font-size:12px;line-height:1.8;color:#a797b2}.duo-room-end{justify-self:end;color:#b58aab;font-size:11px;min-height:30px}.duo-partners .solo-records-head{padding:0;gap:12px}.duo-partners .solo-records-head h2{font-size:17px}.duo-partners .duo-empty{font-size:13px;min-height:80px}.duo-partners .solo-records-head button{white-space:nowrap}
@media(min-width:900px){.web-app .duo-nav{display:none}.duo-partner-forms{grid-template-columns:1fr 1fr}}
@media(max-width:899px){.duo-fab{bottom:108px}.web-app .web-main{padding-bottom:116px}.solo-page-body,.duo-content{padding-bottom:128px}.web-app .web-main:has(.duo-today,.solo-ideas,.solo-me,.solo-guide){padding-bottom:116px}}

/* Unified task, account and friend surfaces. */
.web-app{font-family:"Segoe UI","Microsoft YaHei",system-ui,sans-serif}.web-app button,.web-app input,.web-app textarea,.web-app select{font-family:inherit}.web-app .web-header{box-shadow:none}.web-main:has(.duo-manager,.solo-friends,.solo-settings)>.web-header{display:none}.duo-manager,.solo-friends,.solo-settings{width:100%;max-width:980px;margin:auto}.duo-back{display:block;min-height:36px;color:#9960c3;font-size:13px;margin-bottom:14px}.duo-manager-tools{display:flex;gap:12px;align-items:center;margin-bottom:20px}.duo-manager-tools input{min-width:0;flex:1;border:1px solid #eaddf5;background:#faf7ff;border-radius:18px;padding:14px}.duo-manager-tools button{flex:none}.duo-manager .duo-tabs{margin-bottom:22px}.duo-manager .solo-page-head,.solo-friends .solo-page-head,.solo-settings .solo-page-head{background:#f3eaff;border-radius:28px 28px 0 0;padding:28px 24px}.duo-records,.duo-settings-card{background:#fff;border:1px solid #ece1f5;border-radius:24px;padding:22px}.duo-records{display:grid;gap:14px}.duo-records h3{font-size:14px;color:#9b6db6}.duo-record-item{display:grid;gap:7px;padding:15px;background:#f8f2ff;border-radius:18px;overflow-wrap:anywhere}.duo-record-item strong{font-size:15px}.duo-record-item small{font-size:12px;color:#9b88aa}.duo-success{font-size:13px;color:#528340;background:#edf8e6;padding:12px;border-radius:14px}.duo-text-action{font-size:13px;color:#a16ccb;min-height:38px;justify-self:center}.duo-profile-editor{display:grid;gap:22px}.duo-profile-preview{display:flex;flex-direction:column;align-items:center;gap:10px;padding:15px;border-radius:24px;background:#f5ecff}.duo-profile-preview .solo-avatar{width:72px;height:72px;font-size:30px;border:4px solid white}.duo-profile-preview strong{font-size:20px;overflow-wrap:anywhere;text-align:center}.duo-profile-preview small{font-size:12px;color:#a78aba}.duo-id-card{display:flex;gap:14px;justify-content:space-between;align-items:center;border:1px solid #ece0f6;background:#faf7ff;border-radius:20px;padding:17px}.duo-id-card>div{min-width:0;display:grid;gap:6px}.duo-id-card small{font-size:12px;color:#a182b6}.duo-id-card strong{font-size:17px;overflow-wrap:anywhere}.duo-id-card button{flex:none;background:#ecdfff;color:#9857c5;border-radius:999px;min-height:34px;padding:6px 12px;font-size:12px}.duo-profile-form{display:grid;gap:16px}.duo-profile-form label,.duo-friend-search label{display:grid;gap:9px;font-size:14px;font-weight:650;min-width:0}.duo-profile-form input,.duo-friend-search input{width:100%;min-width:0;border:1px solid #e8dbf3;background:#fcfaff;border-radius:16px;padding:13px 15px;min-height:48px;font-size:15px;font-weight:400}.duo-profile-form .ds-pill-btn{width:100%;min-height:48px}.duo-friend-search{display:flex;align-items:end;gap:12px;margin:24px 0}.duo-friend-search label{flex:1}.duo-friend-search .ds-pill-btn{flex:none;min-height:48px}.duo-friend-section{display:grid;gap:12px;margin-top:24px}.duo-friend-section h2{font-size:17px;font-weight:750;margin:0 0 4px}.duo-friend-row{display:flex;align-items:center;gap:10px;border:1px solid #ebdff5;background:#fff;border-radius:20px;padding:14px;margin:0}.duo-friend-name{min-width:0;flex:1;display:grid;gap:6px}.duo-friend-name strong{font-size:15px;overflow-wrap:anywhere}.duo-friend-name small{font-size:11px;color:#a18bae;overflow-wrap:anywhere}.duo-friend-actions{display:flex;flex-direction:column;align-items:center;gap:8px;font-size:12px;color:#a071bb;max-width:110px}.duo-friend-actions .ds-pill-btn{font-size:12px;padding:8px 14px;min-height:36px}.duo-friend-actions>button{min-height:32px}.web-app .duo-sheet{background:#fff;border:1px solid #ecdef8;box-shadow:0 20px 70px #47266720;border-radius:30px;max-width:560px;width:100%;padding:24px;max-height:88dvh;overflow:auto}.duo-sheet .ds-modal__head{padding:0 0 20px;margin:0 0 6px;border-bottom:0;align-items:center;gap:12px}.duo-sheet .ds-modal__title{font-size:21px;line-height:1.5;font-weight:750;color:#342441}.duo-sheet .ds-modal__close{background:#f4ebfc;color:#9e6cbe;width:34px;height:34px;border-radius:50%;font-size:22px;flex:none}.duo-sheet .duo-title-card{border:0;padding:20px;border-radius:22px}.duo-sheet .duo-title-card textarea{font-size:21px;font-weight:700;line-height:1.6;min-height:76px}.duo-sheet .duo-field>span{font-size:14px;font-weight:550;color:#756282}.duo-sheet .duo-field{padding:15px;gap:8px}.duo-sheet .duo-editor-group,.duo-sheet .duo-notes{border:1px solid #ece0f6;border-radius:20px;background:#fdfaff}.duo-sheet .duo-field input,.duo-sheet .duo-editor select{background:#f1e7fb;color:#714b8f;min-height:38px}.duo-sheet .duo-notes>span{font-size:14px;color:#756282;font-weight:550}.duo-sheet .duo-notes textarea{background:#f4edfc;border-radius:14px;font-size:14px;line-height:1.7;padding:13px;min-height:94px}.duo-sheet .duo-editor-actions>.ds-pill-btn{min-height:48px}.duo-sheet .duo-delete{font-size:13px;background:#fff4f6;border-radius:16px;min-height:42px}.duo-records .solo-records-head{padding:0}.duo-manager .solo-page-body,.solo-friends .solo-page-body,.solo-settings .solo-page-body{display:block}.solo-settings .duo-settings-card{margin-bottom:20px}
@media(max-width:899px){.duo-manager .solo-page-head,.solo-friends .solo-page-head,.solo-settings .solo-page-head{border-radius:0;padding:24px 22px}.web-app .web-main:has(.duo-manager,.solo-friends,.solo-settings){padding:0 0 116px}.web-app .web-content:has(.duo-manager,.solo-friends,.solo-settings){margin:0;max-width:none}.duo-manager .solo-page-body,.solo-friends .solo-page-body,.solo-settings .solo-page-body{padding:24px 20px 128px}.web-app .duo-sheet{padding:22px 20px;border-radius:28px;width:calc(100vw - 24px);max-height:88dvh}.duo-profile-preview{padding:16px}.duo-friend-row{padding:12px;gap:8px}.duo-manager-tools .ds-pill-btn{padding:10px 14px;font-size:13px}.duo-manager .duo-task-main>strong{font-size:19px}}

/* Date and time selection is rendered by Wentai rather than a browser popup. */
.duo-date-field+.duo-date-field>.duo-field{border-top:1px solid #ece3f4}.duo-date-trigger{display:flex;align-items:center;gap:9px;justify-content:flex-end;max-width:72%;min-height:38px;border-radius:12px;padding:8px 10px;background:#f1e7fb;color:#80539d;font-size:12px;text-align:right}.duo-date-trigger>span{min-width:0;overflow-wrap:anywhere}.duo-date-trigger svg{width:18px;height:18px;flex:none}.duo-date-picker{margin:0 12px 14px;padding:15px;border-radius:20px;background:#f6efff;border:1px solid #e4cef7;color:#69497d}.duo-picker-head{display:flex;justify-content:space-between;align-items:center;margin-bottom:13px}.duo-picker-head>button{border-radius:12px;min-height:36px;width:36px;background:#fff;color:#9561bc;font-size:24px}.duo-picker-head>.duo-picker-month{width:auto;background:transparent;font-size:15px;font-weight:750;padding:5px 12px}.duo-picker-week,.duo-picker-days{display:grid;grid-template-columns:repeat(7,minmax(0,1fr));gap:4px}.duo-picker-week{text-align:center;color:#b195c5;font-size:12px;margin-bottom:8px}.duo-picker-days button{aspect-ratio:1;min-width:0;min-height:32px;border-radius:11px;font-size:13px;position:relative;color:#79578d}.duo-picker-days button.is-muted{color:#c5b3ce}.duo-picker-days button.is-today:after{content:'';position:absolute;width:4px;height:4px;background:#b777e3;bottom:4px;left:calc(50% - 2px);border-radius:50%}.duo-picker-days button[aria-pressed=true],.duo-picker-months button[aria-pressed=true]{background:#b15cff;color:white}.duo-picker-days button[aria-pressed=true]:after{background:white}.duo-picker-days button:hover:not([aria-pressed=true]){background:#e9d8fa}.duo-picker-months{display:grid;grid-template-columns:repeat(3,1fr);gap:8px}.duo-picker-months button{min-height:40px;border-radius:12px;background:#fff;font-size:14px}.duo-picker-time{border:0;border-top:1px solid #e4d5ef;display:flex;gap:14px;justify-content:center;margin:16px 0 0;padding:12px 0 0;min-width:0}.duo-picker-time legend{font-size:12px;color:#aa8fbb;padding-right:10px}.duo-picker-time>div{display:grid;gap:7px;min-width:0}.duo-picker-time>div>span{font-size:11px;text-align:center;color:#a27ab8}.duo-picker-time>div>div{display:flex;align-items:center;gap:6px}.duo-picker-time button{background:#fff;border-radius:9px;width:28px;height:34px;color:#a56acd;font-size:17px}.duo-picker-time input{width:38px!important;max-width:none!important;border:0!important;border-radius:10px;background:#fff!important;color:#77518d!important;text-align:center;padding:7px 2px!important;font-size:16px!important;min-height:34px!important}.duo-picker-shortcuts{display:flex;align-items:center;gap:8px;margin:15px 0}.duo-picker-shortcuts button{min-height:32px;border-radius:999px;background:#fff;color:#ac76cd;padding:5px 13px;font-size:12px}.duo-picker-shortcuts button:last-child{margin-left:auto}.duo-picker-actions{display:flex;justify-content:space-between;align-items:center;gap:12px}.duo-picker-actions>button:first-child{color:#b299be;font-size:12px;padding:8px}.duo-picker-actions .ds-pill-btn{padding:9px 20px;min-height:38px;font-size:12px}.idea-tools{display:flex;gap:12px;margin:18px 0 10px;align-items:center}.idea-search{flex:1;min-width:0;display:flex;align-items:center;gap:8px;border:1px solid #e6d8f1;background:#fcf9ff;border-radius:17px;padding:0 12px;color:#b58acc}.idea-search input{background:transparent!important;border:0!important;box-shadow:none!important;width:100%;min-width:0;padding:13px 0;font-size:14px}.idea-search button{flex:none;min-width:28px;min-height:32px;font-size:20px}.idea-sort{display:flex;align-items:center;gap:6px;color:#ab8cbf;font-size:12px}.idea-sort select{border:1px solid #e6d8f1;background:#f6efff;color:#8c5dab;border-radius:14px;padding:12px 9px;font-size:13px;max-width:132px;min-height:43px}.idea-result-count{display:flex;justify-content:space-between;align-items:center;gap:10px;margin-bottom:16px;font-size:12px;color:#b397c3}.idea-result-count button{border-radius:999px;padding:6px 10px;background:#f0e4fb;color:#9d60c4}.idea-heatmap{border:1px solid #ecdef7;border-radius:22px;background:#fcf9ff;margin-bottom:20px;overflow:hidden}.idea-heatmap-toggle{display:flex;align-items:center;gap:10px;width:100%;text-align:left;padding:16px;color:#9862b8}.idea-heatmap-toggle>span{flex:1;font-size:14px;font-weight:650}.idea-heatmap-toggle small{font-size:11px;color:#b193c3}.idea-heatmap-body{padding:0 16px 16px}.idea-heatmap-grid{display:grid;grid-template-rows:repeat(7,1fr);grid-template-columns:repeat(12,minmax(0,1fr));grid-auto-flow:column;gap:4px;max-width:430px;margin:auto}.idea-heatmap-grid>button{aspect-ratio:1;border-radius:5px;background:var(--heat-color);min-width:0;min-height:14px;max-height:24px}.idea-heatmap-grid>button[aria-pressed=true]{outline:2px solid #b15cff;outline-offset:1px}.idea-heatmap-grid>button:disabled{background:#f7f3fa;opacity:.6}.idea-heatmap-legend{display:flex;justify-content:flex-end;align-items:center;gap:4px;margin:12px 0;color:#b296c3;font-size:10px}.idea-heatmap-legend i{width:12px;height:12px;border-radius:3px}.idea-heatmap-body p{font-size:11px;color:#b296c3;line-height:1.7}.idea-heatmap-sr{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border:0}
@media(max-width:599px){.idea-tools{gap:8px}.idea-sort>span:not(.wentai-select){display:none}.idea-sort select{max-width:105px;font-size:12px}.duo-picker-time{gap:10px}.duo-date-picker{padding:12px;margin:0 8px 10px}.duo-picker-days{gap:3px}.duo-picker-days button{border-radius:9px}.duo-date-trigger{max-width:72%;font-size:11px}.duo-picker-time>div>div{gap:5px}}

.duo-picker-head{position:sticky;top:0;z-index:2;background:#f6efff;padding:5px 0;border-radius:12px;box-shadow:0 4px 8px #f6efff}.duo-date-picker{scroll-margin-top:16px}

.duo-sheet .duo-editor-group:has(.duo-date-picker){overflow:visible}

.wentai-changelog{display:grid;gap:22px}.wentai-changelog article{background:#faf5ff;border:1px solid #ecdef7;padding:20px;border-radius:22px}.wentai-changelog-heading{display:flex;justify-content:space-between;align-items:center;gap:12px}.wentai-changelog-heading strong{font-size:17px;color:#a05fd1}.wentai-changelog-heading time{font-size:12px;color:#b094c1}.wentai-changelog h2{font-size:18px;line-height:1.6;margin:15px 0;color:#563865}.wentai-changelog ul{padding-left:19px;margin:0;display:grid;gap:12px}.wentai-changelog li{font-size:13px;color:#9477a5;line-height:1.9}

.duo-last-checks{padding:12px;border-radius:16px;background:#ffffff8a;display:grid;gap:9px}.duo-last-checks>p{font-size:11px;color:#92709f;margin:0}.duo-last-checks>div{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}.duo-last-checks>div>div{display:grid;gap:6px;min-width:0}.duo-last-checks strong{font-size:12px;overflow-wrap:anywhere;color:#745284}.duo-last-checks time{font-size:11px;line-height:1.7;overflow-wrap:anywhere;color:#8c7597}.duo-sheet .duo-last-checks{background:#f6edff;border:1px solid #ecdef7}

.duo-last-checks>small{font-size:10px;color:#a48dae;line-height:1.7}.duo-check-history{border:1px solid #ecdef7;border-radius:20px;padding:15px;display:grid;gap:12px}.duo-check-history h3{font-size:15px;color:#785887;margin:0}.duo-check-history>p{font-size:11px;color:#ac94b8;line-height:1.7;margin:0}.duo-check-history article{display:flex;align-items:center;justify-content:space-between;gap:12px;padding:12px;background:#f9f4ff;border-radius:14px}.duo-check-history article>div{display:grid;gap:5px;min-width:0}.duo-check-history strong{font-size:12px;color:#846197;overflow-wrap:anywhere}.duo-check-history time{font-size:11px;color:#a086af;overflow-wrap:anywhere}.duo-history-retract{font-size:11px;color:#b7809b;min-height:30px;padding:5px 9px;flex:none}

.duo-check-button{flex:none;min-width:64px;min-height:38px;padding:9px 17px;font-size:13px;font-weight:700;white-space:nowrap}.duo-check-button--detail{width:100%;min-height:44px}.duo-check-button:disabled{opacity:1;background:#ffffffa8!important;color:#a284b5!important}.duo-mode-picker{display:grid;gap:11px;border:1px solid #ecdef7;background:#fcf9ff;padding:16px;border-radius:20px}.duo-mode-picker>span{font-size:13px;color:#9473a7;font-weight:650}.duo-mode-picker>div{display:grid;grid-template-columns:1fr 1fr;gap:8px}.duo-mode-picker button{min-height:40px;border-radius:13px;background:#f3eaff;color:#aa83c3;font-size:13px}.duo-mode-picker button[aria-pressed=true]{background:#b15cff;color:#fff}.duo-detail-task-title{font-size:20px;line-height:1.6;font-weight:750;color:#593769;overflow-wrap:anywhere}

/* Bottom navigation sits flush with the screen, including the home-indicator area. */
@media(max-width:899px){.web-app{--bottom-nav-clearance:calc(68px + env(safe-area-inset-bottom,0px))}.duo-fab{bottom:calc(var(--bottom-nav-clearance) + 16px)}.web-app .web-main,.web-app .web-main:has(.duo-today,.solo-ideas,.solo-me,.solo-guide,.duo-manager,.solo-friends,.solo-settings){padding-bottom:var(--bottom-nav-clearance)}.solo-page-body,.duo-content,.duo-manager .solo-page-body,.solo-friends .solo-page-body,.solo-settings .solo-page-body{padding-bottom:100px}}

/* Compact controls share one anchor; SVG strokes keep the plus optically centered. */
.duo-floating-actions{position:fixed;right:20px;bottom:24px;display:flex;align-items:center;gap:8px;z-index:110}.web-app .duo-floating-actions>.duo-fab,.web-app .duo-floating-actions>.duo-refresh-fab{position:static;transform:none;display:grid;place-items:center;width:44px;height:44px;min-width:44px;min-height:44px;padding:0;box-sizing:border-box;border-radius:50%;line-height:1;box-shadow:0 3px 10px #8757a81a}.web-app .duo-floating-actions>.duo-fab{background:#b15cff;color:#fff;border:1px solid #a650ef}.web-app .duo-floating-actions>.duo-refresh-fab{background:#fff;color:#a259d4;border:1px solid #eadcf4}.duo-floating-actions svg{display:block;width:22px;height:22px}.duo-floating-actions button:disabled{opacity:.45}.solo-idea-actions .solo-idea-edit{display:flex;align-items:center;justify-content:center;gap:5px;padding:4px 10px;border-radius:999px;background:#ffffff66;min-width:62px}.solo-idea-edit svg{width:16px;height:16px}
@media(max-width:899px){.duo-floating-actions{right:16px;bottom:calc(var(--bottom-nav-clearance) + 10px)}}
.profile-avatar{width:34px;height:34px;flex:none;border-radius:50%;background:#efe2ff;display:inline-grid;place-items:center;color:#ab65dd;font-weight:750;overflow:hidden;font-size:14px}.profile-avatar img{width:100%;height:100%;object-fit:cover;display:block}.profile-avatar-large{width:86px;height:86px;border:4px solid white;font-size:32px}.solo-avatar>.profile-avatar{width:100%;height:100%;font-size:36px}.duo-pair-progress .duo-person-avatar{width:26px;height:26px;font-size:11px}.duo-pair-progress .is-checked>.profile-avatar{box-shadow:0 0 0 2px #b15cff33}.profile-appearance{border:1px solid #eadcf4;border-radius:22px;padding:16px;display:grid;gap:12px;margin-top:16px}.profile-appearance h3,.personal-sharing h3{font-size:16px;color:#885a9e}.profile-avatar-preview{display:grid;justify-items:center;gap:6px;color:#b191c2;font-size:11px}.profile-avatar-preview>.profile-avatar{width:72px;height:72px;font-size:28px}.profile-preset-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:10px}.profile-preset-grid button{padding:7px;border-radius:18px;border:2px solid transparent;background:#f9f5ff;min-width:0}.profile-preset-grid img{width:64px;height:64px;max-width:100%;display:block;margin:auto;border-radius:50%}.profile-preset-grid button[aria-pressed=true]{border-color:#b15cff;background:#f0e2ff}.profile-avatar-actions{display:flex;gap:8px;flex-wrap:wrap;font-size:12px;color:#a160d1}.profile-upload-label,.profile-avatar-actions>button{border-radius:999px;background:#f0e6ff;min-height:38px;padding:9px 14px;cursor:pointer}.profile-upload-label{position:relative;overflow:hidden}.profile-upload-label input{position:absolute;inset:0;width:100%;height:100%;opacity:0;cursor:pointer}.profile-appearance>small{font-size:11px;color:#b296c2;line-height:1.6}.personal-sharing{border:1px solid #eadcf4;background:#fcf9ff;border-radius:20px;padding:14px;display:grid;gap:10px}.sharing-toggle{border:1px solid #e4d2f1;border-radius:999px;background:white;min-height:44px;color:#a779c6;font-size:13px}.sharing-toggle[aria-pressed=true]{background:#b15cff;color:white;border-color:#b15cff}.partner-task-owner{display:flex;align-items:center;gap:8px;font-size:12px;color:#8d719f}.partner-personal-card .duo-task-main{width:100%}.partner-task-note{white-space:pre-wrap;overflow-wrap:anywhere;color:#8e719f;font-size:14px;line-height:1.7}.partner-picker{margin:12px 0;border:1px solid #eadcf4;border-radius:16px;background:#fcf9ff}.partner-personal-tasks>.duo-room-hint{margin:12px 0}

.solo-ideas .duo-tabs{flex-wrap:wrap}.solo-idea-actions{flex-wrap:wrap}
.ai-settings{min-width:0;max-width:100%;margin:20px 0;padding:18px;border:1px solid #eadcf4;border-radius:22px;background:#fcf9ff;display:grid;gap:12px;overflow-wrap:anywhere}.ai-settings h2,.ai-settings h3,.ai-settings p{margin:0}.ai-settings h2{font-size:18px;color:#885a9e}.ai-settings h3{font-size:15px}.ai-settings p,.ai-settings li{font-size:13px;line-height:1.7}.ai-connection-meta{display:grid;gap:5px;font-size:12px;color:#79558e}.ai-settings-field{display:grid;gap:6px;min-width:0;font-size:12px}.ai-settings textarea{box-sizing:border-box;width:100%;min-width:0;max-width:100%;padding:10px;border:1px solid #e4d2f1;border-radius:12px;background:white;color:#594269;font:12px/1.6 monospace;resize:vertical;white-space:pre-wrap;overflow-wrap:anywhere;word-break:break-all}.ai-settings-actions{display:flex;flex-wrap:wrap;gap:8px;min-width:0}.ai-settings button{max-width:100%;min-height:42px;padding:10px 14px;border:1px solid #e4d2f1;border-radius:14px;background:#f0e6ff;color:#79558e;white-space:normal;overflow-wrap:anywhere;cursor:pointer}.ai-settings button:disabled{opacity:.55;cursor:wait}.ai-settings button:focus-visible,.ai-settings textarea:focus-visible{outline:2px solid #a964df;outline-offset:2px}.ai-secret,.ai-settings-confirm{display:grid;gap:10px;min-width:0;padding:12px;border-radius:14px;background:#f1e7ff}.ai-settings-confirm{background:#fff1f4}.ai-settings-guide{display:grid;gap:8px;min-width:0}.ai-settings-guide ol{margin:0;padding-left:22px}.ai-settings-hint{color:#886497}@media(max-width:440px){.ai-settings{padding:14px}.ai-settings-actions>button{flex:1 1 130px}}
.ai-chat-launch{position:static;flex-shrink:0;min-height:40px;border:1px solid #dbc6f3;border-radius:24px;padding:8px 14px;background:#773cbc;color:white;font:inherit;font-weight:700;cursor:pointer}.ai-chat-launch:focus-visible{outline:2px solid #a964df;outline-offset:3px}
.web-app .web-main>.web-header{display:flex;position:sticky;top:0;z-index:120;box-sizing:border-box;min-height:56px;background:#f8f8fa;gap:12px}.web-app .web-account{display:flex;align-items:center;gap:10px;min-width:0}
.web-app .web-header .ai-chat-launch{color:#fff;text-decoration:none}
@media(max-width:899px){.web-app .web-main>.web-header{margin:0;padding:8px 16px;min-height:56px;border-bottom:1px solid #eee6f4}.web-app .web-header .web-title{font-size:15px}.web-app .web-header .web-account>span{display:none}.web-app .web-header .ai-chat-launch{font-size:13px;min-height:38px}}
.ai-chat-overlay{position:fixed;inset:0;z-index:2000;background:#29133c66;display:flex;align-items:center;justify-content:center;padding:16px}
.ai-chat-panel{display:flex;flex-direction:column;width:min(680px,100%);height:min(820px,94dvh);background:#fcf9ff;border-radius:22px;padding:18px;box-sizing:border-box;min-width:0;box-shadow:0 12px 60px #29133c55}
.ai-chat-header,.ai-chat-toolbar,.ai-chat-compose{display:flex;gap:10px;align-items:center}.ai-chat-header{justify-content:space-between}.ai-chat-header small{display:block;color:#806892;margin-top:4px}.ai-chat-notice{font-size:12px;color:#826b92;padding:12px 0}.ai-chat-messages{overflow:auto;flex:1;min-height:80px;overscroll-behavior:contain}.ai-chat-turn{padding:8px 0}.ai-chat-user{background:#ead9ff;padding:12px 15px;border-radius:15px;margin-left:35px;white-space:pre-wrap;overflow-wrap:anywhere}.ai-chat-answer{white-space:pre-wrap;overflow-wrap:anywhere;padding:4px 8px;line-height:1.65}.ai-chat-result,.ai-chat-confirm{background:white;border:1px solid #eadcf8;border-radius:12px;padding:10px;margin:8px 0}.ai-chat-panel pre{white-space:pre-wrap;overflow-wrap:anywhere;max-height:180px;overflow:auto;font-size:12px}.ai-chat-panel button{cursor:pointer}.ai-chat-panel button:disabled{opacity:.55}.ai-chat-header button,.ai-chat-toolbar button,.ai-chat-confirm button,.ai-chat-admin button{border:1px solid #dfcbf4;border-radius:12px;background:#f2e8ff;padding:8px 12px;color:#653296}.ai-chat-toolbar{flex-wrap:wrap;padding:10px 0;font-size:12px}.ai-chat-compose textarea{flex:1;min-width:0;resize:vertical;min-height:64px;max-height:140px;border:1px solid #dbc6f3;border-radius:14px;padding:10px;background:white;box-sizing:border-box}.ai-chat-compose>button{border:0;border-radius:14px;background:#8a4bc8;color:white;padding:12px;flex-shrink:0}.ai-chat-admin{max-height:220px;overflow:auto;padding:12px;background:#f0e7fb;border-radius:12px}.ai-chat-admin label{display:block;margin:8px 0}.ai-chat-admin input[type=number]{width:100%;box-sizing:border-box}.ai-chat-empty{color:#8a739b;text-align:center;padding:25px 10px}
@media(max-width:600px){.ai-chat-overlay{padding:0}.ai-chat-panel{width:100%;height:100dvh;border-radius:0;padding:14px 14px calc(14px + env(safe-area-inset-bottom))}}
.ai-chat-overlay{z-index:2000}
.ai-chat-confirm{box-shadow:0 4px 16px #7134a911;padding:16px;border:1px solid #d4b5f1;background:#fff}.ai-chat-confirm>small{display:block;color:#9060b4;font-size:12px;margin-bottom:8px}.ai-chat-confirm>strong{display:block;font-size:15px;line-height:1.5}.ai-preview-fields{display:grid;grid-template-columns:72px minmax(0,1fr);gap:8px;margin:12px 0 16px;font-size:13px;line-height:1.6}.ai-preview-fields dt{color:#92779f}.ai-preview-fields dd{margin:0;white-space:pre-wrap;overflow-wrap:anywhere;color:#452958}.ai-chat-confirm button{margin-right:8px}.ai-chat-confirm button:first-of-type{background:#8545bf;color:white;border-color:#8545bf}
.ai-chat-header-actions{display:flex;gap:6px;flex-shrink:0}.ai-chat-guide{flex:1;min-height:0;overflow:auto;padding:10px 2px;line-height:1.7;font-size:14px}.ai-chat-guide h2{font-size:19px;margin:6px 0 12px}.ai-chat-guide h3{font-size:16px;margin:18px 0 8px}.ai-chat-guide p{margin:10px 0}.ai-chat-guide ul,.ai-chat-guide ol{padding-left:22px}.ai-chat-guide li{margin:7px 0;overflow-wrap:anywhere}.ai-guide-group{background:white;border:1px solid #e1cff4;border-radius:14px;padding:12px;margin:10px 0}.ai-guide-group summary{cursor:pointer;font-weight:700;display:flex;justify-content:space-between}.ai-guide-group summary small{font-weight:400;color:#8b739b}.ai-guide-examples{display:grid;gap:8px}.ai-guide-examples button{text-align:left;border:1px solid #e1cff4;background:#f7efff;color:#60317f;border-radius:10px;padding:10px;line-height:1.5}.ai-guide-example-hint{font-size:12px;color:#947ea1}.ai-guide-operation-mode{display:inline-block;margin-left:8px;border-radius:8px;background:#f0e5ff;color:#8455a3;padding:0 5px;font-size:11px;white-space:nowrap}.ai-guide-note{background:#f0e7fb;color:#745087;padding:10px;border-radius:12px}.ai-guide-steps li{margin:10px 0}

.duo-managed-task{display:block}.duo-managed-head{display:flex;align-items:center;gap:14px}.duo-managed-head .duo-task-main{flex:1;min-width:0}.duo-overdue-actions{display:flex;flex-wrap:wrap;gap:10px;margin-top:12px;padding-top:12px;border-top:1px solid #74528b26}.duo-overdue-actions button{min-height:44px;padding:9px 16px;border-radius:999px;background:#ffffffb8;color:#603b7b;font-size:13px;font-weight:650}.duo-overdue-actions button:disabled{opacity:.5}

.life-view-tabs{display:flex;gap:5px;background:#f3eaff;padding:6px;border-radius:999px;width:190px;margin:0 0 16px}.life-view-tabs button{flex:1;min-height:36px;border-radius:999px;color:#ab84c2;font-size:14px;font-weight:650}.life-view-tabs button[aria-pressed=true]{background:#b15cff;color:#fff}.life-calendar{width:100%;max-width:980px;margin:auto}.life-calendar-head{padding-bottom:12px}.life-year{font-size:15px;color:#a080b4}.life-content{background:#fff;padding:22px 24px 130px;border-radius:0 0 28px 28px}.life-source-tabs{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:4px;background:#f7f0ff;padding:5px;border-radius:17px;margin-bottom:17px}.life-source-tabs button{padding:9px 4px;min-height:36px;color:#aa83c1;border-radius:13px;font-size:12px}.life-source-tabs .is-active{background:#b15cff;color:white}.life-type-filters{display:flex;flex-wrap:wrap;gap:8px;margin-bottom:17px}.life-type-filters button{padding:8px 12px;border-radius:999px;background:#f8f3fd;color:#a181b4;font-size:12px;min-height:34px}.life-type-filters button[aria-pressed=true]{background:#ead6ff;color:#9d55cd}.life-toolbar{display:flex;align-items:center;justify-content:space-between;gap:12px;font-size:12px;color:#aa8dbc;margin:16px 0}.life-toolbar button{color:#a267c6;min-height:32px;padding:6px 9px;border-radius:12px;background:#f6efff}.life-month-week{display:grid;grid-template-columns:repeat(7,1fr);text-align:center;color:#ac91bc;font-size:12px;padding:7px 0 13px}.life-month-grid{display:grid;grid-template-columns:repeat(7,minmax(0,1fr));gap:5px}.life-month-grid>button{min-width:0;min-height:92px;border-radius:15px;padding:7px 4px;background:#fcfaff;border:1px solid #f1eaf8;text-align:left;display:flex;flex-direction:column;gap:5px;overflow:hidden}.life-month-grid>button>strong{font-size:14px;color:#785987;font-weight:600;margin:0 3px 3px}.life-month-grid>button.is-muted{opacity:.45}.life-month-grid>button.is-today>strong{color:#ae5bdd}.life-month-grid>button[aria-pressed=true]{border-color:#bc7cff;background:#f5eaff}.life-month-grid>button>small{font-size:9px;color:#a084b2;padding-left:3px}.life-day-label{display:block;width:100%;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;border-radius:6px;padding:4px 3px;font-size:10px;color:#776083}.life-summary{display:flex;flex-wrap:wrap;gap:9px;margin:18px 0;color:#a384b5;font-size:11px}.life-summary span{padding:8px 12px;background:#faf5ff;border-radius:999px;overflow-wrap:anywhere;max-width:100%}.life-day-heading{display:flex;align-items:center;justify-content:space-between;gap:12px;margin:24px 0 18px}.life-day-heading h2{font-size:18px;color:#624c70;font-weight:750}.life-day-heading .ds-pill-btn{padding:10px 16px;font-size:12px;white-space:nowrap}.life-day-list{display:grid;gap:14px}.life-record-card{width:100%;min-width:0;text-align:left;background:var(--life-color);border:1px solid color-mix(in srgb,var(--life-color),#655077 12%);border-radius:22px;padding:18px;display:grid;gap:12px}.life-record-card>div{display:flex;align-items:center;justify-content:space-between;gap:12px}.life-record-card strong{font-size:17px;color:#554062;overflow-wrap:anywhere}.life-record-card small{font-size:11px;color:#997da8;line-height:1.6;overflow-wrap:anywhere}.life-record-card>div>small{flex:none}.life-record-card p{font-size:15px;font-weight:650;color:#795487;line-height:1.6;white-space:pre-wrap;overflow-wrap:anywhere;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden;margin:0}.life-empty{text-align:center;padding:30px 10px;display:grid;gap:10px;color:#ae92bf}.life-empty>span{font-size:32px}.life-empty p{font-size:15px;margin:0}.life-empty small{font-size:12px}.life-hint{color:#9d79b2;font-size:12px;line-height:1.8;padding:10px 12px;background:#f7f0ff;border-radius:14px}.life-undo{display:flex;align-items:center;justify-content:space-between;gap:12px;padding:12px;margin:12px 0;background:#f5eaff;border-radius:15px;font-size:12px;color:#a083b0}.life-undo button{color:#aa5ad7;min-height:30px}.life-input-field{display:grid;gap:10px;font-size:14px;color:#8e6c9f}.life-input-field input,.life-input-field textarea{background:#faf6ff!important;border:1px solid #eadcf5!important;border-radius:16px!important;width:100%;min-width:0;padding:13px!important;color:#745783;resize:vertical;font-size:14px!important;font-weight:400;line-height:1.7}.life-private-note{background:#f5edff;color:#a384b6;padding:11px 14px;border-radius:14px;font-size:12px;line-height:1.7}.life-type-manager{display:grid;gap:18px}.life-templates{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:8px}.life-templates button{padding:12px 6px;border-radius:15px;min-height:48px;background:#f5edff;color:#9870b0;font-size:13px}.life-types-list{display:grid;gap:12px}.life-types-list article{padding:15px;border-radius:20px;background:var(--life-color);display:grid;gap:13px}.life-types-list article>div:first-child{display:flex;align-items:center;justify-content:space-between;gap:10px}.life-types-list strong{font-size:15px;color:#71537f;overflow-wrap:anywhere}.life-types-list small{font-size:11px;color:#a080b1}.life-type-actions{display:flex;flex-wrap:wrap;gap:8px}.life-type-actions button{padding:6px 10px;min-height:32px;background:#ffffff9e;color:#9b6db7;border-radius:999px;font-size:11px}.life-number-field{display:flex;align-items:end;gap:12px}.life-number-field>.life-input-field{flex:1;min-width:0}.life-number-field>span{color:#a78cba;font-size:13px;padding-bottom:16px}.life-audit{display:grid;gap:8px;padding:14px;border:1px solid #ecdef7;border-radius:17px;color:#a48bae;font-size:12px;line-height:1.8}.life-detail-value,.life-detail-note{white-space:pre-wrap;overflow-wrap:anywhere;line-height:1.9;color:#866695;font-size:15px;background:#f8f1ff;border-radius:18px;padding:15px}.life-sheet .duo-field>span{font-size:13px;color:#9876a8}.life-sheet select{max-width:65%;padding:9px;border:1px solid #eadcf5;background:#f5edff;border-radius:12px;color:#9974b0;font-size:12px;min-width:0}.life-sheet .duo-palette{margin:0}
@media(min-width:900px){.life-day-list{grid-template-columns:repeat(2,minmax(0,1fr))}.life-month-grid>button{min-height:112px}.life-day-label{font-size:12px}.life-month-grid>button>small{font-size:11px}.life-day-heading h2{font-size:21px}}
@media(max-width:899px){.life-view-tabs{margin:12px 20px 14px;width:180px}.life-calendar-head{border-radius:0}.life-content{padding:20px 16px 130px;border-radius:0}.life-month-grid{gap:3px}.life-month-grid>button{min-height:82px;border-radius:11px;padding:6px 2px}.life-day-label{font-size:9px;padding:4px 2px}.life-day-heading h2{font-size:16px}.life-day-heading .ds-pill-btn{padding:9px 13px}.life-record-card>div{align-items:flex-start;flex-direction:column;gap:6px}}

.life-form-fields{display:contents;border:0;margin:0;padding:0;min-width:0}

.life-conflict{display:grid;gap:12px;padding:16px;border-radius:18px;background:#fff5fa;border:1px solid #f2ddec;color:#a2739b;font-size:12px;line-height:1.8}.life-conflict p{margin:0;white-space:pre-wrap;overflow-wrap:anywhere}.life-conflict button{padding:10px;border-radius:14px;background:#f7e9fa;color:#a665be}

.life-toolbar>div{display:flex;gap:8px}.life-toolbar>span{min-width:0;overflow-wrap:anywhere}

/* Multiday records form a recognizable band under each covered date. */
.life-calendar-v3 .life-month-grid .life-day-label--interval{font-size:12px;line-height:20px;min-height:20px;font-weight:750;text-align:center;border-radius:3px;margin-left:-1px;margin-right:-1px;padding:0 1px;background:color-mix(in srgb,var(--life-label-color) 80%,#bd81a0)!important;color:#67324e;letter-spacing:0}
.life-calendar-v3.is-compact .life-month-grid .life-day-label--interval{font-size:11px;line-height:18px;min-height:18px}
@media(min-width:900px){.life-calendar-v3 .life-month-grid .life-day-label--interval{font-size:13px;line-height:22px;min-height:22px}}

/* 1.3: calendar first, with a separate day panel and compact private tools. */
.life-calendar-v3{display:grid;gap:24px;align-items:start;padding:0 0 90px}.life-main-calendar{background:#fff;border-radius:26px;padding:18px 20px 24px;min-width:0}.life-month-header{display:flex;align-items:center;gap:8px;margin-bottom:14px}.life-month-navigation{display:flex;align-items:center;gap:8px;flex:1;min-width:0}.life-month-navigation>button{min-width:40px;min-height:44px;color:#9872b0;font-size:25px}.life-month-navigation .life-month-title{color:#281d33;font-size:28px;font-weight:800;display:flex;align-items:baseline;gap:10px}.life-month-title small{color:#aa89bf;font-size:13px;font-weight:500}.life-header-action{min-height:44px;min-width:40px;background:#f7efff;border-radius:14px;color:#a167cc;font-size:13px}.life-header-action:last-child{font-size:24px}.life-browse-filter{display:flex;gap:8px;min-width:0;align-items:center;margin-bottom:14px}.life-source-trigger{flex:none;border-radius:999px;background:#f4eaff;color:#9f6ac1;min-height:38px;padding:7px 12px;font-size:12px}.life-type-strip{display:flex;gap:7px;overflow-x:auto;min-width:0;flex:1;scrollbar-width:none}.life-type-strip::-webkit-scrollbar{display:none}.life-type-strip>button{flex:none;white-space:nowrap;border-radius:999px;min-height:38px;padding:7px 12px;background:#faf6ff;color:#a38aaf;font-size:12px}.life-type-strip>button[aria-pressed=true]{background:#b15cff;color:#fff}.life-calendar-v3 .life-month-week{padding:0 0 8px;font-size:13px}.life-calendar-v3 .life-month-grid{gap:5px}.life-calendar-v3 .life-month-grid>button{min-height:74px;min-width:0;border:0;background:transparent;border-radius:13px;padding:5px 3px;display:flex;flex-direction:column;align-items:stretch;gap:3px;justify-content:flex-start}.life-calendar-v3 .life-month-grid>button>strong{font-size:15px;line-height:24px;text-align:center;color:#72627f;font-weight:600}.life-calendar-v3 .life-month-grid>button.is-muted>strong{color:#c8bdcf}.life-calendar-v3 .life-month-grid>button.is-today>strong{color:#b15cff;font-weight:800;text-decoration:underline;text-decoration-thickness:2px;text-underline-offset:5px}.life-calendar-v3 .life-month-grid>button[aria-pressed=true]{background:#f5ebff;outline:1px solid #dabaff}.life-calendar-v3 .life-day-label{font-size:10px;font-weight:600;line-height:16px;padding:0 3px;border-radius:4px;color:#695575}.life-calendar-v3 .life-month-grid>button>small{font-size:10px;color:#a680bf;text-align:center;line-height:14px}.life-calendar-summary{padding-right:112px;display:flex;justify-content:space-between;align-items:center;gap:12px;font-size:12px;color:#a88bb8;margin-top:18px;min-height:40px}.life-calendar-summary button{color:#a45dcc;min-height:40px;padding:6px 12px;border-radius:999px;background:#f5edff}.life-desktop-day{background:#fff;border:1px solid #eee3f7;border-radius:26px;padding:24px;min-width:0}.life-desktop-day>h2{font-size:20px;color:#715283;margin:0}.life-day-panel .life-day-heading{margin:0 0 18px;color:#a187b2;font-size:12px}.life-day-panel .life-day-list{display:grid;grid-template-columns:1fr}.life-day-panel .life-record-card{padding:16px}.life-bottom-overlay{z-index:955;overscroll-behavior:contain}.web-app .life-bottom-sheet{overscroll-behavior:contain}.web-app .life-bottom-sheet{max-width:640px}.life-history-sheet{max-width:720px!important}.life-history{display:grid;gap:16px}.life-history-controls{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:10px}.life-history-select{display:grid;gap:8px;min-width:0;font-size:12px;color:#9c79ae}.life-history-select select{width:100%;max-width:none;padding:11px;font-size:13px;min-width:0;border:1px solid #ecdef5;background:#fbf8ff;border-radius:14px;color:#8d649f}.life-history-month{font-size:15px;color:#9c78ae;margin:10px 0}.life-more-info{border:1px solid #eee2f7;background:#fcf9ff;border-radius:18px;padding:0 14px}.life-more-info>summary{cursor:pointer;min-height:46px;padding:13px 0;color:#9b73b0;font-size:13px}.life-more-info[open]{padding-bottom:14px}.life-more-info>.life-input-field{margin:12px 0}.life-more-info .duo-mode-picker{margin:12px 0}.life-choice-list{display:flex;flex-wrap:wrap;gap:10px;margin:12px 0}.life-choice-list>button{min-height:44px;padding:10px 15px;border-radius:999px;background:#f7efff;color:#9c78b0;font-size:14px;max-width:100%;overflow-wrap:anywhere}.life-choice-list>button[aria-pressed=true]{background:#b15cff;color:white}.life-tools-actions{display:grid;gap:10px;margin-top:20px}.life-tools-actions>button{min-height:48px;background:#faf6ff;color:#9c6eb8;border-radius:16px;text-align:left;padding:12px 16px;font-size:14px}.life-settings-section{display:grid;gap:12px}.life-settings-section h3{font-size:16px;color:#7c588f;margin:0}.life-shortcut-list{display:grid;gap:8px}.life-shortcut-list>div{display:flex;align-items:center;gap:6px;padding:10px;border-radius:14px;background:#f8f1ff;min-width:0}.life-shortcut-list span{flex:1;overflow-wrap:anywhere;font-size:13px;color:#9266a8}.life-shortcut-list button{min-height:36px;min-width:32px;border-radius:10px;background:white;color:#a879bf;font-size:12px}.life-quick-values{display:flex;flex-wrap:wrap;gap:8px}.life-quick-values button,.life-last-value,.life-draft-restore{padding:10px 13px;min-height:40px;border-radius:999px;background:#f6ebff;color:#a25ccd;font-size:13px;text-align:left}.life-first-use{padding:18px 0;color:#a889b9;font-size:13px;display:grid;gap:12px}.life-first-use .ds-pill-btn{justify-self:start}.life-number-field input{font-size:36px!important;font-weight:750!important;line-height:1.2;min-height:78px}.life-add-fab:disabled{opacity:.4}.life-sheet .life-number-field>.life-input-field{gap:6px}.life-calendar-v3.is-compact .life-month-grid>button{min-height:64px}.life-calendar-v3.is-compact .life-day-label{font-size:9px;line-height:14px}
@media(min-width:900px){.life-calendar-v3{grid-template-columns:minmax(0,1.25fr) minmax(300px,1fr);max-width:1100px}.life-main-calendar{padding:24px}.life-calendar-v3 .life-month-grid>button{min-height:104px}.life-calendar-v3.is-compact .life-month-grid>button{min-height:86px}.life-calendar-v3 .life-day-label{font-size:11px;line-height:18px}.life-add-fab{right:32px}.life-calendar-v3 .life-main-calendar{grid-column:1}.life-desktop-day{grid-column:2;grid-row:1}}
@media(max-width:899px){.life-calendar-v3{padding:0 0 100px;gap:0}.life-main-calendar{border-radius:0;padding:14px 12px 22px;background:linear-gradient(#f4ecff 0,#fff 150px)}.life-month-header{margin-bottom:12px}.life-month-navigation{gap:0}.life-month-navigation>button{min-width:32px}.life-month-navigation .life-month-title{font-size:26px;gap:8px}.life-month-title small{font-size:12px}.life-header-action{min-width:38px}.life-browse-filter{gap:6px}.life-source-trigger{padding:7px 9px;font-size:11px}.life-type-strip>button{font-size:11px;padding:7px 10px}.life-calendar-v3 .life-month-grid{gap:3px}.life-calendar-v3 .life-month-grid>button{min-height:76px;padding:5px 1px}.life-calendar-v3 .life-day-label{font-size:9px;padding:0 2px}.life-calendar-summary{margin-top:12px}.life-bottom-overlay{align-items:flex-end;padding:0!important}.web-app .life-bottom-sheet{width:100%;max-width:none;border-radius:28px 28px 0 0;max-height:85dvh;padding:20px 20px calc(20px + env(safe-area-inset-bottom,0px));border-bottom:0}.life-bottom-sheet .ds-modal__head{position:sticky;top:-20px;z-index:5;background:#fff;padding-top:12px}.life-bottom-sheet .ds-modal__title{font-size:18px}.life-bottom-sheet .life-record-card>div{flex-direction:row}.life-history-controls{grid-template-columns:1fr 1fr}.life-history-controls>label:last-child{grid-column:1/-1}}
@media(max-width:360px){.life-main-calendar{padding-left:8px;padding-right:8px}.life-month-navigation .life-month-title{font-size:23px;gap:5px}.life-month-title small{font-size:11px}.life-month-navigation>button{min-width:28px}.life-month-header{gap:5px}.life-calendar-v3 .life-month-grid>button{min-height:73px}.life-bottom-sheet .life-record-card>div{flex-direction:column}}
.life-period{display:grid;gap:14px}.life-period-calendar{background:#fff;border:1px solid #eadcf4;border-radius:22px;padding:14px}.life-period-grid{display:grid;grid-template-columns:repeat(7,minmax(0,1fr));gap:4px}.life-period-grid button{min-width:0;min-height:46px;border-radius:13px;display:grid;justify-items:center;align-content:center;gap:3px;border:1px solid transparent;color:#77598d;font-size:14px}.life-period-grid button strong{font-weight:600}.life-period-grid button small{font-size:9px}.life-period-grid button.has-period{background:#ffe1eb;color:#b65a81}.life-period-grid button[aria-pressed=true]{border-color:#b15cff;box-shadow:0 0 0 2px #b15cff18}.life-period-grid button.is-muted,.life-period-grid button.is-future{opacity:.45}.life-period-status{display:grid;gap:12px;border:1px solid #eadcf4;background:#fcf9ff;border-radius:22px;padding:16px}.life-period-status h3{font-size:20px;color:#77508b}.life-period-status p{font-size:13px;line-height:1.7;color:#9a7dac}.life-period-status .duo-field{padding:0;background:transparent}.life-period-status .ds-pill-btn{justify-self:stretch}.life-period-note{white-space:pre-wrap;overflow-wrap:anywhere}.life-period-undo{color:#9c57ca;border-radius:14px;background:#f4ebff;min-height:44px;padding:10px}.life-period .duo-error button{display:block;margin-top:8px;color:#9852c4;min-height:36px}.life-month-header .life-header-action{padding:7px 8px;white-space:nowrap}@media(max-width:359px){.life-month-header{gap:2px}.life-month-navigation{gap:2px}.life-month-title{font-size:22px}.life-period-calendar{padding:10px}.life-period-grid button{min-height:42px}}
.web-app .life-period-sheet{max-height:94dvh}.life-period-sheet .life-period-status{padding:12px;gap:8px}.life-period-sheet .life-period{gap:10px}.life-period-sheet .life-period-calendar{padding:12px}.life-period-sheet .life-period-grid button{min-height:44px}.life-period-sheet .life-period-status .duo-text-action{min-height:36px}
.cycle-toolbar{display:flex;gap:8px;align-items:center;flex-wrap:wrap;color:#ae91bf;font-size:11px}.cycle-toolbar small{margin-right:auto}.cycle-toolbar button{border-radius:999px;background:#f2e8ff;color:#9c5dcc;min-height:36px;padding:7px 12px;font-size:12px}.cycle-forecast{background:#faf5ff;border:1px solid #eadcf4;border-radius:18px;padding:12px;display:grid;gap:7px;color:#9674aa}.cycle-forecast>div:first-child{display:grid;gap:5px}.cycle-forecast strong{font-size:14px;color:#8c5aa7}.cycle-forecast span,.cycle-forecast small,.cycle-forecast p{font-size:11px;line-height:1.6}.cycle-forecast details summary{font-size:11px;cursor:pointer;min-height:28px;display:flex;align-items:center}.cycle-legend{display:flex;gap:12px;font-size:10px}.cycle-legend .actual{border-left:10px solid #ffc3da;padding-left:5px}.cycle-legend .estimated{border:1px dashed #dba5bf;border-radius:5px;padding:2px 6px}.life-period-grid button.has-estimate{border:1px dashed #e5b1c7;background:#fff6fa;color:#b36d8c;opacity:1}.life-period-grid button.has-estimate small{font-size:8px}.life-period-grid button.has-estimate.ovulation{background:#f5eaff;border-color:#c69bdc;color:#9a66b8}.life-period-grid button.has-estimate.follicular{background:#edf8ed;border-color:#b9d6b1;color:#7b9b6e}.life-period-grid button.has-estimate.luteal{background:#fff6e5;border-color:#e3c797;color:#b29359}.life-period-grid button[aria-pressed=true]{border-style:solid;border-color:#b15cff}.cycle-main-preview{border:1px dashed #d998b5;background:#fff5fa!important;color:#ac718f!important;box-sizing:border-box}.cycle-settings,.cycle-stats{display:grid;gap:14px}.cycle-toggle{display:flex;align-items:center;justify-content:space-between;gap:12px;padding:12px 0;border-bottom:1px solid #eee5f5;color:#856393;font-size:14px}.cycle-toggle input{width:20px;height:20px;min-height:0!important;accent-color:#b15cff;flex:none}.cycle-daily{border:1px solid #eadcf4;background:#fcf9ff;border-radius:18px;padding:0 12px}.cycle-daily>summary{min-height:44px;cursor:pointer;display:flex;align-items:center;justify-content:space-between;gap:8px;color:#9663b2;font-size:13px}.cycle-daily>summary small{font-size:10px;color:#b298c1}.cycle-daily form{padding:4px 0 12px}.cycle-levels{display:grid;gap:8px;margin:8px 0;color:#9671a9;font-size:12px}.cycle-levels>div{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:6px}.cycle-levels button{border:1px solid #e8d9f3;background:#fff;border-radius:12px;min-height:38px;padding:8px 6px;font-size:12px}.cycle-levels button[aria-pressed=true]{background:#b15cff;border-color:#b15cff;color:white}.cycle-daily .life-input-field{margin-top:12px}.cycle-daily .ds-pill-btn{width:100%;margin-top:8px}.cycle-stat-grid{display:grid;grid-template-columns:1fr 1fr;gap:12px}.cycle-stat-grid>div{border-radius:20px;background:#f3ebff;padding:16px 10px;display:grid;gap:8px;text-align:center}.cycle-stat-grid strong{font-size:24px;color:#80529b}.cycle-stat-grid small{font-size:11px;color:#a489b4}.cycle-stats h3{font-size:16px;color:#875b9f}.cycle-chart{border:1px solid #eadcf4;border-radius:20px;padding:14px;display:grid;gap:10px}.cycle-chart-bars{display:flex;align-items:end;gap:8px;min-height:96px}.cycle-chart-bars>div{flex:1;min-width:0;display:grid;gap:7px;text-align:center}.cycle-chart-bars span{background:#d7b5f7;border-radius:9px 9px 3px 3px;display:flex;justify-content:center;align-items:start;padding-top:3px;color:#8259a3;font-size:10px}.cycle-chart-bars small{font-size:9px;color:#ab91bb}.cycle-history{display:grid;gap:10px}.cycle-history>button{background:#fff3f8;border:1px solid #f0d4e2;border-radius:18px;padding:14px;text-align:left;display:grid;gap:6px}.cycle-history span,.cycle-history small{font-size:11px;color:#b08098}.cycle-history strong{font-size:14px;color:#91697f}.cycle-history small{white-space:pre-wrap;overflow-wrap:anywhere}.cycle-history-detail{border-radius:20px;border:1px solid #eadcf4;padding:14px;display:grid;gap:10px}.cycle-history-detail article{border-radius:14px;background:#f8f2ff;padding:12px;display:grid;gap:6px}.cycle-history-detail p{font-size:12px;color:#997eaa;white-space:pre-wrap;overflow-wrap:anywhere}
.web-app .cycle-toggle input{appearance:none;width:40px;min-width:40px;height:24px;min-height:24px!important;border:1px solid #e1c9f1;border-radius:999px;background:#eee4f7;padding:0!important;position:relative;cursor:pointer;box-shadow:none}.web-app .cycle-toggle input:before{content:'';position:absolute;left:3px;top:3px;width:16px;height:16px;border-radius:50%;background:white;box-shadow:0 1px 3px #9561b52b;transition:transform .15s}.web-app .cycle-toggle input:checked{background:#b15cff;border-color:#b15cff}.web-app .cycle-toggle input:checked:before{transform:translateX(16px)}.web-app .cycle-toggle input:focus-visible{outline:3px solid #dbc2f6;outline-offset:2px}
.sport-mode-picker{flex-wrap:wrap}.sport-mode-picker>small{width:100%;font-size:11px;line-height:1.6;color:#aa8fbb}.sport-mode-picker>div{flex:1;min-width:0;display:grid;grid-template-columns:repeat(3,minmax(0,1fr))}.sport-mode-picker button{min-height:40px;padding:8px 12px}
.life-calendar-views{display:flex;gap:4px;padding:4px;background:#f3eaff;border-radius:999px;width:max-content;margin-bottom:12px}.life-calendar-views button{padding:8px 20px;border-radius:999px;color:#9a73b5;font-size:13px;font-weight:700}.life-calendar-views button[aria-pressed=true]{background:#af59ff;color:white}.life-calendar-v3 .life-month-grid>button{min-height:112px}.life-calendar-v3 .life-month-grid .life-day-label{white-space:normal;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden;font-size:11px;line-height:15px;padding:3px 2px;flex-shrink:0;max-height:36px;overflow-wrap:anywhere}.life-calendar-v3 .life-month-grid .life-day-label--interval{display:block;white-space:nowrap;line-height:20px;padding:0 2px;min-height:20px}.life-calendar-v3.is-compact .life-month-grid>button{min-height:102px}
.life-calendar--time{display:block!important;min-width:0}.life-time-scroll{max-height:620px;overflow:auto;border:1px solid #eee4f6;border-radius:18px;background:#fff;overscroll-behavior:contain;max-width:100%;scrollbar-width:thin}.life-time-canvas{min-width:calc(44px + var(--calendar-columns)*96px);position:relative}.life-time-header,.life-time-allday,.life-time-body{display:grid;grid-template-columns:44px repeat(var(--calendar-columns),minmax(0,1fr))}.life-time-header{position:sticky;top:0;z-index:5;background:#faf6ff;min-height:57px;border-bottom:1px solid #eee4f6}.life-time-header button{padding:7px 2px;display:grid;gap:3px;border-left:1px solid #eee4f6;color:#8e739e}.life-time-header button strong{font-size:14px}.life-time-header button small{font-size:11px}.life-time-header button.is-today strong{background:#af59ff;border-radius:12px;color:white;padding:3px}.life-time-axis{position:sticky;left:0;z-index:3;background:#faf7fd;font-size:10px;color:#ad93bc;white-space:pre-line;text-align:center;padding-top:8px}.life-time-header .life-time-axis{z-index:6}.life-time-allday{min-height:54px;border-bottom:1px solid #ddd0e8;background:#fff}.life-time-allday>div{border-left:1px solid #eee4f6;padding:5px;display:flex;flex-direction:column;gap:4px}.life-time-all-card{font-size:11px;line-height:15px;padding:4px;border-radius:5px;text-align:left;color:#634a75;overflow-wrap:anywhere}.life-time-all-card small{display:block;font-size:10px}.life-time-forecast{font-size:10px;border:1px dashed #c293c7;border-radius:5px;color:#b181a2;padding:3px}.life-time-body{position:relative}.life-time-body>.life-time-axis{position:sticky;height:100%;padding:0}.life-time-body>.life-time-axis span{position:absolute;left:0;width:100%;font-size:9px;padding-top:3px}.life-time-day{position:relative;min-width:0;border-left:1px solid #ece3f3;background-image:linear-gradient(to bottom,#f0e8f7 1px,transparent 1px);height:100%}.life-time-card{position:absolute;overflow:hidden;text-align:left;border-radius:5px;padding:3px;z-index:2;font-size:10px;color:#644873;min-width:0;max-width:100%;border:1px solid white}.life-time-card strong{display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden;line-height:14px;overflow-wrap:anywhere;font-size:11px}.life-time-card small{display:block;font-size:9px;white-space:nowrap}.life-time-card.is-point{background:color-mix(in srgb,var(--event-color) 45%,white);border-left:3px dotted color-mix(in srgb,var(--event-color) 90%,#76567c);max-height:44px}.life-time-card.is-interval{background:var(--event-color);border-left:3px solid #a172b6}.life-time-now{position:absolute;height:1px;left:0;right:0;background:#e96698;z-index:1;pointer-events:none}.life-calendar--time .life-desktop-day{margin-top:20px}.life-time-scroll:focus-within{outline:1px solid #c79bec}
@media(min-width:900px){.life-calendar-v3 .life-month-grid .life-day-label{font-size:12px;line-height:17px}.life-time-card strong{font-size:12px}.life-time-scroll{max-height:670px}}
@media(max-width:420px){.life-calendar-v3 .life-month-grid{gap:3px}.life-calendar-v3 .life-month-grid>button{padding:5px 2px}.life-time-scroll{max-height:560px}.life-calendar-views button{padding:8px 18px}}
.life-time-allday{position:sticky;top:57px;z-index:4}.life-time-card[data-time-stack]{max-height:64px;box-shadow:0 1px 2px #9a78b32b}.life-time-card[data-time-stack] strong{-webkit-line-clamp:1}.life-time-card[data-time-stack] strong+strong{margin-top:2px}
.life-calendar-v3 .life-month-grid>button{height:auto}.life-calendar-v3 .life-month-grid .life-day-label{display:block;max-height:none}.life-day-title{display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden;line-height:15px}.life-calendar-v3 .life-month-grid .life-day-count{display:block;font-size:9px;line-height:12px;font-weight:650;color:#866a9c;margin:0}.life-day-label--interval .life-day-title{display:block;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.life-time-canvas{min-width:calc(44px + var(--calendar-columns)*var(--calendar-min-column,96px))}.life-time-hint{display:none}@media(max-width:899px){.life-time-hint{display:block;font-size:11px;color:#b193c3;margin:0 0 8px;text-align:right}}

/* Record workspace: use desktop width without changing the task/idea pages. */
@media(min-width:900px){
 .web-app .web-shell:has(.life-calendar){width:100%;max-width:1640px;padding:20px 28px 32px}
 .web-shell:has(.life-calendar) .web-sidebar{width:200px}
 .web-app .web-main:has(.life-calendar){padding:18px 28px 24px}
 .web-app .web-content:has(.life-calendar){max-width:none}
 .duo-today:has(.life-calendar){max-width:none}
 .life-calendar-v3{position:relative;max-width:none;padding-bottom:24px;grid-template-columns:minmax(0,1fr)}
 .life-calendar-v3 .life-main-calendar{grid-column:1;grid-row:1;padding:24px}
 .life-calendar-v3 .life-desktop-day{grid-column:1;grid-row:2}
 .life-calendar-views{min-height:44px;margin-right:116px;align-items:center}
 .life-calendar-v3>.duo-floating-actions{position:relative;grid-column:1;grid-row:1;align-self:start;justify-self:end;inset:auto;transform:none;margin:24px 24px 0 0;z-index:1}
 .life-calendar-v3 .life-month-grid>button,.life-calendar-v3.is-compact .life-month-grid>button{height:clamp(94px,calc((100dvh - 500px)/var(--life-weeks,6)),112px);min-height:0;padding:5px 4px;gap:3px}
 .life-calendar-v3 .life-month-grid .life-day-label{display:flex;align-items:center;gap:3px;flex:none;min-height:19px;max-height:19px;line-height:19px;padding:0 4px;font-size:12px}
 .life-calendar-v3 .life-month-grid .life-day-title{display:block;flex:1;min-width:0;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;line-height:19px}
 .life-calendar-v3 .life-month-grid .life-day-count{flex:none;font-size:10px;line-height:19px}
 .life-calendar-v3 .life-month-grid .life-day-label--interval{min-height:19px;line-height:19px;font-size:12px}
 .life-calendar-v3.is-compact .life-month-grid>button{height:clamp(84px,calc((100dvh - 500px)/var(--life-weeks,6)),102px);padding-block:3px;gap:2px}
 .life-calendar-v3.is-compact .life-month-grid>button>strong{line-height:20px;margin-bottom:1px}
 .life-calendar-v3.is-compact .life-month-grid .life-day-label{min-height:17px;max-height:17px;line-height:17px;font-size:11px}
 .life-calendar-v3.is-compact .life-month-grid .life-day-title,.life-calendar-v3.is-compact .life-month-grid .life-day-count{line-height:17px}
 .life-calendar-summary{padding-right:0}
 .life-desktop-day{padding:20px}
 .life-desktop-day>h2{font-size:20px;margin-bottom:12px}
 .life-desktop-day .life-day-heading{margin-bottom:14px}
 .life-desktop-day .life-day-list{gap:10px}
 .life-desktop-day .life-record-card{padding:13px 14px;gap:7px;border-radius:18px}
 .life-desktop-day .life-record-card>div{display:grid;gap:3px}
 .life-desktop-day .life-record-card strong{font-size:16px;line-height:1.5}
 .life-desktop-day .life-record-card p{font-size:14px;line-height:1.5}
 .life-calendar--time>.duo-floating-actions{position:absolute;top:24px;right:24px;margin:0}
}
@media(min-width:1200px){
 .life-calendar-v3:not(.life-calendar--time){grid-template-columns:minmax(0,1fr) clamp(340px,28%,400px)}
 .life-calendar-v3:not(.life-calendar--time) .life-desktop-day{grid-column:2;grid-row:1;position:sticky;top:100px;max-height:calc(100dvh - 184px);display:flex;flex-direction:column}
 .life-calendar-v3:not(.life-calendar--time) .life-day-panel{display:flex;flex-direction:column;min-height:0}
 .life-calendar-v3:not(.life-calendar--time) .life-day-heading{flex:none}
 .life-calendar-v3:not(.life-calendar--time) .life-day-list{overflow-y:auto;min-height:0;scrollbar-width:thin;scrollbar-gutter:stable;padding-right:4px;padding-bottom:2px}
 .life-calendar-v3:not(.life-calendar--time) .life-record-card{flex:none}
}

.habit-page{padding:22px;min-width:0}.habit-heading{display:flex;justify-content:space-between;align-items:center;gap:16px}.habit-heading h1{font-size:28px;margin:0}.habit-heading p,.habit-existing>p{color:#8a8096;font-size:13px}.habit-toolbar{display:flex;flex-wrap:wrap;align-items:center;gap:12px;margin:20px 0}.habit-toolbar input{max-width:165px;padding:7px;border:1px solid #e3d8ed;border-radius:10px;background:white;color:inherit}.habit-page button{cursor:pointer}.habit-page button:disabled{cursor:default;opacity:.6}.habit-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:16px;margin-top:18px}.habit-card{border-radius:22px;background:var(--habit-color);padding:20px;min-width:0}.habit-card-title{display:block;text-align:left;border:0;background:none;color:inherit;width:100%;overflow-wrap:anywhere;padding:0}.habit-card-title small{opacity:.7}.habit-card h2{font-size:22px;line-height:1.4;margin:7px 0 14px}.habit-progress{margin:12px 0}.habit-progress>div{display:flex;justify-content:space-between;flex-wrap:wrap;gap:8px;font-size:14px}.habit-progress progress{display:block;width:100%;height:10px;accent-color:#9e46eb;margin-top:8px}.habit-actions{display:flex;align-items:center;flex-wrap:wrap;gap:9px;margin-top:18px}.habit-actions button,.habit-last button,.habit-repeat-row button,.habit-toolbar>button{border:1px solid #ffffff80;background:#ffffffb3;border-radius:12px;padding:10px 13px;color:#65329a;font-weight:600;min-height:42px}.habit-last{font-size:12px;color:#675373;display:flex;align-items:center;justify-content:space-between;gap:6px;margin-bottom:0}.habit-last button{padding:7px 10px}.habit-existing{margin-top:28px}.habit-existing h2{font-size:18px}.habit-repeat-row{display:flex;justify-content:space-between;align-items:center;gap:12px;padding:12px 0;border-bottom:1px solid #eee;overflow-wrap:anywhere}.habit-history{max-height:280px;overflow:auto;padding-left:22px;font-size:14px}.habit-history li{margin:10px 0}.web-kept-page[hidden]{display:none!important}.habit-page :focus-visible{outline:3px solid #7025b0;outline-offset:3px}@media(max-width:600px){.habit-page{padding:16px 8px 85px}.habit-grid{grid-template-columns:minmax(0,1fr)}.habit-heading h1{font-size:25px}.habit-card{padding:18px}.habit-progress>div strong{overflow-wrap:anywhere;min-width:0}}

.habit-heading>button{background:#af55f4;color:white;border:0;border-radius:999px;padding:12px 18px;flex-shrink:0;font-weight:650}.habit-heading p{margin:8px 0}.task-completion-notice{margin:16px 22px;padding:14px 16px;background:#f1e8fc;border-radius:16px;display:flex;flex-wrap:wrap;align-items:center;gap:12px;color:#65329a}.task-completion-notice>span{flex:1;min-width:150px;overflow-wrap:anywhere}.task-completion-notice button{padding:8px;min-height:38px;cursor:pointer}.habit-page .habit-existing>p{line-height:1.7}

.habit-last-time{display:block;margin-top:6px;color:#705f7b;font-size:12px;line-height:1.7}

/* Shared surfaces, including menus rendered outside the app root. */
:root{--wentai-ui-font:"Segoe UI","PingFang SC","Microsoft YaHei","Noto Sans SC",system-ui,sans-serif}
.web-app{font-family:var(--wentai-ui-font);color:#34273f;font-synthesis:none}
.web-app :where(button,input,textarea,summary){font-family:inherit}
.web-app :where(input,textarea)::placeholder{color:#ab96b9;opacity:1}
.web-app :where(button,input,textarea,summary,[role=combobox]):focus-visible{outline:2px solid #b15cff;outline-offset:3px}
.web-app :where(input[type=checkbox],input[type=radio]){accent-color:#b15cff}
.web-app :where(h1,h2,h3,h4){font-family:inherit}
.web-app .ds-overlay{background:rgba(50,30,65,.3);backdrop-filter:blur(2px)}
.web-app .ds-modal:not(.life-bottom-sheet){background:#fff;border:1px solid #eee0f8;border-radius:28px;box-shadow:0 18px 64px #54346a24;padding:24px;max-width:600px;width:calc(100vw - 32px);max-height:90dvh;color:#493452;font-family:inherit}
.web-app .ds-modal__head{align-items:center;gap:16px;border:0;padding:0 0 18px;margin:0 0 4px}
.web-app .ds-modal__title{font-size:21px;font-weight:750;line-height:1.5;color:#402b4e}
.web-app .ds-modal__close{display:grid;place-items:center;width:36px;height:36px;flex:none;border-radius:50%;background:#f7efff;color:#a675c5;font-family:inherit;font-size:23px;font-weight:400;padding:0;border:0;line-height:1}
.web-app .ds-modal>p{font-size:14px;line-height:1.8;color:#9478a3;overflow-wrap:anywhere;margin:0 0 18px}
.web-app .duo-editor textarea,.web-app .duo-profile-form input{font-family:inherit}
.wentai-select{display:inline-flex;position:relative;min-width:0;max-width:100%;vertical-align:middle;flex-direction:column;flex-shrink:1}
.wentai-select-trigger{display:flex;align-items:center;justify-content:space-between;gap:10px;min-height:42px;width:100%;min-width:0;border:1px solid #e9d8f7;border-radius:15px;background:#f7f0ff;color:#9664b5;padding:10px 13px;font:500 13px/1.4 var(--wentai-ui-font);text-align:left;cursor:pointer;box-shadow:none}
.wentai-select-trigger:hover:not(:disabled){background:#f1e5ff;border-color:#dcbcf3}
.wentai-select-trigger[aria-expanded=true]{background:#f0e3ff;border-color:#c899ee;box-shadow:0 0 0 3px #b15cff12}
.wentai-select-trigger:focus-visible{outline:2px solid #b15cff;outline-offset:3px}
.wentai-select-trigger:disabled{color:#bbaaC7;background:#faf7fd;border-color:#eee6f5;cursor:default;opacity:.7}
.wentai-select-value{display:block;flex:1;min-width:0;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.wentai-select-arrow{flex:none;width:18px;height:18px;transition:transform .15s;color:#b187c8}
.wentai-select-trigger[aria-expanded=true] .wentai-select-arrow{transform:rotate(180deg)}
.wentai-select-menu{position:fixed;z-index:1200;box-sizing:border-box;overflow-y:auto;overscroll-behavior:contain;padding:6px;border:1px solid #eadbf6;border-radius:18px;background:#fff;box-shadow:0 10px 38px #65317a24;font:500 14px/1.5 var(--wentai-ui-font);color:#9366a9;scrollbar-width:thin;scrollbar-color:#dbc1ee #fcf9ff}
.wentai-select-menu>button{display:flex;align-items:center;justify-content:space-between;gap:12px;box-sizing:border-box;width:100%;min-height:42px;text-align:left;padding:10px 12px;border:0;border-radius:12px;background:transparent;color:#9475a6;font:inherit;cursor:pointer;margin:2px 0}
.wentai-select-menu>button>span{min-width:0;overflow-wrap:anywhere;white-space:normal}
.wentai-select-menu>button>svg{flex:none;width:18px;height:18px}
.wentai-select-menu>button.is-highlighted:not(.is-selected){background:#f8efff;color:#a457d5}
.wentai-select-menu>button.is-selected{background:#b15cff;color:#fff;font-weight:650}
.wentai-select-menu>button:disabled{color:#bcacc7;cursor:default;background:transparent}
.wentai-select.wt-input{border:0;padding:0;background:transparent}
.duo-field>.wentai-select{max-width:68%;flex:1}
.idea-sort .wentai-select{min-width:128px;max-width:180px}
.life-history-select .wentai-select{width:100%}
.settings-app-card{border:1px solid #eadcf5;border-radius:24px;background:linear-gradient(120deg,#f5eaff,#fff 75%);padding:20px}
.settings-app-heading{display:flex;align-items:center;gap:14px;padding:0 0 14px}
.settings-app-heading img{width:48px;height:48px;border-radius:14px;flex:none}
.settings-app-heading>div{display:grid;gap:5px}
.settings-app-heading strong{font-size:20px;font-weight:750;color:#785096}
.settings-app-heading span{font-size:12px;color:#ae8fc0}
.settings-app-card .settings-changelog-entry{padding:14px 0 0;min-height:56px;border-top:1px solid #eadbf3;border-radius:0;background:transparent}
.settings-section-title{font-size:15px;font-weight:650;color:#a581b7;margin:0 2px -10px}
.wentai-changelog-intro{color:#a48ab4;font-size:13px;line-height:1.7;margin:0 0 18px}
.wentai-changelog{display:grid;gap:16px}
.wentai-changelog article{padding:18px;border:1px solid #ece0f5;border-radius:21px;background:#fcf9ff;margin:0}
.wentai-changelog article:first-of-type{background:#f4eaff;border-color:#e1c7f5}
.wentai-changelog-heading{display:flex;align-items:center;flex-wrap:wrap;gap:8px;margin-bottom:12px}
.wentai-changelog-heading strong{display:inline-flex;padding:5px 10px;border-radius:999px;background:#ead7fa;color:#9c50c8;font-size:13px;font-weight:700}
.wentai-release-current{color:#a77fc0;font-size:11px}
.wentai-changelog-heading time{color:#b49bc3;font-size:11px;margin-left:auto}
.wentai-changelog article h2{font-size:16px;font-weight:750;color:#80608f;line-height:1.6;margin:0 0 8px}
.wentai-changelog article ul{list-style:none;padding:0;margin:0;display:grid;gap:6px}
.wentai-changelog article li{display:block;position:relative;padding-left:14px;font-size:13px;line-height:1.85;color:#9a7aab;overflow-wrap:anywhere}
.wentai-changelog article li:before{content:"";position:absolute;left:0;top:.8em;width:5px;height:5px;border-radius:50%;background:#c597e5}
@media(max-width:899px){.web-app .ds-modal:not(.life-bottom-sheet){padding:22px 20px;width:calc(100vw - 24px)}.web-app .ds-modal__title{font-size:20px}.idea-sort .wentai-select{min-width:120px}.wentai-select-menu{font-size:14px}.wentai-select-menu>button{min-height:44px}.settings-app-card{padding:18px}.settings-app-heading{gap:12px}.web-app .life-sheet .life-input-field input,.web-app .life-sheet .life-input-field textarea{font-size:16px!important}.web-app .life-sheet .life-number-field input{font-size:36px!important}}
@media(prefers-reduced-motion:reduce){.wentai-select-arrow{transition:none}}

.web-app .life-bottom-sheet .ds-modal__head{padding-top:12px}.web-app .life-bottom-sheet .ds-modal__title{font-size:18px}

.solo-settings .solo-page-body{display:flex;flex-direction:column;gap:22px}.solo-settings .duo-settings-card{margin-bottom:0}.solo-settings .solo-me-row>span{display:grid;gap:6px;flex:1;min-width:0}
.solo-ideas .solo-page-head{padding:20px 22px 24px}
.solo-ideas .solo-page-head p{margin-top:5px}
.solo-ideas .solo-page-body{gap:12px;padding-top:16px}
.solo-ideas .solo-idea-composer{padding:12px 14px;border-radius:20px;display:grid;grid-template-columns:minmax(0,1fr) auto;column-gap:12px;row-gap:5px;align-items:center}
.solo-ideas .solo-idea-composer textarea{grid-column:1;grid-row:1;min-height:32px;height:32px;max-height:240px;font-size:16px;line-height:1.7;resize:vertical}
.solo-ideas .solo-idea-composer:focus-within textarea{height:86px}
.solo-ideas .solo-composer-foot{display:contents}
.solo-ideas .solo-composer-foot>span{grid-column:1;grid-row:2;font-size:11px}
.solo-ideas .solo-composer-foot>.ds-pill-btn{grid-column:2;grid-row:1 / 3;min-height:44px;padding:10px 18px}
.solo-ideas .duo-tabs{min-height:46px;padding:4px;border-radius:18px}
.solo-ideas .duo-tabs button{min-height:38px;font-size:15px;padding:8px}
.solo-ideas .idea-tools{margin:0;gap:8px}
.solo-ideas .idea-result-count{margin:0;min-height:0}
.solo-ideas .idea-heatmap{margin:0;border-radius:16px}
.solo-ideas .idea-heatmap-toggle{padding:10px 12px;min-height:44px}
.solo-ideas .solo-idea-list{gap:12px}
.solo-ideas .solo-idea-card{padding:16px;border-radius:20px;gap:10px}
.solo-ideas .solo-idea-card>p{font-size:16px;line-height:1.6}
.web-app .duo-pair-progress,.web-app .duo-last-checks{font-family:var(--wentai-ui-font);font-synthesis:none;letter-spacing:normal}
.web-app .duo-pair-progress>span{font-family:inherit;font-size:13px;font-weight:500;line-height:1.55;color:#72577d;gap:7px;min-height:28px}
.web-app .duo-pair-progress>span.is-checked{color:#7a4397}
.web-app .duo-last-checks{gap:10px}
.web-app .duo-last-checks>p{font-family:inherit;font-size:12px;font-weight:500;line-height:1.5;color:#94789f}
.web-app .duo-last-checks strong{font-family:inherit;font-size:13px;font-weight:650;line-height:1.5;color:#674875}
.web-app .duo-last-checks time{font-family:inherit;font-size:12px;font-weight:500;line-height:1.6;color:#80658e;font-variant-numeric:tabular-nums;letter-spacing:normal}
.task-times{display:grid;gap:12px;padding:16px;border:1px solid #e9def3;background:#faf6ff;border-radius:20px;text-align:left}.task-times>p{margin:0;font-size:13px;font-weight:600;color:#8a6d9e}.task-times dl{display:grid;gap:14px;margin:0}.task-times dl>div{display:grid;gap:5px}.task-times dt{font-size:12px;color:#a28ab0}.task-times dd{margin:0;font-size:14px;font-weight:550;font-variant-numeric:tabular-nums;color:#694780;overflow-wrap:anywhere}.task-times>small{font-size:12px;color:#9b84ac;line-height:1.6}.task-times>.ds-pill-btn{justify-self:start;min-height:40px}.task-start-history{border-top:1px solid #e9def3;padding-top:12px}.task-start-history summary{font-size:13px;color:#82569e;cursor:pointer}.task-start-history ol{list-style:none;padding:0;margin:12px 0 0;display:grid;gap:10px}.task-start-history li{display:flex;gap:12px;justify-content:space-between;font-size:12px;color:#987fa9;font-variant-numeric:tabular-nums}.task-start-history li span{white-space:nowrap}.task-start-history time{color:#74538b;text-align:right;overflow-wrap:anywhere}.task-start-history>button{margin-top:12px;color:#82569e;font-size:13px}.task-times .duo-error{display:grid;gap:8px;overflow-wrap:anywhere}

.growth-home{padding:22px 0 64px;display:grid;gap:22px;color:#46374f}.growth-home button,.growth-editor button{font:inherit}.growth-topline{display:flex;justify-content:space-between;align-items:center;gap:16px}.growth-eyebrow{color:#9575ad;font-size:12px;font-weight:600;letter-spacing:1px}.growth-topline h1{font-size:26px;margin:7px 0 0;font-weight:800;letter-spacing:-.5px}.growth-round{background:#f0e5fa;color:#9670b3;border-radius:16px;width:42px;height:42px;font-size:24px!important}.growth-hero{display:flex;align-items:center;justify-content:space-between;gap:16px;padding:28px 32px;background:linear-gradient(115deg,#f0e4ff,#f4fbe9);border:2px solid #e5d5f2;border-radius:28px;position:relative;overflow:hidden}.growth-streak{display:flex;align-items:baseline;gap:9px;color:#dc823b;font-size:15px;font-weight:700}.growth-streak>span:first-child{font-size:34px;align-self:center}.growth-streak strong{font-size:52px;line-height:1;font-weight:850;font-variant-numeric:tabular-nums}.growth-hero p{font-size:15px;margin:14px 0 9px;color:#765c88;line-height:1.6}.growth-hero small{font-size:12px;color:#a28caf}.growth-sprout{width:126px;flex:none;filter:drop-shadow(0 8px 0 #decbee66)}.growth-onboarding{border:2px dashed #ded0eb;background:#fff;border-radius:26px;padding:28px;display:grid;gap:18px;text-align:center}.growth-onboarding h2{font-size:22px;margin:0}.growth-onboarding p{font-size:14px;line-height:1.7;color:#947ca6;margin:0}.growth-onboarding small{font-size:12px;color:#a18bae}.growth-preview{display:flex;justify-content:center;gap:12px;flex-wrap:wrap}.growth-preview span{background:#f6effd;border-radius:14px;padding:12px 16px;color:#89669f;font-size:14px}.growth-primary{border:0;border-radius:16px;background:#7ab946;color:white;padding:15px 24px;font-size:15px;font-weight:750;box-shadow:0 5px 0 #5e9431;min-height:48px;cursor:pointer;transition:transform .12s,box-shadow .12s}.growth-primary:active:not(:disabled){transform:translateY(3px);box-shadow:0 2px 0 #5e9431}.growth-primary:disabled{background:#c5d6b6;color:#f7fff2;box-shadow:0 4px 0 #a8c08e;cursor:default}.growth-tabs{display:flex;padding:5px;border-radius:18px;background:#f1e9f8;gap:6px}.growth-tabs button{flex:1;padding:12px;border-radius:14px;color:#a188b3;font-size:14px;font-weight:650}.growth-tabs button[aria-pressed=true]{background:#fff;color:#81579e;box-shadow:0 3px 0 #e4d8ee}.growth-pending{padding:12px 16px;background:#fff5df;color:#a88344;font-size:12px;line-height:1.7;border-radius:14px;margin:0}.growth-goal{display:grid;gap:14px}.growth-goal h2{font-size:20px;margin:0 0 8px;font-weight:750}.growth-goal p{font-size:13px;color:#a08aaa;margin:0;line-height:1.6}.growth-meter{height:16px;border-radius:12px;background:#ece3f2;overflow:hidden;border:2px solid #e4d7ee}.growth-meter i{display:block;background:linear-gradient(90deg,#96d157,#c0e879);width:var(--growth-progress);height:100%;border-radius:10px;transition:width .3s}.growth-goal-tools{display:flex;align-items:center;justify-content:space-between;gap:12px}.growth-goal-tools .duo-field{background:transparent;border:0;margin:0;padding:0;display:flex;align-items:center;gap:8px}.growth-goal-tools .duo-field>span{font-size:12px}.growth-goal-tools .duo-date-trigger{min-height:36px;padding:6px 10px;font-size:12px}.growth-manage{color:#9467b4;background:#f1e8fa;padding:10px 13px;border-radius:12px;font-size:12px!important;white-space:nowrap}.growth-week{display:grid;grid-template-columns:repeat(7,minmax(0,1fr));gap:10px}.growth-week button{display:grid;gap:8px;justify-items:center;color:#b6a7c1;padding:10px 4px;border:2px solid transparent;border-radius:15px;font-size:12px}.growth-week strong{width:35px;height:35px;border-radius:50%;background:#f1eaf6;display:grid;place-items:center;font-size:15px;font-variant-numeric:tabular-nums}.growth-week button.is-qualified strong{background:#e9f6d8;color:#71a742}.growth-week button.is-selected{border-color:#bc9bdb;background:#faf6fe}.growth-week button:disabled{opacity:.5}.growth-tasks{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:16px}.growth-task{background:#fff;border:2px solid #e9e0f0;border-bottom-width:5px;border-radius:23px;padding:19px;display:flex;align-items:center;gap:14px;transition:border-color .2s;min-width:0}.growth-task-content{display:flex;align-items:center;text-align:left;gap:14px;flex:1;min-width:0}.growth-task-icon{font-size:30px;width:58px;height:58px;display:grid;place-items:center;border-radius:18px;background:color-mix(in srgb,var(--habit-color) 15%,white);flex:none}.growth-task h3{font-size:17px;margin:0 0 6px;font-weight:750;color:#594469}.growth-task p{font-size:13px;line-height:1.6;color:#997da9;margin:0 0 8px;overflow-wrap:anywhere}.growth-task small{font-size:11px;color:#b29dc0;line-height:1.6}.growth-task-check{flex:none;min-width:62px;min-height:42px;background:#b282e1;border-radius:13px;box-shadow:0 4px 0 #8c5db6;color:#fff;font-size:13px!important;font-weight:700}.growth-task-check:disabled{opacity:.55}.growth-task.is-complete{border-color:#d5e6c2;background:#fbfff7}.growth-task.is-complete .growth-task-check{background:#9dcb6e;box-shadow:0 4px 0 #80ad54;font-size:23px!important}.growth-day-win{padding:20px 24px;border-radius:22px;background:#eff9df;border:2px solid #deedc7;color:#81a354}.growth-day-win strong{font-size:16px;color:#6e9844}.growth-day-win p{font-size:12px;line-height:1.6;margin:9px 0 0}.growth-footnote{font-size:12px;color:#a690b5;line-height:1.7;margin:0}.growth-history{display:grid;gap:22px}.growth-stat-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:12px}.growth-stat-grid>div{display:grid;gap:8px;background:#fff;border:2px solid #e9e0f0;border-radius:18px;padding:18px;text-align:center}.growth-stat-grid strong{font-size:23px;color:#9565b6;font-variant-numeric:tabular-nums}.growth-stat-grid span{font-size:12px;color:#ab95b9}.growth-history h2{font-size:20px;margin:0}.growth-history h3{font-size:16px;margin:0}.growth-milestones{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:12px}.growth-milestones article{display:grid;justify-items:center;gap:9px;border:2px dashed #e3d8ec;border-radius:21px;padding:20px 8px;color:#b8a6c4}.growth-milestones span{font-size:30px;filter:grayscale(1);opacity:.6}.growth-milestones strong{font-size:13px}.growth-milestones small{font-size:11px}.growth-milestones article.is-earned{background:#fff8df;border:2px solid #ecd48a;color:#a5893c}.growth-milestones .is-earned span{filter:none;opacity:1}.growth-month-head{display:flex;justify-content:space-between;align-items:center;gap:12px}.growth-month-head button{padding:6px 14px;font-size:24px!important;color:#9b7eac;border-radius:12px;background:#f2eaf8}.growth-calendar{display:grid;grid-template-columns:repeat(7,minmax(0,1fr));gap:8px;text-align:center}.growth-calendar>span{font-size:12px;color:#ab95b9;padding:5px}.growth-calendar button{aspect-ratio:1.1;max-height:66px;border-radius:14px;background:#f1eaf7;color:#a087b2;font-size:14px;font-variant-numeric:tabular-nums}.growth-calendar button.is-qualified{background:#dcf0c7;color:#6f9c45;font-weight:750;border-bottom:4px solid #c4dfa8}.growth-calendar button:disabled{opacity:.4}.growth-habit-stat{display:flex;flex-wrap:wrap;align-items:center;gap:12px;padding:15px;background:#fff;border:2px solid #eee5f5;border-radius:17px;font-size:14px}.growth-habit-stat>span{flex:1}.growth-habit-stat strong{font-size:12px;color:#da8c42}.growth-habit-stat small{font-size:12px;color:#a58eb4}.growth-editor-body{display:grid;gap:20px}.growth-template-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:10px}.growth-template-grid button{border:2px solid #eee5f5;border-bottom-width:4px;border-radius:18px;display:grid;justify-items:center;gap:8px;padding:16px 8px;background:#fff;color:#927ba4;min-width:0}.growth-template-grid button[aria-pressed=true]{border-color:#aa85ca;background:#f6edff;color:#79539a}.growth-template-grid span{font-size:26px}.growth-template-grid strong{font-size:14px}.growth-template-grid small{font-size:11px;line-height:1.5;overflow-wrap:anywhere}.growth-template-grid button:disabled{opacity:.5}.growth-field{display:grid;gap:8px;font-size:13px;color:#947ca7}.growth-field input,.growth-field select,.growth-custom input{width:100%;min-width:0;padding:12px;border:1px solid #e4d7ee;border-radius:12px;background:#fbf8fe;color:#694b7e;font:inherit}.growth-custom{display:grid;gap:10px;border-top:1px solid #e8def0;padding-top:18px}.growth-custom h3{font-size:14px;margin:0;color:#947ca7}.growth-custom input{font-size:13px}.growth-custom button{background:#f0e5fa;color:#9563b8;border-radius:12px;padding:10px;font-size:13px}.growth-editor-actions{display:grid;gap:16px;padding-bottom:6px}.growth-editor-actions>button:not(.growth-primary){font-size:12px;color:#a088b2}.growth-detail{display:grid;gap:14px}.growth-detail-icon{text-align:center;font-size:46px}.growth-detail h2{text-align:center;font-size:22px;margin:0}.growth-detail>p{text-align:center;margin:0;color:#957da8}.growth-detail>small{text-align:center;font-size:12px;color:#b09abc}.growth-win{display:grid;justify-items:center;gap:18px;padding:16px 0 8px;text-align:center}.growth-win-mark{font-size:60px;animation:growth-pop .45s ease-out}.growth-win h2{font-size:23px;margin:0;color:#749f43}.growth-win p{color:#d49547;margin:0;font-weight:700}.growth-win small{font-size:13px;color:#a58ab8}.growth-win .growth-primary{width:100%;margin-top:12px}.growth-home button:focus-visible,.growth-editor button:focus-visible{outline:3px solid #c5a6e2;outline-offset:3px}.growth-loading{padding:40px;color:#ac97ba;text-align:center}.growth-home .duo-error{display:grid;gap:8px;overflow-wrap:anywhere}
@keyframes growth-pop{from{transform:scale(.5) rotate(-10deg);opacity:0}to{transform:scale(1);opacity:1}}
@media(max-width:899px){.growth-home{padding:20px 18px 96px;gap:20px}.growth-topline h1{font-size:23px}.growth-hero{padding:22px 20px;border-radius:25px;gap:8px}.growth-sprout{width:98px}.growth-streak strong{font-size:44px}.growth-streak>span:first-child{font-size:28px}.growth-hero p{font-size:12px}.growth-hero small{font-size:10px}.growth-tasks{grid-template-columns:1fr}.growth-week{gap:3px}.growth-week strong{width:31px;height:31px}.growth-task{padding:17px;gap:10px}.growth-task-icon{width:52px;height:52px;font-size:28px}.growth-task-content{gap:12px}.growth-stat-grid>div{padding:15px 7px}.growth-stat-grid strong{font-size:19px}.growth-goal-tools .duo-field>span{display:none}.growth-goal-tools .duo-date-trigger{max-width:190px}.growth-template-grid{gap:8px}.growth-template-grid button{padding:13px 6px}.growth-onboarding{padding:24px 20px}.growth-onboarding h2{font-size:20px}.growth-preview{gap:7px}.growth-preview span{padding:10px;font-size:12px}.growth-task p{font-size:13px}}
@media(prefers-reduced-motion:reduce){.growth-win-mark{animation:none}.growth-primary,.growth-meter i,.growth-task{transition:none}}
.growth-back-today{font-size:12px!important;color:#9e7bb7;white-space:nowrap}.growth-goal-tools{flex-wrap:wrap}
.growth-task-content>div{min-width:0}.growth-task h3{overflow-wrap:anywhere;line-height:1.45}.growth-template-grid strong{overflow-wrap:anywhere;max-width:100%}.growth-habit-stat>span{overflow-wrap:anywhere;min-width:0}
.growth-source-picker{display:grid;gap:14px;border-top:1px solid #e8def0;padding-top:18px}.growth-source-picker h3{font-size:15px;margin:0;color:#876499}.growth-source-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.growth-source-picker>button{font-size:12px;color:#9d7bb4;justify-self:start}.personal-repeat{padding:16px;border:1px solid #e7dbee;border-radius:20px;background:#fcf9ff;display:grid;gap:12px}.personal-repeat>small{font-size:12px;line-height:1.6;color:#a28bb2}.personal-repeat-history{display:grid;gap:10px;font-size:12px;color:#967dab}.personal-repeat-history>div{display:flex;justify-content:space-between;align-items:center;gap:10px;flex-wrap:wrap}.personal-repeat-history time{font-variant-numeric:tabular-nums}.personal-repeat-history button{color:#ba7c93;font-size:12px}
@media(max-width:899px){.growth-home{padding-top:16px;gap:16px}.growth-topline h1{font-size:22px;margin-top:5px}.growth-eyebrow{font-size:11px}.growth-hero{padding:18px 20px}.growth-sprout{width:82px}.growth-hero p{margin:9px 0 7px}.growth-streak strong{font-size:40px}.growth-tabs button{padding:10px}.growth-goal{gap:10px}.growth-goal h2{font-size:18px;margin-bottom:6px}.growth-week button{padding:6px 2px;gap:6px}.growth-meter{height:14px}.growth-week{gap:3px}}

.growth-home:has(.quest-topline){background:#fff;gap:18px;padding-top:16px}.quest-topline{display:flex;align-items:center;justify-content:space-between;padding:0 4px}.quest-streak-pill{color:#e38b26;font-size:14px;font-weight:700;display:flex;gap:7px;align-items:center}.quest-streak-pill strong{font-size:22px;font-variant-numeric:tabular-nums}.quest-topline .growth-round{height:34px;width:34px;font-size:20px!important;background:#f6f4f8;color:#b5a6c1}.quest-daily{display:grid;gap:20px;padding-bottom:70px}.quest-status-title{font-size:30px;line-height:1.45;text-align:center;color:#f19a16;margin:10px 0 0;font-weight:800;overflow-wrap:anywhere}.quest-status-note{margin:-10px 0 0;text-align:center;color:#a99eb0;font-size:12px;line-height:1.6}.quest-tools{display:flex;justify-content:space-between;align-items:center;gap:10px;flex-wrap:wrap}.quest-tools .duo-field{margin:0;border:0;padding:0;display:flex;align-items:center;gap:8px}.quest-tools .duo-field>span{font-size:12px;color:#aaa}.quest-tools .duo-date-trigger{min-height:34px;font-size:12px;padding:7px 10px;background:#f7f5f9}.quest-tools .growth-manage{background:#f7f5f9;color:#9d81b0;padding:9px 12px}.growth-tasks.quest-task-panel{display:block;border:2px solid #e6e5e8;border-radius:24px;background:#fff;overflow:visible}.growth-task.quest-row{display:block;border:0;border-bottom:1px solid #f0edf2;border-radius:0;padding:20px 24px;background:transparent;min-width:0}.growth-task.quest-row:last-child{border-bottom:0}.growth-task-content.quest-row-main{display:block;width:100%;text-align:left}.quest-row-text{width:100%;padding-right:0}.quest-row h3{font-size:19px;font-weight:750;color:#565159;margin:0 0 4px}.quest-row p{font-size:13px;color:#aca0b6;margin:0 0 16px;line-height:1.5}.quest-progress{height:27px;background:#f0edf2;border-radius:20px;position:relative;margin-right:30px;overflow:visible}.quest-progress i{display:block;height:100%;background:#ffac28;border-radius:20px;position:relative;transition:width .25s}.quest-progress i:after{content:'';position:absolute;left:10px;right:10px;top:4px;height:5px;background:#ffd477;border-radius:8px}.quest-progress strong{position:absolute;inset:0;display:grid;place-items:center;z-index:1;color:#a79bac;font-size:15px;font-weight:800;font-variant-numeric:tabular-nums}.quest-row.is-complete .quest-progress strong{color:#fff}.quest-chest{width:62px;height:58px}.quest-progress .quest-chest{position:absolute;right:-33px;top:50%;transform:translateY(-50%);z-index:2}.quest-chest.is-large{width:144px;height:134px}.quest-row-bottom{display:flex;align-items:center;justify-content:space-between;gap:12px;margin-top:15px}.quest-row-bottom small{font-size:11px;color:#b3a5be;overflow-wrap:anywhere}.growth-task-check.quest-row-action,.growth-task.is-complete .growth-task-check.quest-row-action{min-height:26px;min-width:42px;padding:4px 9px;background:#f4eff9;box-shadow:none;color:#9c78b6;border-radius:10px;font-size:12px!important;font-weight:600}.quest-row.is-complete .quest-row-action{background:#fff4da!important;color:#c9973f!important}.quest-month-card{display:flex;align-items:center;justify-content:space-between;gap:16px;border:2px solid #e6e5e8;border-radius:23px;background:#fff;padding:20px 24px;text-align:left;min-width:0;width:100%}.quest-month-card>div{display:grid;gap:9px;min-width:0}.quest-month-card h2{font-size:20px;font-weight:750;color:#5f5867;margin:0}.quest-month-card strong{font-size:22px;color:#ed9a25;font-variant-numeric:tabular-nums}.quest-month-card small{font-size:11px;line-height:1.6;color:#b6a8bf}.quest-month-card .growth-sprout{width:80px;flex:none}.quest-footer{position:sticky;bottom:20px;padding:10px 0 6px;z-index:35;background:linear-gradient(transparent,#fff 20%)}.quest-primary{font:inherit;background:#25afe3;color:#fff;min-height:52px;width:100%;padding:14px 22px;border:0;border-radius:17px;font-size:16px;font-weight:750;box-shadow:0 5px 0 #1694c5;cursor:pointer}.quest-primary:active:not(:disabled){transform:translateY(3px);box-shadow:0 2px 0 #1694c5}.quest-primary:disabled{opacity:.55;cursor:default}.quest-revoked{font-size:12px;line-height:1.65;background:#fff5e7;color:#b69157;padding:12px;border-radius:14px;margin:0}.quest-reward-content{display:grid;justify-items:center;gap:16px;text-align:center;padding:10px 0}.quest-reward-content>.quest-badge{width:110px;height:124px;animation:quest-badge-pop .4s ease-out}.quest-badge{width:56px;height:64px}.quest-reward-content h2{font-size:22px;color:#d79728;margin:0}.quest-reward-content p{font-size:14px;color:#ab86bd;margin:0}.quest-reward-content small{font-size:12px;line-height:1.6;color:#b2a0bd}.quest-reward-content>.quest-chest{height:102px;width:116px;margin-bottom:-35px;opacity:.55}.quest-month-body{display:grid;gap:18px}.quest-month-body>.growth-sprout{justify-self:center;width:96px}.quest-month-body h2{margin:0;text-align:center;font-size:21px;color:#9269aa}.quest-month-body p{margin:0;font-size:15px;color:#a483b6;text-align:center}.quest-month-body>small{font-size:12px;color:#ae9cbb;line-height:1.7}.quest-month-actions,.quest-month-form{display:grid;gap:16px}.quest-month-form h3{margin:0;font-size:16px;color:#9176a3}.quest-month-presets{display:flex;gap:8px;flex-wrap:wrap}.quest-month-presets button{padding:9px 13px;background:#f4eef9;border-radius:12px;color:#ad89bf;font-size:13px}.quest-month-presets button[aria-pressed=true]{background:#e9d8f5;color:#9161b0}.quest-badge-section{display:grid;gap:16px}.quest-badge-heading{display:flex;justify-content:space-between;align-items:center;gap:12px;flex-wrap:wrap}.quest-badge-heading h3{font-size:16px;margin:0}.quest-badge-heading span{font-size:11px;color:#ae98bb}.quest-badge-grid{display:grid;grid-template-columns:repeat(7,minmax(0,1fr));gap:10px}.quest-badge-grid article{display:grid;justify-items:center;gap:5px;border:1px solid #eee6f3;border-radius:16px;padding:12px 4px;background:#fffdf5;min-width:0}.quest-badge-grid strong{font-size:11px;color:#b89039;font-variant-numeric:tabular-nums}.quest-badge-grid small{font-size:10px;color:#bba481}.quest-badge-grid .is-revoked{background:#f6f3f8}.quest-badge-grid .is-revoked strong,.quest-badge-grid .is-revoked small{color:#b2a6bc}.quest-badge-section>button{justify-self:start;color:#9c7eb0;font-size:12px}.growth-home:has(.quest-topline) .growth-tabs{background:#faf7fc;border:1px solid #eee7f4}.growth-home:has(.quest-topline) .growth-tabs button[aria-pressed=true]{box-shadow:none;background:#f0e5fa}.growth-home:has(.quest-topline) .growth-footnote{font-size:11px}.quest-daily:has(.quest-footer) .growth-footnote{padding-bottom:6px}
@keyframes quest-badge-pop{from{transform:scale(.7);opacity:0}to{transform:scale(1);opacity:1}}
@media(max-width:899px){.growth-home:has(.quest-topline){padding:14px 18px 96px;gap:16px}.quest-status-title{font-size:27px;margin-top:6px}.quest-daily{gap:18px;padding-bottom:80px}.quest-tools .duo-field>span{display:none}.growth-task.quest-row{padding:18px 20px}.quest-row h3{font-size:17px}.quest-row p{font-size:12px;margin-bottom:14px}.quest-row-bottom{margin-top:12px}.quest-progress{height:25px}.quest-progress strong{font-size:14px}.quest-progress .quest-chest{width:57px;height:54px;right:-30px}.quest-month-card{padding:18px 20px;gap:12px}.quest-month-card h2{font-size:18px}.quest-month-card strong{font-size:20px}.quest-month-card .growth-sprout{width:70px}.quest-footer{position:fixed;left:18px;right:18px;bottom:calc(var(--bottom-nav-clearance) + 10px);padding:10px 0 5px}.quest-badge-grid{grid-template-columns:repeat(4,minmax(0,1fr))}.quest-badge-grid .quest-badge{width:48px;height:56px}}
@media(prefers-reduced-motion:reduce){.quest-reward-content>.quest-badge{animation:none}.quest-progress i{transition:none}}
.web-main:has(.quest-daily),.web-content:has(.quest-daily){background:#fff}
.quest-tools>.duo-date-field{flex:0 0 auto;width:auto;max-width:calc(100% - 110px)}.quest-tools .duo-date-field .duo-date-trigger{width:auto;white-space:nowrap}.quest-tools .duo-date-trigger>span{white-space:nowrap}.quest-row h3{margin-bottom:16px}.quest-row:has(.quest-row-text>p) h3{margin-bottom:4px}
.quest-tools>.duo-date-field{min-width:148px}.quest-tools .duo-date-field .duo-date-trigger{min-width:148px;max-width:none;gap:10px}.quest-tools .duo-date-trigger>span{flex:1;min-width:0;max-width:none}.quest-tools .duo-date-trigger svg{flex:none;width:18px;height:18px}
.quest-month-history{display:grid;gap:14px}.quest-month-history h3{margin:0;font-size:16px}.quest-month-history>div{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:12px}.quest-month-history article{display:grid;justify-items:center;gap:8px;border:1px solid #f0dfb4;background:#fffaf0;border-radius:18px;padding:16px 8px}.quest-month-history strong{font-size:13px;color:#b7903b}.quest-month-history small{font-size:11px;color:#b8a078}.quest-month-history .is-revoked{border-color:#e8e0ee;background:#f7f4fa}.quest-month-history .is-revoked strong,.quest-month-history .is-revoked small{color:#ae9eb9}@media(max-width:899px){.quest-month-history>div{grid-template-columns:repeat(2,minmax(0,1fr))}}

/* Shared visual system. Business state and saved colour choices stay in their own modules. */
:root {
  --wentai-ui-font: -apple-system, BlinkMacSystemFont, "Segoe UI", "PingFang SC", "Microsoft YaHei", system-ui, sans-serif;
  --bg-page: #f5f5f7;
  --text-primary: #1d1d1f;
  --text-body: #303036;
  --text-secondary: #6e6e79;
  --text-muted: #767680;
  --habit: #8250df;
  --habit-soft: #f0eafb;
  --border-subtle: #e6e6eb;
  --radius-card: 18px;
  --radius-page-card: 22px;
  --focus-ring: 0 0 0 3px #8250df35;
}
.web-app {
  --wt-accent-solid: #8250df;
  --wt-accent-solid-pressed: #7040ca;
  --web-accent: #8250df;
  --web-bg: #f5f5f7;
  --web-border: #e6e6eb;
  color: var(--text-primary);
  font-family: var(--wentai-ui-font);
  font-optical-sizing: auto;
  background: var(--bg-page);
}
.web-app :where(button, input, textarea, select) { font-family: inherit; }
.web-app :where(button, a, input, textarea, select):focus-visible { outline: 3px solid #8250df; outline-offset: 3px; }
.web-app :where(input, textarea)::placeholder { color: #767680; }
.web-app :where(input[type=checkbox], input[type=radio], progress) { accent-color: #8250df; }
.web-app .web-main, .web-app .web-shell { background: var(--bg-page); }
.web-app .web-main > .web-header {
  background: rgba(245,245,247,.88);
  backdrop-filter: blur(20px) saturate(160%);
  border-bottom: 0;
  padding: 10px 20px;
  min-height: 60px;
}
.web-app .web-header .web-title { color: #1d1d1f; font-weight: 650; }
.web-app .web-header .ai-chat-launch {
  background: #eee7fa; color: #7542cf; border: 0; box-shadow: none;
  border-radius: 14px; min-height: 38px; padding: 8px 13px; font-weight: 600;
}
.web-app .web-sidebar { background: #eeeef2; border-color: #e6e6eb; border-radius: 20px; }
.web-app .web-sidebar__item.active { background: #fff; color: #7542cf; box-shadow: 0 1px 4px #18182b08; }
.web-app .web-title strong { color: #7542cf; }
.web-app .life-view-tabs {
  width: calc(100% - 40px); max-width: 440px; box-sizing: border-box;
  margin: 12px 20px 22px; padding: 4px; gap: 4px;
  background: #eaeaf0; border-radius: 16px;
}
.web-app .life-view-tabs button { min-height: 40px; color: #6e6e79; border-radius: 12px; font-size: 14px; font-weight: 600; }
.web-app .life-view-tabs button[aria-pressed=true] { background: #fff; color: #7542cf; box-shadow: 0 2px 5px #1616290a; }
.web-app .duo-calendar { background: transparent; border-radius: 0; padding: 0 20px 8px; }
.web-app .duo-heading h1, .web-app .habit-heading h1 { font-size: 32px; font-weight: 750; letter-spacing: -.025em; line-height: 1.2; color: #1d1d1f; margin: 0; }
.duo-date-subtitle { color: #6e6e79; font-size: 14px; line-height: 1.5; margin: 8px 0 0; }
.web-app .duo-heading > button { color: #303036; min-height: 44px; min-width: 44px; border-radius: 12px; }
.web-app .duo-period { margin: 18px 0 12px; font-size: 13px; color: #6e6e79; }
.web-app .duo-period button { min-height: 44px; border-radius: 10px; }
.web-app .duo-day { border-radius: 16px; min-height: 66px; gap: 5px; }
.web-app .duo-day > span { font-size: 13px; color: #6e6e79; }
.web-app .duo-day > strong { font-size: 19px; font-weight: 650; }
.web-app .duo-day.is-selected { background: #8250df; border-color: #8250df; color: #fff; }
.web-app .duo-day.is-selected > span, .web-app .duo-day.is-selected.is-muted > strong { color: #fff; }
.web-app .duo-day i.has-task { background: #8250df; width: 5px; height: 5px; }
.web-app .duo-day.is-selected i.has-task { background: #fff; }
.duo-week-viewport { overflow: hidden; touch-action: pan-y pinch-zoom; user-select: none; cursor: grab; border-radius: 16px; }
.duo-week-viewport:active { cursor: grabbing; }
.duo-week-rail { display: flex; width: 100%; transform: translateX(-100%); }
.duo-week-page { flex: 0 0 100%; min-width: 0; }
.web-app .duo-day.is-today:not(.is-selected) { border: 1px solid #8250df; }
.duo-date-jump { display: flex; align-items: center; justify-content: space-between; gap: 12px; color: #6e6e79; font-size: 13px; margin-bottom: 12px; }
.duo-date-jump input { min-height: 44px; border: 1px solid #e6e6eb; border-radius: 10px; padding: 6px 10px; background: #fff; color: #1d1d1f; min-width: 0; }
.web-app .duo-days--month .duo-day { min-height: 48px; border-radius: 12px; }
.web-app .duo-expand { color: #6e6e79; min-height: 36px; }
.web-app .duo-content { background: transparent; border-radius: 0; padding: 8px 20px 110px; min-height: 350px; }
.web-app .duo-tabs { background: #eaeaf0; border: 0; border-radius: 14px; box-shadow: none; padding: 4px; gap: 4px; margin-bottom: 12px; }
.web-app .duo-tabs > button { font-size: 15px; font-weight: 600; border-radius: 10px; min-height: 44px; color: #6e6e79; }
.web-app .duo-tabs > button.is-active { background: #fff; color: #7542cf; box-shadow: 0 1px 5px #1616290b; }
.web-app .duo-status-filters { gap: 8px; margin: 12px 0 20px; }
.web-app .duo-status-filters > button { min-height: 44px; color: #6e6e79; font-size: 13px; border-radius: 12px; padding: 8px 14px; }
.web-app .duo-status-filters > button[aria-pressed=true] { background: #fff; color: #7542cf; box-shadow: 0 1px 5px #16162908; }
.duo-list-heading { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin: 22px 0 12px; }
.duo-list-heading h2 { font-size: 17px; font-weight: 650; margin: 0; }
.duo-list-heading span { font-size: 12px; color: #6e6e79; }
.web-app .duo-task-list { gap: 10px; }
.web-app .duo-task {
  background: #fff; border: 1px solid #e6e6eb; border-radius: 18px;
  box-shadow: 0 2px 8px #1d1d2e03; padding: 16px; min-height: 90px;
  border-left: 4px solid color-mix(in srgb, var(--task-color), #6e6e79 25%);
}
.web-app .duo-task-main { gap: 5px; min-height: 52px; justify-content: center; }
.web-app .duo-task-main > strong { font-size: 17px; font-weight: 650; line-height: 1.5; color: #1d1d1f; }
.web-app .duo-task-main > span, .web-app .duo-task-main > small { font-size: 12px; color: #6e6e79; line-height: 1.5; }
.web-app .duo-task.is-done strong { color: #767680; font-weight: 550; }
.web-app .duo-check { width: 44px; height: 44px; border: 0; position: relative; isolation: isolate; }
.web-app .duo-check::before { content: ''; position: absolute; inset: 8px; border: 1.5px solid #c7c7d0; border-radius: 50%; z-index: -1; }
.web-app .duo-task.is-done .duo-check { background: transparent; color: white; }
.web-app .duo-task.is-done .duo-check::before { background: #8250df; border-color: #8250df; }
.web-app .duo-check svg { width: 18px; height: 18px; }
.web-app .duo-manage { text-decoration: none; color: #6e6e79; min-height: 44px; font-size: 13px; margin-top: 16px; }
.web-app .habit-page { padding: 0 20px 110px; }
.web-app .habit-heading { align-items: center; gap: 12px; }
.web-app .habit-heading p { font-size: 13px; color: #6e6e79; line-height: 1.6; margin: 8px 0 0; }
.web-app .habit-heading > button { min-height: 44px; background: #8250df; color: #fff; border-radius: 14px; padding: 10px 14px; font-size: 13px; font-weight: 600; }
.web-app .habit-toolbar { gap: 8px; margin: 22px 0 10px; }
.web-app .habit-toolbar label { font-size: 0; flex: 1; min-width: 130px; }
.web-app .habit-toolbar input { width: 100%; max-width: none; box-sizing: border-box; min-height: 44px; font-size: 14px; padding: 8px 10px; border: 1px solid #e6e6eb; border-radius: 12px; color: #303036; background: #fff; }
.web-app .habit-toolbar > button { min-height: 44px; font-size: 13px; font-weight: 550; border: 1px solid #e6e6eb; background: #fff; color: #7542cf; border-radius: 12px; padding: 10px 12px; }
.web-app .habit-grid { gap: 14px; margin-top: 14px; align-items: start; }
.web-app .habit-card { border: 1px solid #e6e6eb; border-radius: 18px; padding: 18px; background: #fff; box-shadow: 0 2px 8px #1d1d2e03; }
.web-app .habit-card-title { position: relative; padding-left: 54px; min-height: 48px; }
.habit-card-symbol { position: absolute; left: 0; top: 0; display: grid; place-items: center; width: 42px; height: 46px; background: #f0eafb; color: #8250df; border-radius: 12px; }
.habit-card-symbol svg { width: 24px; height: 24px; }
.web-app .habit-card-title small { font-size: 11px; color: #6e6e79; opacity: 1; }
.web-app .habit-card h2 { margin: 3px 0 14px; font-size: 18px; font-weight: 650; line-height: 1.5; }
.web-app .habit-progress { margin: 0; padding: 12px 0; border-top: 1px solid #efeff3; }
.web-app .habit-progress > div { font-size: 13px; gap: 8px; }
.web-app .habit-progress strong { font-weight: 600; }
.web-app .habit-last-time { color: #767680; font-size: 11px; margin-top: 4px; line-height: 1.6; }
.web-app .habit-actions { margin-top: 4px; gap: 8px; }
.web-app .habit-actions button { flex: 1; min-height: 44px; border-radius: 12px; background: #8250df; border: 0; color: #fff; font-size: 13px; font-weight: 600; padding: 10px 12px; }
.web-app .habit-actions button:disabled { background: #f0eafb; color: #7542cf; opacity: 1; }
.web-app .habit-last { color: #6e6e79; font-size: 11px; line-height: 1.6; gap: 8px; }
.web-app .habit-last button { min-height: 44px; background: #f5f5f7; border: 0; border-radius: 10px; color: #7542cf; }
.web-app .habit-progress progress { accent-color: #8250df; height: 8px; }
.web-app .ds-pill-btn--primary, .web-app .duo-floating-actions > .duo-fab { background: #8250df; color: #fff; border-color: #8250df; }
.web-app .ds-pill-btn { border-radius: 12px; min-height: 44px; font-weight: 600; }
.web-app .ds-pill-btn--secondary { background: #f0eafb; color: #7542cf; }
.web-app .ds-pill-btn--primary:hover { background: #7040ca; }
.web-app .duo-floating-actions > .duo-refresh-fab { background: #fff; color: #7542cf; border-color: #e6e6eb; }
.web-app .duo-floating-actions > button { box-shadow: 0 4px 12px #27203b14; }
.web-app .ds-modal:not(.life-bottom-sheet) { color: #1d1d1f; border: 1px solid #e6e6eb; border-radius: 22px; box-shadow: 0 20px 70px #20203026; }
.web-app .ds-modal__title { color: #1d1d1f; font-size: 21px; font-weight: 650; }
.web-app .ds-modal__close { background: #f0f0f4; color: #6e6e79; min-width: 44px; min-height: 44px; }
.web-app .ds-overlay { background: #16162138; backdrop-filter: blur(3px); }
.web-app :where(.duo-editor-group, .duo-notes, .duo-settings-card, .settings-app-card, .solo-idea-card, .solo-idea-composer) { background: #fff; border-color: #e6e6eb; border-radius: 18px; box-shadow: none; }
.web-app .duo-title-card { background: #f5f5f7; border-color: #e6e6eb; border-left: 4px solid var(--task-color); border-radius: 18px; }
.web-app :where(.duo-field > span, .duo-notes > span) { font-weight: 600; color: #303036; }
.web-app :where(.duo-field input, .duo-notes textarea) { background: #f5f5f7; color: #1d1d1f; border-radius: 10px; }
.web-app .task-completion-notice { background: #f0eafb; color: #6335ad; border-radius: 16px; }
.web-app .life-calendar { background: #fff; border-color: #e6e6eb; border-radius: 20px; }
.web-app .solo-page-head h1 { color: #1d1d1f; font-weight: 750; letter-spacing: -.025em; }
.web-app .wt-my .my-identity { background: #fff; border: 1px solid #e6e6eb; border-radius: 20px; }
.wentai-select-menu { border-color: #e6e6eb; border-radius: 14px; background: #fff; color: #1d1d1f; box-shadow: 0 12px 36px #20203020; }
.wentai-select-menu > button { color: #6e6e79; }
.wentai-select-menu > button.is-selected { background: #f0eafb; color: #7542cf; }
.wentai-select-menu > button.is-highlighted:not(.is-selected) { background: #f5f5f7; color: #303036; }
.web-app .solo-page-head, .web-app .duo-manager .solo-page-head, .web-app .solo-friends .solo-page-head, .web-app .solo-settings .solo-page-head { background: transparent; border-radius: 0; }
.web-app .solo-ideas .solo-page-head { padding: 16px 20px; }
.web-app .solo-ideas .solo-page-body { background: transparent; padding-top: 12px; }
.web-app .solo-ideas .duo-tabs { margin-bottom: 0; }
.web-app .solo-page-head p { color: #6e6e79; }
.web-app :where(.solo-idea-card, .solo-idea-composer) { color: #1d1d1f; }
.web-app .solo-idea-composer textarea { color: #1d1d1f; }
.web-app :where(.solo-idea-card time, .solo-idea-card small, .solo-composer-foot > span, .idea-result-count) { color: #6e6e79; }
.web-app .idea-heatmap { background: #fff; border-color: #e6e6eb; }
.web-app .idea-heatmap-toggle { color: #7542cf; }
.web-app .idea-heatmap-toggle small { color: #6e6e79; }
.web-app :where(.idea-tools input, .wentai-select-trigger) { background: #fff; border-color: #e6e6eb; color: #6e6e79; border-radius: 12px; min-height: 44px; }
.web-login { background: #f5f5f7; }
.web-login-card { background: #fff; border: 1px solid #e6e6eb; border-radius: 22px; box-shadow: 0 12px 40px #20203008; }
.web-login-card .ds-pill-btn--primary { background: #8250df; color: #fff; }
@media (max-width: 860px) {
  .web-app .duo-nav { background: rgba(250,250,252,.9); backdrop-filter: blur(22px) saturate(160%); border-top: 1px solid #fff; border-radius: 22px 22px 0 0; box-shadow: 0 -3px 18px #24243705; }
  .web-app .duo-nav > button { color: #6e6e79; font-weight: 550; }
  .web-app .duo-nav > button.is-active { color: #8250df; }
}
@media (min-width: 861px) {
  .web-app .duo-calendar, .web-app .habit-page { padding-left: 28px; padding-right: 28px; }
  .web-app .duo-content { padding: 12px 28px 100px; }
  .web-app .life-view-tabs { margin-left: 28px; }
  .web-app .habit-grid { grid-template-columns: repeat(2,minmax(0,1fr)); gap: 18px; }
}
@media (max-width: 360px) {
  .web-app .duo-calendar, .web-app .duo-content, .web-app .habit-page { padding-left: 16px; padding-right: 16px; }
  .web-app .habit-heading h1 { font-size: 29px; }
  .web-app .habit-heading > button { padding: 10px; }
  .web-app .habit-card { padding: 14px; }
}
@media (prefers-reduced-transparency: reduce), (prefers-contrast: more) {
  .web-app .web-main > .web-header, .web-app .duo-nav { background: #f5f5f7; backdrop-filter: none; }
}
@media (hover: hover) {
  .web-app :where(.duo-day:not(.is-selected), .duo-heading > button):hover { background: #eaeaf0; }
  .web-app .habit-actions button:not(:disabled):hover { background: #7040ca; }
}
@media (prefers-reduced-motion: no-preference) {
  .web-app :where(.life-view-tabs button, .duo-tabs > button, .habit-actions button, .duo-floating-actions > button) { transition: background-color .15s ease, color .15s ease, transform .12s ease; }
  .web-app :where(.life-view-tabs button, .duo-tabs > button, .habit-actions button, .duo-floating-actions > button):active { transform: scale(.97); }
}
