@import url('https://fonts.googleapis.com/css2?family=DM+Sans:wght@400;500;600;700&family=Manrope:wght@400;500;600;700;800&display=swap');
:root{font-family:'DM Sans',sans-serif;color:#202c29;background:#f6f8f7;font-size:14px}*{box-sizing:border-box}body{margin:0}button,input,select{font:inherit}button,a{cursor:pointer}button{border:1px solid #dce3df;background:white;padding:10px 15px;border-radius:8px;color:inherit}button:hover{background:#eef5f0}button:focus-visible,a:focus-visible{outline:3px solid #83bfa4}aside{position:fixed;width:242px;height:100vh;background:#fff;border-right:1px solid #e0e6e2;padding:32px 22px}.brand{font-family:Manrope,sans-serif;font-size:43px;font-weight:800;letter-spacing:-3px;color:#1c4e3b;text-decoration:none;display:block;line-height:1}.brand span{display:block;font-size:9px;letter-spacing:5px;margin:9px 0 32px 3px}.workspace{display:flex;align-items:center;gap:12px;background:#f5f7f5;padding:14px 10px;border-radius:9px;font-weight:700;margin-bottom:30px}.workspace span{font-size:12px}.workspace small{display:block;color:#8a938d;font-size:10px;font-weight:400;margin-top:5px}aside label{font-size:10px;letter-spacing:1.5px;color:#8e9992}nav{margin-top:12px}nav button{width:100%;text-align:left;margin-bottom:7px;border:0;padding:14px 10px;display:flex;gap:12px;font-size:13px}nav button.active{background:#e8f1eb;color:#246443;font-weight:700}.aside-bottom{position:absolute;bottom:30px;font-size:12px;color:#748279}.aside-bottom p{font-size:11px;margin-bottom:28px}.aside-bottom small{display:block;margin-left:40px}.avatar{float:left;border-radius:50%;background:#e2ede6;padding:10px;margin-right:10px;color:#376447}.live-dot{display:inline-block;width:7px;height:7px;background:#73a482;border-radius:50%;margin-right:7px}main{margin-left:242px}header{height:75px;background:white;border-bottom:1px solid #e6eae7;padding:0 36px;display:flex;align-items:center;justify-content:space-between;font-size:11px;letter-spacing:.5px;color:#7c8981}header b{padding:0 16px;color:#c9d0cb}.draft{background:#f4f6ed;padding:7px 11px;border-radius:6px;color:#7d8455;font-size:10px}.notice{margin:22px 36px 0;color:#8a927a;font-size:11px}section{padding:25px 36px 45px}.title-row{display:flex;align-items:center;justify-content:space-between;gap:16px}h1{font-family:Manrope,sans-serif;font-size:29px;letter-spacing:-1px;margin:0 0 9px}p.sub{color:#879089;font-size:13px;margin:0}.primary{background:#225d41;color:white;border-color:#225d41}.primary:hover{background:#16492f}.stats{display:grid;grid-template-columns:repeat(4,1fr);gap:15px;margin:28px 0}.stat{padding:20px;background:white;border:1px solid #e2e8e3;border-radius:12px}.stat span{font-size:12px;color:#7a8880}.stat strong{font-family:Manrope;display:block;font-size:29px;margin:12px 0 5px}.stat small{font-size:10px;color:#95a097}.toolbar{display:flex;gap:12px;align-items:center;margin:25px 0 18px}.search{margin-left:auto;width:260px}.toolbar input,.toolbar select,input,select{border:1px solid #dce4de;border-radius:7px;padding:10px 12px;background:white;color:#37463d;max-width:100%}.tabs{display:flex;background:#eaf0eb;border-radius:8px;padding:4px;gap:3px}.tabs button{padding:8px 13px;border:0;background:transparent;font-size:12px}.tabs button.active{background:white;box-shadow:0 2px 5px #1d382810}.board{display:grid;grid-template-columns:repeat(4,minmax(180px,1fr));gap:17px;align-items:start}.column{background:#edf1ee;border-radius:12px;padding:13px;min-height:365px}.column-head{font-size:12px;font-weight:700;display:flex;align-items:center;gap:7px;margin:4px 2px 19px}.column-head i{width:7px;height:7px;background:#92a6ae;border-radius:50%}.column:nth-child(2) i{background:#c3a16b}.column:nth-child(3) i{background:#7d9a81}.column:nth-child(4) i{background:#547260}.count{margin-left:auto;border:1px solid #dbe2dd;border-radius:5px;padding:2px 6px;color:#8c978f}.card{display:block;text-align:left;background:white;width:100%;border:1px solid #e1e7e2;border-radius:10px;padding:16px;margin-bottom:12px;box-shadow:0 2px 3px #203c2603}.card:hover{background:white;border-color:#7fa88b;transform:translateY(-2px)}.card-top{display:flex;justify-content:space-between;color:#91a096;font-size:10px}.tag{font-size:9px;background:#eff3ef;padding:3px 6px;border-radius:4px;color:#63816a}.tag.custom{color:#9b7c4f;background:#f7f0e3}.card h3{font-size:14px;margin:17px 0 6px}.card p{font-size:11px;color:#87968b;margin:5px 0 17px}.progress{height:4px;background:#eff2ef;border-radius:3px;margin:14px 0}.progress div{height:100%;background:#76a086;border-radius:3px}.card-foot{font-size:10px;display:flex;justify-content:space-between;color:#77877b}.block{font-size:10px;background:#fcf4e8;padding:8px;border-radius:5px;color:#a7834b;margin:12px 0}.empty{color:#929c95;font-size:12px;padding:35px 10px;text-align:center}.panel{border:1px solid #e1e7e2;background:white;border-radius:12px;padding:22px;margin-top:20px}table{width:100%;border-collapse:collapse;text-align:left}th{font-size:11px;color:#89948c;font-weight:500;padding:14px 12px;border-bottom:1px solid #e5eae6}td{padding:15px 12px;font-size:12px;border-bottom:1px solid #eef1ee}td button{padding:6px 10px;font-size:11px}dialog{border:0;border-radius:16px;padding:30px;width:780px;max-width:95vw;max-height:90vh;box-shadow:0 30px 100px #10281e33}dialog::backdrop{background:#18332755;backdrop-filter:blur(3px)}.modal-head{display:flex;justify-content:space-between;align-items:start}h2{font-family:Manrope;margin:0 0 8px;font-size:23px}h3{font-size:14px}.close{border:0;font-size:20px;padding:0 6px}.grid{display:grid;grid-template-columns:1fr 1fr;gap:15px;margin:24px 0}.field{font-size:11px;color:#728078;display:flex;flex-direction:column;gap:7px}.field input,.field select{width:100%}.footer{display:flex;gap:10px;justify-content:flex-end;margin-top:25px}.muted{color:#87948b;font-size:12px}.steps{display:flex;gap:5px;margin:22px 0}.step{flex:1;background:#eef2ee;color:#95a097;padding:10px 4px;text-align:center;font-size:9px;border-radius:5px}.step.done{background:#e3eee5;color:#39714a}.step.current{background:#285f43;color:white}.check{display:flex;align-items:center;gap:10px;padding:11px;background:#f6f8f5;margin:7px 0;border-radius:7px}.check input{accent-color:#2b6a45}.materials input,.materials select{padding:7px;width:100%}.materials td{padding:6px}.materials td:first-child{width:38%}.material-note{background:#f0f6ef;border-radius:7px;padding:12px;font-size:11px;color:#638165}.product-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:18px;margin-top:24px}.product-card{border:1px solid #e1e7e2;border-radius:12px;background:white;padding:23px}.product-icon{background:#edf4ed;border:1px solid #dce8de;color:#578362;border-radius:9px;width:48px;height:48px;display:grid;place-items:center;font-size:23px;margin-bottom:20px}.product-card button{width:100%;margin-top:22px}.product-card h3{font-size:17px}.product-card p{font-size:12px;color:#819087}.link{color:#2c7048;text-decoration:none}#toast{position:fixed;bottom:25px;right:25px;background:#224f37;color:white;padding:14px 22px;border-radius:9px;display:none;z-index:5}.badge{background:#eaf2eb;color:#48744e;border-radius:4px;padding:5px 8px;font-size:10px}.table-wrap{overflow:auto}a.file{display:block;padding:13px;background:#f4f7f4;border-radius:7px;margin:8px 0;color:#376b48;text-decoration:none}@media(min-width:1500px){section{max-width:1500px;margin:auto}}@media(max-width:1100px){aside{width:190px;padding:25px 15px}main{margin-left:190px}.board{grid-template-columns:repeat(2,1fr)}section{padding:25px}.product-grid{grid-template-columns:repeat(2,1fr)}}@media(max-width:650px){aside{position:static;width:100%;height:auto;padding:15px}.brand{font-size:28px}.brand span,.workspace,aside label,.aside-bottom{display:none}nav{display:flex;margin-top:10px}nav button{margin:0}main{margin:0}header{padding:0 18px;height:50px}.notice{margin:15px 18px 0}section{padding:20px 16px}.title-row{align-items:start}h1{font-size:24px}.stats{grid-template-columns:1fr 1fr;gap:9px}.stat{padding:14px}.toolbar{flex-wrap:wrap}.search{width:100%;margin:0}.board,.product-grid{grid-template-columns:1fr}.column{min-height:100px}.grid{grid-template-columns:1fr}dialog{padding:20px}.steps{flex-wrap:wrap}.step{min-width:60px}}

.family-list{margin-top:24px;display:flex;flex-direction:column;gap:10px}.family-section{border:1px solid #dfe7e1;border-radius:10px;background:white;overflow:hidden}.family-section summary{display:flex;align-items:center;gap:14px;padding:20px 23px;cursor:pointer;list-style:none}.family-section summary::-webkit-details-marker{display:none}.family-section summary:hover{background:#f2f7f2}.family-section[open] summary{background:#edf4ee;border-bottom:1px solid #dfe7e1}.family-arrow{font-size:24px;line-height:16px;color:#6e8a75;transition:transform .15s}.family-section[open] .family-arrow{transform:rotate(90deg)}.family-count{margin-left:auto;font-size:11px;color:#819187}.family-content{padding:0 20px 16px}.family-empty{font-size:12px;color:#89968c;padding:15px 4px}.family-add{margin-top:14px;color:#326b46;border-color:#dbe7dd;font-size:12px}.family-content td:last-child{text-align:right}.family-content table{min-width:520px}.family-content td p{margin:5px 0 0}

.stock-status{font-size:11px;padding:10px;border-radius:7px;margin:12px 0}.short{background:#fff0dd;color:#936521}.ready{background:#e9f3e9;color:#326b41}.short-text{color:#ae702c;font-weight:700}.stock-open{width:100%;margin:10px 0;color:#316747;background:#edf5ee}.stock-table{min-width:850px}.stock-actions{flex-wrap:wrap}.stock-picker{display:flex;align-items:end;gap:10px;margin:20px 0}.stock-picker label{flex:1}button:disabled{opacity:.45;cursor:not-allowed}

.simple-panel{padding:0;margin-top:0}.simple-panel td{padding:20px 18px}.simple-panel td p{margin:6px 0 0}.ready-row{background:#e5f3e8}.ready-row td{border-bottom-color:#cce4d1}.ready-text{color:#377747}.process-badge{padding:7px 12px;border-radius:6px;font-size:11px}.process-badge.cut{background:#f5eddf;color:#936e36}.process-badge.preparing{background:#e9eff9;color:#4c689a}.process-badge.ready{background:#cee8d4;color:#27663b}.process-options{display:grid;grid-template-columns:repeat(3,1fr);gap:12px;margin:20px 0 28px}.process-option{padding:25px 10px;display:flex;flex-direction:column;align-items:center;gap:12px;font-weight:600}.process-option span{font-size:26px}.process-option[aria-pressed=true]{border:2px solid #547c61;background:#eaf2ec}.process-option.ready[aria-pressed=true]{background:#bfe5ca;border-color:#34834c;color:#205c32}.ready-modal{background:#edf9ef;border:2px solid #79b98a}.ready-modal .material-note{background:#cfead6;color:#2e6d40}#simpleSearch{width:320px}@media(max-width:600px){.process-options{gap:7px}.process-option{font-size:12px;padding:18px 6px}}

.shortage-flag{margin-top:9px;padding:7px 9px;background:#fff0d6;color:#925d17;border:1px solid #eed19e;border-radius:5px;font-size:11px}

/* Neutral corporate theme; green reserved for ready status. */
:root{color:#292b2e;background:#f4f4f5}aside,header{border-color:#e2e2e5}.brand{display:flex;align-items:center;min-height:44px;margin-bottom:28px;letter-spacing:normal}.brand img{display:block;width:150px;max-width:100%;height:auto}.workspace{background:#f3f3f4}.workspace small,aside label,.aside-bottom{color:#808087}nav button.active{background:#eaeaec;color:#292b2e}button{border-color:#dedee2}button:hover{background:#ededf0}button:focus-visible,a:focus-visible{outline-color:#b4b4bc}.primary{background:#38383e;border-color:#38383e;color:white}.primary:hover{background:#222227}.notice{color:#82828a}.draft{background:#ededf0;color:#6c6c74}.avatar{background:#e7e7eb;color:#55555e}.live-dot{background:#9999a2}.material-note{background:#ededf0;color:#62626c}.panel,.stat,.family-section{border-color:#e0e0e5}.family-section summary:hover{background:#f6f6f7}.family-section[open] summary{background:#eeeef0;border-color:#dedee2}.family-arrow,.family-count{color:#80808a}.family-add{color:#484851;border-color:#dcdce1}.tag{background:#eeeef1;color:#696972}.tag.custom{background:#fff3d4;color:#876d24}.stock-open{background:#ededf0;color:#474750}.ready-text{color:#62626b}.stock-status.ready{background:#ededf0;color:#55555e}.muted,p.sub{color:#85858d}.process-option[aria-pressed=true]{background:#e8e8ec;border-color:#777780}.process-option.ready[aria-pressed=true]{background:#bfe5ca;border-color:#34834c;color:#205c32}.ready-modal{background:#edf9ef;border-color:#79b98a}.ready-modal .material-note{background:#cfead6;color:#2e6d40}.ready-row{background:#e5f3e8}#toast{background:#37373e}.short{background:#fff0dd;color:#936521}.link,a.file{color:#53535d}a.file{background:#f1f1f3}@media(max-width:650px){.brand{margin-bottom:12px;min-height:30px}.brand img{width:125px}}

.delete-product{color:#a34545;border-color:#e5cfcf}.delete-product:hover{background:#faeded}.delete-confirm{background:#a83f3f;color:white;border-color:#a83f3f}.delete-confirm:hover{background:#873030}

[hidden]{display:none!important}

.process-options{grid-template-columns:repeat(4,1fr)}.process-badge.waiting{background:#e9e9ed;color:#676770}@media(max-width:600px){.process-options{grid-template-columns:repeat(2,1fr)}}

.stock-zero{color:#c32e35;font-weight:700}.stock-low{color:#b96508;font-weight:700}.stock-level-note{display:block;font-size:11px;margin-top:5px}

.login-active>aside,.login-active>main{display:none}.login-active{background:#f2f2f4}#loginScreen{min-height:100vh;display:flex;flex-direction:column;align-items:center;justify-content:center;padding:32px 20px}.login-card{background:#fff;border:1px solid #e1e1e6;border-radius:18px;width:420px;max-width:100%;padding:42px;box-shadow:0 12px 50px #22222b06}.login-logo{display:block;width:160px;height:auto;margin-bottom:36px}.login-eyebrow{font-size:10px;letter-spacing:2px;color:#9b9ba3;margin-bottom:12px}.login-card h1{font-size:28px}.login-sub{font-size:13px;color:#85858d;margin:0 0 28px}.login-card .field{margin-bottom:18px;font-size:12px;color:#5f5f68}.login-card input{width:100%;padding:12px 13px}.password-wrap{position:relative}.password-wrap input{padding-right:65px}.password-wrap button{position:absolute;right:4px;top:4px;border:0;background:transparent;color:#81818b;font-size:11px;padding:9px}.login-submit{width:100%;padding:13px;margin-top:6px}.login-demo{font-size:11px;color:#91919a;line-height:1.7;border-top:1px solid #ededf0;margin:25px 0 0;padding-top:18px}.login-bottom{font-size:11px;color:#9999a1;margin-top:23px}.logout-button{font-size:11px;padding:7px 10px;margin-left:12px}header .draft{margin-left:auto}@media(max-width:500px){.login-card{padding:30px 24px}#loginScreen{padding:20px 15px}}

.login-logo{margin-left:auto;margin-right:auto}
.login-error{font-size:12px;color:#b42318;background:#fef3f2;border:1px solid #fecdca;border-radius:9px;padding:9px 11px;margin:0 0 14px}
