:root{--blue:#0ea5e9;--blue-deep:#0284c7;--blue-soft:#e0f2fe;--gold:#fbbf24;--text:#0f172a;--muted:#64748b;--border:#e2e8f0;--page:#eef2f7;--white:#fff;--danger:#dc2626;--success:#059669}*{box-sizing:border-box}html{font-family:Inter,"Noto Sans CJK SC","Microsoft YaHei",sans-serif;color:var(--text);background:var(--page)}body{margin:0;min-height:100vh;display:flex;flex-direction:column}a{color:inherit;text-decoration:none}button,input,textarea,select{font:inherit}.shell{width:min(1120px,calc(100% - 36px));margin:0 auto}.site-header{background:#fff;border-bottom:1px solid var(--border);position:sticky;top:0;z-index:10}.header-inner{min-height:72px;display:flex;align-items:center;gap:28px}.brand{display:flex;align-items:center;gap:10px;flex-shrink:0}.brand img,.login-logo img{border-radius:12px;box-shadow:0 6px 14px rgba(59,130,246,.25)}.brand span{display:flex;flex-direction:column}.brand strong{font-size:20px}.brand small{font-size:12px;color:var(--muted);font-weight:700}.nav{display:flex;align-items:center;gap:6px;flex:1}.nav a{padding:9px 12px;border-radius:10px;color:#475569;font-weight:700;font-size:14px}.nav a:hover,.nav a.active{background:var(--blue-soft);color:var(--blue-deep)}.nav .admin-link{color:#92400e;background:#fef3c7}.account{display:flex;align-items:center;gap:10px;font-size:14px;font-weight:700}.account form{margin:0}.text-button{border:0;background:none;color:var(--muted);cursor:pointer;padding:5px}.page{flex:1;padding-top:28px;padding-bottom:64px}.site-footer{background:#fff;border-top:1px solid var(--border);padding:24px 0;color:var(--muted);font-size:13px}.notice{padding:13px 16px;border-radius:12px;margin-bottom:18px;font-weight:700}.notice.success{background:#ecfdf5;color:#047857;border:1px solid #a7f3d0}.notice.error{background:#fef2f2;color:#b91c1c;border:1px solid #fecaca}.notice ul{margin:0;padding-left:20px}.hero{display:flex;align-items:center;justify-content:space-between;gap:30px;padding:36px;border-radius:28px;background:linear-gradient(135deg,#ede9fe 0%,#f0f9ff 48%,#dbeafe 100%);margin-bottom:22px;overflow:hidden}.hero h1,.page-heading h1{font-size:34px;line-height:1.2;margin:5px 0 10px}.hero p,.page-heading p{margin:0;color:#475569;line-height:1.7}.eyebrow{color:#2563eb!important;text-transform:uppercase;letter-spacing:.08em;font-size:12px;font-weight:900}.button{border:0;border-radius:12px;padding:12px 18px;font-weight:800;cursor:pointer;display:inline-flex;align-items:center;justify-content:center;transition:.16s}.button.primary{background:linear-gradient(135deg,#8b5cf6,#3b82f6);color:#fff;box-shadow:0 8px 18px rgba(59,130,246,.22)}.button.secondary{background:#fff;color:#0369a1;border:1px solid #7dd3fc}.button.ghost{background:#fff;color:#475569;border:1px solid var(--border)}.button.danger{background:#fee2e2;color:#b91c1c;border:1px solid #fecaca}.button.small{padding:9px 13px;font-size:13px}.button.full{width:100%}.button:hover{transform:translateY(-1px)}.button.copied{background:#10b981;color:#fff}.category-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:14px;margin:22px 0}.category-card{background:#fff;border:2px solid var(--border);border-radius:18px;padding:20px;display:grid;grid-template-columns:auto 1fr;column-gap:12px;align-items:center}.category-card:hover,.category-card.selected{border-color:#38bdf8;box-shadow:0 8px 24px rgba(15,23,42,.07)}.category-icon{grid-row:1/3;font-size:28px}.category-card strong{font-size:18px}.category-card small{color:var(--muted);margin-top:4px}.filter-bar{display:grid;grid-template-columns:1fr 220px auto auto;gap:10px;background:#fff;border:1px solid var(--border);padding:14px;border-radius:16px}.filter-bar input,.filter-bar select,.form-stack input,.form-stack textarea,.form-stack select{width:100%;border:1px solid #cbd5e1;border-radius:12px;padding:12px 14px;background:#fff;color:var(--text);outline:none}.filter-bar input:focus,.filter-bar select:focus,.form-stack input:focus,.form-stack textarea:focus,.form-stack select:focus{border-color:#38bdf8;box-shadow:0 0 0 4px #e0f2fe}.text-link{align-self:center;color:#0284c7;font-weight:700;font-size:14px}.section-heading{display:flex;align-items:center;justify-content:space-between;margin:28px 0 14px}.section-heading h2{margin:0;font-size:22px}.section-heading span{color:var(--muted);font-size:14px}.section-heading.compact{margin:0 0 12px}.prompt-grid{display:grid;grid-template-columns:repeat(2,1fr);gap:16px}.prompt-card{background:#fff;border:1px solid var(--border);border-radius:20px;padding:20px;box-shadow:0 4px 14px rgba(15,23,42,.04);display:flex;flex-direction:column;min-width:0}.card-top,.detail-title-row{display:flex;align-items:flex-start;justify-content:space-between;gap:16px}.prompt-card h3{font-size:19px;margin:14px 0 8px}.prompt-card h3 a:hover{color:#0284c7}.purpose{color:#475569;line-height:1.65;margin:0 0 12px}.category-badge{display:inline-flex;border-radius:999px;padding:5px 9px;font-size:12px;font-weight:900}.category-badge.main{background:#e0f2fe;color:#0369a1}.category-badge.secondary{background:#fef3c7;color:#92400e}.category-badge.detail{background:#ede9fe;color:#6d28d9}.help-count{color:#475569;font-size:13px;font-weight:800}.help-count.large{font-size:14px;background:#f8fafc;padding:9px 12px;border-radius:12px}.tags{display:flex;flex-wrap:wrap;gap:6px}.tags span{background:#f1f5f9;color:#475569;border-radius:8px;padding:5px 8px;font-size:12px;font-weight:700}.prompt-preview{margin:14px 0;color:#64748b;background:#f8fafc;border-radius:12px;padding:12px;line-height:1.65;display:-webkit-box;-webkit-line-clamp:3;-webkit-box-orient:vertical;overflow:hidden;white-space:pre-wrap}.card-actions{display:flex;justify-content:space-between;align-items:center;gap:10px;margin-top:auto}.card-actions form{margin:0}.helpful-button{border:1px solid #fde68a;background:#fffbeb;color:#92400e;border-radius:11px;padding:9px 12px;font-weight:800;cursor:pointer}.helpful-button.active{background:#fbbf24;color:#78350f}.helpful-button.large{font-size:15px;padding:12px 18px}.empty-state{grid-column:1/-1;background:#fff;border:1px dashed #cbd5e1;border-radius:18px;padding:44px;text-align:center;color:var(--muted)}.empty-state strong{display:block;color:var(--text);font-size:18px}.back-row{margin-bottom:14px}.back-row a{color:#0284c7;font-weight:800}.detail-card,.form-card{background:#fff;border:1px solid var(--border);border-radius:22px;padding:28px;box-shadow:0 4px 16px rgba(15,23,42,.04)}.detail-title-row h1{font-size:30px;margin:12px 0 0}.detail-section{border-top:1px solid var(--border);padding-top:20px;margin-top:22px}.detail-section h2,.form-card h2{font-size:18px;margin:0 0 10px}.prompt-full{white-space:pre-wrap;word-break:break-word;background:#0f172a;color:#e2e8f0;padding:20px;border-radius:15px;line-height:1.8;font-family:inherit;font-size:15px;overflow:auto}.detail-helpful{margin-top:24px}.page-heading{display:flex;align-items:flex-start;justify-content:space-between;gap:20px;margin-bottom:20px}.form-stack{display:flex;flex-direction:column;gap:17px}.form-stack label{font-weight:800;color:#334155;display:flex;flex-direction:column;gap:8px}.form-stack textarea{resize:vertical;line-height:1.7}.form-actions,.button-row{display:flex;flex-wrap:wrap;gap:10px}.submission-list,.admin-list{display:flex;flex-direction:column;gap:12px}.submission-row,.admin-row{background:#fff;border:1px solid var(--border);border-radius:18px;padding:20px;display:grid;grid-template-columns:1fr 230px;gap:22px}.submission-row h2,.admin-row h2{font-size:18px;margin:10px 0 6px}.submission-row p,.admin-row p{color:var(--muted);margin:0;line-height:1.6}.submission-status,.source-meta{display:flex;flex-direction:column;gap:8px;align-items:flex-end;text-align:right}.submission-status small,.source-meta small,.source-meta span{color:var(--muted)}.status{display:inline-flex;border-radius:999px;padding:6px 10px;font-size:12px;font-weight:900;background:#f1f5f9}.status.pending{background:#fef3c7;color:#92400e}.status.published{background:#d1fae5;color:#047857}.status.rejected{background:#fee2e2;color:#b91c1c}.status.archived{background:#e2e8f0;color:#475569}.review-note{background:#fff7ed;padding:10px;border-radius:10px;text-align:left;font-size:13px}details{margin-top:12px}summary{cursor:pointer;color:#0284c7;font-weight:800}.status-tabs{display:flex;gap:8px;margin-bottom:16px}.status-tabs a{background:#fff;border:1px solid var(--border);border-radius:10px;padding:9px 13px;font-weight:800;color:#64748b}.status-tabs a.active{background:#0ea5e9;color:#fff;border-color:#0ea5e9}.admin-row:hover{border-color:#7dd3fc}.two-columns{display:grid;grid-template-columns:1fr 1fr;gap:16px;margin-bottom:16px}.table-card{overflow:hidden}.simple-table{display:flex;flex-direction:column}.table-head,.table-row{display:grid;grid-template-columns:1.2fr 1.2fr .7fr .7fr;gap:12px;padding:12px 4px;border-bottom:1px solid var(--border)}.table-head{font-size:12px;color:var(--muted);font-weight:900}.login-wrap{min-height:calc(100vh - 190px);display:grid;place-items:center}.login-card{width:min(430px,100%);background:#fff;border:1px solid var(--border);border-radius:26px;padding:34px;box-shadow:0 18px 45px rgba(15,23,42,.09);text-align:center}.login-card h1{font-size:29px;margin:8px 0}.login-card .muted{color:var(--muted);margin-bottom:24px}.login-card label{text-align:left}.login-logo{margin-bottom:12px}.error-page{text-align:center;background:#fff;border-radius:24px;padding:64px 24px}.error-icon{width:64px;height:64px;display:grid;place-items:center;margin:0 auto;border-radius:50%;background:#fee2e2;color:#b91c1c;font-size:32px;font-weight:900}.error-page p{color:var(--muted);margin-bottom:24px}@media(max-width:820px){.header-inner{flex-wrap:wrap;padding:10px 0}.nav{order:3;width:100%;overflow-x:auto}.account{margin-left:auto}.hero{align-items:flex-start;flex-direction:column;padding:26px}.hero h1,.page-heading h1{font-size:28px}.category-grid{grid-template-columns:1fr}.filter-bar{grid-template-columns:1fr 1fr}.filter-bar input{grid-column:1/-1}.prompt-grid{grid-template-columns:1fr}.submission-row,.admin-row{grid-template-columns:1fr}.submission-status,.source-meta{align-items:flex-start;text-align:left}.two-columns{grid-template-columns:1fr}}@media(max-width:520px){.shell{width:min(100% - 24px,1120px)}.page{padding-top:18px}.brand small{display:none}.nav a{padding:8px 9px;font-size:13px}.account span{display:none}.filter-bar{grid-template-columns:1fr}.filter-bar input{grid-column:auto}.page-heading,.detail-title-row{flex-direction:column}.detail-card,.form-card{padding:19px}.prompt-card{padding:17px}.card-actions{align-items:stretch;flex-direction:column}.card-actions form,.card-actions button{width:100%}.simple-table{overflow-x:auto}.table-head,.table-row{min-width:560px}.login-card{padding:26px 20px}}

