.production-summary h2{margin:7px 0}.production-metrics{display:grid;grid-template-columns:repeat(6,minmax(0,1fr));gap:12px}.production-metrics>a{padding:20px;border:1px solid var(--line);border-radius:15px;background:var(--panel);color:var(--text);display:flex;flex-direction:column;gap:8px}.production-metrics strong{font-size:30px;line-height:1.2}.production-metrics small,.production-context{color:var(--muted);font-size:12px}.production-notices{display:flex;flex-wrap:wrap;gap:20px;padding-top:16px;font-size:13px}.production-nav{display:flex;gap:8px;overflow:auto;padding:4px 0 18px}.production-nav a{padding:10px 14px;border:1px solid var(--line);border-radius:10px;white-space:nowrap;color:var(--text);font-size:13px}.production-nav .active{background:var(--green);color:white;border-color:transparent}.production-nav span{opacity:.7;margin-left:5px}.production-toolbar{display:flex;gap:12px;align-items:center;margin:0 0 18px}.production-search{display:flex;align-items:center;gap:10px;flex:1;max-width:470px}.production-search input{width:100%}.production-search .ui-icon{width:19px;flex-shrink:0}.production-toolbar select{max-width:240px}.production-board{display:grid;grid-template-columns:repeat(6,minmax(260px,1fr));gap:14px;overflow:auto;align-items:start;padding:0 0 20px;scroll-snap-type:x proximity}.production-column{min-width:0;scroll-snap-align:start;background:var(--soft);border:1px solid var(--line);border-radius:16px;padding:12px}.production-column>header{padding:4px 2px 15px}.production-column>header>div{display:flex;align-items:center;gap:8px}.production-column h2{font-size:14px;margin:0;flex:1}.production-column>header strong{font-size:12px;padding:4px 7px;background:var(--panel);border-radius:6px}.production-column>header small{display:block;font-size:11px;color:var(--muted);margin-top:8px}.production-dot{width:8px;height:8px;border-radius:50%;background:#8f94ac}.stage-PREPARATION{background:#dba94b}.stage-LISTING{background:#9881f9}.stage-PUBLISHED{background:#4db89e}.stage-SHIPPING{background:#69a8e8}.stage-CLOSING{background:#c38bc1}.production-cards{display:flex;flex-direction:column;gap:10px}.production-card{border:1px solid var(--line);border-radius:12px;background:var(--panel);padding:14px;box-shadow:0 3px 10px #00000006;min-width:0}.production-card.attention{border-left:3px solid #dba94b}.production-card-top{display:flex;justify-content:space-between;align-items:center;gap:6px;margin-bottom:10px;font-size:11px;color:var(--muted)}.production-card-title{display:flex;text-align:left;align-items:center;gap:10px;width:100%;padding:0;border:0;background:transparent;color:var(--text);font-size:14px;font-weight:650;line-height:1.4}.production-card-title img{width:34px;height:45px;object-fit:cover;border-radius:4px;flex-shrink:0}.production-card-title span{overflow-wrap:anywhere}.production-context{line-height:1.5;margin:8px 0}.production-progress{display:flex;align-items:center;gap:10px;font-size:11px;margin:13px 0}.production-progress progress{height:5px;width:100%;accent-color:var(--green)}.production-next{display:flex;align-items:center;justify-content:space-between;gap:8px;padding:10px 0 0;margin-top:12px;border:0;border-top:1px solid var(--line);border-radius:0;background:transparent;color:var(--green);font-size:12px;font-weight:600;text-align:left;width:100%;min-height:40px}.production-next .ui-icon{width:16px;flex-shrink:0}.production-alert{font-size:12px;line-height:1.5;background:#dba94b12;color:var(--text);padding:10px;border-radius:8px}.production-empty{font-size:12px;color:var(--muted);padding:20px 8px;text-align:center}.production-more{width:100%;margin-top:12px;font-size:12px;background:transparent}.production-board.focused{display:block;overflow:visible}.production-board.focused .production-cards{display:grid;grid-template-columns:repeat(auto-fill,minmax(250px,1fr));align-items:start}.production-board.focused .production-column>header{max-width:400px}.production-bulk{display:flex;gap:10px;align-items:center;flex-wrap:wrap;padding:13px 16px;border:1px solid var(--line);background:var(--panel);border-radius:12px;margin-bottom:16px;font-size:13px}
#production-drawer{position:fixed;inset:0 0 0 auto;margin:0;width:min(560px,100vw);max-width:100vw;height:100dvh;max-height:100dvh;padding:0;border:0;border-left:1px solid var(--line);border-radius:0;background:var(--panel);color:var(--text);overflow:auto;box-shadow:-12px 0 50px #0002}#production-drawer::backdrop{background:#11132677}.production-drawer-head{display:flex;justify-content:space-between;gap:20px;padding:22px 24px;background:var(--panel);border-bottom:1px solid var(--line);position:sticky;top:0;z-index:2}.production-drawer-head h2{font-size:21px;margin:8px 0}.production-drawer-head>button{align-self:flex-start}.production-drawer-body{padding:0 24px 30px}.production-step{padding:23px 0;border-bottom:1px solid var(--line)}.production-step h3{font-size:14px;margin:0 0 14px}.production-step h3 .ui-icon{width:17px;color:#36a78d;vertical-align:middle}.label-step p{font-size:13px;line-height:1.6;color:var(--muted)}.label-step>div{display:flex;flex-wrap:wrap;gap:8px}.production-check{padding:12px 0;display:flex;align-items:center;justify-content:space-between;gap:14px}.production-check>div:first-child{min-width:0}.production-check strong{font-size:13px;font-weight:500}.production-check.done strong{color:var(--muted)}.production-check small{display:block;font-size:11px;color:var(--muted);line-height:1.5;margin-top:4px}.production-check-actions{display:flex;gap:6px;flex-shrink:0}.production-check button{font-size:11px;padding:8px 10px;min-height:36px}.production-check button:disabled{opacity:.45;cursor:not-allowed}.production-success{padding:14px;border-radius:10px;color:var(--green);background:var(--soft);font-size:13px}
@media(max-width:1100px){.production-metrics{grid-template-columns:repeat(3,minmax(0,1fr))}}
@media(max-width:700px){.production-metrics{grid-template-columns:repeat(2,minmax(0,1fr))}.production-metrics>a{padding:16px}.production-toolbar{flex-wrap:wrap}.production-search{max-width:none;flex-basis:100%}.production-board{grid-template-columns:repeat(6,minmax(280px,85vw));gap:10px}.production-board.focused .production-cards{grid-template-columns:1fr}.production-drawer-head{padding:18px 16px}.production-drawer-body{padding:0 16px 28px}.production-check{flex-wrap:wrap;gap:8px}.production-check-actions{margin-left:auto}.production-check button{min-height:42px}.production-nav{margin-right:-10px}.production-bulk>strong{width:100%}.production-notices{gap:10px;flex-direction:column}}

/* Compact controls override the global form input sizing, including mobile. */
.production-card-top .production-select,#production-select-all{width:18px;height:18px;min-width:18px;min-height:18px;flex:0 0 18px;margin:0;padding:0;accent-color:var(--green)}
.production-card-top>span{white-space:nowrap}.production-card-title{justify-content:flex-start}.production-toolbar>label.help{display:flex;align-items:center;gap:8px;white-space:nowrap;margin:0}.production-card-top{min-height:26px}
/* Operational lists: one hierarchy for phases, activities, rows and lot members. */
.production-nav{border-bottom:1px solid var(--line);padding-bottom:0;margin-bottom:20px;gap:0}.production-nav a{border:0;border-radius:0;padding:12px 14px;border-bottom:3px solid transparent}.production-nav a.active{background:transparent;color:var(--green);border-bottom-color:var(--green);font-weight:650}.production-lots-nav{margin-left:auto;border-left:1px solid var(--line)!important}.production-micro{display:flex;flex-wrap:wrap;gap:8px;margin:18px 0 8px}.production-micro a{border:1px solid var(--line);padding:8px 11px;border-radius:6px;display:flex;align-items:center;gap:9px;color:var(--text);font-size:12px;background:var(--panel)}.production-micro a.active{border-color:var(--green);background:var(--soft);color:var(--green);box-shadow:inset 0 0 0 1px var(--green)}.production-micro b{font-size:11px;font-weight:600;background:var(--soft);padding:1px 5px;border-radius:4px}.production-micro.compact{margin:0 0 14px;gap:5px}.production-micro.compact a{font-size:11px;padding:5px 7px;gap:5px}.production-filter-help{color:var(--muted);font-size:12px;margin:10px 0 20px}.production-group-tabs{display:flex;gap:24px;border-bottom:1px solid var(--line);margin-bottom:16px}.production-group-tabs a{padding:12px 0;color:var(--muted);font-size:13px;border-bottom:2px solid transparent}.production-group-tabs .active{color:var(--text);font-weight:650;border-color:var(--green)}.production-group-tabs b{margin-left:6px;font-size:11px}.production-filter-notice{padding:12px 16px;background:var(--soft);border:1px solid var(--line);border-radius:6px;font-size:13px;display:flex;gap:8px;flex-wrap:wrap;margin-bottom:14px}
.production-list{border:1px solid var(--line);border-radius:8px;overflow:hidden;background:var(--panel)}.production-list>header{display:flex;justify-content:space-between;padding:13px 18px;border-bottom:1px solid var(--line);font-size:12px;background:var(--soft);color:var(--muted)}.production-list>header label{display:flex;gap:10px;align-items:center;margin:0;font-size:12px}.production-row{display:grid;grid-template-columns:22px minmax(220px,2fr) minmax(200px,1.5fr) minmax(130px,auto);align-items:center;gap:18px;padding:19px 18px;border-bottom:1px solid var(--line);margin:0}.production-row:last-child{border-bottom:0}.production-row:hover{background:var(--soft)}.production-row.attention{border-left:3px solid #dba94b;padding-left:15px}.production-row-check{align-self:start;padding-top:2px}.production-row .production-select{width:18px;height:18px;min-width:18px;min-height:18px;margin:0;padding:0;accent-color:var(--green)}.production-row-identity{min-width:0}.production-row-identity>button{display:block;background:transparent;border:0;padding:0;margin:0;text-align:left;color:var(--text);font-size:14px;line-height:1.45;font-weight:650;overflow-wrap:anywhere}.production-row-meta{font-size:11px;color:var(--muted);margin-top:6px;line-height:1.5}.production-bundle-link{display:inline-flex;align-items:center;gap:5px;font-size:12px;margin-top:8px;line-height:1.5}.production-bundle-link .ui-icon{width:14px;height:14px}.production-row-status{min-width:0}.production-tags,.production-member-checks{display:flex;gap:5px;flex-wrap:wrap}.production-tags>span,.production-member-checks>span{font-size:11px;padding:3px 7px;background:var(--soft);border:1px solid var(--line);border-radius:4px;line-height:1.5}.production-tags .warning,.production-member-checks .warning{border-color:#dba94b;color:var(--text);background:#dba94b18}.production-row-progress{display:flex;gap:8px;align-items:center;color:var(--muted);font-size:11px;margin-bottom:8px}.production-row-progress progress{width:85px;height:4px;accent-color:var(--green)}.production-row-action{display:flex;align-items:center;justify-content:flex-end;gap:8px;border:0;background:transparent;color:var(--green);padding:8px 0;font-size:12px;text-align:right;line-height:1.4}.production-row-action .ui-icon{width:15px;flex-shrink:0}.production-contents{font-size:12px;color:var(--muted);margin-top:9px}.production-contents summary{cursor:pointer;overflow-wrap:anywhere}.production-contents a{display:block;margin:7px 0;font-size:12px}.production-list .production-bulk{border-radius:0;border-width:0 0 1px;margin:0}.production-lot-list{border:1px solid var(--line);border-radius:8px;overflow:hidden;background:var(--panel)}.production-lot{border-bottom:1px solid var(--line)}.production-lot:last-child{border:0}.production-lot>summary{display:grid;grid-template-columns:16px minmax(180px,1fr) 140px 160px;align-items:center;gap:15px;list-style:none;padding:19px 18px;cursor:pointer}.production-lot>summary::-webkit-details-marker{display:none}.production-lot>summary:hover{background:var(--soft)}.production-lot-chevron{font-size:22px;color:var(--muted)}.production-lot[open] .production-lot-chevron{transform:rotate(90deg)}.production-lot-title{min-width:0}.production-lot-title strong{font-size:14px}.production-lot-title small{display:block;font-size:12px;color:var(--muted);margin-top:6px;line-height:1.5;overflow-wrap:anywhere}.production-lot-progress{font-size:12px;color:var(--muted)}.production-phase-label{font-size:11px;background:var(--soft);border:1px solid var(--line);padding:5px 8px;border-radius:4px;justify-self:end}.production-lot-body{border-top:1px solid var(--line);padding:0 22px 12px 48px;background:var(--soft)}.production-lot-toolbar{display:flex;align-items:center;justify-content:space-between;gap:14px;font-size:12px;padding:10px 0;color:var(--muted)}.production-lot-toolbar>a{flex-shrink:0}.production-member{display:grid;grid-template-columns:minmax(150px,1fr) minmax(200px,2fr) auto;gap:16px;align-items:center;padding:14px 0;border-top:1px solid var(--line)}.production-member strong{font-size:13px}.production-member small{display:block;color:var(--muted);font-size:11px;margin-top:5px}.production-member-checks .production-ready{color:var(--green)}
@media(max-width:1100px){.production-row{grid-template-columns:22px minmax(180px,1fr) minmax(150px,1fr)}.production-row-action{grid-column:3}.production-lot>summary{grid-template-columns:16px minmax(180px,1fr) auto}.production-phase-label{grid-column:2;justify-self:start}.production-member{grid-template-columns:1fr 1fr}.production-member>button{grid-column:2;justify-self:end}}
@media(max-width:700px){.production-nav{margin-bottom:16px}.production-nav a{font-size:12px;padding:12px 10px}.production-micro{gap:6px}.production-micro a{font-size:11px;padding:7px 8px}.production-row{grid-template-columns:20px minmax(0,1fr);gap:9px 12px;padding:16px 12px}.production-row.attention{padding-left:9px}.production-row-status,.production-row-action{grid-column:2}.production-row-action{justify-content:flex-start;text-align:left;padding:5px 0;min-height:36px}.production-row-identity>button{font-size:14px}.production-list>header{padding:12px}.production-group-tabs{gap:18px}.production-group-tabs a{font-size:12px}.production-lot>summary{grid-template-columns:12px minmax(0,1fr);gap:8px 10px;padding:16px 12px}.production-lot-progress,.production-phase-label{grid-column:2;justify-self:start}.production-lot-body{padding:0 14px 10px 34px}.production-lot-toolbar{display:block;line-height:1.6}.production-member{grid-template-columns:1fr;gap:10px}.production-member>button{grid-column:1;justify-self:start}.production-filter-help{line-height:1.6}.production-lots-nav{margin-left:0}.production-search{min-width:0}.production-column h2 a{color:var(--text)}}
/* Purchase grouping is an explicit view, separate from sale bundles. */
.production-nav{flex-wrap:wrap;overflow:visible;margin-right:0}
.production-registers{display:flex;flex-wrap:wrap;gap:10px 24px;padding:0 0 18px;font-size:13px}
.production-registers>a{display:inline-flex;gap:8px;align-items:center;min-height:36px;color:var(--text)}
.production-registers .ui-icon{width:17px;height:17px;color:var(--muted)}
.production-registers b{font-size:11px;background:var(--soft);border:1px solid var(--line);padding:2px 6px;border-radius:5px}
.production-registers [aria-current]{color:var(--green);font-weight:650}
.production-view-switch{display:flex;align-items:center;flex-wrap:wrap;gap:12px 16px;margin:22px 0 18px}
.production-view-switch>span{font-size:12px;color:var(--muted)}
.production-view-switch .production-group-tabs{display:flex;flex-wrap:wrap;gap:4px;padding:4px;border:1px solid var(--line);border-radius:8px;background:var(--soft);margin:0}
.production-view-switch .production-group-tabs a{padding:9px 12px;border:1px solid transparent;border-radius:5px;color:var(--muted);font-size:12px}
.production-view-switch .production-group-tabs a.active{background:var(--panel);border-color:var(--line);color:var(--text);box-shadow:0 1px 3px #0000000b}
.production-view-switch>p{flex-basis:100%;font-size:12px;color:var(--muted);margin:0;line-height:1.5}
.production-purchase{position:relative;border-bottom:1px solid var(--line)}
.production-purchase:last-child{border-bottom:0}
.production-purchase>.production-lot{border:0}
.production-purchase>.production-lot>summary{grid-template-columns:16px minmax(0,1fr) 115px 150px;min-height:115px;gap:8px 14px}
.production-purchase .production-phase-label{grid-column:3;grid-row:2;justify-self:start;font-size:11px;white-space:nowrap}
.production-purchase .production-lot-title{grid-column:2;grid-row:1/3}
.production-purchase .production-lot-chevron{grid-row:1/3}
.production-purchase .production-lot-progress{align-self:end}
.production-purchase .production-lot-progress>small{display:block;margin-top:4px;font-size:11px}
.production-purchase-preview{overflow-wrap:anywhere;line-height:1.5}
.production-purchase-action{grid-column:4;grid-row:1/3;justify-self:end;font-size:12px}
.production-purchase-action>button{min-height:40px}
.production-purchase .production-member-checks>a{width:100%;font-size:12px}
.production-receipt-manifest{max-height:40vh;overflow:auto;border:1px solid var(--line);border-radius:7px;margin:16px 0}
.production-receipt-manifest>div{display:grid;grid-template-columns:100px minmax(0,1fr) auto;gap:10px;padding:12px;border-bottom:1px solid var(--line);font-size:13px}
.production-receipt-manifest>div:last-child{border:0}
.production-receipt-manifest span,.production-receipt-manifest small{color:var(--muted);font-size:11px}
.production-receipt-manifest strong{font-weight:550;overflow-wrap:anywhere}
@media(max-width:900px){.production-purchase>.production-lot>summary{grid-template-columns:16px minmax(0,1fr) 150px}.production-purchase .production-phase-label{grid-column:2;grid-row:auto}.production-purchase .production-lot-progress{grid-column:2}.production-purchase .production-lot-title{grid-row:auto}.production-purchase-action{grid-column:3;grid-row:1/4}}
@media(max-width:700px){.production-nav{margin-right:0}.production-registers{gap:4px 16px;padding-bottom:12px}.production-registers>a{font-size:12px}.production-view-switch{gap:10px;margin-top:18px}.production-view-switch>span{flex-basis:100%}.production-view-switch .production-group-tabs{gap:3px;max-width:100%}.production-view-switch .production-group-tabs a{padding:9px 8px;font-size:11px}.production-view-switch .production-group-tabs b{margin-left:3px}.production-purchase>.production-lot>summary{grid-template-columns:12px minmax(0,1fr);padding:16px 12px;gap:8px 10px}.production-purchase .production-lot-title{grid-row:auto}.production-purchase-action{grid-column:2;grid-row:auto;justify-self:start;margin-top:4px}.production-receipt-manifest>div{grid-template-columns:minmax(0,1fr) auto;gap:6px}.production-receipt-manifest strong{grid-column:1/-1;grid-row:2}}

@media(max-width:700px){.production-nav a{font-size:11px;padding:9px 7px}.production-view-switch>span,.production-view-switch>p{display:none}.production-view-switch{margin-bottom:12px}.production-list>header{gap:6px;flex-wrap:wrap}.production-list>header>span{font-size:11px}.production-purchase-preview{display:none!important}}

/* Ordered work and compact row actions. */
.production-sequence{margin:20px 0 12px;min-width:0}
.production-sequence .flow-sequence-main{display:flex;overflow:auto;border-bottom:2px solid var(--line)}
.production-sequence .flow-sequence-main>a{position:relative;display:flex;align-items:center;gap:8px;flex:1 0 140px;min-height:60px;padding:10px 9px;color:var(--muted);font-size:12px;border-bottom:2px solid transparent;margin-bottom:-2px}
.production-sequence .flow-sequence-main>a:not(:last-child)::after{content:'›';position:absolute;right:0;color:var(--muted)}
.production-sequence .flow-sequence-main>a.active{color:var(--text);font-weight:650;border-color:var(--green)}
.flow-step-number{width:23px;height:23px;flex:0 0 23px;border:1px solid var(--line);border-radius:50%;display:inline-flex;align-items:center;justify-content:center;font-size:11px;color:var(--muted);background:var(--panel)}
.active>.flow-step-number,.current>summary>.flow-step-number{background:var(--green);border-color:var(--green);color:white}
.flow-step-number .ui-icon{width:13px;height:13px;color:var(--green)}
.flow-sequence-main small{display:block;font-size:10px;font-weight:400;margin-top:3px}
.flow-sequence-main b{font-size:11px;font-weight:500;margin-left:auto}
.flow-sequence-extra{display:flex;gap:16px;flex-wrap:wrap;margin-top:12px;font-size:11px;color:var(--muted)}
.flow-sequence-extra [aria-current]{font-weight:650;color:var(--green)}
.production-micro .flow-sequence-main{display:flex;gap:8px;flex-wrap:wrap}
.production-sequence.compact .flow-sequence-main{flex-direction:column;border:0;max-height:190px;overflow:auto}
.production-sequence.compact .flow-sequence-main>a{min-height:30px;flex:0 0 auto;padding:4px;border:0}
.production-sequence.compact .flow-sequence-main>a::after{display:none}
.flow-tool{display:inline-flex;align-items:center;justify-content:center;gap:6px;min-height:32px;padding:5px 8px;border:1px solid transparent;background:transparent;color:var(--text);border-radius:5px;white-space:normal;font-size:12px;font-weight:450;line-height:1.4;cursor:pointer}
.flow-tool:hover{border-color:var(--line);background:var(--soft)}
.flow-tool:focus-visible,.flow-title:focus-visible{outline:2px solid var(--green);outline-offset:2px}
.flow-tool .ui-icon{width:15px;height:15px;flex-shrink:0;color:var(--green)}
.flow-tool:disabled{cursor:not-allowed;opacity:.45}
.flow-actions{display:flex;align-items:center;justify-content:flex-end;gap:4px;flex-wrap:wrap;min-width:0}
.flow-title{display:block;border:0;background:none;padding:0;color:var(--text);font-weight:650;font-size:13px;text-align:left;line-height:1.5;overflow-wrap:anywhere;cursor:pointer}
.flow-title:hover{color:var(--green);text-decoration:underline}
.flow-identity{display:flex;gap:12px;align-items:center;min-width:0}.flow-identity>div{min-width:0}
.flow-cover{display:inline-flex;align-items:center;justify-content:center;width:38px;height:50px;flex:0 0 38px;color:var(--muted);background:var(--soft);border:1px solid var(--line);border-radius:2px;overflow:hidden}.flow-cover img{width:100%;height:100%;object-fit:contain}.flow-cover .ui-icon{width:20px}
.flow-cover-strip{display:flex;gap:5px;margin-top:8px;align-items:center}.flow-cover-strip .flow-cover{width:24px;height:32px;flex-basis:24px}
.production-row{grid-template-columns:22px minmax(0,2fr) minmax(120px,1fr) auto;gap:14px;padding:14px 16px}.production-row-meta{margin-top:4px}.production-row-progress{margin:5px 0 0}
.flow-lot-shell{display:grid;grid-template-columns:22px minmax(0,1fr) auto;gap:10px;align-items:start;padding:12px 16px;border-bottom:1px solid var(--line)}
.flow-lot-select{padding-top:8px}.flow-lot-shell>.production-lot{border:0;min-width:0}.flow-lot-shell>.flow-actions,.flow-lot-shell>.flow-tool{margin-top:4px}
.flow-lot-shell>.production-lot>summary{grid-template-columns:14px minmax(0,1fr) auto;padding:4px 0;min-height:52px;gap:10px}.flow-lot-shell .production-lot-title{grid-column:2;grid-row:auto}.flow-lot-shell .production-lot-chevron{grid-row:auto}.flow-lot-shell .production-lot-progress{grid-column:3;grid-row:auto;max-width:180px;overflow-wrap:anywhere}.flow-lot-shell .production-phase-label{grid-column:3;grid-row:auto}.flow-lot-shell .production-lot-body{padding:10px 0 0;background:transparent;margin-top:12px}
.production-select{width:17px;height:17px;min-width:17px;padding:0;margin:0;accent-color:var(--green)}
.flow-member{grid-template-columns:18px 38px minmax(0,1fr) auto 32px;gap:12px;padding:12px 0;min-width:0}.flow-member>div{min-width:0}.flow-member>button{grid-column:auto}.flow-member>button span{display:none}.flow-member small{overflow-wrap:anywhere}.flow-member .production-member-checks{max-width:180px}
#production-drawer{width:clamp(600px,52vw,900px);max-width:100vw}#production-drawer::backdrop{backdrop-filter:blur(3px)}
.production-drawer-head{padding:20px 22px}.production-drawer-head h2{font-size:21px;margin:6px 0 0;overflow-wrap:anywhere}.production-drawer-head>.flow-tool span{display:none}.production-drawer-body{padding:18px 22px 30px}
.flow-detail-meta{display:flex;justify-content:space-between;gap:12px;font-size:12px;color:var(--muted);margin:0 0 14px;flex-wrap:wrap}.flow-section-label{font-size:13px;margin:24px 0 8px}.flow-item-intro{display:flex;align-items:center;gap:12px;color:var(--muted);font-size:12px;margin:2px 0 22px}
.flow-detail-step{border-bottom:1px solid var(--line)}.flow-detail-step>summary{list-style:none;display:flex;gap:10px;align-items:center;cursor:pointer;min-height:58px;padding:12px 0;font-size:13px}.flow-detail-step>summary::-webkit-details-marker{display:none}.flow-detail-step>summary small{margin-left:auto;text-align:right;font-size:10px;color:var(--muted)}.flow-detail-step.locked>summary{color:var(--muted)}.flow-detail-step>div{padding:8px 0 16px 33px}.flow-detail-step .production-check{min-height:52px;padding:9px 0}.flow-state{border:0;border-radius:4px;background:var(--soft);color:var(--muted);font-size:11px}.production-check .flow-tool{min-height:32px}.production-check-actions{align-items:center}
.flow-tracking{margin-top:24px;padding:16px 0;border-top:1px solid var(--line);font-size:12px;overflow-wrap:anywhere}.flow-tracking>summary{font-weight:650;cursor:pointer}.flow-tracking-edit{margin-top:12px}.flow-tracking-edit>summary{color:var(--green);cursor:pointer}.flow-tracking form{display:grid;grid-template-columns:1fr 1fr;gap:14px;margin-top:14px}.flow-tracking label{font-size:12px;margin:0;min-width:0}.flow-tracking input{width:100%;min-width:0}.flow-tracking form>label:nth-of-type(3),.flow-tracking .error{grid-column:1/-1}.flow-tracking .error:empty{display:none}.flow-tracking form>button{justify-self:start}.flow-tracking .flow-actions{justify-content:flex-start}.flow-tracking #flow-tracking-code{width:230px;max-width:100%;font-size:12px;font-weight:400}
.flow-offer-tools{display:flex;gap:8px;flex-wrap:wrap;margin:-5px 0 16px}.flow-offer-tools button{font-size:12px;min-height:32px;padding:6px 9px;background:var(--panel);color:var(--text);border:1px solid var(--line)}
.flow-offer .offer-layout{display:flex;flex-direction:column;gap:20px}.flow-offer .offer-main{order:0;min-width:0}.flow-offer-contents{order:1;border-top:1px solid var(--line);padding-top:16px}.flow-offer-contents>summary{font-size:13px;cursor:pointer;margin-bottom:12px}.flow-offer .offer-form{padding:0;border:0;background:none;box-shadow:none}.flow-offer .offer-store-tabs{flex-wrap:wrap;gap:0;margin-bottom:18px}.flow-offer .offer-store-tabs button{min-width:0;padding:9px 12px;font-size:12px}.flow-offer .offer-fields{grid-template-columns:minmax(0,1fr);gap:18px}.flow-offer .copy-field{min-width:0}.flow-offer .offer-form-top h2{font-size:17px}.flow-offer .offer-section{border-radius:0;border-width:1px 0 0;margin:0}.flow-offer .offer-section summary{padding:15px 0}.flow-offer .offer-add-field{margin:12px 0}.flow-offer .offer-save-bar{position:sticky;bottom:-30px;z-index:2;background:var(--panel);border-top:1px solid var(--line);padding:10px 0}.flow-offer .offer-publication{margin-top:20px}
.flow-publish-strip{display:flex;gap:12px;align-items:center;flex-wrap:wrap;border-block:1px solid var(--line);padding:12px 0;margin:18px 0}.flow-publish-strip>span{font-size:11px;color:var(--muted)}.flow-publish-strip .flow-tool{color:var(--green);border-color:var(--line)}.offer-copy{display:flex;gap:10px}.offer-copy>span:not(.flow-cover){flex:1;min-width:0}
@media(max-width:1100px){.production-row{grid-template-columns:22px minmax(0,1fr) minmax(120px,auto)}.production-row>.flow-actions{grid-column:2/-1;justify-content:flex-start}}
@media(max-width:700px){#production-drawer{width:100vw}.production-drawer-head{padding:18px 16px}.production-drawer-body{padding:16px 16px 28px}.production-row{grid-template-columns:18px minmax(0,1fr);gap:8px 10px;padding:12px}.production-row-status,.production-row>.flow-actions{grid-column:2}.production-row>.flow-actions{justify-content:flex-start}.flow-tool{min-height:40px}.flow-cover{width:32px;height:44px;flex-basis:32px}.flow-lot-shell{grid-template-columns:18px minmax(0,1fr);gap:8px;padding:12px}.flow-lot-shell>.production-lot>summary{grid-template-columns:12px minmax(0,1fr)}.flow-lot-shell .production-lot-progress,.flow-lot-shell .production-phase-label{grid-column:2;justify-self:start}.flow-lot-shell>.flow-actions,.flow-lot-shell>.flow-tool{grid-column:2;justify-self:start;margin:0}.flow-member{grid-template-columns:18px 32px minmax(0,1fr) 28px;gap:8px}.flow-member>.production-member-checks{grid-column:3;grid-row:2;max-width:none}.flow-member>button{grid-column:4;grid-row:1/3;padding:4px}.flow-member>div:first-child{grid-row:1/3}.flow-detail-step>div{padding-left:0}.flow-detail-step>summary small{max-width:85px}.flow-tracking form{grid-template-columns:1fr}.flow-tracking form>label:nth-of-type(3){grid-column:1}.flow-offer .offer-save-bar{bottom:-28px}.flow-offer .copy-button{min-width:40px;padding:10px}.flow-offer .copy-button span{display:none}.flow-offer .offer-store-tabs button{min-height:40px}.production-sequence .flow-sequence-main>a{flex-basis:145px}.flow-sequence-extra{font-size:12px}}
/* Keep store navigation and controls light inside the working panel. */
.flow-offer .offer-store-tabs{padding:0;border-bottom:1px solid var(--line)}
.flow-offer .offer-store-tabs button{border:0;border-bottom:2px solid transparent;border-radius:0;background:transparent;color:var(--muted);min-height:38px}
.flow-offer .offer-store-tabs button.active{color:var(--green);border-bottom-color:var(--green);background:none}
.flow-offer .offer-store-tabs button small{display:inline;margin:0 0 0 6px}
.flow-offer .offer-form-top h2{margin:6px 0 0}
.flow-offer .offer-section{padding:0}
.flow-offer .field{margin:0}
.flow-offer .offer-save-bar{border-radius:0;border-width:1px 0 0;box-shadow:none}
.production-bulk{padding:10px 14px;gap:10px;background:var(--soft)}

.production-subject .production-tags{justify-content:flex-end}
.production-subject .production-lot-title small{display:block;margin-top:5px}
.production-subject.attention{border-left:3px solid #dba94b}
.production-rows .production-subject:last-child{border-bottom:0}
.production-card .production-lot-body{padding:8px 0;max-width:100%}
.production-card .flow-member{grid-template-columns:18px minmax(0,1fr) auto}
.production-card .flow-member>.flow-cover{display:none}
.production-card .production-member-checks{grid-column:2;font-size:11px}
@media(max-width:600px){.production-subject .production-tags{justify-content:flex-start}}
