.order-sheet{padding-top:28px;min-width:0}.order-sheet .order-heading{display:flex;justify-content:space-between;align-items:center;gap:20px}.order-sheet h2{font-size:28px;color:#123f34;line-height:1.3;margin:0 0 10px}.order-sheet p{font-size:13px;color:#526259;max-width:none}.order-sheet button{font:inherit;cursor:pointer;border:1px solid #315b4e;background:#123f34;color:#fff;border-radius:3px;padding:9px 12px;min-height:40px;white-space:nowrap}.order-sheet button:disabled{opacity:.45;cursor:not-allowed}.order-sheet button:focus-visible,.order-sheet input:focus-visible,.order-sheet textarea:focus-visible,.order-sheet select:focus-visible,.order-scroll:focus-visible{outline:3px solid #bc9951;outline-offset:2px}.order-sheet .order-warning{padding:14px 16px;background:#f5eedb;border:1px solid #cdbd98;color:#655126;line-height:1.7;margin:16px 0}.order-summary{display:flex;gap:16px 30px;flex-wrap:wrap;align-items:center;font-size:13px;padding:14px 0;border-bottom:1px solid #cbd2c9;color:#315b4e}.order-summary strong{font-size:21px;color:#8e2638;font-variant-numeric:tabular-nums}.order-sheet .order-notice{min-height:24px;margin:12px 0;color:#315b4e}.order-scroll{overflow:auto;max-width:100%;border:1px solid #cbd2c9;max-height:640px;background:#fbfbf7}.order-sheet table{border-collapse:separate;border-spacing:0;table-layout:fixed;width:2390px;font-size:13px;line-height:1.6}.order-sheet caption{text-align:left;padding:12px;background:#f4f4ef;color:#526259}.order-sheet th{background:#123f34;color:#fff;position:sticky;top:0;z-index:2;text-align:left;padding:12px 10px;font-weight:600;border-right:1px solid #416151;width:170px}.order-sheet th small{display:block;font-size:10px;color:#d4dfd5;font-weight:400}.order-sheet th:first-child{width:48px;left:0;z-index:4}.order-sheet th.order-name{width:190px;left:48px;z-index:4}.order-sheet td{padding:10px;border-bottom:1px solid #cbd2c9;border-right:1px solid #dce2d9;vertical-align:top;background:#fbfbf7;overflow-wrap:anywhere}.order-sheet td.order-number{position:sticky;left:0;background:#f4f4ef;z-index:1;text-align:center;padding-top:20px}.order-sheet td.order-name{position:sticky;left:48px;z-index:1;background:#f4f4ef}.order-sheet th.order-quantity{width:120px}.order-sheet th.order-unit_price{width:145px}.order-sheet th.order-amount{width:125px}.order-sheet th.order-pending{width:240px}.order-sheet th.order-status{width:190px}.order-sheet th.order-updated_by{width:115px}.order-sheet th.order-updated_at{width:150px}.order-sheet input,.order-sheet textarea,.order-sheet select{display:block;width:100%;box-sizing:border-box;background:#fffdf0;border:1px solid #b4bba9;border-radius:2px;padding:9px 7px;min-height:40px;color:#17271f;font:inherit;line-height:1.6;resize:vertical}.order-sheet textarea{min-height:89px}.order-sheet input:disabled,.order-sheet textarea:disabled,.order-sheet select:disabled{background:#f2f3ed;color:#536259;border-color:#d8ded3;opacity:1;-webkit-text-fill-color:#536259}.order-sheet input::placeholder,.order-sheet textarea::placeholder{color:#6b7566}.order-sheet output{display:block;font-variant-numeric:tabular-nums;font-weight:700;color:#8e2638;padding-top:11px}.order-sheet .order-actions button{display:block;width:100%;font-size:12px;margin-bottom:8px}.order-sheet .order-actions [data-history]{background:transparent;color:#123f34}.order-sheet [data-row-message]{display:block;font-size:11px;color:#526259}.order-sheet tr.is-dirty td{background:#fff8dc}.order-sheet .order-source{font-size:12px;color:#526259;margin:18px 0}.order-sheet .order-source summary{cursor:pointer;color:#123f34}.order-sheet .order-source p{overflow-wrap:anywhere}.order-history article{padding:12px 0;border-bottom:1px solid #cbd2c9;font-size:13px}.order-history p{white-space:pre-wrap}.order-sheet{scroll-margin-top:16px}@media(max-width:760px){.order-sheet .order-heading{align-items:flex-start}.order-sheet h2{font-size:23px}.order-sheet .order-heading button{font-size:12px}.order-scroll{max-height:70vh}.order-sheet td.order-name,.order-sheet th.order-name{position:static}.order-sheet .order-heading p{font-size:12px}}
.production > h2 { color: #123f34; margin-bottom: 20px; }
.production-steps { display: flex; flex-wrap: wrap; gap: 0; border-bottom: 1px solid #cbd2c9; padding: 0; margin-bottom: 20px; }
.production-steps button { background: transparent; color: #315246; border: 0; border-bottom: 3px solid transparent; border-radius: 0; padding: 14px 28px; min-height: 48px; font: inherit; cursor: pointer; }
.production-steps button:hover { background: #e7ece4; color: #123f34; }
.production-steps button.active { background: #e7ece4; border-bottom-color: #8e2638; color: #123f34; font-weight: 700; }
.production-steps button:focus-visible { outline: 2px solid #8e2638; outline-offset: -4px; }
.production-location { color: #526259; font-size: 14px; margin-bottom: 20px; }
.production-placeholder { padding: 28px 0 48px; color: #526259; }
.production [hidden] { display: none !important; }
@media (max-width: 520px) { .production-steps button { flex: 1; padding: 12px 14px; } }
.production-months { display: flex; flex-wrap: wrap; align-items: end; gap: 14px; margin: 16px 0 24px; }
.production-months label { display: grid; gap: 6px; margin: 0; min-width: 180px; color: #315246; font-size: 13px; }
.production-months select { padding: 9px 12px; min-height: 44px; }
.production-months > span { color: #8e2638; }
.order-sheet .order-sku { min-width: 140px; }
.order-sheet .order-image { min-width: 155px; }
.order-image-empty { display: block; padding: 18px 8px; border: 1px dashed #a9b8ab; color: #526259; text-align: center; font-size: 12px; line-height: 1.8; }
.order-sheet .order-size_note { min-width: 350px; }
.order-heading [data-add-row] { margin-left: 10px; }
.order-image-button{display:block;width:100%;padding:6px!important;background:#fff!important;color:#163f35!important;border:1px solid #ccd5cc!important;border-radius:4px!important;cursor:zoom-in}
.order-image-button img{display:block;width:160px;height:130px;object-fit:contain;margin:auto}
.order-image-button span{display:block;font-size:12px;margin-top:4px}
.order-image-note{display:block;max-width:180px;margin-top:6px;font-size:11px;line-height:1.5;color:#58685f}
.order-image-viewer{max-width:94vw;max-height:92vh;padding:16px;border:1px solid #cad2c9;border-radius:8px;background:#fff;color:#163f35}
.order-image-viewer::backdrop{background:rgba(5,25,20,.7)}
.order-image-viewer>img{display:block;max-width:85vw;max-height:72vh;object-fit:contain;margin:12px auto}
.order-image-viewer>p{max-width:75ch;font-size:13px;line-height:1.6}
.production-media-list{display:grid;gap:18px;margin:20px 0 48px}
.production-media-card{border:1px solid #cbd2c9;background:#fbfbf7;padding:20px}
.production-media-card>header{display:flex;align-items:center;gap:14px;padding-bottom:14px;border-bottom:1px solid #dce2d9}
.production-media-card>header>span{display:grid;place-items:center;width:34px;height:34px;border-radius:50%;background:#123f34;color:#fff;font-weight:700}
.production-media-card h3,.production-media-card h4{margin:0;color:#123f34}
.production-media-card header p{margin:4px 0 0}
.production-media-card>section{padding-top:18px}
.production-media-card h4{font-size:14px;margin-bottom:10px}
.production-media-grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(150px,1fr));gap:10px}
.order-sheet .production-media-thumb{display:grid;gap:5px;width:100%;padding:8px;background:#fff;color:#163f35;border:1px solid #ccd5cc;text-align:left;white-space:normal}
.production-media-thumb img{display:block;width:120px;height:120px;aspect-ratio:1 / 1;object-fit:contain;margin:0 auto;background:#fff}
.production-media-thumb strong,.production-media-thumb span,.production-media-thumb small{font-size:11px;line-height:1.4}
.production-media-thumb small{color:#64736b}
.production-media-empty{padding:18px;border:1px dashed #a9b8ab;background:#f4f4ef;color:#526259;text-align:center}
.production-asset-card{border:1px solid #ccd5cc;border-radius:8px;background:#fff;padding:10px;height:270px;box-sizing:border-box;display:flex;flex-direction:column;min-width:0;overflow:hidden;box-shadow:0 4px 14px rgba(20,63,52,.04);}
.production-asset-card>h3{font-size:14px;line-height:18px;margin:0 0 6px;color:#123f34;}
body .single-production-media .production-asset-card>.media-empty-art{flex:0 0 120px;width:100%;height:120px;box-sizing:border-box;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:6px;margin:0;padding:0;min-width:0;min-height:0;transform:scale(.7);transform-origin:center;}
body .single-production-media .production-asset-card>.media-empty-art .media-empty-visual{flex:0 0 82px;width:100%;max-width:100%;height:82px;display:flex;align-items:center;justify-content:center;}
.production-asset-card .production-media-thumb{min-height:0;align-content:start;}
.production-asset-card .production-media-thumb strong,.production-asset-card .production-media-thumb small{overflow:hidden;text-overflow:ellipsis;white-space:nowrap;}
.order-sheet .production-asset-card .production-media-upload{margin-top:auto;align-self:flex-start;flex-shrink:0;}
.order-sheet .production-asset-card .production-media-thumb{border:0;padding:0;}
.order-sheet .production-media-upload{position:relative;display:inline-flex;align-items:center;gap:6px;width:auto;min-height:0;height:32px;box-sizing:border-box;margin:8px 0 0;padding:4px 2px;border:0;border-radius:0;background:transparent;color:#315246;font-size:12px;line-height:20px;overflow:hidden;cursor:pointer;}
.production-media-upload::before{content:'＋';font-size:16px;font-weight:400;}
.order-sheet .production-media-upload:hover{color:#8e2638;text-decoration:underline;text-underline-offset:4px;}
.order-sheet .production-media-upload input{position:absolute;inset:0;width:100%;height:100%;margin:0;padding:0;opacity:0;cursor:pointer;}
.production-media-upload:focus-within{outline:2px solid #98263f;outline-offset:2px;}
@media(max-width:520px){.production-media-card{padding:14px}.production-media-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.production-media-thumb img{width:130px;height:130px}}
.production-asset-actions{display:flex;align-items:center;justify-content:space-between;gap:8px;margin-top:auto;}
.order-sheet .production-media-delete{width:auto;border:0;background:transparent;color:#8e2638;font-size:12px;min-height:32px;padding:4px;}
.production-upload-dialog{width:min(460px,calc(100vw - 32px));max-height:85vh;overflow:auto;box-sizing:border-box;border:1px solid #cbd2c9;border-radius:10px;padding:24px;background:#f4f4ef;color:#123f34;}
.production-upload-dialog::backdrop{background:rgba(10,35,27,.55);}
.upload-dialog-heading{display:flex;justify-content:space-between;align-items:center;gap:16px;margin-bottom:20px;}
.upload-dialog-heading h3{margin:0;font-size:20px;}
.upload-dialog-heading button{background:transparent;color:#123f34;border:0;}
.production-drop-zone{display:grid;place-items:center;position:relative;min-height:140px;padding:16px;border:1px dashed #82958a;border-radius:6px;background:#fff;color:#123f34;text-align:center;cursor:pointer;}
.production-drop-zone input{position:absolute;inset:0;width:100%;height:100%;opacity:0;cursor:pointer;}
.production-drop-zone.is-dragging,.production-drop-zone:focus-within{background:#e4ede5;outline:2px solid #123f34;}
.production-upload-dialog .upload-limit{font-size:12px;color:#526259;}
.production-upload-dialog li{overflow-wrap:anywhere;font-size:13px;}
.production-detail-notice{display:flex;align-items:center;justify-content:space-between;gap:20px;margin:12px 0;}
.production-detail-notice .order-notice{flex:1;margin:0;min-height:24px;}
.production-detail-notice [data-return-development]{margin-left:auto;background:transparent;color:#8e2638;border-color:#8e2638;padding:6px 10px;min-height:32px;font-size:12px;line-height:18px;}
.production-media-provenance{display:inline-block;color:#8e2638;font-weight:700}
.order-sheet .order-actions [data-history].is-expanded{background:#8e2638;border-color:#8e2638;color:#fff}
