.excel-import-trigger{margin:0;white-space:nowrap}.excel-import-dialog{width:min(1180px,calc(100vw - 48px));max-width:calc(100vw - 48px);max-height:calc(100dvh - 48px);padding:0;border:1px solid var(--line);border-radius:14px;background:var(--paper);color:var(--ink);box-shadow:0 24px 90px #16271d40;overflow:auto;overscroll-behavior:contain}.excel-import-dialog[open]{display:flex;flex-direction:column}.excel-import-dialog::backdrop{background:#152b22a6;backdrop-filter:blur(3px)}.excel-dialog-open{overflow:hidden}.excel-dialog-header{padding:25px 28px;display:flex;align-items:flex-start;justify-content:space-between;gap:20px;border-bottom:1px solid var(--line);background:white;flex:none}.excel-dialog-header h2{font-size:28px;margin:9px 0 0}.excel-dialog-header p{font-size:15px;color:var(--muted);margin:10px 0 0}.excel-dialog-body{padding:24px 28px;min-height:160px;min-width:0;overflow:auto;overscroll-behavior:contain}.excel-dialog-body .table-wrap{max-width:100%;background:white;border:1px solid var(--line);border-radius:8px}.excel-dialog-body .pager{background:white}.excel-dialog-body .section-heading h3{overflow-wrap:anywhere}.excel-dialog-body .loading{padding:25px}.excel-dialog-body .preview-totals{padding-top:0}.excel-dialog-body .import-issues{max-height:260px;overflow:auto}.excel-dialog-body details{max-width:none}.excel-file-choice{display:flex;align-items:center;gap:18px;margin:24px 0 0}.excel-kind-picker{max-width:340px;margin-bottom:24px}.excel-dialog-footer{background:white;display:flex;align-items:center;justify-content:space-between;gap:24px;padding:20px 28px;border-top:1px solid var(--line);flex:none}.excel-dialog-footer>p{font-size:14px;color:var(--muted);max-width:560px;margin:0}.excel-dialog-footer .form-actions{margin:0;flex:none}.excel-dialog-body .recipe-preview-header{grid-template-columns:minmax(0,1fr) minmax(0,1fr) 135px}.excel-dialog-body .ingredient-import-table{min-width:1200px}.excel-dialog-body .check-label{align-items:flex-start;line-height:1.7}.excel-dialog-body .check-label input{margin-top:5px}@media(max-width:800px){.excel-import-dialog{width:calc(100vw - 24px);max-width:calc(100vw - 24px);max-height:calc(100dvh - 24px);border-radius:10px}.excel-dialog-header{padding:20px}.excel-dialog-header h2{font-size:24px}.excel-dialog-header p{font-size:14px}.excel-dialog-body{padding:20px}.excel-dialog-footer{padding:18px 20px;align-items:stretch;flex-direction:column;gap:16px}.excel-dialog-footer .form-actions{justify-content:flex-end;flex-wrap:wrap}.excel-dialog-body .recipe-preview-header{grid-template-columns:1fr}.excel-file-choice{flex-wrap:wrap;gap:12px}.excel-dialog-body .preview-totals{gap:24px;flex-wrap:wrap}}
.excel-dialog-footer-copy{max-width:600px;min-width:0}.excel-dialog-footer-copy p{font-size:14px;color:var(--muted);margin:0;line-height:1.6}.excel-dialog-footer-copy .check-label{margin-top:12px;font-size:14px;line-height:1.6;align-items:flex-start}.excel-dialog-footer-copy .check-label input{margin-top:4px}.excel-dialog-body .import-issues{margin:15px 0 24px}
.excel-dialog-header>div{min-width:0;flex:1}.excel-dialog-header>button{flex:none;white-space:nowrap}
.excel-dialog-footer .primary:disabled{background:#e1e7dd;border-color:#ccd6c6;color:#506047;opacity:1}.excel-import-trigger.secondary:hover,.excel-file-choice .secondary:hover{background:#f1f4ed}.file-button:focus-within{outline:3px solid #9eb18a;outline-offset:3px}
.excel-dialog-footer .primary{transition:box-shadow .15s}
.excel-dialog-body .unmatched-recipe-line td{background:#fff5df}.excel-dialog-body .unmatched-recipe-line td:first-child{border-left:3px solid #b18a38}.excel-dialog-body .unmatched-recipe-line .badge{white-space:normal;line-height:1.5}
.recipe-ingredient-mapping{display:block;min-width:260px;margin-bottom:10px}.recipe-ingredient-mapping select{display:block;width:100%;max-width:380px;margin-top:8px;font-size:15px}
