:root{color-scheme:light;--bg:#f7f8fc;--paper:#fff;--ink:#292b3d;--muted:#727587;--line:#e8e9f1;--violet:#6556cf;--violet-soft:#efedfc;--green:#297b6c;--green-soft:#eaf5f0;--shadow:0 10px 35px #292b3d05;font-family:-apple-system,BlinkMacSystemFont,"PingFang SC","Microsoft YaHei",sans-serif;color:var(--ink);background:var(--bg);font-synthesis:none}*{box-sizing:border-box}body{margin:0}button,input,textarea,select{font:inherit}button,a,input,textarea,select{-webkit-tap-highlight-color:transparent}button{cursor:pointer}button:disabled{cursor:wait;opacity:.6}button,a{touch-action:manipulation}button{color:inherit}button:focus-visible,a:focus-visible,summary:focus-visible{outline:3px solid #a69be8;outline-offset:3px}input:focus,textarea:focus,select:focus{outline:2px solid #b3a9ed;outline-offset:3px}button svg,svg{width:22px;height:22px;fill:none;stroke:currentColor;stroke-width:1.65;stroke-linecap:round;stroke-linejoin:round;flex-shrink:0}.sprite{position:absolute;width:0;height:0;overflow:hidden}[hidden]{display:none!important}.app-shell{max-width:856px;padding:0 44px;margin:auto}.topbar{display:flex;align-items:center;justify-content:space-between;padding-top:max(28px,env(safe-area-inset-top));height:112px}.brand{display:flex;align-items:center;gap:11px;text-decoration:none;color:var(--ink);font-size:22px;font-weight:650;letter-spacing:2px}.brand-mark{background:var(--violet);width:38px;height:38px;border-radius:13px;display:grid;place-items:center;color:white;transform:rotate(-6deg)}.brand-mark svg{width:25px;height:25px}.brand-en{display:block;font-size:9px;letter-spacing:2px;color:var(--muted);margin-top:3px;font-weight:500}.top-actions{display:flex;align-items:center;gap:17px}.private-note{font-size:12px;color:var(--muted);display:flex;gap:7px;align-items:center}.tiny-dot{height:5px;width:5px;border-radius:100%;background:var(--green)}.icon-button{border:0;background:none;display:inline-flex;align-items:center;justify-content:center;width:44px;height:44px;border-radius:12px;color:var(--muted)}.icon-button:hover{background:var(--violet-soft);color:var(--violet)}.intro{padding-top:40px;padding-bottom:27px}.eyebrow{font-size:12px;letter-spacing:1.2px;color:var(--muted);margin-bottom:15px}h1{font-size:33px;letter-spacing:-.6px;line-height:1.55;margin:0;font-weight:650}.period{color:var(--violet)}.intro p{font-size:14px;color:var(--muted);margin:10px 0 0}.mobile-break{display:none}.composer{border:1px solid #dfdcef;background:var(--paper);border-radius:20px;padding:22px 24px 16px;box-shadow:0 4px 0 #eeecf7,0 12px 40px #6556cf05;transition:border-color .2s}.composer:focus-within{border-color:#a79be9}.composer-label{display:flex;gap:8px;align-items:center;color:var(--violet);font-size:13px;font-weight:600}.composer-label svg{height:16px;width:16px}.composer textarea{background:transparent;border:0;display:block;resize:vertical;width:100%;min-height:110px;max-height:300px;padding:16px 0 8px;line-height:1.8;font-size:16px;color:var(--ink);outline:none}.composer textarea:focus{outline:0}.composer textarea::placeholder{color:#9294a4}.composer-footer{display:flex;align-items:center;justify-content:space-between;gap:12px;padding-top:9px;border-top:1px solid #f1f0f7}.parse-hint{font-size:11px;color:var(--muted);letter-spacing:.3px}.primary-button{display:inline-flex;align-items:center;justify-content:center;gap:17px;background:var(--violet);border:0;border-radius:11px;color:white;font-size:13px;font-weight:550;min-height:44px;padding:0 17px;transition:background .15s,transform .15s}.primary-button:hover{background:#5545bd}.primary-button:active{transform:scale(.97)}.primary-button svg{height:18px;width:18px}.capture-feedback{min-height:32px;font-size:12px;color:var(--green);padding:10px 4px 0;line-height:1.6}.capture-feedback.error{color:#b24949}.ideas-section{margin-top:21px}.section-heading{display:flex;justify-content:space-between;align-items:center;margin-bottom:18px}.section-heading h2{margin:0;font-size:19px;letter-spacing:.3px;display:flex;gap:10px;align-items:center;font-weight:600}.count{background:#ebeaf4;color:var(--violet);font-size:11px;border-radius:7px;min-width:24px;height:22px;display:inline-flex;justify-content:center;align-items:center;font-weight:600}.section-heading p{color:var(--muted);font-size:12px;margin:8px 0 0}.tabs{display:flex;align-items:center;gap:7px;border-bottom:1px solid var(--line);padding-bottom:15px;margin-bottom:17px}.tab{background:none;border:1px solid transparent;border-radius:9px;padding:0 16px;min-height:40px;font-size:12px;color:var(--muted);display:inline-flex;gap:7px;align-items:center}.tab:hover{background:#f0eff8}.tab.selected{background:var(--violet-soft);color:var(--violet);border-color:#e2ddf6;font-weight:600}.category-dot{height:6px;width:6px;border-radius:50%;display:inline-block}.category-dot.work{background:#7a6ada}.category-dot.life{background:#438975}.category-dot.other{background:#9a8a67}.search-box{display:flex;align-items:center;gap:8px;background:white;border:1px solid var(--line);padding:5px 12px;margin:0 0 15px;border-radius:10px;color:var(--muted)}.search-box svg{height:18px;width:18px}.search-box input{width:100%;min-width:0;border:0;background:none;font-size:16px;height:38px}.idea-list{display:grid;gap:11px}.idea-card{display:grid;grid-template-columns:1fr auto;gap:6px 12px;padding:19px 20px 13px;background:white;border:1px solid var(--line);border-radius:14px;box-shadow:var(--shadow);animation:arrive .22s ease-out}.card-main{padding:0;background:none;border:0;min-width:0;text-align:left;display:block;width:100%;border-radius:4px}.card-meta{display:flex;align-items:center;gap:9px;font-size:10px;color:var(--muted);margin-bottom:11px}.category-tag{display:inline-flex;align-items:center;gap:5px;font-size:10px;background:var(--violet-soft);color:#6552be;padding:3px 7px;border-radius:5px}.category-tag.life{background:var(--green-soft);color:var(--green)}.category-tag.other{background:#f4f0e7;color:#7d6b43}.idea-text{font-size:16px;font-weight:550;margin:0;line-height:1.65;overflow-wrap:anywhere}.idea-content{font-size:13px;line-height:1.8;color:var(--muted);margin:7px 0 0;white-space:pre-wrap;overflow-wrap:anywhere;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden}.check-button{width:44px;height:44px;margin:-3px -7px 0 0;border:0;border-radius:12px;background:none;color:#a7a6bb;display:grid;place-items:center}.check-ring{height:21px;width:21px;border:1.5px solid #d5d1e5;border-radius:50%;display:grid;place-items:center}.check-ring svg{height:14px;width:14px;opacity:0}.check-button:hover .check-ring{border-color:var(--violet);color:var(--violet)}.check-button:hover svg{opacity:1}.card-bottom{grid-column:1/-1;display:flex;justify-content:space-between;align-items:center;margin-top:6px;min-height:34px}.card-origin{font-size:10px;color:var(--muted)}.skip-button,.restore-button{display:inline-flex;align-items:center;gap:5px;min-height:44px;border:0;background:none;padding:0 0 0 12px;font-size:11px;color:var(--muted)}.skip-button svg,.restore-button svg{height:14px;width:14px}.skip-button:hover,.restore-button:hover{color:var(--violet)}.archive{margin-top:27px}.archive>summary{list-style:none;display:flex;align-items:center;justify-content:space-between;cursor:pointer;font-size:13px;color:var(--muted);min-height:44px;border-top:1px solid var(--line);padding-top:8px}.archive>summary::-webkit-details-marker{display:none}.archive summary span span{margin-left:6px;font-size:11px}.archive>summary>svg{width:16px;height:16px;transition:transform .2s}.archive[open]>summary>svg{transform:rotate(180deg)}.archive-hint{color:var(--muted);font-size:11px;margin:4px 0 14px}.archived{background:#f1f2f7;border-color:#e8e9f0;box-shadow:none}.archived .idea-text{color:#797b8c}.archived.done .idea-text{text-decoration:line-through;text-decoration-color:#b3b3c4}.archived .check-ring{background:#e1e0eb;border-color:#e1e0eb;color:#767287}.archived .check-ring svg{opacity:1}.state-label{color:#707286;font-size:11px}.empty-state{text-align:center;padding:32px 0 24px}.empty-drawing{position:relative;width:105px;height:92px;margin:0 auto 15px;display:grid;place-items:center}.empty-drawing>svg{height:39px;width:39px;color:var(--violet);transform:rotate(-9deg);background:#f4f2ff}.orbit{position:absolute;border:1px solid #e2def5;border-radius:50%;width:90px;height:60px;transform:rotate(-27deg)}.orbit.two{transform:rotate(32deg);width:78px;height:78px;border-style:dashed}.mini-spark{position:absolute;top:2px;right:10px;color:var(--violet);font-size:26px;background:var(--bg)}.empty-state h3{font-size:15px;font-weight:550;margin:0 0 9px}.empty-state p{font-size:12px;color:var(--muted);line-height:1.8;margin:0 0 10px}.text-button{border:0;background:none;color:var(--violet);font-size:12px;min-height:44px;padding:0 8px}.text-button span{margin-left:5px}.load-state{text-align:center;padding:30px 5px;font-size:13px;color:var(--muted);line-height:1.8}.page-footer{padding:48px 0 max(32px,env(safe-area-inset-bottom));font-size:10px;color:var(--muted);display:flex;gap:13px;align-items:center;justify-content:center;letter-spacing:.7px}.footer-line{height:1px;width:22px;background:#dbdde8}.toast{position:fixed;bottom:calc(24px + env(safe-area-inset-bottom));left:50%;transform:translateX(-50%);background:var(--ink);color:white;border-radius:12px;box-shadow:0 6px 30px #292b3d30;padding:5px 16px;min-height:48px;max-width:calc(100vw - 32px);display:flex;align-items:center;gap:22px;font-size:13px;z-index:10;white-space:nowrap}.toast button{min-height:44px;color:#d2caff;background:none;border:0;font-size:13px}dialog{border:1px solid var(--line);padding:0;border-radius:22px;width:min(480px,calc(100vw - 32px));max-height:calc(100dvh - 48px);box-shadow:0 24px 100px #292b3d26;color:var(--ink);overscroll-behavior:contain}dialog::backdrop{background:#20223755;backdrop-filter:blur(4px)}.dialog-content{padding:24px;display:flex;flex-direction:column}.dialog-heading{display:flex;align-items:center;justify-content:space-between;margin:-5px -8px 15px 0}.dialog-heading h2,.login-dialog h2{font-size:20px;font-weight:600;margin:0}.dialog-content>label{font-size:12px;color:var(--muted);margin:14px 0 9px}.dialog-content>input,.dialog-content>textarea,.dialog-content>select{font-size:16px;line-height:1.7;border:1px solid #dddeea;border-radius:9px;padding:11px 12px;background:#fafaff;min-width:0;color:var(--ink)}.dialog-content>textarea{resize:vertical;min-height:100px;max-height:35vh}.wide{width:100%;min-height:46px}.form-error{color:#b24949;font-size:12px;line-height:1.6;margin:12px 0;min-height:0}.form-error:empty{margin:8px 0}.original{margin:21px 0 12px;font-size:12px;color:var(--muted)}.original summary{min-height:44px;cursor:pointer;display:flex;align-items:center}.original p{white-space:pre-wrap;line-height:1.9;overflow-wrap:anywhere;padding:12px;background:var(--bg);border-radius:8px}.original small{font-size:10px}.setting-row{display:flex;align-items:center;justify-content:space-between;gap:16px;padding:20px 0;border-bottom:1px solid var(--line)}.setting-row strong,.install-note strong{font-size:14px;font-weight:550}.setting-row p{font-size:11px;color:var(--muted);margin:7px 0 0;line-height:1.8}.setting-badge{color:var(--violet);background:var(--violet-soft);padding:5px 9px;border-radius:6px;font-size:10px;white-space:nowrap}.settings-note{font-size:12px;color:var(--muted);line-height:1.9;margin:18px 0 23px}.secondary-button{border:1px solid #dcd9ef;background:white;color:var(--violet);border-radius:10px;font-size:13px}.secondary-button:hover{background:var(--violet-soft)}.install-note{padding:18px;background:var(--bg);border-radius:12px;margin:20px 0 4px}.install-note p{font-size:12px;color:var(--muted);line-height:1.9;margin-bottom:0}.login-mark{color:var(--violet);background:var(--violet-soft);width:52px;height:52px;display:grid;place-items:center;border-radius:16px;margin-bottom:22px}.login-mark svg{width:30px;height:30px}.login-dialog{max-width:400px}.login-dialog .settings-note{margin-bottom:6px}@keyframes arrive{from{opacity:0;transform:translateY(6px)}to{opacity:1;transform:translateY(0)}}@media(min-width:1000px){.app-shell{max-width:864px}.intro{padding-top:58px}.composer{margin-top:4px}.ideas-section{margin-top:28px}h1{font-size:36px}.topbar{border-bottom:1px solid var(--line);height:119px;padding-bottom:22px}}@media(max-width:560px){.app-shell{padding:0 22px}.topbar{height:97px;padding-top:max(20px,env(safe-area-inset-top))}.private-note{display:none}.brand{font-size:21px}.brand-mark{width:35px;height:35px;border-radius:12px}.intro{padding-top:26px;padding-bottom:23px}.eyebrow{font-size:11px;margin-bottom:14px}.mobile-break{display:block}h1{font-size:30px;line-height:1.5}.intro p{font-size:12px;margin-top:12px}.composer{padding:19px 17px 14px;border-radius:17px}.composer textarea{min-height:126px;padding-top:17px}.parse-hint{font-size:10px;letter-spacing:0}.primary-button{gap:10px;font-size:12px;padding:0 13px}.capture-feedback{min-height:34px}.ideas-section{margin-top:18px}.section-heading{margin-bottom:16px}.section-heading h2{font-size:18px}.tab{padding:0 13px;min-height:44px}.tabs{gap:4px;padding-bottom:12px}.idea-card{padding:17px 16px 9px;gap:4px 9px}.idea-text{font-size:15px}.idea-content{font-size:12px}.page-footer{font-size:9px;padding-top:38px}.dialog-content{padding:22px}.empty-state{padding-top:24px}.toast{font-size:12px;gap:16px}}@media(prefers-reduced-motion:reduce){*,*::before,*::after{animation:none!important;transition:none!important;scroll-behavior:auto!important}}

/* Each idea has one complete expression; no duplicated title/body. */
.idea-text{white-space:pre-wrap;font-weight:500}

.integration{border-bottom:1px solid var(--line)}.integration>summary{list-style:none;display:flex;align-items:center;justify-content:space-between;gap:14px;min-height:90px;cursor:pointer}.integration>summary::-webkit-details-marker{display:none}.integration summary strong{font-size:15px;font-weight:550}.integration-status{display:block;font-size:11px;color:var(--muted);margin-top:8px;line-height:1.7}.integration-form{display:flex;flex-direction:column;padding:0 0 18px}.integration-form>label:not(.switch-label){font-size:12px;color:var(--muted);margin:18px 0 8px}.integration-form>input{width:100%;font-size:16px;min-height:46px;padding:10px 12px;border:1px solid #dddeea;border-radius:9px;background:#fafaff;color:var(--ink)}.field-help{font-size:11px;line-height:1.9;color:var(--muted);margin:9px 0 0;overflow-wrap:anywhere}.switch-label{display:flex;align-items:center;gap:9px;min-height:48px;font-size:13px;margin-top:10px;cursor:pointer}.switch-label input{height:20px;width:20px;accent-color:var(--violet);margin:0}.config-actions{display:flex;gap:10px;margin-top:21px}.config-actions button{flex:1;min-height:46px;padding:0 12px}.config-feedback{font-size:12px;line-height:1.8;color:var(--green);margin:12px 0;overflow-wrap:anywhere}.config-feedback:empty{margin:5px 0}.config-feedback.error{color:#b24949}.clear-config{align-self:center;margin-top:8px;color:var(--muted)}

.advanced-settings{margin-top:16px;border:1px solid var(--line);border-radius:10px;padding:0 12px}.advanced-settings>summary{min-height:48px;cursor:pointer;display:flex;align-items:center;justify-content:space-between;gap:10px;font-size:12px;color:var(--muted);list-style:none}.advanced-settings>summary::-webkit-details-marker{display:none}.advanced-settings>summary span{font-size:10px;color:var(--violet);overflow-wrap:anywhere;text-align:right}.advanced-fields{display:flex;flex-direction:column;padding-bottom:14px}.advanced-fields>label{font-size:12px;color:var(--muted);margin:14px 0 8px}.advanced-fields>input{width:100%;font-size:16px;min-height:46px;padding:10px 12px;border:1px solid #dddeea;border-radius:9px;background:#fafaff;color:var(--ink)}

#wecomFields,#relayFields,#fieldMappings{display:flex;flex-direction:column}#wecomFields>label,#relayFields>label,#fieldMappings>label{font-size:12px;color:var(--muted);margin:18px 0 8px}#wecomFields textarea,#fieldMappings select,#relayFields input,.integration-form>select{width:100%;font-size:16px;min-height:46px;padding:10px 12px;border:1px solid #dddeea;border-radius:9px;background:#fafaff;color:var(--ink)}#wecomFields textarea{line-height:1.7;resize:vertical;min-height:120px}#readSchema{margin-top:12px}.saved-key-status{color:var(--green);font-size:11px;margin-left:8px}.change-key{align-self:flex-end;margin:4px 0 0}#aiKey[readonly]{color:var(--ink);background:#f3f2fa;letter-spacing:1px;font-family:ui-monospace,SFMono-Regular,monospace}

/* Keep the category cue across the whole card, with readable text and visible labels. */
.idea-card.category-work{background:#f2effc;border-color:#e3ddf5}.idea-card.category-life{background:#edf7f1;border-color:#dcece2}.idea-card.category-other{background:#f8f5ed;border-color:#ece6d9}.idea-title{font-size:16px;line-height:1.65;font-weight:600;margin:0;overflow-wrap:anywhere}.idea-detail{font-size:13px;line-height:1.85;color:#626577;margin:9px 0 0;white-space:pre-wrap;overflow-wrap:anywhere}.idea-card.archived{background:#f1f2f7;border-color:#e3e4ec}.archived .idea-title,.archived .idea-detail{color:#797b8c}.archived.done .idea-title{text-decoration:line-through;text-decoration-color:#b3b3c4}.title-count{float:right;color:var(--muted);font-size:11px;font-variant-numeric:tabular-nums}@media(max-width:560px){.idea-title{font-size:15px}.idea-detail{font-size:13px}}
