/* HOLD registration only; keep the shared compact form rules for other pages. */
body #holds .card .form.hold-registration-form{display:grid!important;grid-template-columns:minmax(0,1fr)!important;gap:13px!important;align-items:stretch}
body #holds .card .form.hold-registration-form>#productionHoldContext{grid-column:1/-1;max-width:none;width:100%}
body #holds .hold-fields,body #holds .hold-result-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:10px 14px;align-items:start;min-width:0}
body #holds .hold-fields>div,body #holds .hold-result-grid>div{min-width:0}
body #holds .hold-fields :is(input,select,textarea),body #holds .hold-result-grid :is(input,select,textarea){width:100%;min-width:0}
body #holds .hold-fields :is(input:disabled,select:disabled,input[readonly]){background:#f3f6fa;color:#4e657c;opacity:1}
body #holds .hold-product-fields,body #holds .hold-section,body #holds .hold-attachment{margin:0;min-width:0;border:1px solid #dae5ef;border-radius:8px;padding:12px 14px;background:#fff}
body #holds .hold-product-fields>summary,body #holds .hold-attachment>summary{cursor:pointer;font-weight:700;color:#234f78;padding:0}
body #holds .hold-product-fields[open]>summary,body #holds .hold-attachment[open]>summary{margin-bottom:12px}
body #holds .hold-product-fields summary small,body #holds .hold-attachment summary small{font-size:11px;font-weight:400;color:#70869b;margin-left:8px}
body #holds .hold-section legend{padding:0 7px;font-size:14px;font-weight:700;color:#234f78}
body #holds .hold-section legend>span{display:inline-grid;place-items:center;width:22px;height:22px;margin-right:7px;border-radius:50%;background:#e8f2ff;color:#1267bd;font-size:12px}
body #holds [data-hold-field=defect],body #holds [data-hold-field=action],body #holds [data-hold-field=actionResult],body #holds [data-hold-field=lot]{grid-column:1/-1;max-width:none}
body #holds [data-hold-field=action]{display:grid;grid-template-columns:minmax(200px,1fr) 2fr;column-gap:14px}
body #holds [data-hold-field=action]>label{grid-column:1/-1}
body #holds #holds_actionPick{margin:0!important}
body #holds #holds_actionSummary{grid-column:2;grid-row:2;margin:0 0 5px!important}
body #holds #holds_action{grid-column:2;grid-row:3}
body #holds #holds_actionPick{grid-row:2/4;align-self:start}
body #holds [data-hold-field=actionResult]>label{display:none}
body #holds .hold-result-grid>.full{grid-column:1/-1;max-width:none}
body #holds .hold-entry-actions{display:flex;justify-content:flex-end;gap:8px;border-top:1px solid #e1e8ef;margin-top:14px;padding-top:12px}
body #holds .hold-storage-note{margin-top:10px;color:#70869b;font-size:11px}
body #holds .hold-storage-note>summary{cursor:pointer}
body #holds .hold-production-context{padding:13px 15px;background:#eff6ff;border:1px solid #bdd5ed;border-radius:8px;min-width:0}
body #holds .hold-context-head{display:flex;justify-content:space-between;align-items:center;gap:12px;flex-wrap:wrap}
body #holds .hold-context-head strong{font-size:13px;color:#175b9c}
body #holds .hold-context-product{font-size:16px;font-weight:700;margin-top:9px;overflow-wrap:anywhere}
body #holds .hold-context-meta{display:flex;flex-wrap:wrap;gap:6px 16px;margin:7px 0 11px;font-size:12px;color:#405e7c;overflow-wrap:anywhere}
body #holds .hold-context-meta span{min-width:0}
body #holds .hold-context-controls{display:flex;gap:12px 20px;align-items:center;flex-wrap:wrap}
body #holds .hold-context-time{max-width:270px;width:100%}
body #holds .hold-context-rule{color:#496a8b;font-size:12px;line-height:1.5}
body #holds .hold-context-detail{margin-top:9px;font-size:11px;color:#607c98}
body #holds .hold-context-detail>summary{cursor:pointer}
body #holds .hold-context-detail p{margin:6px 0 0;line-height:1.6;overflow-wrap:anywhere}
@media(max-width:1050px){body #holds .hold-fields,body #holds .hold-result-grid{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:600px){body #holds .master-registration-body{padding:10px}body #holds .hold-fields,body #holds .hold-result-grid{grid-template-columns:1fr}body #holds .hold-product-fields,body #holds .hold-section,body #holds .hold-attachment{padding:10px}body #holds .hold-context-product{font-size:14px}body #holds .hold-context-meta{display:grid;gap:5px}body #holds [data-hold-field=action]{display:block}body #holds #holds_actionPick{margin-bottom:7px!important}body #holds #holds_actionSummary{margin-bottom:5px!important}body #holds .hold-product-fields summary small{display:block;margin:4px 0 0}body #holds .hold-context-head{align-items:flex-start}body #holds .hold-context-head .btn{width:100%}body #holds .hold-entry-actions .btn{width:100%}}
