:root{color:#31445a;background:#fff7fb;--font-main: Baskerville, "Source Han Serif SC", "Noto Serif CJK SC", "思源宋体", "Source Han Serif CN", "Noto Serif SC", "Songti SC", "STSong", serif;font-family:var(--font-main);font-synthesis:none;text-rendering:optimizeLegibility;-webkit-font-smoothing:antialiased}*{box-sizing:border-box}body{margin:0;min-width:320px;min-height:100vh;background:linear-gradient(90deg,#ffe1ed8f 0,#ffe1ed8f 50%,#e0f3ff8f 50%,#e0f3ff8f);background-size:72px 72px}button,input,textarea,select{font:inherit}button{min-height:44px}a{color:inherit}.app-shell{min-height:100vh}.site-header{position:sticky;top:0;z-index:10;display:flex;align-items:center;justify-content:space-between;gap:16px;padding:14px clamp(18px,4vw,44px);background:#fffafdd1;-webkit-backdrop-filter:blur(16px);backdrop-filter:blur(16px);border-bottom:1px solid rgba(179,201,221,.34)}.brand-link{display:inline-flex;align-items:center;gap:12px;text-decoration:none}.brand-mark{display:grid;width:42px;height:42px;place-items:center;border-radius:14px;background:linear-gradient(135deg,#f6b9d1,#b9dcf4);color:#fff;font-weight:800;box-shadow:0 10px 24px #708aa92e}.brand-link strong{display:block}.logout-button{flex:0 0 auto;min-height:42px;padding:0 16px;border:0;border-radius:999px;background:#31445a;color:#fff;font-weight:800;cursor:pointer}.page{width:min(1120px,calc(100% - 32px));margin:0 auto;padding:32px 0 56px}.hero{display:grid;grid-template-columns:1fr auto;gap:24px;align-items:end;padding:clamp(26px,5vw,54px);border-radius:28px;background:#ffffffbd;box-shadow:0 20px 50px #647c9429}.home-hero{display:grid;gap:12px;justify-content:center;justify-items:center;min-height:120px}.home-tagline{margin-bottom:0;color:#64768a;font-size:.95rem;text-align:center}.quick-action-grid{display:grid;grid-template-columns:repeat(2,minmax(150px,1fr));gap:14px;width:min(100%,420px)}.eyebrow,.card-kicker{margin:0 0 8px;color:#7f91a7;font-size:.78rem;font-weight:800;letter-spacing:0;text-transform:uppercase}h1,h2,h3,p{margin-top:0}.hero h1,.page-heading h1{margin-bottom:14px;font-size:clamp(2rem,5vw,4.4rem);line-height:1.06}.hero-text,.page-heading p{max-width:680px;margin-bottom:0;color:#5b6c80;line-height:1.75}.review-button,.card-action,.quick-action-card{display:inline-flex;align-items:center;justify-content:center;min-height:48px;padding:0 22px;border-radius:999px;background:#31445a;color:#fff;font-weight:800;text-decoration:none;box-shadow:0 12px 24px #31445a2e}.quick-action-card{min-height:56px;color:#31445a;box-shadow:0 12px 24px #5f789124}.section-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:18px;margin-top:24px}.entry-card,.record-card,.form-shell,.review-panel,.empty-state{border:1px solid rgba(255,255,255,.72);box-shadow:0 16px 34px #5f789124}.entry-card{display:grid;place-items:center;min-height:230px;padding:24px;border-radius:24px;text-decoration:none;transition:transform .18s ease,box-shadow .18s ease}.entry-card:hover{transform:translateY(-4px);box-shadow:0 20px 40px #5f789133}.entry-card h2{min-height:0;margin-bottom:0;font-size:clamp(1.25rem,2.1vw,1.85rem);line-height:1.18;overflow-wrap:anywhere;text-align:center}.entry-card p{min-height:72px;color:#5b6c80;line-height:1.6}.pink{background:#ffe1edd1}.blue{background:#e0f3ffdb}.page-heading{margin-bottom:12px;padding:18px 0 4px}.text-link{display:inline-flex;align-items:center;min-height:44px;margin-bottom:14px;color:#4f7fa9;font-weight:800;text-decoration:none}.circle-back-link,.circle-nav-button{display:inline-grid;width:44px;height:44px;min-height:44px;place-items:center;border:0;border-radius:999px;background:#ffffffd1;color:#31445a;font-size:1.35rem;font-weight:900;line-height:1;text-decoration:none;box-shadow:0 10px 22px #5f789124;cursor:pointer}.form-shell,.review-panel,.empty-state{padding:24px;border-radius:24px;background:#ffffffc2}.field-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:14px}.field-preview span{display:block;margin-bottom:8px;color:#55687e;font-weight:800}.field-preview input,.record-form input,.record-form textarea,.record-form select{width:100%;min-height:48px;padding:0 14px;border:1px solid #d8e5ef;border-radius:14px;background:#f7fbff;color:#31445a}.record-form select{-webkit-appearance:none;-moz-appearance:none;appearance:none;background:linear-gradient(45deg,transparent 50%,#6b83a0 50%) calc(100% - 18px) 20px / 7px 7px no-repeat,linear-gradient(135deg,#6b83a0 50%,transparent 50%) calc(100% - 12px) 20px / 7px 7px no-repeat,#f7fbff}.record-form input[type=file]{padding:12px;cursor:pointer}.record-form,.form-field-group{display:grid;gap:16px}.form-note{max-width:760px;color:#64768a;line-height:1.7}.record-form label span{display:block;margin-bottom:8px;color:#55687e;font-weight:800}.checklist-field>span{display:block;margin-bottom:8px;color:#55687e;font-weight:800}.record-calendar{display:grid;grid-template-columns:repeat(7,minmax(0,1fr));gap:8px}.calendar-weekday{color:#6b83a0;font-size:.9rem;font-weight:800;text-align:center}.calendar-day{display:grid;gap:6px;align-content:start;min-height:92px;padding:10px;border:1px solid rgba(216,229,239,.95);border-radius:16px;background:#ffffff9e;color:#31445a;text-align:left;cursor:pointer}.calendar-day.has-record{background:#ffe1ede6;box-shadow:0 10px 22px #5f78911f}.calendar-day strong{font-size:1rem}.calendar-day span{color:#53677c;font-size:.78rem;line-height:1.35;overflow-wrap:anywhere}.blank-day{visibility:hidden;cursor:default}.record-form textarea{min-height:136px;padding:14px;line-height:1.7;resize:vertical}.form-message{margin:0;padding:12px 14px;border-radius:14px;background:#e0f3ffdb;color:#3d617f;font-weight:800}.error-message{background:#ffebf1e6;color:#9a405a}.form-actions{display:flex;flex-wrap:wrap;gap:12px}.primary-button,.secondary-button{min-height:48px;padding:0 18px;border:0;border-radius:999px;font-weight:800;cursor:pointer}.primary-button{background:#31445a;color:#fff}.secondary-button{background:#ffe1ede6;color:#31445a}.image-grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(140px,1fr));gap:12px}.record-images{margin:14px 0 16px}.image-preview{display:grid;gap:8px;margin:0}.image-preview img{width:100%;aspect-ratio:1;object-fit:cover;border-radius:16px;border:1px solid rgba(255,255,255,.82);box-shadow:0 10px 22px #5f789124}.image-preview button{border:0;border-radius:999px;background:#ffffffc7;color:#50647b;font-weight:800;cursor:pointer}.records-list{display:grid;gap:14px;margin-top:24px}.list-heading{display:flex;align-items:center;justify-content:space-between;gap:16px}.list-heading h2{margin-bottom:0}.list-heading span{color:#75869a}.record-card{padding:20px;border-radius:20px}.record-card time,.timeline-item time{color:#6b83a0;font-weight:800}.record-card h3{margin:8px 0}.record-card p,.timeline-item p{color:#53677c;line-height:1.65}.record-detail-list{display:grid;gap:8px}.record-detail-list p{margin-bottom:0;white-space:pre-wrap}.record-detail-list strong{color:#31445a}.record-actions{display:flex;gap:10px}.record-actions button,.tabs button{border:0;border-radius:999px;background:#ffffffb8;color:#50647b;font-weight:800}.record-actions button{padding:0 16px}.tabs{display:flex;gap:10px;margin-bottom:18px;overflow-x:auto;padding-bottom:4px}.tabs button{flex:0 0 auto;padding:0 18px;cursor:pointer}.tabs button.active{background:#31445a;color:#fff}.review-panel h2{margin-bottom:18px}.chart-box{width:100%;min-height:280px}.timeline{display:grid;gap:14px}.metric{display:inline-flex;width:fit-content;margin-bottom:4px;padding:10px 14px;border-radius:999px;background:#e0f3ffe6;font-weight:800}.metric-grid{display:flex;flex-wrap:wrap;gap:10px}.compact-empty{padding:18px}.compact-empty h3{margin-bottom:8px}.compact-empty p{margin-bottom:0;color:#53677c;line-height:1.65}.timeline-item{display:grid;gap:8px;padding:18px;border-left:5px solid #f3a8c5;border-radius:16px;background:#fff7fbe6}.current-plan-panel{display:grid;gap:14px;margin-bottom:18px}.compact-card-action{width:fit-content;min-height:42px;padding-inline:16px;box-shadow:none}.plan-card-list,.plan-task-editor{display:grid;gap:14px}.plan-summary-card{display:grid;gap:14px;padding:18px;border:1px solid rgba(216,229,239,.95);border-radius:16px;background:#e0f3ffdb}.plan-summary-card time{color:#6b83a0;font-weight:800}.plan-summary-card h3{margin:8px 0}.plan-summary-card p{margin-bottom:0;color:#53677c;line-height:1.65;white-space:pre-wrap}.plan-task-table{display:grid;gap:8px;overflow-x:auto}.plan-task-row{display:grid;grid-template-columns:minmax(180px,1.6fr) minmax(130px,1fr) minmax(120px,.9fr) minmax(130px,1fr) minmax(72px,auto);gap:8px;align-items:center;min-width:680px}.compact-plan-task-table .plan-task-row{grid-template-columns:minmax(160px,1.4fr) minmax(110px,.8fr) minmax(110px,.8fr);min-width:420px}.record-plan-task-table .plan-task-row{grid-template-columns:minmax(150px,1.4fr) minmax(110px,.8fr) minmax(100px,.8fr) minmax(120px,.9fr);min-width:500px}.plan-task-head{color:#6b83a0;font-weight:800}.plan-task-row span,.plan-task-row input,.plan-task-row button{min-height:42px}.plan-task-row span{display:grid;align-items:center;padding:9px 10px;border-radius:12px;background:#ffffffa8;color:#53677c;line-height:1.45;overflow-wrap:anywhere}.plan-task-link{display:grid;min-height:42px;align-items:center;padding:9px 10px;border-radius:12px;background:#ffffffb8;color:#31445a;font-weight:800;line-height:1.45;text-decoration:none;overflow-wrap:anywhere}.plan-task-link:hover{color:#4f7fa9}.plan-task-row input{width:100%;padding-inline:10px;border:1px solid #d8e5ef;border-radius:12px;background:#f7fbff;color:#31445a}.plan-task-row button{border:0;border-radius:999px;background:#ffe1ede6;color:#31445a;font-weight:800;cursor:pointer}.review-plan-list{display:grid;gap:14px}.pagination-actions{display:flex;flex-wrap:wrap;gap:10px}.pagination-actions button:disabled{opacity:.46;cursor:not-allowed}.subsection-title{margin-bottom:14px}.work-week-timeline{display:grid;grid-template-columns:repeat(7,minmax(0,1fr));gap:10px;margin-bottom:22px}.work-week-item{display:grid;gap:8px;min-height:140px;padding:14px;border:1px solid rgba(216,229,239,.95);border-radius:16px;background:#ffffffb8}.work-week-item.has-record{background:#e0f3ffe6}.work-week-item span,.work-week-item time{color:#6b83a0;font-weight:800}.work-week-item strong{line-height:1.45;overflow-wrap:anywhere}.week-item-meta{margin-bottom:0;color:#6b83a0;font-size:.82rem;font-weight:800;line-height:1.45}.fitness-calendar .calendar-day.has-record{background:#e0f3ffe6}.fitness-detail{border-left-color:#6da8d8}.calendar-toolbar{display:flex;align-items:center;justify-content:space-between;gap:12px;margin-bottom:14px}.calendar-toolbar h3{margin-bottom:0;text-align:center}.work-calendar{touch-action:pan-y}.selected-work-detail{margin-top:6px}.section-back-row{display:flex;margin:18px 0 12px}.auth-page{display:grid;min-height:100vh;place-items:center;padding:24px}.auth-panel{display:grid;width:min(100%,440px);gap:20px;padding:28px;border:1px solid rgba(255,255,255,.72);border-radius:24px;background:#ffffffd1;box-shadow:0 20px 50px #647c9429}.compact-auth-panel{justify-items:center}.auth-brand{display:flex;align-items:center;gap:14px}.auth-brand h1{margin-bottom:0;font-size:1.8rem;line-height:1.2}.auth-tabs{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:8px;padding:6px;border-radius:999px;background:#e0f3ffa3}.auth-tabs button{border:0;border-radius:999px;background:transparent;color:#53677c;font-weight:800;cursor:pointer}.auth-tabs button.active{background:#fff;color:#31445a;box-shadow:0 8px 18px #5f78911f}.auth-form{display:grid;gap:14px}.auth-form label span{display:block;margin-bottom:8px;color:#55687e;font-weight:800}.auth-form input{width:100%;min-height:48px;padding:0 14px;border:1px solid #d8e5ef;border-radius:14px;background:#f7fbff;color:#31445a}.auth-submit{width:100%}@media(max-width:920px){.section-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.work-week-timeline{grid-template-columns:repeat(3,minmax(0,1fr))}.hero{grid-template-columns:1fr}.review-button{width:fit-content}}@media(max-width:620px){.page{width:min(100% - 24px,1120px);padding-top:20px}.site-header{padding-inline:12px}.hero{padding:24px;border-radius:22px}.section-grid,.field-grid,.work-week-timeline{grid-template-columns:1fr}.record-calendar{gap:5px}.calendar-day{min-height:78px;padding:8px}.entry-card{min-height:auto}.entry-card h2,.entry-card p{min-height:0}.list-heading{align-items:flex-start;flex-direction:column;gap:6px}}
