:root {
  --ink: #24342f; --muted: #75847d; --line: #dce5de; --paper: #f6f8f3; --card: rgba(255,255,255,.76);
  --deep: #294e46; --accent: #cf7757; --soft: #e6efe7; --shadow: 0 20px 60px rgba(35, 62, 51, .08);
  --shadow-sm: 0 8px 24px rgba(35, 62, 51, .07); --ring: color-mix(in srgb, var(--accent) 40%, transparent); --ease: cubic-bezier(.22,.61,.36,1);
  font-family: Inter, "PingFang SC", "Microsoft YaHei", sans-serif; color: var(--ink); background: var(--paper);
}
* { box-sizing: border-box; } html { scroll-behavior: smooth; } body { margin: 0; min-width: 320px; background: var(--paper); -webkit-font-smoothing: antialiased; -moz-osx-font-smoothing: grayscale; text-rendering: optimizeLegibility; transition: background .35s var(--ease), color .35s var(--ease); } ::selection { background: color-mix(in srgb, var(--accent) 26%, transparent); } :focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; } ::-webkit-scrollbar { width: 11px; height: 11px; } ::-webkit-scrollbar-thumb { background: color-mix(in srgb, var(--muted) 38%, transparent); border-radius: 99px; border: 3px solid transparent; background-clip: content-box; } ::-webkit-scrollbar-thumb:hover { background: color-mix(in srgb, var(--muted) 58%, transparent); background-clip: content-box; }
body.dark { --ink:#e7eee8; --muted:#a2b1a9; --line:#324640; --paper:#16211e; --card:rgba(29,46,41,.78); --deep:#b7d5c0; --accent:#e48b6c; --soft:#243b34; --shadow:0 20px 60px rgba(0,0,0,.22); }
a { color: inherit; text-decoration: none; } button, input, textarea, select { font: inherit; } button { cursor: pointer; }
.app-shell { display: flex; min-height: 100vh; }
.sidebar { position: fixed; inset: 0 auto 0 0; width: 246px; padding: 34px 20px 22px; background: color-mix(in srgb, var(--paper) 88%, transparent); border-right: 1px solid var(--line); display:flex; flex-direction:column; z-index: 5; }
.brand { display:flex; align-items:center; gap:11px; padding: 0 11px; margin-bottom: 52px; } .brand-mark { display:grid; place-items:center; width:34px; height:34px; border-radius: 12px 12px 12px 3px; color:#fff; background: var(--deep); font-family: Georgia, serif; font-size:20px; } .brand strong { display:block; font-family: Georgia, serif; font-size: 19px; letter-spacing:.03em; } .brand small { display:block; color:var(--muted); font-size:10px; letter-spacing:.08em; margin-top:4px; }
.sidebar-label { margin: 0 12px 10px; color: var(--muted); font-size: 10px; font-weight:700; letter-spacing:.2em; text-transform:uppercase; } .main-nav { margin-bottom: 30px; } .main-nav a { position:relative; display:flex; align-items:center; gap:12px; padding: 11px 12px; border-radius: 10px; color:var(--muted); font-size:14px; transition:.2s; } .main-nav a:hover { color:var(--ink); background:var(--soft); } .main-nav a:focus-visible { outline: 2px solid var(--accent); outline-offset: 1px; } .main-nav a.active { color:var(--deep); background:color-mix(in srgb, var(--deep) 13%, var(--soft)); font-weight:700; box-shadow: inset 0 0 0 1px color-mix(in srgb, var(--deep) 15%, transparent); } .main-nav a.active::before { content:""; position:absolute; left:-20px; width:3px; height:20px; border-radius:3px; background:var(--accent); } .nav-icon { width:18px; text-align:center; font-size:16px; } .beta { margin-left:auto; color:var(--accent); font-size:9px; font-weight:700; letter-spacing:.08em; }
.sidebar-bottom { margin-top:auto; padding: 16px 12px 0; border-top:1px solid var(--line); } .mini-status { display:flex; align-items:center; gap:7px; color:var(--muted); font-size:11px; margin-bottom:17px; } .status-dot { width:7px; height:7px; border-radius:50%; background:#74a878; box-shadow:0 0 0 4px color-mix(in srgb, #74a878 16%, transparent); } .ghost-btn { border:0; background:none; color:var(--muted); padding:5px 0; font-size:12px; } .ghost-btn span { margin-right:8px; color:var(--accent); } .sidebar-bottom p { margin:22px 0 0; color:var(--muted); font: italic 12px Georgia, serif; }
.main-content { width:calc(100% - 246px); margin-left:246px; min-height:100vh; } .topbar { height:78px; display:flex; align-items:center; justify-content:space-between; padding:0 6vw; border-bottom:1px solid var(--line); } .breadcrumb { display:flex; gap:12px; align-items:center; color:var(--muted); font-size:12px; } .breadcrumb b { color:var(--line); } .breadcrumb span:last-child { color:var(--ink); font-weight:700; } .top-actions { display:flex; align-items:center; gap:17px; } .icon-btn { position:relative; border:1px solid var(--line); color:var(--deep); background:var(--card); width:32px; height:32px; border-radius:50%; font-size:20px; line-height:1; } .tooltip { display:none; position:absolute; right:0; top:38px; width:70px; font-size:10px; color:var(--muted); } .icon-btn:hover .tooltip { display:block; } .avatar { display:grid; place-items:center; width:31px; height:31px; border-radius:50%; background:var(--deep); color:#fff; font-size:10px; font-weight:700; letter-spacing:.04em; } .mobile-menu { display:none; border:0; color:var(--ink); background:none; font-size:21px; }
.page-wrap { max-width:1150px; padding: 58px 6vw 86px; margin:auto; } .eyebrow { color:var(--accent); font-size:10px; letter-spacing:.24em; font-weight:800; } h1,h2,h3,p { margin-top:0; } h1,h2,h3 { font-family: Georgia, "Songti SC", serif; font-weight:500; text-wrap: balance; } p { text-wrap: pretty; } h1 { font-size:clamp(38px,5vw,70px); line-height:1.1; letter-spacing:-.04em; } h2 { font-size:clamp(28px,3vw,42px); line-height:1.2; } h3 { font-size:20px; } .muted { color:var(--muted); } .lead { color:var(--muted); font-size:16px; line-height:1.9; }
.hero { position:relative; overflow:hidden; min-height:390px; display:flex; align-items:center; padding: 48px 6%; border-radius:26px; background:radial-gradient(115% 85% at 82% 8%, rgba(255,255,255,.10), transparent 58%), linear-gradient(135deg, rgba(32,68,59,.98), rgba(71,109,91,.9)); color:#f1f5ed; box-shadow:0 24px 70px rgba(28,54,45,.22); } .hero::after { content:""; position:absolute; width:470px; height:470px; right:-80px; bottom:-235px; border:1px solid rgba(255,255,255,.2); border-radius:50%; box-shadow:0 0 0 45px rgba(255,255,255,.04), 0 0 0 90px rgba(255,255,255,.03); } .hero::before { content:""; position:absolute; width:310px; height:100px; right:10%; bottom:0; border-radius:100% 100% 0 0; background:linear-gradient(160deg, transparent 45%, rgba(9,32,26,.24) 46%); transform:skewX(-25deg); } .hero-copy { position:relative; z-index:1; max-width:640px; } .hero .eyebrow { color:#dca38d; } .hero h1 { margin:17px 0 19px; } .hero p { max-width:540px; color:rgba(241,245,237,.75); line-height:1.8; } .hero-actions { display:flex; gap:12px; margin-top:30px; }
.btn { border:0; border-radius:9px; padding:11px 18px; font-size:13px; transition: transform .2s var(--ease), box-shadow .2s var(--ease), background .2s var(--ease); } .btn:hover { transform:translateY(-2px); } .btn:focus-visible { outline:none; box-shadow:0 0 0 3px var(--ring); } .btn.primary { color:#fff; background:var(--accent); box-shadow:0 7px 18px rgba(207,119,87,.2); } .btn.secondary { color:var(--deep); background:var(--soft); } .btn.outline { color:var(--deep); background:transparent; border:1px solid var(--line); }
.section-head { display:flex; align-items:end; justify-content:space-between; margin:66px 0 20px; } .section-head h2 { margin:9px 0 0; } .text-link { color:var(--accent); font-size:12px; } .grid-3 { display:grid; grid-template-columns:repeat(3,1fr); gap:16px; } .grid-2 { display:grid; grid-template-columns:repeat(2,1fr); gap:16px; } .card { border:1px solid var(--line); border-radius:15px; background:var(--card); box-shadow:var(--shadow); transition: transform .28s var(--ease), box-shadow .28s var(--ease), border-color .28s var(--ease); } .project-card:hover, .note-card:hover { transform:translateY(-3px); border-color:color-mix(in srgb, var(--deep) 20%, var(--line)); box-shadow:0 26px 60px rgba(35,62,51,.14); } .project-card { min-height:194px; padding:22px; position:relative; overflow:hidden; } .project-card::after { content:""; position:absolute; right:-30px; bottom:-50px; width:125px; height:125px; border:1px solid var(--line); border-radius:50%; } .card-top { display:flex; justify-content:space-between; align-items:center; margin-bottom:23px; } .tag { color:var(--accent); background:color-mix(in srgb, var(--accent) 10%, transparent); padding:5px 8px; border-radius:4px; font-size:10px; } .project-card h3 { margin-bottom:9px; } .project-card p { color:var(--muted); line-height:1.6; font-size:12px; } .progress { height:4px; background:var(--soft); border-radius:5px; overflow:hidden; margin-top:18px; } .progress i { display:block; height:100%; border-radius:5px; background:var(--accent); } .project-meta { display:flex; justify-content:space-between; color:var(--muted); font-size:10px; margin-top:8px; }
.today-card { padding:25px; display:flex; justify-content:space-between; gap:20px; align-items:center; } .today-card h3 { margin:7px 0 4px; } .today-date { color:var(--muted); font-size:12px; } .checklist { display:flex; flex-direction:column; gap:9px; min-width:44%; } .check-item { display:flex; gap:10px; align-items:center; font-size:12px; color:var(--muted); } .check-item.done { text-decoration:line-through; opacity:.6; } .check-item input { accent-color:var(--accent); width:16px; height:16px; flex:0 0 auto; margin:0; }
.feed { display:flex; flex-direction:column; gap:10px; } .feed-item { display:flex; align-items:center; gap:15px; padding:15px 16px; border-bottom:1px solid var(--line); border-radius:12px; transition:background .22s var(--ease); } .feed-item:hover { background:color-mix(in srgb, var(--soft) 60%, transparent); } .feed-item:last-child { border-bottom:0; } .feed-icon { width:35px; height:35px; display:grid; place-items:center; flex:0 0 auto; color:var(--deep); background:var(--soft); border-radius:10px; } .feed-item strong { display:block; font: 16px Georgia,serif; margin-bottom:5px; } .feed-item small { color:var(--muted); font-size:11px; } .feed-item .date { margin-left:auto; color:var(--muted); font-size:10px; }
.page-title { max-width:720px; margin-bottom:45px; } .page-title h1 { margin:14px 0; } .page-title p { max-width:600px; } .filter-row { display:flex; gap:8px; flex-wrap:wrap; margin-bottom:23px; } .filter { border:1px solid var(--line); border-radius:99px; background:transparent; color:var(--muted); padding:7px 13px; font-size:11px; } .filter.active, .filter:hover { color:var(--deep); background:var(--soft); border-color:transparent; }
.timeline { position:relative; padding-left:24px; } .timeline::before { content:""; position:absolute; left:3px; top:9px; bottom:12px; width:1px; background:var(--line); } .timeline-item { position:relative; padding:0 0 30px 25px; } .timeline-item::before { content:""; position:absolute; left:-25px; top:5px; width:8px; height:8px; border:2px solid var(--paper); border-radius:50%; background:var(--accent); box-shadow:0 0 0 1px var(--accent); } .timeline-item time { color:var(--accent); font-size:10px; letter-spacing:.12em; } .timeline-item h3 { margin:8px 0; } .timeline-item p { max-width:700px; color:var(--muted); font-size:13px; line-height:1.8; }
.note-card { padding:24px; min-height:230px; display:flex; flex-direction:column; } .note-card h3 { margin:15px 0 9px; } .note-card p { color:var(--muted); font-size:13px; line-height:1.8; } .note-card footer { margin-top:auto; display:flex; justify-content:space-between; color:var(--muted); font-size:10px; } .search-box { display:flex; align-items:center; gap:10px; border:1px solid var(--line); border-radius:10px; padding:0 14px; max-width:300px; margin-bottom:23px; transition:border-color .2s var(--ease), box-shadow .2s var(--ease); } .search-box:focus-within { border-color:var(--accent); box-shadow:0 0 0 3px var(--ring); } .search-box input { width:100%; border:0; outline:0; padding:11px 0; color:var(--ink); background:transparent; font-size:12px; }
.quote { border-left:3px solid var(--accent); padding:5px 0 5px 20px; margin:27px 0; font: italic 22px/1.6 Georgia,serif; color:var(--deep); } .about-grid { display:grid; grid-template-columns:1.1fr .9fr; gap:48px; } .principle-list { display:flex; flex-direction:column; gap:16px; } .principle { display:flex; gap:15px; } .principle b { display:grid; place-items:center; flex:0 0 auto; width:29px; height:29px; border-radius:50%; background:var(--soft); color:var(--accent); font-size:12px; } .principle strong { display:block; margin-bottom:5px; font: 17px Georgia,serif; } .principle p { color:var(--muted); font-size:12px; line-height:1.6; margin:0; }
.assistant-shell { max-width:840px; } .assistant-intro { display:flex; align-items:center; gap:16px; padding:21px 24px; margin-bottom:14px; } .assistant-mark { display:grid; place-items:center; flex:0 0 auto; width:43px; height:43px; border-radius:13px 13px 13px 3px; color:#fff; background:var(--deep); font-size:20px; } .assistant-intro h3 { margin:0 0 4px; } .assistant-intro p { margin:0; color:var(--muted); font-size:11px; } .chat { min-height:310px; padding:25px; display:flex; flex-direction:column; gap:15px; } .bubble { max-width:78%; padding:13px 16px; border-radius:13px 13px 13px 3px; color:var(--muted); background:var(--soft); font-size:13px; line-height:1.75; } .bubble.user { align-self:flex-end; color:var(--ink); background:color-mix(in srgb, var(--accent) 13%, transparent); border-radius:13px 13px 3px 13px; } .prompt-row { display:flex; gap:8px; margin-top:14px; } .prompt-row input { flex:1; min-width:0; border:1px solid var(--line); border-radius:10px; color:var(--ink); background:var(--card); padding:13px 15px; outline:0; } .prompt-row input:focus { border-color:var(--accent); } .suggestions { display:flex; gap:8px; flex-wrap:wrap; margin-top:15px; } .suggestion { border:1px solid var(--line); background:transparent; border-radius:99px; color:var(--muted); padding:7px 11px; font-size:10px; }
.capture-dialog { width:min(500px, calc(100% - 30px)); border:1px solid var(--line); border-radius:17px; color:var(--ink); background:var(--paper); box-shadow:var(--shadow); padding:26px; } .capture-dialog::backdrop { background:rgba(18,31,26,.45); backdrop-filter:blur(4px); } .dialog-head { display:flex; justify-content:space-between; align-items:start; margin-bottom:24px; } .dialog-head h2 { margin:8px 0 0; font-size:28px; } .close-btn { border:0; background:none; color:var(--muted); font-size:25px; } .capture-dialog label { display:block; color:var(--muted); font-size:11px; margin-bottom:15px; } .capture-dialog input, .capture-dialog textarea, .capture-dialog select { display:block; width:100%; color:var(--ink); background:var(--card); border:1px solid var(--line); border-radius:8px; padding:11px; margin-top:7px; outline:0; resize:vertical; } .dialog-actions { display:flex; justify-content:flex-end; gap:8px; margin-top:22px; }
.toast { position:fixed; left:50%; bottom:25px; transform:translate(-50%, 20px); opacity:0; pointer-events:none; color:#fff; background:var(--deep); padding:10px 15px; border-radius:8px; font-size:12px; transition:.3s; z-index:20; } .toast.show { opacity:1; transform:translate(-50%,0); }
@media (max-width: 880px) { .sidebar { width:210px; } .main-content { width:calc(100% - 210px); margin-left:210px; } .grid-3 { grid-template-columns:1fr; } .grid-2, .about-grid { grid-template-columns:1fr; } .page-wrap { padding-left:5vw; padding-right:5vw; } }
@media (max-width: 650px) { .sidebar { transform:translateX(-100%); transition:.25s; width:246px; background:var(--paper); box-shadow:var(--shadow); } .sidebar.open { transform:translateX(0); } .main-content { width:100%; margin-left:0; } .mobile-menu { display:block; } .topbar { padding:0 20px; } .breadcrumb span:first-child, .breadcrumb b { display:none; } .page-wrap { padding:35px 20px 60px; } .hero { min-height:440px; padding:35px 27px; border-radius:20px; } .hero-actions { flex-direction:column; align-items:flex-start; } .today-card { flex-direction:column; align-items:flex-start; } .checklist { width:100%; } .section-head { margin-top:48px; } .section-head h2 { font-size:29px; } .about-grid { gap:25px; } }
