:root{font-family:PingFang SC,Microsoft YaHei,system-ui,-apple-system,sans-serif;color:#1f2937;background:#f3f7f5;font-synthesis:none;--vacuum:#1a73e8;--bagging:#188038;--inspection:#8a4b00;--folding:#b3261e;--ink:#172b2a;--green:#174d46;--line:#dce6e2}*{box-sizing:border-box}html{min-width:320px;background:#f3f7f5}body{margin:0;min-width:320px;min-height:100vh;background:radial-gradient(circle at 90% 0,#d7ebe4 0,transparent 28rem),#f3f7f5}button,input,select{font:inherit}button,a{tap-highlight-color:transparent;-webkit-tap-highlight-color:transparent}button{cursor:pointer}button:disabled{cursor:not-allowed;opacity:.55}.app{min-height:100dvh}.topbar{height:70px;padding:0 max(18px,env(safe-area-inset-left));display:flex;align-items:center;justify-content:space-between;background:#174d46;color:#fff;box-shadow:0 3px 14px #0c332c24}.worker-topbar{height:58px;box-shadow:none}.worker-topbar .brand-mark{width:34px;height:34px;border-radius:9px;font-size:18px}.worker-topbar .brand strong{font-size:16px}.brand{display:flex;align-items:center;gap:11px;min-width:0}.brand-mark{width:40px;height:40px;border-radius:12px;display:grid;place-items:center;background:#f6c85f;color:#173d37;font-size:22px;font-weight:900;flex:none}.brand>span:last-child{display:flex;min-width:0;flex-direction:column;gap:2px}.brand strong{font-size:17px;letter-spacing:.02em;white-space:nowrap}.brand small{color:#cfe2dc;font-size:12px}.top-link{min-height:44px;padding:0 11px;display:flex;align-items:center;gap:6px;border-radius:10px;color:#eef9f5;text-decoration:none;font-size:14px;font-weight:700;background:#ffffff12;border:1px solid #ffffff26}.visually-hidden{position:absolute!important;width:1px!important;height:1px!important;padding:0!important;margin:-1px!important;overflow:hidden!important;clip:rect(0,0,0,0)!important;white-space:nowrap!important;border:0!important}.worker-shell{width:min(100%,620px);margin:0 auto;padding:24px 18px calc(42px + env(safe-area-inset-bottom))}.intro-block{margin:3px 1px 20px}.eyebrow{margin:0 0 8px;color:#337f73;font-size:13px;font-weight:900;letter-spacing:.14em}.intro-block h1,.admin-title h1,.admin-login h1{margin:0;color:#172e2c;font-size:29px;line-height:1.25;letter-spacing:-.025em}.intro-block>p:last-child,.admin-title>div>p:last-child{margin:7px 0 0;color:#657774;font-size:16px;line-height:1.5}.process-grid{display:grid;grid-template-columns:1fr 1fr;gap:10px}.process-button{min-height:112px;padding:16px 12px;border:0;border-radius:15px;display:flex;align-items:center;justify-content:center;flex-direction:column;color:#fff;box-shadow:0 5px 14px #173b3514;transition:transform .15s,filter .15s}.process-button:active{transform:scale(.98)}.process-button.vacuum{background:#1a73e8}.process-button.bagging{background:#188038}.process-button.inspection{background:#8a4b00}.process-button.folding{background:#b3261e}.process-icon{width:42px;height:42px;display:grid;place-items:center;border-radius:12px;background:#ffffff20;margin-bottom:7px}.process-button strong{font-size:21px}.search-shell{padding-top:18px}.current-process{--process:#174d46;min-height:52px;border-radius:12px;padding:0 8px 0 13px;color:#213b36;background:#fff;border:1px solid var(--line);border-left:5px solid var(--process);display:flex;align-items:center;justify-content:space-between}.current-process.vacuum{--process:var(--vacuum)}.current-process.bagging{--process:var(--bagging)}.current-process.inspection{--process:var(--inspection)}.current-process.folding{--process:var(--folding)}.current-process>span{display:flex;align-items:center;gap:9px}.current-process>span>svg{color:var(--process)}.current-process strong{font-size:18px}.current-process button{min-height:48px;border:0;background:transparent;border-radius:9px;color:#42645d;padding:0 11px;font-size:16px;font-weight:800}.search-section{margin-top:14px}.model-search{display:grid;grid-template-columns:1fr;gap:10px}.model-search input{height:58px;min-width:0;width:100%;border:2px solid #9fb7b1;border-radius:12px;padding:0 15px;text-transform:uppercase;font-size:20px;font-weight:750;color:#172e2c;background:#fff;outline:0}.model-search input:focus{border-color:#257d70;box-shadow:0 0 0 4px #2c887919}.model-search input::placeholder{color:#849894;font-weight:500}.model-search button,.admin-login form>button,.detail-actions button{height:54px;min-width:92px;border:0;border-radius:12px;background:#174d46;color:#fff;font-size:18px;font-weight:900}.loading-card,.empty-card{margin-top:20px;min-height:190px;border:1px dashed #bdd0cb;border-radius:18px;background:#ffffffb8;display:flex;align-items:center;justify-content:center;flex-direction:column;text-align:center;color:#657975;padding:25px}.loading-card{flex-direction:row;gap:12px;min-height:110px;font-weight:700}.spinner{width:25px;height:25px;border-radius:50%;border:3px solid #c4ded7;border-top-color:#227d70;animation:spin .8s linear infinite}@keyframes spin{to{transform:rotate(360deg)}}.empty-card svg{color:#47877c}.empty-card h2{margin:14px 0 5px;color:#253d39;font-size:20px}.empty-card p{max-width:420px;margin:0;color:#71837f;line-height:1.55;font-size:15px}.error-box,.success-box{margin-top:14px;border-radius:12px;padding:13px 14px;display:flex;align-items:center;gap:10px;font-size:16px;line-height:1.45}.error-box{background:#fff1ef;color:#8d302c;border:1px solid #efcac5}.success-box{background:#e8f5ef;color:#176345;border:1px solid #c6e7d8}.error-box button{min-height:48px;margin-left:auto;border:0;background:transparent;color:inherit;font-weight:800}.search-feedback{margin-top:14px;border:1px solid #ead5a8;background:#fff8e7;border-radius:12px;padding:14px;display:flex;flex-direction:column;gap:4px;color:#5e4a1f}.search-feedback strong{font-size:17px}.search-feedback span{font-size:15px;line-height:1.45;color:#74623c}.candidate-section{margin-top:18px}.state-heading{display:flex;align-items:flex-start;gap:12px;margin:0 2px 14px}.state-symbol{width:46px;height:46px;border-radius:13px;display:grid;place-items:center;color:#277c70;background:#dff0eb;flex:none}.state-heading h2{margin:1px 0 4px;font-size:20px;color:#203a36}.state-heading p{margin:0;color:#6c7e7a;font-size:16px;line-height:1.45}.candidate-list{display:grid;gap:9px}.candidate-list button{width:100%;min-height:92px;text-align:left;border:1px solid #d6e2df;background:#fff;border-radius:15px;padding:14px 16px;display:grid;grid-template-columns:1fr auto;gap:5px 12px;color:#223a36;box-shadow:0 3px 12px #173b3507}.candidate-list button>span:first-child{display:flex;align-items:center;gap:8px}.candidate-list strong{font-size:19px}.candidate-list em,.recipe-main em{font-style:normal;background:#fff0bd;color:#775a00;padding:3px 7px;border-radius:6px;font-size:11px;font-weight:900}.candidate-list button>span:nth-child(2){font-size:16px;font-weight:750;color:#45645e}.candidate-list small{grid-column:1/-1;color:#748681;font-size:14px}.result-card{margin-top:18px;background:#fff;border-radius:16px;overflow:hidden;border:1px solid #d9e4e1;box-shadow:0 6px 20px #1437310d}.result-card.process-vacuum{--process:var(--vacuum)}.result-card.process-bagging{--process:var(--bagging)}.result-card.process-inspection{--process:var(--inspection)}.result-card.process-folding{--process:var(--folding)}.demo-warning{min-height:48px;background:#fff0bd;color:#694f00;display:flex;align-items:center;justify-content:center;gap:8px;padding:9px 13px;text-align:center}.demo-warning strong{font-size:16px}.result-head{border-top:5px solid var(--process);padding:17px 16px 15px}.result-process{display:flex;align-items:center;gap:7px;color:var(--process);font-size:16px;font-weight:900}.result-head h2{margin:8px 0 13px;font-size:26px;letter-spacing:.01em;color:#172d29;overflow-wrap:anywhere}.identity-grid{display:grid;grid-template-columns:1fr 1fr;gap:8px}.identity-grid span{background:#f4f7f6;border-radius:9px;padding:9px 10px;display:flex;flex-direction:column;gap:3px}.identity-grid small{font-size:13px;color:#71827e}.identity-grid strong{font-size:16px;color:#304944;overflow-wrap:anywhere}.requirement-list{border-top:1px solid #e6edeb}.requirement-row{min-height:72px;padding:13px 16px;border-bottom:1px solid #edf1f0;display:grid;grid-template-columns:minmax(92px,34%) 1fr;align-items:center;gap:12px}.requirement-row>span{color:#5d726d;font-size:16px}.requirement-row>strong{text-align:right;color:#182f2b;font-size:19px;line-height:1.4;overflow-wrap:anywhere}.requirement-row.attention{background:#fff8e7;border-left:4px solid #c88717}.requirement-row.unsafe{background:#fff5f2}.requirement-row.unsafe strong{color:#a13b33;font-size:16px}.no-requirements{padding:22px 16px;text-align:center;color:#536a65;font-size:18px;font-weight:800}.version-line{min-height:44px;display:flex;align-items:center;justify-content:center;gap:6px;color:#71827e;font-size:13px;background:#fafcfb}.next-query{width:100%;min-height:52px;margin-top:12px;border:1px solid #9fc0b8;background:#fff;color:#175a50;border-radius:12px;font-size:17px;font-weight:900}.admin-login{width:min(100%,480px);margin:0 auto;padding:60px 18px}.admin-login>section{background:#fff;border:1px solid var(--line);border-radius:22px;padding:31px 28px;box-shadow:0 14px 40px #183b3513}.admin-login-icon{width:58px;height:58px;border-radius:16px;background:#dff0eb;color:#1c7569;display:grid;place-items:center;margin-bottom:20px}.admin-login>section>p:not(.eyebrow){color:#677a76;line-height:1.6}.admin-login form{display:grid;gap:11px;margin-top:24px}.admin-login label{display:grid;gap:7px;color:#3e5752;font-size:14px;font-weight:800}.admin-login input{height:50px;border:1.5px solid #b9cac6;border-radius:11px;padding:0 12px;font-size:16px;outline:0}.admin-login form small{color:#7b6b24;background:#fff7d5;padding:9px;border-radius:8px}.admin-login form>button{width:100%;margin-top:5px}.admin-shell{width:min(100%,1080px);margin:0 auto;padding:34px 22px 70px}.admin-title{display:flex;align-items:flex-start;justify-content:space-between;gap:20px;margin-bottom:25px}.admin-title h1{font-size:30px}.logout{min-height:42px;border:1px solid #cbdad6;background:#fff;border-radius:10px;padding:0 13px;color:#536d67;font-weight:750}.summary-grid{display:grid;grid-template-columns:repeat(4,1fr);gap:11px}.summary-grid>*{min-height:100px;border:1px solid #d9e4e1;background:#fff;border-radius:15px;padding:14px;display:flex;flex-direction:column;align-items:flex-start;justify-content:center;color:#1e3934}.summary-grid button{text-align:left}.summary-grid strong{font-size:27px}.summary-grid span{margin-top:4px;color:#6c7f7a;font-size:13px}.import-panel{margin-top:18px;background:#174d46;color:#fff;border-radius:17px;padding:18px 20px;display:flex;align-items:center;justify-content:space-between;gap:20px}.import-panel>div{display:flex;align-items:center;gap:13px}.import-panel span{display:flex;flex-direction:column;gap:4px}.import-panel strong{font-size:16px}.import-panel small{color:#cfe2dc;font-size:13px}.import-panel button{min-height:46px;white-space:nowrap;border:0;background:#f6c85f;color:#283d38;border-radius:10px;padding:0 16px;font-weight:900}.recipe-toolbar{display:flex;align-items:center;justify-content:space-between;margin:29px 2px 13px}.recipe-toolbar h2{margin:0;font-size:21px}.recipe-toolbar select{height:42px;border:1px solid #cadad6;border-radius:9px;background:#fff;padding:0 34px 0 11px;color:#36514b}.recipe-list{display:grid;gap:9px}.recipe-card{background:#fff;border:1px solid #dce6e3;border-radius:14px;overflow:hidden}.recipe-open{width:100%;min-height:91px;padding:14px 16px;border:0;background:transparent;display:grid;grid-template-columns:1fr auto;gap:7px 13px;text-align:left;color:#1e3732}.recipe-main{display:flex;flex-direction:column;gap:4px;min-width:0}.recipe-main>span{display:flex;gap:8px;align-items:center}.recipe-main strong{font-size:18px;overflow-wrap:anywhere}.recipe-main small{color:#70827e;font-size:13px}.status-chip{align-self:start;border-radius:7px;padding:5px 8px;font-size:12px;font-weight:850}.status-chip.draft{background:#eef2f1;color:#566966}.status-chip.in_review{background:#fff2cf;color:#755700}.status-chip.approved{background:#dcf3e7;color:#1b704d}.status-chip.rejected{background:#ffe5e2;color:#983c35}.recipe-meta{grid-column:1/-1;display:flex;gap:9px;align-items:center;color:#84938f;font-size:12px}.recipe-meta b{font-weight:800;color:#9b3b35;background:#fff0ed;padding:3px 6px;border-radius:5px}.recipe-meta b.published{color:#146245;background:#e1f3e9}.withdraw{border:0;border-top:1px solid #edf1f0;background:#fff8f7;color:#9e3e37;min-height:39px;width:100%;font-size:13px;font-weight:800}.detail-backdrop{position:fixed;inset:0;z-index:30;background:#0c2520a8;display:flex;justify-content:flex-end}.detail-panel{height:100dvh;width:min(100%,720px);overflow-y:auto;background:#f5f8f7;padding:23px 24px 110px;box-shadow:-15px 0 45px #071b1740}.detail-header{display:flex;justify-content:space-between;align-items:flex-start;gap:15px;margin-bottom:18px}.detail-header h2{font-size:26px;margin:0;color:#192f2b}.detail-header p:last-child{color:#687b77;margin:5px 0 0}.detail-header>button{min-height:42px;border:1px solid #cad9d5;border-radius:9px;background:#fff;color:#506963;padding:0 13px}.source-card{margin:14px 0;background:#eaf2ef;border:1px solid #d5e3df;border-radius:11px;padding:12px 13px;display:flex;flex-direction:column;gap:5px;font-size:13px;color:#526b65}.source-card strong{color:#294942}.issue-block{margin:18px 0}.issue-block h3,.process-edit h3{font-size:16px;margin:0 0 9px}.issue-block article{background:#fff;border-left:4px solid #bd8d20;border-radius:9px;padding:11px 12px;margin-bottom:7px;display:flex;align-items:center;justify-content:space-between;gap:12px}.issue-block article.blocking{border-color:#b33a32}.issue-block article strong{font-size:13px}.issue-block article p{margin:4px 0 0;color:#677a76;font-size:13px;line-height:1.45}.issue-block article button{min-height:38px;white-space:nowrap;border:1px solid #cadbd6;background:#fff;border-radius:8px;color:#326b61;font-size:12px;font-weight:800}.process-edit-list{display:grid;gap:12px}.process-edit{--process:#174d46;background:#fff;border:1px solid #dce6e3;border-top:4px solid var(--process);border-radius:13px;padding:15px}.process-edit.vacuum{--process:var(--vacuum)}.process-edit.bagging{--process:var(--bagging)}.process-edit.inspection{--process:var(--inspection)}.process-edit.folding{--process:var(--folding)}.process-edit h3{display:flex;align-items:center;gap:7px;color:var(--process)}.field-editor{display:grid;grid-template-columns:1fr 146px;gap:7px 10px;padding:10px 0;border-top:1px solid #edf1f0}.field-editor label{display:grid;gap:5px}.field-editor label>span{display:flex;justify-content:space-between;gap:8px;color:#536b65;font-size:13px;font-weight:800}.field-editor label small{color:#8a9995;font-weight:500}.field-editor input,.field-editor select{height:43px;border:1px solid #cbdad6;border-radius:8px;background:#fff;padding:0 10px;color:#223c36;min-width:0}.field-editor input:disabled,.field-editor select:disabled{background:#f2f5f4;color:#5d706c}.formula-note{grid-column:1/-1;margin:0;padding:7px 9px;border-radius:7px;background:#fff4d8;color:#6e5919;font-size:12px;overflow-wrap:anywhere}.action-message{margin:14px 0 0}.form-error{color:#a13c35;font-size:13px;line-height:1.45}.form-success{color:#17714d;font-size:13px}.detail-actions{position:fixed;bottom:0;right:0;width:min(100%,720px);padding:13px 24px calc(13px + env(safe-area-inset-bottom));background:#ffffffed;border-top:1px solid #d8e3df;display:flex;justify-content:flex-end;gap:10px;-webkit-backdrop-filter:blur(9px);backdrop-filter:blur(9px)}.detail-actions button{height:48px;min-width:125px}.detail-actions .secondary{background:#e0efeb;color:#1a675a}.detail-actions .danger{background:#ffe8e5;color:#963a34}@media(max-width:700px){.admin-topbar{height:62px;padding-inline:14px}.admin-topbar .brand-mark{width:35px;height:35px;border-radius:10px;font-size:19px}.brand strong{font-size:15px}.brand small{font-size:10px}.top-link{min-width:44px;padding:0 9px;font-size:0}.top-link svg{width:20px;height:20px}.worker-shell{padding:18px 16px calc(34px + env(safe-area-inset-bottom))}.intro-block h1{font-size:26px}.intro-block>p:last-child{font-size:16px}.identity-grid{grid-template-columns:1fr}.requirement-row{grid-template-columns:minmax(88px,34%) 1fr;padding-inline:14px}.requirement-row>strong{font-size:18px}.admin-shell{padding:25px 14px 60px}.admin-title h1{font-size:25px}.admin-title>div>p:last-child{font-size:14px}.summary-grid{grid-template-columns:1fr 1fr}.summary-grid>*{min-height:84px}.import-panel{align-items:flex-start;flex-direction:column}.import-panel button{width:100%}.detail-panel{padding:18px 14px 105px}.detail-actions{padding-inline:14px}.field-editor{grid-template-columns:1fr}.field-editor select{width:100%}.issue-block article{align-items:flex-start;flex-direction:column}.issue-block article button{width:100%}}@media(max-width:370px){.process-button{min-height:104px;padding-inline:9px}.requirement-row{grid-template-columns:1fr}.requirement-row>strong{text-align:left}.detail-actions button{min-width:0;flex:1}}.modal-backdrop{position:fixed;inset:0;z-index:40;background:#0c2520a8;display:flex;align-items:center;justify-content:center;padding:18px}.create-panel{width:min(100%,470px);max-height:100dvh;overflow-y:auto;background:#f5f8f7;border-radius:18px;padding:22px 24px;box-shadow:0 20px 60px #071b1730}.create-form{display:grid;gap:12px;margin-top:16px}.create-form label{display:grid;gap:6px;color:#3e5752;font-size:14px;font-weight:800}.create-form input{height:50px;border:1.5px solid #b9cac6;border-radius:11px;padding:0 12px;font-size:16px;outline:0}.create-form input:focus{border-color:#257d70;box-shadow:0 0 0 3px #2c887919}.create-form button{height:52px;border:0;border-radius:12px;background:#174d46;color:#fff;font-size:18px;font-weight:900}.title-actions{display:flex;gap:9px;align-items:center}.add-product{min-height:42px;border:0;border-radius:10px;padding:0 15px;background:#f6c85f;color:#283d38;font-weight:900}.new-version{border:0;border-top:1px solid #edf1f0;background:#f0f7f5;color:#17634d;min-height:39px;width:100%;font-size:13px;font-weight:800}.identity-editor{margin:16px 0;background:#fff;border:1px solid #dce6e3;border-radius:13px;padding:15px}.identity-editor h3{font-size:16px;margin:0 0 11px;color:#294942}.identity-fields{display:grid;grid-template-columns:repeat(3,1fr);gap:9px}.identity-fields label{display:grid;gap:5px;color:#536b65;font-size:13px;font-weight:800}.identity-fields input{height:43px;border:1px solid #cbdad6;border-radius:8px;background:#fff;padding:0 10px;color:#223c36;min-width:0}.identity-editor .secondary{height:43px;margin-top:11px;border:0;border-radius:9px;background:#e0efeb;color:#1a675a;font-weight:800;padding:0 15px}@media(max-width:700px){.identity-fields{grid-template-columns:1fr}.title-actions{flex-wrap:wrap}}
