:root{--bg:#f7f8fb;--paper:#fff;--ink:#232939;--muted:#7d8698;--line:#e9ebf2;--purple:#6762c9;--pale-purple:#f0edfc;--blue:#4a86bb;--pale-blue:#e9f3fa;--orange:#df9b51;--pale-orange:#fdf2e6;--shadow:0 14px 55px rgba(34,43,78,.035);--radius:19px;color-scheme:light}
*{box-sizing:border-box}html{scroll-behavior:smooth}body{margin:0;background:var(--bg);color:var(--ink);font-family:-apple-system,BlinkMacSystemFont,"SF Pro Display","PingFang SC","Microsoft YaHei",sans-serif;font-size:14px;-webkit-font-smoothing:antialiased}button,textarea,input,select{font:inherit}button{cursor:pointer}button:disabled{opacity:.5;cursor:not-allowed}button:focus-visible,input:focus-visible,textarea:focus-visible,select:focus-visible{outline:3px solid #b6b7ee;outline-offset:2px}h1,h2,h3,p{margin-top:0}h1{letter-spacing:-.045em}h2,h3{letter-spacing:-.02em}.app-shell{max-width:1500px;margin:auto;min-height:100vh}.topbar{height:83px;background:rgba(255,255,255,.92);display:flex;align-items:center;justify-content:space-between;padding:0 49px;border-bottom:1px solid var(--line)}.brand{display:flex;align-items:center;gap:13px;font-size:23px;font-weight:780;letter-spacing:-.04em;cursor:pointer}.brand small{display:block;font-size:9px;letter-spacing:.21em;color:#969daf;font-weight:760;margin-top:1px}.brand-symbol{height:35px;width:35px;border-radius:12px;display:flex;align-items:flex-end;justify-content:center;gap:3px;background:#706ed2;padding-bottom:9px;transform:rotate(-6deg)}.brand-symbol i{background:#fff;width:5px;border-radius:5px}.brand-symbol i:nth-child(1){height:9px;opacity:.6}.brand-symbol i:nth-child(2){height:15px;opacity:.8}.brand-symbol i:nth-child(3){height:21px}.top-actions{display:flex;align-items:center;gap:18px}.local-badge{background:#f4f7f6;border-radius:30px;color:#6a8c7c;font-size:11px;padding:8px 14px}.online-dot{display:inline-block;width:6px;height:6px;background:#81b9a2;border-radius:50%;margin-right:5px}.icon-btn{border:1px solid var(--line);background:#fff;color:#727d97;height:36px;width:36px;border-radius:10px;font-size:20px}.app-layout{display:grid;grid-template-columns:248px minmax(0,1fr)}.sidenav{padding:36px 18px 40px 25px;border-right:1px solid var(--line);display:flex;flex-direction:column;min-height:calc(100vh - 83px)}.nav-eyebrow,.eyebrow,.review-label{letter-spacing:.16em;font-size:10px;font-weight:750;color:#9ca4b5}.nav-eyebrow{margin:0 0 19px 18px}.nav-item{background:transparent;border:0;display:flex;align-items:center;gap:15px;text-align:left;padding:14px 17px;margin:4px 0;border-radius:12px;font-size:14px;font-weight:600;color:#7a8292}.nav-item:hover,.nav-item.active{background:#eceafb;color:#5f5cc8}.nav-icon{font-size:21px;width:25px;text-align:center;font-weight:450}.nav-spacer{flex:1}.sidebar-tip{padding:23px 18px;background:#f0f2f9;border-radius:16px;color:#9098a9;line-height:1.85;font-size:11px}.tip-stars{color:#9690ce;font-size:21px;letter-spacing:6px;display:block;margin-bottom:12px}.main-content{padding:46px clamp(26px,5%,72px) 25px;min-width:0}.view{display:none;animation:in .2s ease-out}.view.is-active{display:block}@keyframes in{from{opacity:.5;transform:translateY(4px)}to{opacity:1;transform:none}}.page-kicker{color:#8e95a9;letter-spacing:.16em;font-size:11px;font-weight:760;margin-bottom:18px}.welcome{display:flex;align-items:center;justify-content:space-between;margin-bottom:29px}.welcome h1,.page-heading h1{font-size:clamp(29px,3.2vw,39px);font-weight:740;margin-bottom:8px}.welcome p,.page-heading p{color:#9299a8;font-size:14px;margin-bottom:0}.welcome-ornament{color:#dedaf6;font-size:50px;transform:rotate(20deg)}.hero-card{position:relative;background:linear-gradient(110deg,#7472c7,#9d94d7);border-radius:22px;min-height:263px;padding:38px 43px;overflow:hidden;color:white;box-shadow:0 17px 32px rgba(105,100,192,.11)}.hero-content{position:relative;z-index:2}.hero-card .eyebrow{color:#e4e1ff}.hero-card h2{font-size:25px;line-height:1.48;font-weight:650;margin:17px 0 8px;letter-spacing:-.02em}.hero-card p{color:#eeebff;font-size:12px;opacity:.83;margin-bottom:21px}.hero-btn{border:0;background:#fff;color:#615fb9;border-radius:9px;padding:11px 15px;font-size:12px;font-weight:700}.hero-btn span{margin-left:15px}.hero-art{position:absolute;right:0;top:0;bottom:0;width:48%;opacity:.85}.orbit{position:absolute;border:1px solid rgba(255,255,255,.31);border-radius:50%}.orbit-one{height:365px;width:365px;right:17px;top:-85px}.orbit-two{height:230px;width:230px;right:84px;top:-16px}.hero-sun{position:absolute;width:97px;height:97px;right:155px;top:60px;border-radius:100%;background:radial-gradient(circle at 35% 35%,#e1d7ff,#c3b4f2);box-shadow:0 0 45px #c5b9f578}.hero-hill{position:absolute;border-radius:50% 50% 0 0;transform:rotate(-15deg);width:460px;height:210px;bottom:-150px;right:-110px;background:#a8a0de}.hero-hill.two{background:#bbb2e7;right:95px;bottom:-175px}.section-row{display:flex;justify-content:space-between;align-items:center;gap:10px;margin:28px 0 16px}.section-row h2{margin:0}.section-title{font-size:17px;font-weight:730}.muted-caption,.caption{font-size:11px;color:#9aa1ae}.stats-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:15px}.stat-card,.content-card{background:var(--paper);border:1px solid var(--line);border-radius:var(--radius);box-shadow:var(--shadow)}.stat-card{padding:21px 22px 17px;min-height:158px}.stat-top{display:flex;align-items:center;gap:10px;font-size:12px;font-weight:660;color:#4b5364}.stat-ico{display:flex;justify-content:center;align-items:center;width:32px;height:32px;font-size:20px;border-radius:10px}.stat-purple{color:var(--purple);background:var(--pale-purple)}.stat-blue{color:var(--blue);background:var(--pale-blue)}.stat-orange{color:var(--orange);background:var(--pale-orange)}.stat-value{margin:21px 0 7px;display:flex;align-items:baseline;gap:7px}.stat-value strong{font-size:30px;line-height:1;font-weight:750}.stat-value small{font-size:11px;color:#929aaa}.stat-foot{font-size:11px;color:#adb2bf}.section-below{margin-top:37px}.action-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:15px}.action-card{background:white;border:1px solid var(--line);border-radius:16px;padding:20px 14px;text-align:left;display:flex;align-items:center;gap:10px;min-width:0;transition:transform .15s,border-color .15s}.action-card:hover{transform:translateY(-2px);border-color:#d1ccf6}.action-circle{width:35px;height:35px;border-radius:10px;display:grid;place-items:center;flex-shrink:0;font-size:18px}.ac-purple{color:#6a64c9;background:#f1eefe}.ac-blue{color:#4589bd;background:#edf5fc}.ac-orange{color:#df9556;background:#fff4e9}.action-card span:nth-child(2){min-width:0;flex:1}.action-card strong{display:block;font-size:12px;color:#364056;white-space:normal;margin-bottom:5px}.action-card small{display:block;font-size:10px;color:#a5acb9;line-height:1.5}.action-arrow{font-size:15px;color:#a9abbe;align-self:flex-start}.review-panel{margin-top:28px;padding:24px 27px;background:#eff0f9;border-radius:18px;display:flex;justify-content:space-between;align-items:center;gap:20px}.review-label{color:#9a95bf}.review-panel h3{font-size:15px;margin:9px 0 7px}.review-panel p{color:#9199ad;font-size:11px;line-height:1.6;margin:0}.btn{padding:11px 15px;border:0;border-radius:10px;font-size:12px;font-weight:660;white-space:normal;transition:transform .15s,filter .15s}.btn:hover{filter:brightness(.98);transform:translateY(-1px)}.btn-primary{background:#6c68c9;color:white}.btn-dark{background:#4e506e;color:white}.btn-light{background:#f2f3f8;color:#737b91}.btn-outline{background:white;border:1px solid #dcdff0;color:#6e70a8}.btn-full{width:100%;display:flex;align-items:center;justify-content:center;gap:14px;margin-top:24px;font-size:13px;padding:14px}.footer{display:flex;justify-content:space-between;align-items:center;gap:10px;margin-top:46px;border-top:1px solid var(--line);padding-top:22px;color:#adb1bc;font-size:10px}.text-btn{border:0;background:none;color:#8188a0;font-size:11px;padding:7px 10px}.text-btn:hover{text-decoration:underline}.mobile-nav{display:none}
/* secondary screens */
.page-heading{display:flex;justify-content:space-between;align-items:center;margin-bottom:30px}.page-emoji{height:51px;width:51px;border-radius:16px;display:grid;place-items:center;font-size:26px}.page-emoji.purple{background:#f0edfc;color:#7670c5}.page-emoji.blue{background:#eaf4fc;color:#4a86bb}.page-emoji.orange{background:#fdf2e6;color:#dba057}.two-column{display:grid;grid-template-columns:1fr 1fr;gap:20px;align-items:start}.content-card{padding:26px}.card-head{display:flex;justify-content:space-between;align-items:center;margin-bottom:24px;gap:12px}.card-head h3{font-size:15px;margin:0}.pill{font-size:10px;font-weight:730;display:inline-flex;border-radius:30px;padding:8px 12px}.purple-pill{background:#f2efff;color:#7570c6}.blue-pill{background:#eaf5ff;color:#4688bc}.orange-pill{background:#fef3e8;color:#d28e4e}.light-tag{color:#a1a6b9;background:#f5f6f9;padding:8px 10px;border-radius:20px;font-size:10px}.field-label{font-size:12px;font-weight:680;color:#51596b;display:block;margin:19px 0 10px}.input{width:100%;border:1px solid #e3e6ee;border-radius:10px;background:#fff;color:#333c4f;min-height:43px;padding:10px 12px;outline:none}.input::placeholder{color:#b2b8c5}.input:focus{border-color:#a5a0e9}.textarea{line-height:1.7;resize:vertical;min-height:auto}.template-box{margin-top:24px;background:#f8f7ff;border:1px solid #efecfb;padding:21px;border-radius:13px}.template-top{display:flex;justify-content:space-between;font-size:12px;font-weight:700;margin-bottom:12px;color:#6963bb}.template-top span{font-size:9px;letter-spacing:.12em;color:#aaa8cc}.sentence{border-top:1px solid #e9e6f8;padding:13px 0 4px;display:flex;gap:13px;font-size:12px;color:#596078}.sentence>span{font-size:10px;font-weight:750;color:#aaa4e1}.timer-wrap{text-align:center;padding:25px 0 8px}.timer{font-size:54px;letter-spacing:.03em;font-weight:700;font-variant-numeric:tabular-nums}.timer-caption{font-size:11px;color:#9da5b3;display:block;margin:4px 0 22px}.timer-actions{display:flex;justify-content:center;gap:10px}.record-box{margin-top:20px;background:#f8f9fc;padding:16px;border-radius:12px}.record-box strong{font-size:11px;display:block;margin-bottom:5px}.record-box small{font-size:10px;display:block;color:#9ca3b1;line-height:1.65}.record-controls{display:flex;gap:10px;align-items:center;margin-top:12px}.record-controls .btn{padding:8px 12px}.record-box audio{width:100%;height:34px;margin-top:14px}.reflection-card .field-label:first-of-type{margin-top:0}.value-label{float:right;color:#6c67bf}input[type=range]{display:block;width:100%;accent-color:#726dcb}.range-label{display:flex;justify-content:space-between;font-size:10px;color:#adb3bd;margin-top:4px}.privacy-note,.bottom-disclaimer{font-size:10px;line-height:1.7;color:#a7adb9;margin-top:15px}.history-list{display:grid;gap:11px}.history-row{display:flex;gap:13px;align-items:flex-start;justify-content:space-between;background:#fff;border:1px solid var(--line);padding:18px 19px;border-radius:14px}.history-row h4{font-size:12px;margin:0 0 6px;line-height:1.6}.history-row p{font-size:11px;line-height:1.7;color:#929aa8;margin:0;white-space:pre-line;overflow-wrap:anywhere}.history-meta{font-size:10px;color:#abb1bd;margin-top:9px;line-height:1.5}.history-date{font-size:10px;color:#aab0bd;white-space:nowrap}.delete-btn{margin:0 0 0 10px;color:#b5b8c4;background:none;border:0;font-size:14px}.delete-btn:hover{color:#db7777}.empty-state{border:1px dashed #dedfeb;border-radius:14px;background:#ffffff9a;padding:31px;text-align:center;color:#a0a5b4;font-size:12px;line-height:2}.learning-header{display:grid;grid-template-columns:repeat(3,1fr);margin-bottom:19px;gap:14px}.learning-header>div{background:#fff;border:1px solid var(--line);border-radius:14px;display:flex;gap:10px;align-items:center;padding:18px}.learning-header strong{font-size:25px}.learning-header span{font-size:11px;color:#a6adba}.flash-card{max-width:850px;margin:auto;min-height:330px;padding:31px}.flash-top{display:flex;align-items:center;justify-content:space-between;margin-bottom:28px}.flash-label{font-size:10px;font-weight:740;letter-spacing:.08em;color:#919aaa}.flash-card h2{font-size:clamp(20px,2.6vw,26px);line-height:1.6;margin:10px 0 20px;min-height:52px}.own-answer{margin-bottom:17px}.flash-answer{font-size:13px;line-height:1.9;color:#525d70;white-space:pre-line}.divider{border-top:1px solid var(--line);margin:25px 0}.rating-row{display:flex;gap:12px;margin-top:20px;flex-wrap:wrap}.add-card{max-width:850px;margin:17px auto 0;padding:20px 25px}.add-card .section-row{margin:0}.add-card h3{font-size:13px;margin:0 0 6px}.add-card #new-card-form{padding-top:10px}.add-card .btn[type=submit]{margin-top:14px}.diary-grid{display:grid;grid-template-columns:1.2fr .8fr;gap:20px;align-items:start}.diary-form .field-label:first-of-type{margin-top:0}.diary-side{min-height:330px}.tag-selector{display:flex;gap:7px;flex-wrap:wrap}.tag-opt{border:1px solid #edf0f4;background:#f9fafc;color:#9ca2b2;border-radius:30px;padding:8px 13px;font-size:11px}.tag-opt.selected{background:#fff1df;color:#be8b52;border-color:#f6dfc1}.calendar-grid{display:grid;grid-template-columns:repeat(7,minmax(0,1fr));gap:8px}.cal-day{height:40px;border-radius:9px;background:#f2f3f7;color:#a4acb8;display:flex;align-items:center;justify-content:center;font-size:11px;flex-direction:column;gap:1px}.cal-day.has-entry{background:#fae9d4;color:#b98041;font-weight:750}.cal-day.today{outline:2px solid #dfc8a1;outline-offset:1px}.cal-day small{font-size:6px}.diary-note{display:flex;gap:13px;background:#fff8f0;border-radius:12px;margin-top:30px;padding:17px}.diary-note span{font-size:37px;color:#e9b67f;line-height:1}.diary-note p{font-size:11px;color:#ad936e;line-height:1.9;margin:0}.modal-overlay[hidden],.view[hidden],form[hidden],[hidden]{display:none!important}.modal-overlay{position:fixed;z-index:50;inset:0;background:#1f244e80;display:grid;place-items:center;padding:16px}.modal{width:min(100%,570px);background:white;padding:25px;border-radius:19px;box-shadow:0 35px 90px #20245033}.modal .section-row{margin:0 0 10px}.modal h2{font-size:17px}.modal .textarea{margin:20px 0 15px;background:#f9fafc;font-size:12px;max-height:55vh}.modal-actions{display:flex;justify-content:flex-end;gap:10px}.toast{position:fixed;bottom:30px;left:50%;transform:translate(-50%,12px);opacity:0;pointer-events:none;z-index:99;background:#353b57;color:white;font-size:12px;padding:12px 18px;border-radius:12px;box-shadow:0 13px 35px #353b5730;transition:opacity .2s,transform .2s;text-align:center;max-width:90%;line-height:1.6}.toast.show{opacity:1;transform:translate(-50%,0)}
@media(max-width:1180px){.app-layout{grid-template-columns:190px minmax(0,1fr)}.sidenav{padding:30px 12px}.main-content{padding:37px 27px}.action-grid{grid-template-columns:1fr}.action-card{padding:16px}.hero-card{padding:34px}.stats-grid{gap:9px}.stat-card{padding:18px}.two-column{gap:12px}.content-card{padding:21px}}
@media(max-width:760px){body{background:#f8f9fc}.topbar{height:69px;padding:0 20px}.brand{font-size:20px}.brand-symbol{width:32px;height:32px}.local-badge{font-size:10px}.sidenav{display:none}.app-layout{display:block}.main-content{padding:27px 17px 97px}.welcome{margin-bottom:21px}.welcome h1,.page-heading h1{font-size:30px}.welcome p,.page-heading p{line-height:1.7;font-size:12px}.welcome-ornament{display:none}.hero-card{padding:28px 25px;min-height:252px}.hero-card h2{font-size:24px}.hero-art{width:55%;opacity:.5}.hero-sun{right:58px}.stats-grid{gap:9px}.stat-card{padding:14px 11px;min-height:130px;border-radius:15px}.stat-top{gap:6px;font-size:10px}.stat-ico{height:27px;width:27px;font-size:16px}.stat-value{margin:19px 0 7px;display:block}.stat-value strong{font-size:25px}.stat-value small{font-size:9px;margin-left:4px}.stat-foot{display:none}.section-title{font-size:16px}.muted-caption{font-size:10px;max-width:45%;text-align:right}.action-grid{gap:10px}.action-card{padding:15px 17px}.action-card strong{font-size:12px}.review-panel{display:block;padding:23px}.review-panel .btn{margin-top:16px}.mobile-nav{z-index:30;position:fixed;bottom:0;left:0;right:0;display:grid;grid-template-columns:repeat(4,1fr);background:#fffffff5;border-top:1px solid var(--line);padding:10px 7px calc(9px + env(safe-area-inset-bottom));box-shadow:0 -10px 30px #2e367a0a}.mobile-tab{background:transparent;border:0;display:flex;align-items:center;flex-direction:column;gap:3px;color:#a1a6b5;font-size:10px;padding:4px 3px}.mobile-tab span{font-size:23px;line-height:1.1}.mobile-tab.active{color:#6962c9;font-weight:750}.footer{display:block;line-height:2;margin-top:31px}.footer div{margin-top:4px}.two-column,.diary-grid{grid-template-columns:1fr}.page-heading{margin-bottom:20px}.page-emoji{width:42px;height:42px;flex-shrink:0}.content-card{padding:19px}.learning-header{gap:8px}.learning-header>div{padding:15px 10px;display:block}.learning-header strong{font-size:24px;display:block;margin-bottom:5px}.learning-header span{font-size:10px}.flash-card{padding:22px}.flash-card h2{font-size:22px;min-height:0}.diary-side{min-height:0}.modal{padding:19px}.toast{bottom:calc(83px + env(safe-area-inset-bottom))}}
@media(prefers-reduced-motion:reduce){*,*:before,*:after{animation:none!important;transition:none!important;scroll-behavior:auto!important}}
#startup-status{margin:0;padding:8px 20px;background:#eeedf8;font-size:12px;color:#615a80;text-align:center}
.feature-actions{display:flex;flex-wrap:wrap;gap:8px;margin:12px 0}.feature-actions .btn{font-size:13px;padding:10px 12px}.report-text{white-space:pre-wrap;overflow-wrap:anywhere;font:inherit;font-size:13px;line-height:1.8;background:#f7f8fc;padding:12px;border-radius:12px;max-height:350px;overflow:auto}.settings-modal{max-height:88dvh;overflow-y:auto;width:min(680px,94vw)}.settings-modal hr{border:0;border-top:1px solid #e7e7ef;margin:20px 0}.settings-modal article{padding:12px 0;border-bottom:1px solid #eee}.privacy-note input[type=checkbox]{width:auto;margin-right:6px}.record-box{display:block}.record-box audio{width:100%;margin-top:10px}.record-controls{flex-wrap:wrap;gap:8px}.top-actions{flex-wrap:wrap}.app-layout[inert]{opacity:.45}#audio-metrics{line-height:1.8;font-size:13px}#conclusion-list p{white-space:pre-wrap;overflow-wrap:anywhere}
@media(max-width:500px){.top-actions .local-badge{display:none}.feature-actions .btn{flex:1 1 130px}.settings-modal{padding:20px}#startup-status{padding-top:max(8px,env(safe-area-inset-top))}}
