:root{font-family:Inter,-apple-system,BlinkMacSystemFont,Segoe UI,Microsoft YaHei,sans-serif;color:#202534;background:#f7f8fc;font-synthesis:none;--blue:#233bdb;--muted:#6c7284;--line:#e5e7ef}*{box-sizing:border-box}body{margin:0}button,input,textarea{font:inherit}button{cursor:pointer;display:inline-flex;align-items:center;justify-content:center;gap:7px;background:#fff;border:1px solid var(--line);border-radius:8px;padding:10px 14px;font-size:.875rem;color:inherit;min-height:40px}button:hover:not(:disabled){background:#f0f2fc;border-color:#bac3f6}button:disabled{opacity:.45;cursor:not-allowed}button:focus-visible,a:focus-visible,summary:focus-visible{outline:3px solid #8a9cff;outline-offset:3px}input:focus,textarea:focus{outline:2px solid #aebaff;border-color:var(--blue)}input,textarea{width:100%;border:1px solid #dfe2eb;border-radius:8px;background:#fff;padding:12px;color:inherit;font-size:1rem}textarea{resize:vertical;line-height:1.75;min-height:240px}input:disabled,textarea:disabled{background:#f6f7fa;color:#62697a}h1,h2,h3,p{margin-top:0}.primary{background:var(--blue);border-color:var(--blue);color:#fff;font-weight:600;box-shadow:0 3px 7px #233bdb15}.primary:hover:not(:disabled){background:#1b2fb8;border-color:#1b2fb8}.topbar{height:78px;background:#fff;border-bottom:1px solid var(--line)}.topbar-inner{max-width:1120px;height:100%;margin:auto;padding:0 36px;display:flex;align-items:center;justify-content:space-between}.brand{text-decoration:none;color:inherit;display:flex;align-items:center;gap:11px;font-size:1.125rem;font-weight:700;letter-spacing:-.3px}.brand-mark{display:inline-flex;background:var(--blue);color:#fff;width:36px;height:36px;border-radius:10px;align-items:center;justify-content:center}.private-label{font-size:.75rem;color:#737a8e;font-weight:400;background:#f2f4f8;border-radius:4px;padding:3px 7px;margin-left:5px}.top-actions{display:flex;gap:23px;align-items:center}.sync-state{display:flex;align-items:center;gap:7px;font-size:.8125rem;color:var(--muted)}.status-dot{width:6px;height:6px;border-radius:100%;background:#309276}.offline{color:#97651a}.icon-button{border:0;background:transparent;padding:8px;min-height:36px}.menu-container{position:relative}.menu-backdrop{position:fixed;inset:0;opacity:0;z-index:4;cursor:default}.dropdown{position:absolute;right:0;top:45px;background:#fff;border:1px solid var(--line);border-radius:12px;padding:6px;box-shadow:0 12px 40px #17234618;min-width:180px;z-index:5}.dropdown button{width:100%;justify-content:flex-start;border:0}.dropdown hr{border:0;border-top:1px solid var(--line);margin:5px}.workspace{max-width:1120px;margin:0 auto;padding:43px 36px 24px}.notice{background:#eef1ff;border:1px solid #dce2ff;border-radius:9px;padding:13px 17px;margin-bottom:28px;font-size:.875rem;line-height:1.65;display:flex;gap:14px;align-items:baseline;flex-wrap:wrap}.notice strong{color:var(--blue)}.notice details{width:100%;font-size:.8125rem}.notice details p{margin:9px 0 0;overflow-wrap:anywhere}.notice summary{cursor:pointer;display:flex;gap:7px;align-items:center;width:fit-content;color:#535e9b}.notice button{padding:6px 10px}.error-notice{background:#fff3ef;border-color:#f4d9ce}.collection-heading{display:flex;align-items:center;justify-content:space-between;gap:16px;margin-bottom:27px}.eyebrow{font-size:.6875rem;letter-spacing:2px;font-weight:700;color:#8990a2;margin-bottom:10px}.collection-heading h1{font-size:1.875rem;letter-spacing:-.8px;margin:0;display:flex;align-items:center;gap:13px}.collection-heading h1 span{font-size:.8125rem;font-weight:500;background:#e9ecf5;color:#70798b;border-radius:7px;padding:4px 8px;letter-spacing:0}.collection-heading>.primary{padding:12px 18px}.search-box{height:52px;background:#fff;border:1px solid #dfe3ef;border-radius:10px;display:flex;align-items:center;padding:0 17px;gap:9px;color:#8d95a8;box-shadow:0 2px 3px #26375b03}.search-box:focus-within{outline:2px solid #acb8ff}.search-box input{border:0;background:transparent;padding:0 4px;height:100%;outline:none}.search-box input::placeholder{color:#9299ab}.tags-filter{display:flex;align-items:center;flex-wrap:wrap;gap:8px;margin:18px 0 29px}.tags-filter button{border-color:transparent;background:transparent;color:#687185;border-radius:6px;padding:7px 13px;min-height:34px}.tags-filter button.active{color:var(--blue);background:#e9edff;font-weight:600}.tags-filter button span{font-size:.75rem;margin-left:2px;opacity:.7}.list-meta{display:flex;justify-content:space-between;color:#8a91a2;font-size:.75rem;margin-bottom:13px}.prompt-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:18px}.prompt-card{background:#fff;border:1px solid var(--line);border-radius:13px;padding:21px 23px;min-width:0;display:flex;flex-direction:column;box-shadow:0 3px 8px #182b5803;transition:border-color .15s,box-shadow .15s}.prompt-card:hover{border-color:#c9d0e8;box-shadow:0 5px 20px #26375b08}.card-top{display:flex;justify-content:space-between;align-items:center;margin-bottom:17px}.document-icon{display:flex;align-items:center;justify-content:center;width:36px;height:36px;background:#f2f4fc;border:1px solid #e9edf9;border-radius:9px;color:#7786b3}.copy-button{color:#7e879b;padding:5px 8px;min-height:32px;font-size:.75rem;border-color:transparent;background:transparent}.card-title{display:block;padding:0;background:none;border:0;text-align:left;font-size:1.0625rem;font-weight:650;line-height:1.5;min-height:0;margin-bottom:10px;border-radius:3px;overflow-wrap:anywhere}.card-title:hover:not(:disabled){background:transparent;color:var(--blue)}.preview{font-size:.875rem;color:#7a8294;line-height:1.85;white-space:pre-wrap;overflow:hidden;display:-webkit-box;-webkit-box-orient:vertical;-webkit-line-clamp:3;margin-bottom:24px;min-height:4.85em;overflow-wrap:anywhere}.card-tags{display:flex;flex-wrap:wrap;gap:6px;margin-top:auto;align-items:center}.card-tags button,.card-tags span:not(.muted){border:0;background:#f3f5f9;color:#758096;padding:4px 8px;min-height:0;font-size:.75rem;border-radius:5px;line-height:1.5}.card-tags .muted{font-size:.75rem}footer{display:flex;justify-content:space-between;gap:14px;flex-wrap:wrap;margin:35px 0;color:#939bad;font-size:.75rem}.empty{padding:64px 16px;text-align:center;color:#8a94ac}.empty h2{font-size:1.125rem;color:#4d586f;margin-top:18px}.empty p{font-size:.875rem}.empty button{margin:10px auto 0}.muted{color:var(--muted);font-size:.875rem;line-height:1.7}.login{min-height:100dvh;display:flex;align-items:center;justify-content:center;padding:24px}.login-card{width:410px;background:#fff;border:1px solid var(--line);border-radius:20px;padding:38px;box-shadow:0 16px 60px #1b2d6107}.login-card .brand-mark{width:45px;height:45px;margin-bottom:27px}.login-card h1{font-size:1.7rem;margin-bottom:12px}.login form{display:grid;gap:20px;margin-top:28px}.login-note{font-size:.75rem;color:#979eb0;text-align:center;margin:25px 0 0}label{display:block;font-size:.875rem;font-weight:550}label input,label textarea{display:block;margin-top:9px;font-weight:400}.error{font-size:.875rem;color:#b43c34;line-height:1.7;overflow-wrap:anywhere}dialog{width:min(680px,calc(100% - 32px));border:1px solid #dfe4f2;border-radius:16px;padding:24px;max-height:90dvh;overflow:auto;color:inherit;box-shadow:0 24px 90px #152b4d30}dialog::backdrop{background:#111b3e65;-webkit-backdrop-filter:blur(3px);backdrop-filter:blur(3px)}.modal-head{display:flex;align-items:center;justify-content:space-between;gap:16px;margin-bottom:22px}.modal-head h2{font-size:1.125rem;margin:0}.editor{display:grid;gap:21px}.field-note{font-weight:400;color:#9299aa;font-size:.75rem;margin-left:12px}.editor-actions{display:flex;justify-content:space-between;align-items:center;gap:10px;border-top:1px solid var(--line);padding-top:18px}.button-row,.modal-actions{display:flex;gap:9px;flex-wrap:wrap}.modal-actions{justify-content:flex-end;margin-top:25px}.danger{color:#b33e40}.subtle{border:0;background:transparent}.danger-button{background:#b93639;border-color:#b93639;color:#fff}.detail-title{font-size:1.5rem;line-height:1.5;overflow-wrap:anywhere;margin-bottom:0}.detail-body{font:inherit;line-height:1.85;white-space:pre-wrap;overflow-wrap:anywhere;background:#f7f8fc;border:1px solid var(--line);padding:20px;border-radius:10px;margin:0;max-height:48vh;overflow:auto}.conflict{background:#fff5e8;border:1px solid #f4d9b3;padding:16px;border-radius:10px;font-size:.875rem}.conflict h4{margin-bottom:8px}.conflict pre{white-space:pre-wrap;overflow-wrap:anywhere;max-height:180px;overflow:auto;font:inherit}.import-stats{display:flex;gap:45px;background:#f5f7fc;border-radius:10px;padding:20px;margin-bottom:20px}.import-stats span{font-size:.875rem;color:var(--muted)}.import-stats strong{display:block;font-size:1.75rem;color:var(--blue);margin-bottom:5px}.toast,.update-bar{position:fixed;bottom:25px;left:50%;transform:translate(-50%);z-index:30;max-width:calc(100% - 32px);background:#202a44;color:#fff;border:1px solid #435071;border-radius:10px;padding:13px 19px;box-shadow:0 8px 30px #0a163e25;display:flex;align-items:center;gap:10px;font-size:.875rem;width:max-content}.toast{pointer-events:none}.update-bar{bottom:90px}.update-bar button{padding:5px 10px;min-height:30px}.toast svg{flex-shrink:0}@media(min-width:1400px){.workspace{padding-top:55px}}@media(max-width:900px){.prompt-grid{grid-template-columns:repeat(2,minmax(0,1fr))}}@media(max-width:600px){.topbar{height:66px}.topbar-inner{padding:0 20px}.top-actions{gap:10px}.private-label{display:none}.workspace{padding:28px 20px 20px}.collection-heading h1{font-size:1.5rem}.collection-heading>.primary{font-size:.8125rem;padding:10px 12px}.eyebrow{font-size:.625rem}.prompt-grid{grid-template-columns:1fr;gap:13px}.prompt-card{padding:19px 21px}.card-top{margin-bottom:12px}.preview{margin-bottom:20px;min-height:0}.notice{gap:5px;margin-bottom:22px}.sync-state{font-size:.75rem}.tags-filter{gap:4px;margin-bottom:23px}.tags-filter button{padding:8px 10px}.login-card{padding:28px}.editor-actions{align-items:flex-start;flex-wrap:wrap}.editor-actions .button-row{margin-left:auto}dialog{padding:20px}.detail-title{font-size:1.25rem}.modal-head{margin-bottom:17px}.toast{bottom:15px}}@media(prefers-reduced-motion:reduce){*{transition:none!important;scroll-behavior:auto!important}}
