:root{font-family:Inter,-apple-system,BlinkMacSystemFont,PingFang SC,Microsoft YaHei,sans-serif;color:#222a30;background:#f5f5f0;font-synthesis:none;font-size:14px;line-height:1.6;--accent: #265dcc;--border: #e2e4e0;--muted: #737c80}*{box-sizing:border-box}body{margin:0}button,input,textarea{font:inherit}button{cursor:pointer;color:#39434c;background:#fff;border:1px solid #d8dcd9;padding:7px 13px;border-radius:6px;transition:background .12s,border-color .12s,color .12s}button:hover:not(:disabled){border-color:#aeb9c7;background:#f5f7fb}button:disabled{opacity:.48;cursor:not-allowed}button.primary{color:#fff;background:var(--accent);border-color:var(--accent);font-weight:550}button.primary:hover:not(:disabled){background:#1c4fac;border-color:#1c4fac}button.text-button{border:0;background:none;padding:2px 0;font-size:12px;color:var(--muted)}button.text-button:hover:not(:disabled){color:var(--accent);background:none}button.icon-button{display:grid;place-items:center;border:0;background:transparent;width:30px;height:30px;padding:0;font-size:21px;line-height:1;color:#737c80}input,textarea{border:1px solid #d8ddd9;border-radius:6px;background:#fff;color:#26313a;padding:9px 11px;width:100%}input::placeholder,textarea::placeholder{color:#99a1a5}input:focus,textarea:focus{outline:2px solid #265dcc23;border-color:#7797d8}button:focus-visible,summary:focus-visible,a:focus-visible{outline:2px solid var(--accent);outline-offset:3px}input:disabled,textarea:disabled{background:#f2f3f1}label{font-size:13px;font-weight:550;display:block}h1,h2,h3,p{margin:0}.muted{color:var(--muted);font-size:13px}.eyebrow{color:#7b8589;font-size:11px;font-weight:500;letter-spacing:.02em}.field-help{color:#7d878d;font-size:11px;line-height:1.6}.app-shell{display:grid;grid-template-columns:220px minmax(0,1fr);height:100dvh;overflow:hidden}.sidebar{display:flex;flex-direction:column;padding:27px 16px 20px;border-right:1px solid var(--border);background:#f5f5f0;min-height:0}.brand,.login-brand{display:flex;align-items:center;gap:11px;font-size:23px;font-weight:650;letter-spacing:-.8px;color:#26312e;text-decoration:none}.brand{padding:0 10px;margin-bottom:38px}.brand-mark{display:grid;place-items:center;width:31px;height:31px;background:#25352e;color:#fff;font-weight:600;font-size:23px;border-radius:8px;letter-spacing:-1px;line-height:1;padding-bottom:3px}.channel-navigation{min-height:0;overflow-y:auto}.all-prompts{display:flex;align-items:center;justify-content:space-between;width:100%;border:0;padding:10px 12px;background:transparent;font-size:13px;font-weight:550}.all-prompts.selected{background:#e8ece7;color:#293d34}.count{font-size:11px;font-variant-numeric:tabular-nums;color:#7d8880}.nav-heading{display:flex;align-items:center;justify-content:space-between;margin:26px 5px 8px 12px}.nav-heading h2{color:#8b938d;font-size:11px;font-weight:550;letter-spacing:.05em}.channel-row{display:flex;align-items:center;border-radius:6px;margin:3px 0}.channel-row.selected{background:#e8ece7}.channel-filter{display:flex;align-items:flex-start;gap:9px;padding:9px 7px 9px 12px;width:100%;min-width:0;border:0;background:transparent;text-align:left}.channel-row.selected .channel-filter{background:transparent}.status-dot{display:block;flex-shrink:0;width:6px;height:6px;margin-top:8px;background:#3d8b61;border-radius:50%}.status-dot.offline{background:#c28b42}.status-dot.syncing{background:var(--accent);animation:pulse 1s ease-in-out infinite alternate}.channel-label{min-width:0}.channel-label>span{display:block;font-size:12px;font-weight:500;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.channel-label small{display:block;font-size:10px;color:#8a948c;line-height:1.5}.channel-config{flex-shrink:0;font-size:10px;padding:6px 7px;margin-right:2px;border:0;color:#87918c;background:transparent}.nav-empty{font-size:12px;color:#8d9790;padding:0 12px}.sidebar-footer{margin-top:auto;padding:25px 12px 0}.sidebar-footer p{color:#929b94;font-size:10px;margin-bottom:9px}.workspace{min-width:0;min-height:0;display:flex;flex-direction:column;background:#fff}.workspace-header{display:flex;align-items:center;justify-content:space-between;padding:24px 32px 20px;flex-shrink:0;border-bottom:1px solid var(--border)}.workspace-header .eyebrow{margin-bottom:4px}.workspace-header h1{font-size:23px;letter-spacing:-.5px;font-weight:600}.sync-button{font-size:12px;padding:7px 13px}.working-area{display:grid;grid-template-columns:minmax(265px,31%) minmax(0,1fr);min-height:0;flex:1}.prompt-browser{min-width:0;min-height:0;display:flex;flex-direction:column;border-right:1px solid var(--border);background:#fcfcfa}.search-area{padding:22px 21px 15px;border-bottom:1px solid var(--border)}.search-area input{background:#fff;font-size:12px;padding:9px 10px}.result-caption{display:flex;align-items:center;justify-content:space-between;color:#929a9b;font-size:10px;margin-top:12px;min-height:17px}.result-caption .text-button{font-size:10px}.prompt-list{min-height:0;overflow-y:auto;flex:1}.prompt-row{position:relative;display:flex;flex-direction:column;text-align:left;width:100%;padding:20px 23px 17px;border:0;border-radius:0;border-bottom:1px solid #eceeeb;background:transparent}.prompt-row:hover:not(:disabled){background:#f3f6f9}.prompt-row.selected{background:#edf2fa}.prompt-row.selected:before{content:"";position:absolute;top:0;bottom:0;left:0;width:3px;background:var(--accent)}.prompt-source{color:#8a9499;font-size:10px;margin-bottom:5px}.prompt-name{display:flex;align-items:center;gap:7px;font-size:14px;font-weight:600;color:#2e3a43;margin-bottom:5px}.prompt-description{display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden;color:#7c878c;font-size:11px;line-height:1.8;overflow-wrap:anywhere}.prompt-note-preview{display:block;width:100%;color:#8c9397;font-size:10px;margin-top:7px;text-overflow:ellipsis;white-space:nowrap;overflow:hidden}.prompt-row-footer{display:flex;justify-content:space-between;width:100%;margin-top:12px;color:#9aa3a7;font-size:10px}.draft-dot{background:#c38f3e;width:5px;height:5px;border-radius:50%;flex-shrink:0}.source-warning{font-size:11px;color:#977137;padding:13px 20px;border-bottom:1px solid var(--border);background:#fcf8f1}.source-warning span{display:block;margin-top:4px;font-size:10px;color:#a39782}.editor{min-width:0;min-height:0;overflow-y:auto;background:#fff}.editor-heading{padding:27px 33px 22px;border-bottom:1px solid #eceeeb}.editor-heading .eyebrow{margin-bottom:9px}.editor-heading h2{font-size:22px;font-weight:600;letter-spacing:-.4px;margin-bottom:9px;overflow-wrap:anywhere}.editor-description{color:#7c878c;font-size:12px;line-height:1.9;max-width:700px}.metadata-line{display:flex;flex-wrap:wrap;gap:16px;font-size:10px;color:#97a0a5;margin-top:13px}.editor-body{padding:25px 33px 34px}.section-label{display:flex;align-items:center;justify-content:space-between;margin-bottom:10px}.section-label label{color:#4c5961;font-size:12px;font-weight:550}.unsaved{color:#b1833b;font-size:10px}.content-input{min-height:290px;resize:vertical;font-family:SFMono-Regular,Consolas,Liberation Mono,PingFang SC,monospace;font-size:12px;line-height:2;padding:15px 17px;border-color:#e0e4e2;background:#fdfefc;-moz-tab-size:2;tab-size:2}.editor-actions{display:flex;align-items:center;justify-content:space-between;gap:12px;margin-top:11px}.editor-actions>div{display:flex;gap:8px}.editor-actions button,.note-actions button{font-size:11px;padding:6px 11px}.effect{display:grid;grid-template-columns:58px 1fr;gap:8px;margin:23px 0 18px;color:#8b969a;font-size:11px;line-height:1.9}.effect>span{color:#6b7880}.prompt-details{border-top:1px solid #eceeeb;padding:13px 0}.prompt-details summary{color:#68767f;cursor:pointer;font-size:11px;list-style-position:inside}.prompt-details h3{font-size:11px;color:#7c878c;font-weight:550;margin-top:17px}.prompt-details>.muted{margin:12px 0;font-size:11px}.variables{margin:15px 0;font-size:11px}.variables>div{display:grid;grid-template-columns:minmax(70px,25%) 1fr;gap:15px;padding:6px 0}.variables dt code{color:#3c679e;overflow-wrap:anywhere}.variables dd{color:#859097;margin:0}.composition{color:#859097;font-size:11px;padding-left:18px;line-height:2}.default-content{font-size:11px;line-height:1.9;white-space:pre-wrap;overflow-wrap:anywhere;color:#7c878c;background:#f7f8f5;padding:15px;border-radius:5px;max-height:340px;overflow-y:auto}.notes-section{padding-top:22px;margin-top:4px;border-top:1px solid #eceeeb}.notes-section .field-help{margin-top:-5px;margin-bottom:10px}.note-input{resize:vertical;min-height:105px;font-size:12px;line-height:1.8;border-color:#e0e4e2}.note-actions{display:flex;justify-content:flex-end;margin-top:9px}.feedback{font-size:11px;padding:11px 13px;border-radius:5px;line-height:1.8;margin:12px 0;overflow-wrap:anywhere}.feedback.error{color:#aa493d;background:#fff3f0}.feedback.warning{color:#93703c;background:#faf6ed}.feedback.success{color:#427554;background:#f0f6ef}.feedback button{font-size:10px;padding:4px 8px;margin-top:7px;color:inherit;background:transparent;border-color:#dccfb8}.feedback details{margin-top:8px}.feedback summary{cursor:pointer}.comparison-content{max-height:240px;overflow-y:auto;white-space:pre-wrap;overflow-wrap:anywhere;padding:10px 0;margin:0;font-size:11px;line-height:1.8}.global-message{display:flex;align-items:center;justify-content:space-between;gap:15px;padding:7px 23px;background:#faf6ed;color:#8e744e;border-bottom:1px solid #eee6d8;font-size:12px}.global-message .icon-button{flex-shrink:0;color:#a79578}.empty-state{padding:46px 25px;text-align:center}.empty-state h2,.empty-editor h2{font-size:15px;font-weight:550;color:#68767d}.empty-state p,.empty-editor p{color:#969fa2;font-size:12px;line-height:1.9;margin-top:10px}.empty-state button{font-size:12px;margin-top:22px}.empty-editor{display:grid;place-items:center;text-align:center}.channel-dialog{border:1px solid #e1e5e0;border-radius:11px;padding:27px 29px 23px;max-width:510px;width:calc(100% - 32px);box-shadow:0 24px 100px #18262629;color:#29333b;animation:dialog-in .13s ease-out}.channel-dialog::backdrop{background:#1d292a44}.dialog-header{display:flex;align-items:center;justify-content:space-between;gap:20px;margin-bottom:8px}.dialog-header h2{font-size:19px;font-weight:600;letter-spacing:-.3px}.channel-dialog .muted{font-size:12px;line-height:1.8;margin-bottom:24px}.channel-dialog label{font-size:12px;margin:17px 0 7px}.channel-dialog input{font-size:12px}.channel-dialog .field-help{margin:5px 0 0}.dialog-actions{display:flex;justify-content:flex-end;gap:9px;padding-top:26px}.dialog-actions button{font-size:12px}.login-page{min-height:100dvh;display:flex;flex-direction:column;justify-content:center;align-items:center;padding:40px 24px}.login-brand{margin-bottom:49px;font-size:29px;gap:13px}.login-brand .brand-mark{width:38px;height:38px;font-size:28px;border-radius:9px}.login-form{width:min(100%,350px)}.login-form h1{font-size:21px;font-weight:600;letter-spacing:-.5px;margin-bottom:8px}.login-form .muted{margin-bottom:26px;font-size:12px}.login-form label{margin:17px 0 7px;font-size:12px}.login-form input{font-size:13px}.login-submit{width:100%;margin-top:25px;padding:10px}.login-footer{margin-top:59px;color:#a3aaa5;font-size:10px;letter-spacing:.025em}.loading-page{min-height:100dvh;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:15px;color:#79867e;font-size:13px;padding:30px;text-align:center}.loading-page h1{font-size:19px}.visually-hidden{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border:0}@keyframes pulse{0%{opacity:.4}to{opacity:1}}@keyframes dialog-in{0%{opacity:0;transform:translateY(5px)}to{opacity:1;transform:translateY(0)}}@media(min-width:1600px){.working-area{grid-template-columns:370px minmax(0,1fr)}.editor-body,.editor-heading{padding-left:42px;padding-right:42px}.content-input{min-height:360px}}@media(max-width:1100px){.app-shell{grid-template-columns:185px minmax(0,1fr)}.sidebar{padding-left:10px;padding-right:10px}.brand{font-size:20px;gap:9px}.working-area{grid-template-columns:minmax(225px,34%) minmax(0,1fr)}.workspace-header{padding-left:24px;padding-right:24px}.editor-heading,.editor-body{padding-left:23px;padding-right:23px}.prompt-row{padding-left:19px;padding-right:19px}.editor-actions{align-items:flex-start}.editor-actions>div{flex-wrap:wrap;justify-content:flex-end}}@media(max-width:800px){.app-shell{display:flex;flex-direction:column;height:auto;min-height:100dvh;overflow:visible}.sidebar{padding:16px 18px 0;border-right:0;border-bottom:1px solid var(--border)}.brand{padding:0;margin:0 0 16px;font-size:22px}.channel-navigation{display:flex;align-items:center;overflow-x:auto;padding-bottom:12px;gap:6px}.all-prompts{flex-shrink:0;width:auto;gap:16px;white-space:nowrap}.nav-heading{margin:0 2px 0 5px;flex-shrink:0;gap:5px}.nav-heading h2{display:none}.channel-row{flex-shrink:0}.channel-label>span{max-width:140px}.channel-label small{display:none}.channel-filter{padding:8px 8px 8px 11px}.channel-config{padding-right:9px}.status-dot{margin-top:7px}.nav-empty{padding:0;white-space:nowrap}.sidebar-footer{position:absolute;top:18px;right:22px;padding:0}.sidebar-footer p{display:none}.workspace{flex:1;overflow:visible}.workspace-header{padding:19px 22px}.workspace-header h1{font-size:21px}.working-area{grid-template-columns:minmax(215px,35%) minmax(0,1fr);min-height:75dvh}.prompt-list{max-height:calc(100dvh - 260px);position:sticky;top:0}.editor{overflow:visible}.editor-heading{padding-top:23px}.editor-heading h2{font-size:20px}.editor-body{padding-top:20px}.search-area{padding:17px 15px 12px}}@media(max-width:580px){.working-area{display:flex;flex-direction:column}.prompt-browser{border-right:0;border-bottom:1px solid var(--border)}.search-area{padding:16px 20px 12px}.prompt-list{position:static;display:flex;max-height:none;overflow-x:auto;overflow-y:visible;scroll-snap-type:x proximity}.prompt-row{flex-shrink:0;width:255px;border-bottom:0;border-right:1px solid var(--border);scroll-snap-align:start;padding:16px 20px}.prompt-row.selected:before{width:auto;height:2px;top:auto;right:0}.prompt-description{-webkit-line-clamp:1}.prompt-row-footer{margin-top:9px}.prompt-note-preview{max-width:215px}.empty-state{width:100%;padding:25px 20px}.editor-heading,.editor-body{padding-left:21px;padding-right:21px}.content-input{min-height:280px;font-size:12px}.editor-actions{flex-wrap:wrap}.editor-actions>div{margin-left:auto}.empty-editor{min-height:260px}.variables>div{grid-template-columns:minmax(70px,30%) 1fr}.source-warning{padding:10px 20px}}@media(prefers-reduced-motion:reduce){*,*:before,*:after{animation:none!important;transition:none!important;scroll-behavior:auto!important}}
