.identity-production{background:#253d32ec;color:#f0e5c5;border:2px solid #94774b;border-radius:12px;padding:10px;font:500 15px/1.4 var(--game-reading,system-ui),sans-serif;max-width:100%;box-sizing:border-box}.identity-production *{box-sizing:border-box}.identity-production button,.identity-production input,.identity-production summary{font:inherit}.identity-production button{min-height:44px;min-width:44px;border-radius:7px;border:1px solid #a48754;padding:6px 9px;background:#e8d7a9;color:#2c3b2e;cursor:pointer}.identity-production button:focus-visible,.identity-production input:focus-visible,.identity-production summary:focus-visible{outline:3px solid #f3d278;outline-offset:3px}.ip-header{display:flex;gap:8px;align-items:center}.ip-header h2{font:600 18px/1.1 var(--game-display,system-ui),sans-serif;margin:0}.ip-header p{margin:3px 0;font-size:13px}.ip-jig{width:58px;height:58px;flex:none;background:url('assets/production-tools-sheet.webp') 33.333% 100%/400% 200% no-repeat}.ip-order summary{min-height:44px;display:flex;align-items:center;cursor:pointer}.ip-order p{background:#e8d7ad;color:#2d3a2e;padding:8px;border-radius:6px}.ip-notice{font-size:13px;margin:5px 0}.ip-preview{background:#f2e3bb;border:1px solid #a78b55;border-radius:8px;color:#3a4b34;margin:7px 0}.ip-preview svg{display:block;width:100%;height:auto;max-height:255px}.ip-preview text{font-family:var(--game-reading,system-ui),sans-serif;font-size:15px;fill:#66502d}.ip-palette{display:flex;gap:6px;flex-wrap:wrap}.identity-production .ip-tile{background:#d3ddb2;border:2px solid #a5b57e}.identity-production .ip-tile[aria-pressed=true]{border-color:#f2d070;box-shadow:0 0 0 2px #d4b15288}.ip-tile.ip-x2{min-width:70px}.ip-tile.ip-x{min-width:85px}.ip-note{font-size:12px;color:#d4d6b8;margin:8px 0}.ip-regions{display:grid;grid-template-columns:repeat(auto-fit,minmax(min(100%,190px),1fr));gap:8px}.ip-region{background:#182d23;border:1px solid #7c855a;border-radius:8px;padding:8px;min-width:0}.ip-region h3{font-size:14px;margin:0 0 4px}.ip-region output{font-size:12px}.ip-grid{display:grid;grid-template-columns:repeat(var(--ip-columns),minmax(18px,1fr));gap:2px;margin:6px 0;min-height:48px;max-width:100%;overflow:auto}.identity-production .ip-cell{min-width:18px;min-height:34px;border-radius:3px;padding:2px;font-size:12px}.identity-production .ip-cell.ip-empty{background:#d8d3b044;border:1px dashed #9c9e6c;color:#fff}.identity-production .ip-cell.ip-positive{background:#ccd79f}.identity-production .ip-cell.ip-negative{background:#d7aaa0;color:#633e2c;border-style:dashed}.identity-production .ip-add{width:100%;font-size:12px}.ip-cut-controls{display:flex;flex-wrap:wrap;gap:7px;align-items:end}.ip-dimension{display:block;font-size:13px;flex:1 1 160px}.ip-dimension input{display:block;width:100%;min-height:44px;background:#fff7de;border:1px solid #aa8e58;border-radius:5px;padding:7px;margin-top:4px;font-size:16px}.ip-status{display:block;padding:8px 0 0;font-size:13px;color:#ead59e}@media(max-width:700px){.identity-production{padding:7px;font-size:14px}.ip-header h2{font-size:16px}.ip-preview svg{max-height:205px}.ip-regions{grid-template-columns:repeat(auto-fit,minmax(min(100%,155px),1fr))}}
