@charset "UTF-8";
:root { color-scheme: light; --bg:#f5f7f6; --surface:#fff; --surface2:#f0f4f2; --text:#24352c; --muted:#748078; --line:#e3e9e5; --primary:#277750; --primary-hover:#1c613f; --green:#23754c; --green-bg:#eaf5ed; --orange:#a76512; --orange-bg:#fff4e3; --red:#c04039; --red-bg:#fff0ee; --shadow:0 8px 28px #24352c08; --focus:#449e74; }
:root[data-theme="dark"] { color-scheme:dark; --bg:#131b17; --surface:#1b2620; --surface2:#233229; --text:#e8f1ec; --muted:#a0b3a6; --line:#324238; --primary:#6dcca0; --primary-hover:#8bddb4; --green:#8bdaad; --green-bg:#213d2e; --orange:#f0b65d; --orange-bg:#42311b; --red:#ff9c94; --red-bg:#442925; --shadow:0 8px 28px #0002; --focus:#a2dfbd; }
* { box-sizing:border-box; }
body { margin:0; background:var(--bg); color:var(--text); font-family:-apple-system,BlinkMacSystemFont,"Noto Sans TC","PingFang TC",sans-serif; font-size:14px; line-height:1.6; }
button,input,textarea,select { font:inherit; }
button { cursor:pointer; color:inherit; }
button,a,input,textarea,select { -webkit-tap-highlight-color:transparent; }
button { border:0; background:none; }
button:disabled { opacity:.45; cursor:not-allowed; }
button:hover:not(:disabled) { filter:brightness(.97); }
a { color:var(--primary); text-decoration:none; }
:focus-visible { outline:3px solid var(--focus); outline-offset:3px; }
input,textarea,select { background:var(--surface); color:var(--text); border:1px solid var(--line); border-radius:9px; padding:11px 12px; min-width:0; }
input:focus,textarea:focus,select:focus { border-color:var(--focus); outline:2px solid color-mix(in srgb,var(--focus) 30%,transparent); outline-offset:1px; }
input::placeholder,textarea::placeholder { color:var(--muted); opacity:.85; }
input[type="checkbox"] { width:17px; height:17px; accent-color:var(--primary); flex-shrink:0; cursor:pointer; }
input[type="date"] { min-height:44px; width:100%; }
textarea { resize:vertical; }
[hidden] { display:none !important; }
.primary,.secondary,.danger,.ai-button { display:inline-flex; align-items:center; justify-content:center; gap:8px; min-height:43px; padding:10px 17px; border-radius:9px; font-weight:600; }
.primary { background:var(--primary); color:var(--surface); }
:root[data-theme="dark"] .primary { color:#12271b; }
.primary:hover { background:var(--primary-hover); }
.secondary { background:var(--surface); border:1px solid var(--line); }
.danger { background:var(--red); color:var(--surface); }
.danger-text { color:var(--red); padding:8px 0; margin-right:auto; }
.full { width:100%; }
.icon-button { width:34px; min-width:34px; height:34px; display:inline-flex; align-items:center; justify-content:center; border-radius:8px; font-size:21px; color:var(--muted); }
.icon-button:hover { background:var(--surface2); }
.text-button { color:var(--primary); padding:5px 0; font-size:12px; }
.topbar { display:flex; align-items:center; justify-content:space-between; min-height:82px; padding:18px 34px; background:var(--surface); border-bottom:1px solid var(--line); gap:18px; }
.brand { display:flex; gap:12px; align-items:center; color:var(--text); font-size:22px; font-weight:750; line-height:1.1; }
.brand-mark { width:42px; height:42px; border-radius:12px; background:var(--primary); color:var(--surface); display:grid; place-items:center; font-size:27px; font-weight:650; }
.brand small { display:block; color:var(--muted); font-size:10px; font-weight:450; letter-spacing:1.2px; margin-top:7px; }
.top-actions { display:flex; align-items:center; gap:18px; }
.demo-badge,.small-badge { background:var(--surface2); border:1px solid var(--line); color:var(--muted); border-radius:5px; font-size:10px; letter-spacing:.4px; padding:3px 7px; }
.member-button { display:flex; align-items:center; gap:9px; font-size:13px; }
.avatar { width:31px; height:31px; border-radius:50%; background:var(--green-bg); color:var(--green); display:grid; place-items:center; font-size:13px; }
.avatar.large { width:60px; height:60px; font-size:22px; margin:auto; }
.avatar.lavender { background:var(--orange-bg); color:var(--orange); }
.app-layout { display:grid; grid-template-columns:238px minmax(0,1fr); max-width:1800px; margin:auto; }
.sidebar { padding:28px 22px; border-right:1px solid var(--line); min-height:calc(100vh - 82px); background:var(--surface); }
.sidebar-label { color:var(--muted); font-size:11px; margin:28px 10px 12px; letter-spacing:1px; }
.filter-nav { display:grid; gap:5px; }
.filter-nav button { display:flex; align-items:center; gap:10px; text-align:left; padding:10px 12px; border-radius:8px; color:var(--muted); }
.filter-nav button span:last-child { margin-left:auto; font-size:11px; }
.filter-nav button.active { background:var(--green-bg); color:var(--green); font-weight:650; }
.stage-dot { display:inline-block; width:8px; height:8px; border-radius:50%; flex-shrink:0; }
.stage-dot.green { background:var(--green); }.stage-dot.orange { background:var(--orange); }.stage-dot.red { background:var(--red); }
.reminder-guide { border-top:1px solid var(--line); margin-top:24px; padding:21px 6px; }
.reminder-guide h3 { font-size:12px; margin:0 0 10px; }
.reminder-guide p { font-size:10px; white-space:nowrap; margin:0 0 10px; }
.reminder-guide small { font-size:11px; line-height:1.9; color:var(--muted); }
.connection-card { margin-top:8px; border:1px solid var(--line); padding:15px 12px; border-radius:11px; }
.connection-title { display:flex; gap:8px; align-items:center; font-size:12px; font-weight:600; }
.google-mark { color:var(--primary); font-size:20px; font-weight:700; }
.connection-card p { font-size:10px; color:var(--muted); margin:9px 0 15px; }
.connection-card .secondary { font-size:11px; padding:9px; min-height:36px; }
.sidebar-footer { margin-top:30px; color:var(--muted); font-size:10px; line-height:2.3; }
.sidebar-footer small { display:block; margin-top:12px; font-size:8px; letter-spacing:.3px; }
.live-dot { display:inline-block; width:5px; height:5px; background:var(--green); border-radius:50%; margin-right:5px; }
main { min-width:0; padding:31px 32px; }
.page-heading { display:flex; align-items:center; justify-content:space-between; gap:16px; }
.eyebrow { letter-spacing:2px; color:var(--muted); font-size:10px; font-weight:600; }
h1 { font-size:26px; margin:7px 0 9px; letter-spacing:.3px; font-weight:650; }
.page-heading p { font-size:12px; margin:0; color:var(--muted); }
.mobile-add { display:none; }
.summary-strip { display:grid; grid-template-columns:repeat(5,1fr); margin:25px 0 27px; background:var(--surface); border:1px solid var(--line); border-radius:12px; padding:17px 0; }
.summary-strip>div { padding:0 22px; border-right:1px solid var(--line); }
.summary-strip>div:last-child { border:0; }
.summary-strip>div>span { display:block; font-size:11px; color:var(--muted); }
.summary-strip strong { display:block; font-size:25px; font-weight:600; margin-top:5px; line-height:1.3; }
.summary-strip .stage-dot { margin-right:5px; }
.content-grid { display:grid; grid-template-columns:minmax(0,1fr) 276px; align-items:start; gap:24px; }
.cards-section { min-width:0; }
.cards-toolbar { display:flex; gap:12px; align-items:center; }
.search { display:flex; gap:8px; align-items:center; background:var(--surface); border:1px solid var(--line); border-radius:9px; padding:0 12px; flex:1; min-width:0; }
.search>span { color:var(--muted); font-size:24px; }
.search input { width:100%; border:0; background:transparent; padding:11px 0; outline:0; }
.search:focus-within { outline:2px solid var(--focus); outline-offset:2px; }
.search input:focus { outline:0; }
.cards-toolbar>select { font-size:11px; padding:12px; }
.list-caption { display:flex; justify-content:space-between; gap:12px; font-size:10px; color:var(--muted); margin:19px 1px 12px; }
.cards-view { display:grid; grid-template-columns:repeat(2,minmax(0,1fr)); gap:17px; }
.planner-card { background:var(--surface); border:1px solid var(--line); border-top:3px solid var(--line); border-radius:12px; padding:14px 17px 11px; box-shadow:var(--shadow); min-width:0; }
.planner-card.green { border-top-color:var(--green); }.planner-card.orange { border-top-color:var(--orange); }.planner-card.red { border-top-color:var(--red); }.planner-card.expired { border-top-color:var(--muted); }
.card-status { display:flex; align-items:center; justify-content:space-between; gap:4px; }
.status-chip { padding:4px 6px; font-size:9px; border-radius:5px; color:var(--muted); background:var(--surface2); display:inline-flex; align-items:center; gap:5px; }
.status-chip b { border:1px solid currentColor; display:grid; place-items:center; width:13px; height:13px; line-height:1; border-radius:50%; font-size:9px; }
.green .status-chip { color:var(--green); background:var(--green-bg); }.orange .status-chip { color:var(--orange); background:var(--orange-bg); }.red .status-chip { color:var(--red); background:var(--red-bg); }
.card-status .icon-button { font-size:22px; height:26px; width:24px; min-width:24px; }
.planner-card h2 { font-size:17px; line-height:1.45; margin:17px 0 10px; }
.planner-card h2 button { padding:0; text-align:left; overflow-wrap:anywhere; font-weight:650; }
.card-date { display:flex; align-items:center; gap:8px; flex-wrap:wrap; font-size:11px; color:var(--muted); margin-bottom:17px; }
.card-date strong { font-size:10px; font-weight:500; padding:2px 7px; background:var(--surface2); border-radius:4px; }
.card-detail { display:flex; gap:8px; font-size:12px; overflow-wrap:anywhere; align-items:flex-start; }
.card-detail>span:first-child { color:var(--muted); }
.card-note { margin:10px 0 16px; color:var(--muted); line-height:1.9; font-size:11px; min-height:42px; display:-webkit-box; -webkit-box-orient:vertical; -webkit-line-clamp:2; overflow:hidden; overflow-wrap:anywhere; white-space:pre-wrap; }
.card-reminders { display:flex; flex-wrap:wrap; align-items:center; gap:8px; border-top:1px dashed var(--line); padding-top:11px; font-size:9px; }
.card-reminders>span:first-child { color:var(--muted); margin-right:2px; }
.card-reminders i { display:inline-block; width:5px; height:5px; border-radius:50%; background:currentColor; margin-right:3px; vertical-align:middle; }
.card-reminders .green,.stage-label.green { color:var(--green); }.card-reminders .orange,.stage-label.orange { color:var(--orange); }.card-reminders .red,.stage-label.red { color:var(--red); }
.card-footer { display:flex; align-items:center; justify-content:space-between; gap:5px; font-size:9px; margin-top:10px; color:var(--muted); }
.card-footer .text-button { font-size:10px; }
.cards-foot { font-size:10px; color:var(--muted); line-height:1.9; margin:18px 0; }
.right-rail { display:grid; gap:18px; }
.notification-card,.todo-card { background:var(--surface); border:1px solid var(--line); border-radius:12px; padding:18px; }
.section-title { display:flex; align-items:center; justify-content:space-between; gap:8px; margin-bottom:15px; }
.section-title h2 { margin:0; font-size:14px; font-weight:600; }
.section-title h2>span { background:var(--surface2); color:var(--muted); padding:1px 6px; border-radius:4px; margin-left:6px; font-size:10px; }
.section-title .text-button { font-size:10px; }
.notification-row { display:flex; gap:10px; width:100%; text-align:left; padding:10px 0; border-bottom:1px solid var(--line); }
.notification-row>span:first-child { font-size:11px; border:1px solid currentColor; border-radius:50%; width:19px; height:19px; display:grid; place-items:center; margin-top:1px; flex-shrink:0; }
.notification-row.green>span:first-child { color:var(--green); }.notification-row.orange>span:first-child { color:var(--orange); }.notification-row.red>span:first-child { color:var(--red); }
.notification-row strong { font-size:11px; font-weight:500; display:block; overflow-wrap:anywhere; }
.notification-row small { display:block; font-size:9px; color:var(--muted); margin-top:3px; }
.notification-row.read { opacity:.7; }
.small-note { margin:14px 0 0; font-size:9px; color:var(--muted); line-height:1.9; }
.ai-card { background:var(--green-bg); border:1px solid var(--line); border-radius:12px; padding:20px 18px; }
.ai-eyebrow { font-size:9px; letter-spacing:.6px; color:var(--green); display:flex; gap:6px; align-items:center; }
.ai-eyebrow .small-badge { margin-left:auto; font-size:8px; background:transparent; }
.ai-card h2 { font-size:17px; line-height:1.5; margin:17px 0 9px; }
.ai-card p { font-size:11px; line-height:1.9; color:var(--muted); margin:0 0 18px; }
.ai-button { width:100%; background:var(--surface); color:var(--green); font-size:11px; justify-content:space-between; border:1px solid var(--line); }
.ai-note { font-size:9px; text-align:center; margin-top:10px; color:var(--muted); }
.empty-small { color:var(--muted); font-size:11px; line-height:1.8; margin:6px 0 16px; }
.todo-row { display:flex; align-items:flex-start; gap:9px; font-size:11px; padding:9px 0; cursor:pointer; }
.todo-row input { margin:1px 0 0; }.todo-row span { overflow-wrap:anywhere; }
.todo-row.done span { text-decoration:line-through; color:var(--muted); }
.todo-input { display:flex; align-items:center; border-top:1px solid var(--line); padding-top:11px; margin-top:9px; gap:5px; }
.todo-input input { width:100%; font-size:11px; border:0; padding:7px 3px; background:transparent; }
.todo-input button { color:var(--primary); width:25px; }
.subtle { color:var(--muted); font-size:11px; font-weight:400; }
.welcome,.empty-cards { grid-column:1/-1; text-align:center; padding:70px 20px; background:var(--surface); border:1px dashed var(--line); border-radius:12px; }
.welcome-symbol,.empty-cards>span { color:var(--primary); font-size:42px; }
.welcome h2 { font-size:21px; margin:13px 0; }.welcome p,.empty-cards p { color:var(--muted); font-size:12px; line-height:2; }
.welcome small { display:block; color:var(--muted); margin-top:15px; font-size:10px; }
.mobile-filter { display:none; }
dialog { border:1px solid var(--line); border-radius:16px; background:var(--surface); color:var(--text); padding:25px; max-width:540px; width:calc(100% - 32px); max-height:calc(100dvh - 32px); box-shadow:0 25px 100px #0003; }
dialog::backdrop { background:#101f18aa; backdrop-filter:blur(3px); }
.modal-heading { display:flex; align-items:center; justify-content:space-between; gap:10px; margin-bottom:21px; }
.modal-heading h2 { margin:0; font-size:21px; font-weight:650; }
dialog form>label { display:block; margin:14px 0; font-size:12px; font-weight:550; }
dialog label input:not([type="checkbox"]),dialog label textarea,dialog label select { display:block; width:100%; margin-top:7px; font-weight:400; }
.form-pair { display:grid; grid-template-columns:1fr 1fr; gap:14px; }
.form-pair>label { font-size:12px; font-weight:550; }
.form-three { display:grid; grid-template-columns:repeat(3,1fr); gap:12px; }
.reminder-fields { border:1px solid var(--line); border-radius:10px; padding:13px; margin:18px 0; }
.reminder-fields legend { font-size:12px; padding:0 5px; }
.reminder-fields small { color:var(--muted); font-size:10px; display:block; margin-top:12px; line-height:1.8; }
.stage-label { font-size:11px; }
.number-input { position:relative; display:block; }.number-input>span { position:absolute; right:9px; top:13px; font-size:10px; color:var(--muted); pointer-events:none; }
dialog .number-input input { padding-right:38px; }
.form-actions { display:flex; align-items:center; justify-content:flex-end; gap:10px; margin-top:23px; flex-wrap:wrap; }
.modal-note { color:var(--muted); font-size:11px; line-height:1.9; margin:16px 0; }
.modal-foot { color:var(--muted); font-size:10px; text-align:center; margin:25px 0 0; }
.auth-tabs { display:flex; border-bottom:1px solid var(--line); margin-bottom:20px; }
.auth-tabs button { flex:1; font-size:12px; padding:10px; border-bottom:2px solid transparent; color:var(--muted); }
.auth-tabs button.active { color:var(--primary); border-bottom-color:var(--primary); }
.demo-member { display:flex; align-items:center; width:100%; gap:13px; padding:15px; border:1px solid var(--line); border-radius:10px; margin:12px 0; text-align:left; }
.demo-member>span:nth-child(2) { flex:1; }.demo-member strong { display:block; font-size:13px; }.demo-member small { display:block; color:var(--muted); font-size:10px; margin-top:3px; }
.profile-card { text-align:center; padding:5px 0 10px; }.profile-card h3 { margin:12px 0 5px; }.profile-card p { font-size:12px; color:var(--muted); margin:0 0 10px; }
.provider-callout { display:flex; align-items:center; gap:14px; background:var(--surface2); padding:16px; border-radius:10px; }.provider-callout strong { font-size:12px; }.provider-callout p { font-size:11px; color:var(--muted); margin:5px 0 0; line-height:1.8; }
.preview-summary { font-size:12px; margin:10px 0 20px; }.preview-summary strong { font-size:25px; color:var(--primary); }.preview-summary span { display:block; font-size:10px; color:var(--muted); margin:5px 0; }
.preview-row { border-bottom:1px solid var(--line); padding:12px 0; display:flex; align-items:center; gap:12px; font-size:12px; }.preview-row strong { font-weight:500; overflow-wrap:anywhere; }.operation-badge { font-size:9px; color:var(--primary); background:var(--green-bg); padding:4px 6px; border-radius:4px; white-space:nowrap; }
.preview-row small { display:block; font-size:10px; color:var(--muted); line-height:1.9; margin-top:3px; overflow-wrap:anywhere; }
.conflict { background:var(--red-bg); color:var(--red); padding:12px; border-radius:8px; margin:10px 0; font-size:12px; }.conflict p { font-size:11px; margin:5px 0; }
.ai-star { color:var(--green); font-size:30px; }.suggestion { background:var(--green-bg); padding:20px; border-radius:12px; }.suggestion h3 { margin:10px 0; font-size:23px; overflow-wrap:anywhere; }.suggestion p { font-size:12px; margin:8px 0; }.suggestion .small-badge { background:var(--surface); }
.consent-check { display:flex; gap:9px; align-items:flex-start; font-size:11px; }.consent-check input { margin:2px 0 0; }
.job-loading { text-align:center; padding:35px 0; }.job-loading small { color:var(--muted); font-size:11px; }.spinner { display:inline-block; width:28px; height:28px; border:2px solid var(--line); border-top-color:var(--primary); border-radius:50%; animation:spin 1s linear infinite; }
@keyframes spin { to { transform:rotate(360deg); } }
.toast { position:fixed; bottom:25px; left:50%; transform:translateX(-50%); background:var(--text); color:var(--surface); padding:12px 20px; border-radius:10px; z-index:5; font-size:12px; box-shadow:var(--shadow); max-width:calc(100% - 30px); width:max-content; }
.busy dialog button[type="submit"],.busy [data-action="apply-sync"],.busy [data-action="apply-ai"] { opacity:.5; pointer-events:none; }
@media(min-width:1600px) { .cards-view { grid-template-columns:repeat(3,minmax(0,1fr)); } }
@media(max-width:1180px) { .app-layout { grid-template-columns:210px minmax(0,1fr); }.sidebar { padding:24px 16px; }main { padding:27px 22px; }.content-grid { grid-template-columns:minmax(0,1fr); }.right-rail { grid-template-columns:repeat(3,minmax(0,1fr)); gap:14px; }.summary-strip>div { padding:0 15px; }.reminder-guide p { font-size:9px; }.ai-card h2 { font-size:15px; } }
@media(max-width:800px) { .topbar { padding:14px 20px; min-height:73px; }.app-layout { display:block; }.sidebar { display:none; }main { padding:26px 20px; }.mobile-add { display:inline-flex; white-space:nowrap; font-size:12px; padding:9px 13px; }.mobile-filter { display:flex; gap:9px; margin-top:13px; align-items:center; flex-wrap:wrap; }.mobile-filter select,.mobile-filter .secondary { font-size:11px; }.summary-strip { margin:23px 0; }.right-rail { grid-template-columns:repeat(2,minmax(0,1fr)); }.todo-card { grid-column:1/-1; }.brand { font-size:21px; }.brand small { font-size:8px; }.top-actions { gap:10px; }h1 { font-size:22px; }.list-caption { font-size:9px; } }
@media(max-width:520px) { .topbar { padding:13px 16px; }.brand { gap:8px; font-size:20px; }.brand-mark { width:34px; height:34px; font-size:24px; }.brand small { font-size:7px; letter-spacing:.4px; }.top-actions { gap:6px; }.top-actions>.demo-badge { display:none; }.member-button { gap:6px; font-size:11px; }.avatar { width:27px; height:27px; }.top-actions .icon-button { min-width:28px; width:28px; }main { padding:22px 16px; }h1 { font-size:20px; line-height:1.6; max-width:260px; }.page-heading { align-items:flex-start; flex-direction:column; gap:15px; }.page-heading p { font-size:10px; line-height:1.9; }.mobile-add { width:100%; }.summary-strip { grid-template-columns:repeat(5,minmax(0,1fr)); padding:13px 0; margin:20px 0; }.summary-strip>div { padding:0 7px; text-align:center; }.summary-strip>div>span { font-size:8px; white-space:nowrap; }.summary-strip .stage-dot { display:none; }.summary-strip strong { font-size:22px; }.cards-toolbar { gap:8px; }.search { padding:0 9px; }.search input { font-size:11px; }.cards-toolbar>select { font-size:9px; padding:12px 6px; max-width:100px; }.cards-view { grid-template-columns:minmax(0,1fr); gap:14px; }.planner-card { padding:16px 20px 12px; }.planner-card h2 { font-size:19px; }.status-chip { font-size:10px; }.card-note { font-size:12px; }.card-reminders { font-size:10px; gap:12px; }.card-date { font-size:12px; }.list-caption>span:last-child { text-align:right; font-size:8px; }.right-rail { grid-template-columns:minmax(0,1fr); }.todo-card { grid-column:auto; }.form-pair { grid-template-columns:1fr; gap:15px; }.form-three { gap:8px; }.form-three input { font-size:13px; }.modal-heading h2 { font-size:19px; }dialog { padding:20px; }.form-actions .primary,.form-actions .secondary,.form-actions .danger { font-size:12px; padding:10px 13px; }.danger-text { font-size:11px; }.cards-foot { font-size:9px; }.welcome { padding:50px 17px; }.welcome h2 { font-size:18px; } }
@media(prefers-reduced-motion:reduce) { *,*::before,*::after { animation:none!important; scroll-behavior:auto!important; } }
@media(max-width:520px) { h1 { max-width:none; } }

button:disabled{cursor:not-allowed;opacity:.6}.profile-actions{display:grid;gap:12px;margin-top:18px}.privacy-check{display:flex;align-items:center;gap:7px;font-size:12px}.privacy-check input{width:auto;margin:0}.privacy-check a{text-decoration:underline}#recovery-code{font-family:monospace;font-size:15px}

.todo-delete{margin-left:auto;font-size:18px;flex-shrink:0}.todo-row span{overflow-wrap:anywhere}button[hidden]{display:none!important}

[hidden]{display:none!important}.public-guide{max-width:850px;margin:30px auto;padding:30px;background:var(--surface,#fff);line-height:1.9}.public-guide h2{margin-top:30px}.public-guide a{color:#277750;text-decoration:underline}@media(max-width:600px){.public-guide{margin:0;padding:24px 18px}}
