html,body,#root{height:100%;margin:0}body{background:#f4f6f8;color:#1f2a33;-webkit-font-smoothing:antialiased}a{color:inherit}.shell-logo{display:flex;align-items:center;gap:10px;color:#fff;padding:16px 18px;font-weight:700;font-size:17px;letter-spacing:2px;border-bottom:1px solid rgba(255,255,255,.08);white-space:nowrap;overflow:hidden}.shell-logo .seal{width:30px;height:30px;border-radius:7px;background:linear-gradient(135deg,#155e75,#0e7490);display:grid;place-items:center;font-size:16px;flex:none}.shell-logo small{display:block;font-weight:400;font-size:11px;letter-spacing:0;color:#fff9}.page{padding:16px 20px 32px;max-width:1480px;margin:0 auto}.page-head{display:flex;align-items:flex-start;justify-content:space-between;gap:12px;margin-bottom:14px;flex-wrap:wrap}.page-head h2{margin:0;font-size:20px}.page-head .sub{color:#64748b;font-size:13px;margin-top:4px}.card-grid{display:grid;gap:14px}.mono{font-family:ui-monospace,SFMono-Regular,Menlo,monospace}.muted{color:#64748b}.small{font-size:12px}.nowrap{white-space:nowrap}.stage-bar{display:flex;flex-wrap:wrap;gap:6px}.stage-bar .st{padding:4px 10px;border-radius:999px;font-size:12px;background:#eef2f5;color:#52606d;border:1px solid #e2e8f0;cursor:pointer}.stage-bar .st.done{background:#e6f4f1;color:#0f766e;border-color:#b9e3dd}.stage-bar .st.cur{background:#155e75;color:#fff;border-color:#155e75;font-weight:600}.stage-bar .st.gate{border-style:dashed}.write-layout{display:grid;grid-template-columns:270px minmax(0,1fr) 380px;gap:12px;height:calc(100vh - 258px);min-height:520px}.write-layout .pane{background:#fff;border:1px solid #e2e8f0;border-radius:10px;overflow:auto}.write-layout .pane.center{display:flex;flex-direction:column;overflow:hidden}.ed-head{padding:12px 16px 8px;border-bottom:1px solid #eef2f5}.ed-title{font-size:16px;font-weight:600;display:flex;align-items:center;gap:8px;flex-wrap:wrap}.ed-toolbar{display:flex;gap:2px;flex-wrap:wrap;padding:6px 10px;border-bottom:1px solid #eef2f5}.ed-toolbar button{border:1px solid transparent;background:transparent;border-radius:6px;min-width:28px;height:28px;cursor:pointer;font-size:13px;color:#334155}.ed-toolbar button:hover{background:#f1f5f9}.ed-toolbar button.on{background:#e0f2fe;color:#0369a1}.ed-toolbar .sep{width:1px;background:#e2e8f0;margin:4px}.ed-scroll{flex:1;overflow:auto}.pm-editor{outline:none;padding:18px 28px 60px;min-height:100%;font-size:15px;line-height:1.9}.pm-editor p.is-editor-empty:first-child:before{content:attr(data-placeholder);float:left;color:#adb5bd;pointer-events:none;height:0}.pm-editor h1,.pm-editor h2,.pm-editor h3,.pm-editor h4{line-height:1.4;margin:14px 0 8px}.pm-editor table{border-collapse:collapse;width:100%;margin:10px 0;table-layout:fixed}.pm-editor th,.pm-editor td{border:1px solid #94a3b8;padding:6px 8px;vertical-align:top;position:relative;min-width:60px}.pm-editor th{background:#f1f5f9;font-weight:600;text-align:left}.pm-editor .selectedCell:after{content:"";position:absolute;top:0;right:0;bottom:0;left:0;background:#155e751f;pointer-events:none}.pm-editor img{max-width:100%;height:auto;border-radius:6px}.pm-editor blockquote{border-left:3px solid #94a3b8;margin:10px 0;padding-left:12px;color:#475569}.pm-editor pre{background:#f4f4f5;padding:10px 12px;border-radius:6px;font-size:13px}.pm-editor .comment-mark{background:#fff1b8;border-bottom:2px solid #f5b800}.pm-read{padding:18px 28px 60px;font-size:15px;line-height:1.9;white-space:pre-wrap}.ai-out{background:#f8fafc;border:1px solid #e2e8f0;border-radius:8px;padding:10px 12px;max-height:360px;overflow:auto;font-size:13px;line-height:1.75;white-space:pre-wrap;word-break:break-word}.ai-cursor:after{content:"▌";color:#155e75;animation:blink 1s steps(1) infinite}@keyframes blink{50%{opacity:0}}.md h1,.md h2,.md h3{margin:14px 0 6px;line-height:1.4}.md h1{font-size:18px}.md h2{font-size:16px}.md h3{font-size:15px}.md p{margin:6px 0}.md ul{padding-left:20px;margin:6px 0}.md table{border-collapse:collapse;margin:8px 0;font-size:13px}.md th,.md td{border:1px solid #cbd5e1;padding:5px 8px}.md th{background:#f1f5f9}.md code{background:#f1f5f9;padding:1px 4px;border-radius:4px;font-size:13px}.login-wrap{min-height:100vh;display:grid;place-items:center;background:radial-gradient(1200px 600px at 20% 0%,#0e7490,#0f2e3d 55%,#081c26);padding:24px}.login-card{width:940px;max-width:100%;display:grid;grid-template-columns:1.05fr 1fr;border-radius:16px;overflow:hidden;box-shadow:0 30px 80px #00000073}.login-hero{color:#e6f4f1;padding:40px 36px;background:linear-gradient(160deg,#ffffff0f,#fff0)}.login-hero h1{font-size:30px;margin:0 0 8px;letter-spacing:4px;color:#fff}.login-hero .flow{margin-top:22px;display:flex;flex-wrap:wrap;gap:6px}.login-hero .flow span{font-size:12px;padding:3px 9px;border-radius:999px;background:#ffffff1a}.login-form{background:#fff;padding:36px 32px}@media (max-width: 900px){.login-card{grid-template-columns:1fr}.login-hero{display:none}.write-layout{grid-template-columns:1fr;height:auto}}.kv{display:grid;grid-template-columns:96px 1fr;gap:6px 12px;font-size:13px}.kv .k{color:#64748b}.pattern-card{border:1px solid #e2e8f0;border-radius:10px;padding:12px 14px;cursor:pointer;transition:.15s;height:100%}.pattern-card:hover{border-color:#155e75}.pattern-card.on{border-color:#155e75;box-shadow:0 0 0 2px #155e7526}.issue-row-critical{background:#fff1f0!important}.issue-row-critical>td{background:#fff1f0!important}
