:root{font-family:-apple-system,BlinkMacSystemFont,SF Pro Text,PingFang SC,Noto Sans SC,Microsoft YaHei,sans-serif;color:#26262a;background:#f6f5f3;font-synthesis:none;--ink: #26262a;--ink-2: #55555c;--muted: #8e8e95;--red: #d0342c;--red-deep: #a82a22;--red-soft: rgba(208, 52, 44, .09);--green: #1b9e5e;--green-soft: rgba(27, 158, 94, .1);--blue: #2f6be8;--line: rgba(60, 52, 44, .11);--line-soft: rgba(60, 52, 44, .055);--panel: rgba(255, 255, 255, .9);--shadow: 0 1px 2px rgba(72, 60, 48, .045), 0 16px 44px rgba(72, 60, 48, .055)}*{box-sizing:border-box}html,body,#root{width:100%;min-height:100%}body{margin:0;min-width:320px;background:#f6f5f3;-webkit-font-smoothing:antialiased}button,input,textarea,select{font:inherit;color:inherit}button{cursor:pointer}button:focus-visible,input:focus-visible,textarea:focus-visible,select:focus-visible{outline:2px solid #f08c85;outline-offset:2px}svg{width:20px;height:20px}.chef-shell{min-height:100vh;display:grid;grid-template-columns:242px minmax(0,1fr)}.chef-sidebar{height:100vh;padding:24px 15px;position:sticky;top:0;display:flex;flex-direction:column;border-right:1px solid rgba(60,52,44,.07);background:#ffffffd1;-webkit-backdrop-filter:blur(24px) saturate(140%);backdrop-filter:blur(24px) saturate(140%)}.chef-brand{padding:2px 8px 25px;display:flex;align-items:center;gap:11px}.chef-brand>span:last-child{display:grid;gap:2px}.chef-brand strong{font-size:14px;letter-spacing:.02em}.chef-brand small{color:var(--muted);font-size:10px;letter-spacing:.1em}.chef-mark{width:36px;height:36px;display:grid;place-items:center;flex:none;border-radius:11px;color:#fff;background:var(--red);box-shadow:0 5px 14px #d0342c3d,inset 0 1px #ffffff59}.chef-mark svg{width:20px}.chef-mark.large{width:54px;height:54px;border-radius:16px}.chef-mark.large svg{width:26px}.chef-sidebar nav{display:grid;gap:5px}.chef-sidebar nav p{margin:22px 10px 7px;color:#aaa9ae;font-size:10px;font-weight:700;letter-spacing:.14em}.chef-sidebar nav button{min-height:43px;padding:0 12px;display:flex;align-items:center;gap:11px;border:0;border-radius:12px;background:transparent;color:var(--ink-2);font-size:13px;text-align:left}.chef-sidebar nav button svg{width:18px;color:var(--muted)}.chef-sidebar nav button:hover{background:#00000009}.chef-sidebar nav button.active{color:var(--red);background:var(--red-soft);font-weight:700}.chef-sidebar nav button.active svg{color:var(--red)}.sidebar-user{margin-top:auto;padding:14px 9px 0;display:grid;grid-template-columns:34px minmax(0,1fr);align-items:center;gap:9px;border-top:1px solid var(--line-soft)}.sidebar-user>span{width:34px;height:34px;display:grid;place-items:center;border-radius:50%;color:#fff;background:var(--ink);font-size:12px;font-weight:700}.sidebar-user>div{min-width:0;display:grid;gap:2px}.sidebar-user strong{overflow:hidden;font-size:10px;text-overflow:ellipsis;white-space:nowrap}.sidebar-user button{width:fit-content;padding:0;border:0;background:transparent;color:var(--muted);font-size:10px}.chef-main{min-width:0}.page-header{min-height:132px;padding:31px clamp(30px,5vw,72px) 25px;display:flex;align-items:center;justify-content:space-between;border-bottom:1px solid var(--line-soft);background:#ffffff8c}.page-header>div:first-child>span{color:var(--red);font-size:10px;font-weight:800;letter-spacing:.13em}.page-header h1{margin:6px 0;font-size:28px;letter-spacing:-.045em}.page-header p{margin:0;color:var(--muted);font-size:12.5px}.today{min-width:146px;padding:11px 14px;display:flex;align-items:center;gap:10px;border:1px solid rgba(255,255,255,.95);border-radius:14px;background:var(--panel);box-shadow:var(--shadow)}.today>svg{width:18px;color:var(--red)}.today span{display:grid;gap:2px}.today small{color:var(--muted);font-size:9px}.today strong{font-size:11px}.workbench-content,.settings-content,.history-content{width:min(1050px,calc(100% - 64px));margin:28px auto 70px}.setup-banner,.page-alert{min-height:62px;margin-bottom:18px;padding:12px 16px;display:flex;align-items:center;justify-content:space-between;gap:18px;border:1px solid rgba(208,52,44,.18);border-radius:16px;background:var(--red-soft)}.setup-banner>span{display:flex;align-items:center;gap:11px}.setup-banner svg,.page-alert svg{width:19px;flex:none;color:var(--red)}.setup-banner span span{display:grid;gap:2px}.setup-banner strong{font-size:12px}.setup-banner small{color:var(--muted);font-size:11px}.setup-banner button{display:inline-flex;align-items:center;gap:4px;border:0;background:transparent;color:var(--red);font-size:11px;font-weight:700;white-space:nowrap}.setup-banner button svg{width:14px}.page-alert{justify-content:flex-start;color:var(--red-deep);font-size:12px}.page-alert.success{border-color:#1b9e5e33;color:var(--green);background:var(--green-soft)}.page-alert.success svg{color:var(--green)}.planning-card,.connection-card,.agent-setting-card,.history-card{margin-bottom:18px;border:1px solid rgba(255,255,255,.96);border-radius:20px;background:var(--panel);box-shadow:var(--shadow),inset 0 1px #fffffff2}.planning-card{padding:24px}.step-heading{display:flex;align-items:center;gap:12px}.step-heading>span:first-child{width:29px;height:29px;display:grid;place-items:center;border-radius:9px;color:#fff;background:var(--ink);font-size:11px;font-weight:700}.step-heading>div{display:grid;gap:2px}.step-heading h2{margin:0;font-size:16px;letter-spacing:-.02em}.step-heading p{margin:0;color:var(--muted);font-size:11px}.job-status{margin-left:auto;display:inline-flex;align-items:center;gap:7px;color:#9b6a14;font-size:10px;font-weight:700}.job-status i{width:7px;height:7px;border-radius:50%;background:#d9a21c}.job-status.completed{color:var(--green)}.job-status.completed i{background:var(--green)}.job-status.failed{color:var(--red)}.job-status.failed i{background:var(--red)}.planning-fields{margin-top:23px;display:grid;grid-template-columns:1fr 1fr;gap:14px}.planning-fields label,.notes-field{display:grid;gap:7px}.planning-fields label>span,.notes-field>span{color:var(--ink-2);font-size:10px;font-weight:700;letter-spacing:.04em}.planning-fields input,.notes-field textarea,.result-editor textarea,.setting-copy select{width:100%;border:1px solid var(--line);border-radius:13px;background:#ffffffb8;outline:0}.planning-fields input{height:44px;padding:0 12px}.number-input{position:relative}.number-input>svg{width:17px;position:absolute;top:13px;left:12px;color:var(--muted)}.number-input input{padding-left:39px;padding-right:42px}.number-input em{position:absolute;top:13px;right:13px;color:var(--muted);font-size:11px;font-style:normal}.notes-field{margin-top:15px}.notes-field textarea{min-height:95px;padding:12px 13px;resize:vertical;line-height:1.55}.planning-fields input:focus,.notes-field textarea:focus,.result-editor textarea:focus,.setting-copy select:focus{border-color:var(--red);background:#fff;box-shadow:0 0 0 3px var(--red-soft)}.primary-action,.secondary-action{min-height:42px;padding:0 16px;display:inline-flex;align-items:center;justify-content:center;gap:8px;border:0;border-radius:12px;font-weight:700}.primary-action{color:#fff;background:var(--ink);box-shadow:0 7px 16px #26262a21}.primary-action:hover:not(:disabled){background:#3a3a3e}.primary-action:disabled{opacity:.42;cursor:not-allowed}.primary-action svg,.secondary-action svg{width:17px}.primary-action.generate{margin-top:17px}.result-editor{margin-top:20px;padding-top:18px;border-top:1px solid var(--line-soft)}.result-editor>div:first-child{margin-bottom:10px;display:flex;align-items:center;justify-content:space-between;gap:15px}.result-editor>div:first-child span{display:inline-flex;align-items:center;gap:7px;font-size:11px;font-weight:700}.result-editor>div:first-child svg{width:17px;color:var(--red)}.result-editor>div:first-child small{color:var(--muted);font-size:10px}.result-editor textarea{min-height:260px;padding:14px;resize:vertical;font:11px/1.58 ui-monospace,SFMono-Regular,Menlo,monospace}.confirm-row{margin-top:12px;display:flex;align-items:center;justify-content:space-between;gap:15px}.confirm-row>span{display:inline-flex;align-items:center;gap:6px;color:var(--green);font-size:10px}.confirm-row>span svg{width:16px}.purchase-card{transition:opacity .2s}.purchase-card.locked{opacity:.58}.purchase-card.ready .step-heading>span:first-child{background:var(--red)}.purchase-placeholder{min-height:110px;margin-top:18px;display:grid;place-items:center;align-content:center;gap:7px;border:1px dashed var(--line);border-radius:15px;color:var(--muted)}.purchase-placeholder svg{width:21px}.purchase-placeholder p{margin:0;font-size:11px}.purchase-result textarea{min-height:240px}.secondary-action{margin-top:10px;border:1px solid var(--line);background:#fff;color:var(--ink);font-size:11px}.inline-error{margin-top:18px;display:flex;align-items:center;gap:7px;color:var(--red);font-size:11px}.inline-error svg{width:18px}.connection-card{padding:18px;display:grid;grid-template-columns:42px minmax(0,1fr) auto;align-items:center;gap:13px}.connection-card>span{width:42px;height:42px;display:grid;place-items:center;border-radius:13px;color:var(--muted);background:#0000000b}.connection-card>span.connected{color:var(--green);background:var(--green-soft)}.connection-card>span svg{width:20px}.connection-card h2{margin:0 0 3px;font-size:14px}.connection-card p{margin:0;color:var(--muted);font-size:11px}.connection-card em{padding:4px 9px;border-radius:99px;color:var(--red);background:var(--red-soft);font-size:9px;font-style:normal;font-weight:700}.connection-card em.ok{color:var(--green);background:var(--green-soft)}.agent-setting-card{padding:23px;display:grid;grid-template-columns:54px minmax(0,1fr);gap:17px}.setting-number{color:#d0342c47;font-size:34px;font-weight:800;letter-spacing:-.07em}.setting-copy h2{margin:2px 0 5px;font-size:16px}.setting-copy>p{margin:0 0 18px;color:var(--muted);font-size:11px}.setting-copy label{display:grid;gap:7px}.setting-copy label span{color:var(--ink-2);font-size:10px;font-weight:700}.setting-copy select{min-height:44px;padding:0 12px}.settings-save{padding:16px 2px;display:flex;align-items:center;justify-content:space-between;gap:18px}.settings-save p{margin:0;color:var(--muted);font-size:10px}.history-card{padding:0 20px;overflow:hidden}.history-row{min-height:70px;display:grid;grid-template-columns:38px minmax(0,1fr) 100px 70px;align-items:center;gap:12px;border-top:1px solid var(--line-soft)}.history-row:first-child{border-top:0}.history-icon{width:36px;height:36px;display:grid;place-items:center;border-radius:11px;color:var(--red);background:var(--red-soft)}.history-icon.purchasing{color:var(--green);background:var(--green-soft)}.history-icon svg{width:18px}.history-row>span:nth-child(2){display:grid;gap:3px}.history-row strong{font-size:12px}.history-row small{color:var(--muted);font-size:9px}.history-row .job-status{margin-left:0}.history-row code{color:var(--muted);font-size:9px}.empty-history{margin:0;padding:50px;color:var(--muted);text-align:center;font-size:11px}.auth-page{min-height:100vh;display:grid;grid-template-columns:1.1fr .9fr;background:#f6f5f3}.auth-intro{padding:clamp(50px,9vw,130px);display:flex;flex-direction:column;justify-content:center}.auth-kicker{margin:26px 0 7px;color:var(--red);font-size:11px;font-weight:800;letter-spacing:.16em}.auth-intro h1{margin:0;font-size:clamp(38px,5vw,66px);letter-spacing:-.065em}.auth-intro>p:not(.auth-kicker){max-width:560px;margin:20px 0 0;color:var(--muted);line-height:1.8}.auth-flow{margin-top:38px;display:flex;align-items:center;gap:12px;color:var(--ink-2);font-size:11px;font-weight:700}.auth-flow svg{width:14px;color:var(--muted)}.auth-panel{width:min(440px,calc(100% - 60px));margin:auto;padding:34px;display:grid;border:1px solid rgba(255,255,255,.96);border-radius:22px;background:#ffffffe6;box-shadow:var(--shadow)}.auth-lock{width:24px;color:var(--red)}.auth-panel h2{margin:17px 0 5px;font-size:23px}.auth-panel>p{margin:0 0 24px;color:var(--muted);font-size:12px}.auth-panel label{margin-bottom:15px;display:grid;gap:7px}.auth-panel label span{color:var(--ink-2);font-size:10px;font-weight:700}.auth-panel input{height:44px;padding:0 12px;border:1px solid var(--line);border-radius:12px;background:#ffffffbf;outline:0}.auth-panel input:focus{border-color:var(--red);box-shadow:0 0 0 3px var(--red-soft)}.form-alert{margin:0 0 15px;display:flex;align-items:center;gap:7px;color:var(--red);font-size:11px}.form-alert svg{width:17px}.auth-panel .primary-action{width:100%}.auth-switch{margin-top:16px;border:0;background:transparent;color:var(--muted);font-size:10px}.app-loading{min-height:100vh;display:grid;place-items:center;align-content:center;gap:14px;color:var(--muted)}.app-loading p{margin:0;font-size:11px}@media(max-width:900px){.chef-shell{grid-template-columns:76px minmax(0,1fr)}.chef-sidebar{padding-inline:11px}.chef-brand{justify-content:center;padding-inline:0}.chef-brand>span:last-child,.chef-sidebar nav p,.chef-sidebar nav button span,.sidebar-user>div{display:none}.chef-sidebar nav button{justify-content:center;padding:0}.sidebar-user{display:flex;justify-content:center;padding-inline:0}.auth-page{grid-template-columns:1fr}.auth-intro{padding-bottom:35px}.auth-panel{margin-bottom:50px}}@media(max-width:680px){.chef-shell{display:block}.chef-sidebar{width:100%;height:64px;padding:8px 12px;position:sticky;z-index:20;flex-direction:row;align-items:center;border-right:0;border-bottom:1px solid var(--line-soft)}.chef-brand{padding:0}.chef-sidebar nav{margin-left:auto;display:flex}.chef-sidebar nav button{width:42px}.chef-sidebar nav button:nth-of-type(2),.sidebar-user{display:none}.page-header{min-height:112px;padding:23px 22px}.today{display:none}.workbench-content,.settings-content,.history-content{width:calc(100% - 28px);margin-top:15px}.planning-card{padding:18px}.planning-fields{grid-template-columns:1fr}.confirm-row,.settings-save{align-items:stretch;flex-direction:column}.skill-choice-grid{grid-template-columns:1fr}.agent-setting-card{grid-template-columns:38px minmax(0,1fr)}.setting-number{font-size:26px}.history-row{grid-template-columns:38px minmax(0,1fr) auto}.history-row code{display:none}.auth-intro{padding:40px 28px 25px}.auth-intro h1{font-size:40px}.auth-panel{width:calc(100% - 32px);padding:25px}}@media(prefers-reduced-motion:reduce){*,*:before,*:after{scroll-behavior:auto!important;transition-duration:.01ms!important;animation-duration:.01ms!important}}
