.production-pane { max-width: 1560px; margin: 0 auto; padding: 18px 32px 64px; color: #37443b; }
.stock-pane { max-width: 1100px; }.stock-stats { display: grid; grid-template-columns: repeat(4,minmax(0,1fr)); gap: 16px; margin: 24px 0; }.stock-stats article { padding: 22px; border: 1px solid #dfe1d6; border-radius: 16px; background: #f4f4ec; display: grid; gap: 16px; }.stock-stats span { font-size: 12px; color: #74806c; }.stock-stats strong { font-size: 34px; font-weight: 500; }.stock-status { color: #6b7c5d; }.stock-form { margin-top: 32px; max-width: 900px; }.stock-form h2 { font-size: 20px; font-weight: 500; }.stock-form .hint { line-height: 1.8; font-size: 12px; }.stock-form .production-controls { margin-top: 24px; }@media(max-width:680px) { .stock-stats { grid-template-columns: repeat(2,minmax(0,1fr)); gap: 10px; }.stock-stats article { padding: 16px; } }
.production-pane button, .production-pane select, .production-pane input, .production-pane textarea { font: inherit; }
.production-layout { display: grid; grid-template-columns: 226px minmax(0,1fr); gap: 42px; align-items: start; }
.production-rail { position: sticky; top: 20px; padding-right: 20px; border-right: 1px solid #dddcd2; max-height: 86vh; overflow: auto; }
.production-rail h2 { font-size: 15px; margin: 18px 0; }
.production-rail button { font-size: 13px; }
.production-version-list, .production-run-list { display: grid; gap: 8px; margin-bottom: 28px; }
.production-list-item { display: grid; text-align: left; gap: 5px; padding: 13px; width: 100%; border: 1px solid transparent; background: transparent; white-space: normal; overflow-wrap: anywhere; }
.production-list-item[aria-current="true"] { border-color: #c7cebe; background: #e8ecdf; }
.production-list-item span { font-size: 12px; color: #727b6f; }.production-list-item small { font-size: 10px; color: #83867b; }
.production-heading { display: flex; justify-content: space-between; align-items: center; gap: 20px; margin-bottom: 12px; }.production-heading h1 { font-size: clamp(24px, 2.5vw, 36px); font-weight: 500; letter-spacing: -.8px; margin: 8px 0; }
.production-eyebrow { font-size: 10px; letter-spacing: .24em; color: #929a88; margin: 0; }.production-controls { display: flex; gap: 10px; align-items: center; flex-wrap: wrap; }.production-controls button { white-space: nowrap; }
.production-version-status { color: #78836d; font-size: 12px; margin: 0 0 24px; }.production-version-status.is-dirty { color: #967548; }
.production-flow { display: grid; grid-template-columns: repeat(4,minmax(0,1fr)); gap: 1px; border: 1px solid #dfe1d6; border-radius: 16px; overflow: hidden; margin: 20px 0; background: #dfe1d6; }
.production-flow>div { padding: 18px 15px; display: grid; gap: 8px; background: #f0f1e9; }.production-flow span { font-size: 10px; color: #8a947e; }.production-flow strong { font-size: 14px; font-weight: 500; }.production-flow small { font-size: 11px; color: #82877b; line-height: 1.6; }
.production-channels { display: flex; gap: 12px; align-items: center; flex-wrap: wrap; margin: 18px 0 24px; }.production-channels .hint { font-size: 11px; margin: 0; }
.production-chip { display: inline-block; font-size: 11px; padding: 6px 10px; border-radius: 30px; background: #e5eadb; color: #637451; }.production-chip.warning, .status-failed { background: #f0e7d7; color: #947046; }.status-running { background: #e1eadd; }.status-paused { background: #e7e7e1; color: #777b70; }
.production-provider-help { font-size: 12px; flex-basis: 100%; }.production-provider-help summary { cursor: pointer; color: #697d60; }.production-provider-help p { padding-top: 10px; max-width: 760px; line-height: 1.8; overflow-wrap: anywhere; }
.production-editor label { font-size: 12px; color: #6b7466; display: grid; gap: 8px; min-width: 0; }.production-editor input, .production-editor textarea, .production-editor select { background: #fcfbf6; border: 1px solid #dedfd5; border-radius: 10px; padding: 12px 13px; color: #3f4b40; width: 100%; min-width: 0; box-sizing: border-box; outline-offset: 3px; }.production-editor textarea { line-height: 1.7; font-size: 12px; resize: vertical; }
.production-editor>.production-meta, .production-editor>label { margin-bottom: 20px; }.production-meta { display: grid; grid-template-columns: repeat(auto-fit,minmax(180px,1fr)); gap: 18px; }
.production-editor-section>summary { cursor: pointer; color: #657458; font-size: 13px; padding: 12px 0 20px; }
.production-prompt-block { background: #faf9f3; border: 1px solid #e0e1d6; border-radius: 14px; padding: 0 20px; margin: 12px 0; }.production-prompt-block summary { cursor: pointer; padding: 19px 0; font-size: 14px; color: #53674a; }.production-prompt-block>label, .production-prompt-block>.production-meta { margin: 5px 0 20px; }.production-prompt-block summary small { margin-left: 16px; font-size: 10px; color: #8c9582; }.production-step-number { display: inline-grid; place-items: center; width: 28px; height: 28px; margin-right: 10px; border-radius: 50%; color: #8c997c; background: #ecefe4; font-size: 10px; flex: 0 0 auto; }
.production-text-button { border: none; color: #937e65; font-size: 11px !important; background: none; margin: 0 0 14px; padding-left: 0; }.production-preview-plan { margin: 20px 0; }.production-plan details { margin-bottom: 12px; }.production-pane pre { white-space: pre-wrap; overflow-wrap: anywhere; font: 12px/1.8 ui-monospace, monospace; color: #7c8175; padding: 12px; background: #f0f1e8; border-radius: 8px; max-height: 340px; overflow-y: auto; }
.production-run-panel { margin: 48px 0 0 268px; padding-top: 28px; border-top: 1px solid #d8dccf; scroll-margin-top: 24px; }.production-run-heading { display: flex; align-items: center; gap: 18px; }.production-run-heading h2 { margin: 8px 0; font-weight: 500; }.production-live { color: #6c865b; font-size: 11px; }.production-live.offline { color: #ae8353; }
.production-progress progress { appearance: none; width: 100%; height: 5px; border: 0; border-radius: 10px; overflow: hidden; margin: 4px 0 20px; }.production-progress progress::-webkit-progress-bar { background: #e8e9df; }.production-progress progress::-webkit-progress-value { background: #8b9c79; transition: width .5s; }.production-progress progress::-moz-progress-bar { background: #8b9c79; }
.production-timeline { list-style: none; padding: 0; margin: 24px 0; }.production-step { display: grid; grid-template-columns: 28px minmax(0,1fr) 110px; gap: 12px; padding: 12px 0; border-bottom: 1px solid #e6e8de; align-items: start; }.production-step details { min-width: 0; padding-top: 4px; }.production-step summary { cursor: pointer; font-size: 13px; }.production-step-status { font-size: 11px; text-align: right; padding-top: 6px; color: #98a18c; }.state-done .production-step-number { background: #dfe7d5; color: #657954; }.state-waiting .production-step-number, .state-submitting .production-step-number, .state-processing .production-step-number { background: #798c67; color: white; }.state-failed .production-step-status,.state-uncertain .production-step-status { color: #b06e4e; }.production-attempts p { font-size: 11px; overflow-wrap: anywhere; }
.production-media { display: grid; grid-template-columns: repeat(auto-fit,minmax(215px,1fr)); gap: 16px; }.production-media-card { padding: 14px; border: 1px solid #dfe1d7; border-radius: 12px; background: #fbfaf4; min-width: 0; }.production-media-card h3 { font-size: 12px; font-weight: 500; }.production-media-card img,.production-media-card video { display: block; width: 100%; aspect-ratio: 1; object-fit: contain; border-radius: 8px; background: #f3f0e8; }.production-warning { color: #a06e46; font-size: 12px; }.production-events { margin-top: 30px; color: #7c8472; font-size: 12px; }.production-events li { padding: 7px 0; line-height: 1.6; }
.production-finished { padding: 20px 0; }.production-finished-grid { display: grid; grid-template-columns: repeat(auto-fill,minmax(245px,1fr)); gap: 24px; margin: 28px 0; }.production-product { padding: 20px; border-radius: 18px; background: #faf9f3; border: 1px solid #dedfd4; display: grid; gap: 8px; }.production-product img { width: 100%; aspect-ratio: 1; object-fit: contain; border-radius: 12px; }.production-product h2 { font-size: 20px; margin: 6px 0; font-weight: 500; }.production-product p { margin: 0; font-size: 11px; }.production-product .production-chip { justify-self: start; margin: 8px 0; }.production-empty { text-align: center; padding: 80px 16px; border: 1px dashed #d7ddc9; border-radius: 24px; margin-top: 24px; color: #8a957c; }.production-empty>span { font-size: 64px; color: #a8b89b; }.production-empty h2 { font-size: 21px; font-weight: 400; }.production-empty p { font-size: 13px; }
.production-dialog { border: 1px solid #d7dcce; border-radius: 22px; background: #faf9f2; color: #4a5843; max-width: min(480px,calc(100vw - 48px)); padding: 30px; box-shadow: 0 24px 80px #22301330; }.production-dialog::backdrop { background: #29342666; backdrop-filter: blur(4px); }.production-dialog h2 { font-size: 21px; font-weight: 500; margin: 0 0 16px; }.production-dialog p { font-size: 14px; line-height: 1.9; color: #7b836f; }.production-dialog textarea { width: 100%; box-sizing: border-box; margin: 10px 0; }.production-dialog .production-controls { justify-content: flex-end; margin-top: 24px; }.production-dialog .production-risk { display: flex; align-items: center; gap: 8px; font-size: 12px; }.production-dialog input[type=checkbox] { width: 18px; height: 18px; }
.production-message { padding: 12px 16px; background: #eaf0e1; color: #617a52; font-size: 13px; border-radius: 10px; }.production-message.error { background: #f3e7de; color: #a16748; }.production-pane button:disabled { opacity: .45; cursor: not-allowed; }.production-pane [hidden] { display: none !important; }
.production-message { position: sticky; top: 10px; z-index: 5; box-shadow: 0 5px 20px #37443b0a; }.production-original video,.production-original img { width: 100%; max-height: 60vh; object-fit: contain; background: #f3f0e8; border-radius: 12px; margin-bottom: 12px; }
.planning-workshop { padding: 26px 0; border-bottom: 1px solid #dfe1d6; margin-bottom: 24px; min-width: 0; }
.planning-workshop h2 { font-size: 25px; font-weight: 500; margin: 10px 0; }.planning-workshop h3 { font-size: 15px; font-weight: 500; }.planning-workshop h4 { font-size: 12px; font-weight: 500; }
.planning-version-controls { margin: 20px 0; }.planning-version-controls select { max-width: 100%; min-width: 160px; }
.planning-prompt-columns { display: grid; grid-template-columns: 1.15fr 1fr; gap: 20px; margin-bottom: 24px; align-items: start; }.planning-prompt-columns textarea { min-height: 255px; }
.planning-contract { padding: 18px 22px; background: #e9eddf; border: 1px solid #d9e0cc; border-radius: 12px; min-width: 0; }.planning-contract h3 { margin-top: 0; }.planning-contract ul { font-size: 12px; padding-left: 18px; line-height: 2; color: #66715d; }.planning-contract summary,.planning-catalog summary,.planning-audit summary { font-size: 12px; cursor: pointer; line-height: 1.6; }
.planning-prices { line-height: 1.8; font-size: 12px; }.planning-catalog { margin: 18px 0 24px; }.planning-price-table { max-height: 350px; overflow: auto; margin: 12px 0; }.planning-price-table table { width: 100%; font-size: 11px; border-collapse: collapse; text-align: left; }.planning-price-table td,.planning-price-table th { padding: 10px; border-bottom: 1px solid #dfe1d6; }.planning-price-table th { position: sticky; top: 0; background: #f0f1e8; white-space: nowrap; }
.planning-history { margin-top: 30px; padding-top: 20px; border-top: 1px solid #dfe1d6; }.planning-history select { width: 100%; min-width: 0; }.planning-result { margin-top: 18px; }.planning-output-summary { color: #5c7150; font-size: 13px; }.planning-audit { margin: 20px 0; }
.planning-source-dialog { width: 760px; max-width: calc(100vw - 60px); }.planning-source-dialog pre { max-height: 30vh; }
@media(max-width:1000px) { .planning-prompt-columns { grid-template-columns: 1fr; } }
@media (max-width:1000px) { .production-layout { grid-template-columns: 180px minmax(0,1fr); gap: 24px; }.production-heading { align-items: flex-start; flex-direction: column; }.production-flow { grid-template-columns: repeat(2,minmax(0,1fr)); }.production-run-panel { margin-left: 204px; } }
@media (max-width:680px) { .production-pane { padding: 16px 18px 48px; }.production-layout { display: block; }.production-rail { position: static; border: 0; padding: 0; max-height: none; }.production-version-list,.production-run-list { grid-auto-flow: column; grid-auto-columns: 180px; grid-template-columns: none; overflow-x: auto; margin-bottom: 16px; }.production-rail .rail-heading { margin: 0; }.production-run-panel { margin-left: 0; }.production-meta { grid-template-columns: 1fr; }.production-prompt-block { padding: 0 14px; }.production-prompt-block summary small { display: block; margin-top: 7px; margin-left: 37px; }.production-step { grid-template-columns: 24px minmax(0,1fr) 80px; gap: 8px; }.production-finished-grid { grid-template-columns: 1fr; }.production-media { grid-template-columns: 1fr; }.production-dialog { padding: 22px; }.production-flow>div { padding: 14px; } }
