:root{font-family:'Noto Sans SC',system-ui,sans-serif;color:#24342e;background:#f6f7f3;font-size:14px;--green:#245c47;--line:#e3e8df;--muted:#7c877e}*{box-sizing:border-box}body{margin:0}button,input,select{font:inherit}button,a{ -webkit-tap-highlight-color:transparent}button{cursor:pointer;border:0;background:none;color:inherit}a{color:inherit;text-decoration:none}[hidden]{display:none!important}.workspace{display:flex;min-height:100vh}aside{width:234px;background:#fff;border-right:1px solid var(--line);padding:32px 20px;position:fixed;inset:0 auto 0 0;display:flex;flex-direction:column}.brand{display:flex;gap:12px;align-items:center;font-size:22px;font-weight:700;padding:0 10px}.fish-mark{display:grid;place-items:center;width:44px;height:44px;background:var(--green);color:#f4e1b3;border-radius:14px;font-size:24px;font-weight:700}.brand small{display:block;color:var(--muted);font-size:10px;letter-spacing:2px;font-weight:400;margin-top:4px}.nav-label{font-size:11px;color:#98a096;letter-spacing:2px;margin:43px 14px 15px}nav{display:grid;gap:7px}nav button{display:flex;align-items:center;gap:13px;text-align:left;padding:13px 16px;border-radius:9px;color:#7d877f;font-size:18px}nav button span{font-size:13px}nav button.active{background:#eaf1e9;color:var(--green);font-weight:600}nav button:hover{background:#f1f5ef}.aside-bottom{margin-top:auto;padding:24px 10px 0;font-size:10px;color:var(--muted);line-height:2}.aside-bottom button{display:block;padding:15px 0 0;font-size:12px}.tiny-dot{display:inline-block;width:6px;height:6px;background:#6d977b;border-radius:50%;margin-right:5px}.main{margin-left:234px;flex:1;min-width:0}header{height:82px;border-bottom:1px solid var(--line);display:flex;align-items:center;justify-content:space-between;padding:0 38px;background:#ffffffb0}.breadcrumb{font-size:12px;color:#92998f}.breadcrumb span{margin:0 12px;color:#c4cbbf}.breadcrumb b{font-weight:500;color:#36483e}.header-right{display:flex;align-items:center;gap:20px;font-size:12px}.avatar{display:grid;place-items:center;background:#eadfc8;color:#756342;width:31px;height:31px;border-radius:50%;font-weight:600}.pill{background:#edf3e9;color:#517455;padding:5px 12px;border-radius:30px;font-size:11px}.pill.off{background:#fcf0e9;color:#aa6b43}main{max-width:1420px;padding:35px 38px 60px;margin:auto}.eyebrow{font-size:10px;letter-spacing:2px;color:#8c978e;margin-bottom:11px}.page-title{display:flex;justify-content:space-between;align-items:center;margin-bottom:26px}h1{font-size:28px;letter-spacing:-1px;margin:0 0 10px;font-weight:600}h2{font-size:17px;margin:0 0 9px;font-weight:600}h3{font-size:14px;margin:0 0 8px}.muted{color:var(--muted);line-height:1.8;font-size:12px;margin:0}.primary,.secondary,.danger{display:inline-flex;align-items:center;justify-content:center;gap:25px;padding:11px 19px;border-radius:7px;font-size:12px;white-space:nowrap}.primary{background:var(--green);color:white}.primary:hover{background:#184b37}.secondary{border:1px solid #d7dfd4;background:white}.danger{color:#ad5a4a;background:#fcf3ef}.hero{background:#e7edde;border-radius:15px;padding:30px 33px;display:flex;justify-content:space-between;align-items:center;min-height:185px;border:1px solid #dbe4d2}.hero h2{font-size:25px;margin:5px 0 12px}.hero .muted{max-width:450px;color:#64745d}.hero-art{width:170px;height:115px;position:relative;margin-right:30px}.fish-body{position:absolute;inset:8px 5px 8px 20px;border-radius:55% 47% 50% 48%;background:#e7bd6c;transform:rotate(-8deg);box-shadow:inset -13px -8px 0 #d4a856}.fish-body:after{content:'';position:absolute;left:32px;top:28px;width:10px;height:10px;border-radius:50%;background:#384c3d;box-shadow:0 0 0 6px #fff6da}.fish-tail{position:absolute;right:-14px;top:34px;width:45px;height:55px;background:#bf9351;clip-path:polygon(0 50%,100% 0,85% 100%)}.bubble{position:absolute;left:-10px;top:-3px;border:2px solid #bdcdb6;border-radius:50%;width:14px;height:14px}.bubble.two{left:-28px;top:28px;width:8px;height:8px}.stats{display:grid;grid-template-columns:repeat(3,1fr);gap:18px;margin:22px 0 30px}.stat,.card{background:white;border:1px solid var(--line);border-radius:12px;padding:23px}.stat-label{color:#7e8a7f;font-size:11px;margin-bottom:15px;display:flex;justify-content:space-between}.stat-value{font-size:23px;font-weight:600;letter-spacing:-.5px}.stat small{display:block;font-size:10px;color:#99a192;margin-top:10px}.grid2{display:grid;grid-template-columns:1.2fr 1fr;gap:22px}.section-title{display:flex;justify-content:space-between;align-items:center;margin:0 0 18px}.section-title a{color:var(--green);font-size:11px;cursor:pointer}.quick-grid{display:grid;grid-template-columns:1fr 1fr;gap:12px}.quick{padding:19px 17px;background:#f8f9f5;border-radius:8px;text-align:left;border:1px solid #edf0e9}.quick strong{display:block;font-weight:500;font-size:12px;margin-bottom:8px}.quick small{color:var(--muted);font-size:10px}.note{padding:15px 0;display:flex;gap:12px;border-bottom:1px solid #eef1ea}.note:last-child{border:0}.note-icon{background:#eff2e9;width:30px;height:30px;display:grid;place-items:center;border-radius:8px;color:#68815c;flex-shrink:0}.note p{margin:0 0 6px;font-size:12px}.note small{font-size:10px;color:var(--muted)}.footer-note{margin-top:25px;color:#9aa395;font-size:10px;letter-spacing:.3px}.rules-toolbar{display:flex;justify-content:space-between;align-items:center;margin-bottom:20px}.field{display:grid;gap:8px;font-size:12px;flex:1}.field small{color:var(--muted);font-size:10px}input,select{width:100%;border:1px solid #dce3d7;border-radius:7px;background:white;padding:10px 12px;color:#263c30;outline:none}input:focus,select:focus{border-color:#6a9377;box-shadow:0 0 0 3px #edf4e8}.owner-card{padding:24px;background:white;border:1px solid var(--line);border-radius:12px;margin-bottom:18px}.owner-head{display:flex;align-items:center;justify-content:space-between;margin-bottom:20px}.owner-fields{display:flex;gap:20px;margin-bottom:20px}.checks{display:grid;grid-template-columns:1fr 1fr;gap:0 25px}.check-row{display:flex;align-items:center;justify-content:space-between;border-top:1px solid #eef1e9;padding:16px 0;gap:10px}.check-row b{font-size:12px;font-weight:500;display:block;margin-bottom:5px}.check-row small{font-size:10px;color:var(--muted)}input[type=checkbox]{appearance:none;position:relative;flex-shrink:0;width:34px;height:20px;border:0;background:#d8ded3;border-radius:20px;padding:0;cursor:pointer}input[type=checkbox]:after{content:'';position:absolute;width:14px;height:14px;top:3px;left:3px;background:white;border-radius:50%;transition:.15s}input[type=checkbox]:checked{background:var(--green)}input[type=checkbox]:checked:after{left:17px}.settings-line{display:flex;align-items:center;justify-content:space-between;gap:30px}.settings-line select{max-width:250px}.empty{padding:60px 20px;text-align:center;color:var(--muted);font-size:13px}.memory-item{border-bottom:1px solid var(--line);padding:18px 0;display:flex;align-items:flex-start;justify-content:space-between;gap:20px}.memory-item:last-child{border:0}.memory-item p{font-size:13px;line-height:1.7;white-space:pre-wrap;margin:10px 0 0}.memory-item small{font-size:10px;color:var(--muted)}.qq-card{display:flex;gap:40px;align-items:center;min-height:280px}.qq-avatar{width:90px;height:90px;border-radius:25px;background:#e6edde;display:grid;place-items:center;color:#58784a;font-size:42px}.qr-image{width:235px;height:235px;object-fit:contain;border:1px solid var(--line);border-radius:10px}.engine-card{padding:0;overflow:hidden}.engine-frame{border:0;width:100%;height:calc(100vh - 215px);min-height:550px;background:white}.login-wrap{min-height:100vh;display:grid;place-items:center;padding:25px;background:#f0f3e9}.login-card{width:420px;max-width:100%;background:white;border:1px solid #e0e6da;padding:38px;border-radius:18px;box-shadow:0 15px 55px #344c2910}.login-card h1{font-size:24px;margin-top:22px}.login-card label{display:block;font-size:12px;margin-top:22px}.login-card input{margin-top:8px}.login-card .primary{width:100%;margin:15px 0;justify-content:space-between}.login-card small{display:block;text-align:center;font-size:10px;color:var(--muted)}.error{font-size:12px;color:#b05242;min-height:17px}#toast{position:fixed;bottom:28px;left:50%;transform:translateX(-30%);background:#254c39;color:white;padding:13px 25px;border-radius:9px;z-index:20;box-shadow:0 7px 25px #0002;font-size:12px}button:disabled{opacity:.5;cursor:wait}.loading{padding:80px;text-align:center;color:var(--muted)}@media(min-width:1500px){main{padding:45px 60px}header{padding:0 60px}.hero{min-height:210px}.stats{margin:25px 0 35px}}@media(max-width:900px){aside{width:190px;padding:24px 12px}.main{margin-left:190px}main{padding:25px 22px}header{padding:0 22px}.grid2{grid-template-columns:1fr}.hero-art{margin-right:0;width:130px}.stats{gap:10px}.stat{padding:18px}.checks{grid-template-columns:1fr}}@media(max-width:600px){aside{position:relative;width:100%;padding:18px}.workspace{display:block}.brand{font-size:19px}.nav-label,.aside-bottom{display:none}nav{display:flex;overflow:auto;margin-top:18px;gap:5px}nav button{white-space:nowrap;padding:10px;font-size:15px;gap:7px}.main{margin-left:0}header{height:58px}.header-right{gap:10px}.breadcrumb{font-size:10px}main{padding:25px 16px}.page-title{gap:14px}h1{font-size:23px}.hero{padding:24px}.hero-art{display:none}.hero h2{font-size:21px}.stats{grid-template-columns:1fr}.stat{display:grid;grid-template-columns:1fr 1fr}.stat small{grid-column:1/-1}.stat-label{margin:0}.stat-value{text-align:right;font-size:18px}.owner-fields{flex-direction:column;gap:15px}.qq-card{flex-direction:column;gap:25px}.rules-toolbar{align-items:flex-start;gap:15px}.settings-line{align-items:flex-start;flex-direction:column;gap:15px}.settings-line select{max-width:none}.engine-frame{height:72vh}.quick-grid{gap:8px}}

.engine-card{position:relative}.frame-status{position:absolute;inset:0;min-height:550px;display:flex;align-items:center;justify-content:center;flex-direction:column;background:#fff;gap:16px;text-align:center;padding:25px;z-index:1}.frame-status h2{margin:0}.frame-spinner{height:30px;width:30px;border:3px solid #e7edde;border-top-color:#245c47;border-radius:50%;animation:spin 1s linear infinite}.frame-recovery{margin-top:10px}.frame-recovery p{margin-bottom:15px}@keyframes spin{to{transform:rotate(360deg)}}

.native-models{display:grid;grid-template-columns:repeat(auto-fit,minmax(260px,1fr));gap:18px}.native-address{font-size:11px;color:#7c877e;word-break:break-all;margin:20px 0}.native-model h2{font-size:20px;word-break:break-word}.native-fields{display:grid;grid-template-columns:1fr 1fr;gap:20px}#native-editor{margin-top:25px}.persona-preview{font-size:12px;color:#7c877e;line-height:1.9;height:100px;overflow:hidden;white-space:pre-wrap;margin-bottom:22px}textarea{font:inherit;width:100%;border:1px solid #dce3d7;border-radius:8px;padding:15px;line-height:1.9;resize:vertical;color:#24342e;background:#fafbf8}textarea:focus{outline:2px solid #c8dccb}input[readonly]{background:#f5f7f0;color:#7c877e}@media(max-width:600px){.native-fields{grid-template-columns:1fr}.native-models{grid-template-columns:1fr}}
