:root{font-family:Inter,ui-sans-serif,system-ui,-apple-system,"Segoe UI",sans-serif;color:#192337;background:#f4f6fb;font-size:15px}*{box-sizing:border-box}body{margin:0}.shell{max-width:940px;margin:auto;min-height:100vh}header{background:#101827;color:white;padding:17px 22px;display:flex;align-items:center;justify-content:space-between;gap:12px}.brand{display:flex;align-items:center;gap:12px}.brand strong{display:block;font-size:16px}.brand small{display:block;color:#aebbd2;font-size:11px;margin-top:3px}.logo{background:linear-gradient(140deg,#8d5df6,#ea67a8);border-radius:12px;width:42px;height:42px;display:grid;place-items:center;font-size:22px}nav{display:grid;grid-template-columns:repeat(4,1fr);background:white;border-bottom:1px solid #e1e6f1;position:sticky;top:0;z-index:3}nav button{background:transparent;border:0;padding:15px 3px;font-weight:700;color:#68758a;font-size:13px;cursor:pointer}nav button.active{color:#7049da;border-bottom:3px solid #7049da}main{padding:18px 15px 28px}.tab{display:none}.tab.active{display:block}.intro{padding:18px 4px 14px}.eyebrow{font-size:11px;letter-spacing:.16em;color:#7950d9;font-weight:800}.intro h1{font-size:clamp(23px,5vw,33px);margin:9px 0}.intro p{color:#65748b;line-height:1.55;margin:0}.panel{background:#fff;border:1px solid #e6e9f3;border-radius:18px;padding:19px;margin:14px 0;box-shadow:0 6px 22px #23334c08}h2{font-size:17px;margin:0 0 16px}.grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}label{display:block;font-weight:650;font-size:12px;color:#45546b;margin:0 0 13px}input:not([type=checkbox]),select,textarea{display:block;width:100%;margin-top:7px;border:1px solid #dbe0eb;border-radius:11px;padding:12px;background:#fbfcff;color:#18243b;font:inherit;font-size:14px;outline:none}input:focus,select:focus,textarea:focus{border-color:#8c64ef;box-shadow:0 0 0 3px #8c64ef18}textarea{resize:vertical;line-height:1.5}.hint{font-size:12px;color:#77849a;font-weight:400;line-height:1.5;display:block;margin-top:6px}.check{display:flex;flex-wrap:wrap;gap:12px}.check label{display:flex;align-items:center;gap:7px}.check input{accent-color:#7950d9}.total{background:#f2edff;border-radius:11px;padding:13px;display:flex;justify-content:space-between;margin:8px 0 14px}.total strong{color:#7049da}button{cursor:pointer}button.primary,button.secondary,button.danger,.icon-btn{border-radius:11px;padding:12px 15px;font-size:13px;font-weight:750;border:0;margin:4px 7px 4px 0}.primary{background:#754be0;color:#fff}.secondary{background:#eee9fc;color:#633cc4}.danger{background:#fff0f0;color:#ae3434}.full{width:100%;margin:7px 0!important}.heading{display:flex;align-items:center;justify-content:space-between;gap:8px}.heading h2{margin:0}.shortcut{background:#f5f0ff;color:#6b46c6;padding:13px;border-radius:11px;font-size:12px;overflow-wrap:anywhere}.scene{border:1px solid #e4e6f0;border-radius:14px;margin:15px 0;padding:14px}.scene h3{margin:0 0 7px;font-size:15px}.scene .dialog{background:#eef9f5;border-radius:10px;padding:11px;font-weight:600;color:#1d6955}.scene pre{white-space:pre-wrap;overflow-wrap:anywhere;background:#151e2f;color:#e8efff;padding:13px;border-radius:10px;font:12px/1.6 ui-monospace,SFMono-Regular,Consolas,monospace;max-height:320px;overflow:auto}.items{display:grid;gap:12px;margin-top:15px}.item{border:1px solid #e5e8f0;padding:13px;border-radius:13px;display:flex;gap:12px;align-items:center}.item .info{flex:1;min-width:0}.item strong{display:block;overflow-wrap:anywhere}.item small{display:block;color:#77849a;margin-top:4px}.item img{width:60px;height:60px;object-fit:cover;border-radius:9px}.item button{border:0;background:#f0ecfc;color:#6642c4;padding:9px;border-radius:9px}.preview{max-width:160px;max-height:170px;object-fit:contain;border:1px solid #e5e8f0;border-radius:10px;margin-bottom:10px}footer{text-align:center;color:#8290a5;font-size:11px;padding:18px}#toast{position:fixed;bottom:25px;left:50%;transform:translateX(-50%);background:#18253c;color:white;border-radius:11px;padding:12px 20px;display:none;z-index:9;box-shadow:0 10px 28px #0003;max-width:90vw;text-align:center}@media(max-width:520px){main{padding:11px}.panel{padding:15px}.grid{grid-template-columns:1fr}nav button{font-size:11px}header{padding:12px}.brand strong{font-size:14px}.brand small{font-size:10px}}

.ai-panel{margin-top:16px;padding:16px;border:1px solid #c5b9f4;border-radius:16px;background:#f8f6ff}.ai-panel h3{margin:0 0 8px}.ai-panel p{font-size:14px;line-height:1.6}.ai-panel pre{white-space:pre-wrap;overflow-wrap:anywhere;font-size:12px;max-height:330px;overflow:auto;background:white;border-radius:10px;padding:12px}.ai-panel button{margin:8px 0}
