.directory-dialog{width:min(600px,calc(100% - 24px));max-height:90dvh;padding:24px;border:1px solid #dfe5db;border-radius:24px;color:#24392f;background:#fff;box-sizing:border-box;overflow:auto}.directory-dialog::backdrop{background:#173e2b70;backdrop-filter:blur(3px)}.directory-top{display:flex;align-items:center;justify-content:space-between;gap:16px;margin-bottom:16px}.directory-top h2{margin:0;font-size:26px}.directory-close{padding:4px 12px;font-size:28px}.directory-content label{display:block;margin:14px 0 6px}.directory-content input,.directory-content select{width:100%;box-sizing:border-box}.directory-toolbar{display:flex;gap:8px;align-items:center}.directory-toolbar input{min-width:0}.directory-toolbar button{white-space:nowrap;font-size:15px;padding:12px}.directory-content .directory-archive-toggle{display:flex;align-items:center;gap:8px;font-size:14px;color:#738175}.directory-archive-toggle input{width:auto}.directory-client{border:1px solid #e0e6dd;border-radius:16px;padding:16px;margin:12px 0}.directory-row{display:flex;align-items:center;justify-content:space-between;gap:12px}.directory-row h3{font-size:19px;margin:0 0 4px;overflow-wrap:anywhere}.directory-row small{display:block;color:#758175;font-size:13px;margin-top:4px}.directory-row button,.directory-client>button{font-size:13px;padding:8px 12px}.directory-lots .directory-row{border-top:1px solid #e9ede6;padding:12px 0}.directory-lots{margin-top:12px}.directory-empty{padding:24px 8px;color:#758175}.directory-origin{padding:16px;border-radius:16px;background:#f0f3e9}.directory-origin p{margin:6px 0;overflow-wrap:anywhere}.directory-origin small{color:#68796a}.directory-error{color:#a74839;font-size:14px}.directory-content .actions{margin-top:20px;display:flex;justify-content:flex-end;gap:8px}.directory-content [hidden]{display:none!important}.directory-editor-tools{display:flex;align-items:center;gap:8px;justify-content:space-between;margin:-4px 0 18px}.directory-editor-tools button{padding:8px 12px;font-size:14px}.directory-editor-tools small{color:#738175;font-size:12px}.directory-snapshot{font-size:13px;color:#738175;margin:12px 0}.account-directory-link{width:100%;text-align:left;background:transparent;color:inherit;border:0;border-radius:0}.directory-nav-button{margin:0 0 14px;font-size:15px;padding:10px 14px}@media(max-width:430px){.directory-dialog{padding:20px}.directory-content .actions button{font-size:15px;padding:12px}.directory-editor-tools{align-items:flex-start}.directory-editor-tools small{max-width:45%}}
.directory-row>div,.directory-row>span{min-width:0;overflow-wrap:anywhere}.directory-content select{max-width:100%}
.directory-editor-tools{margin-top:12px}
.directory-editor-tools{align-items:flex-start;gap:14px}.directory-choice-help{min-width:0}.directory-choice-help small{display:block;max-width:none;margin-top:6px;font-size:11px;line-height:1.4}.campaign-field{flex:0 0 110px}.campaign-field label{display:block;margin:0 0 4px;font-size:12px}.campaign-field select{width:100%;padding:9px 10px;font-size:15px;box-sizing:border-box}@media(max-width:360px){.directory-editor-tools{gap:8px}.campaign-field{flex-basis:92px}.directory-editor-tools button{padding:8px;font-size:13px}}
.recipe.recipe-pending{border-left:4px solid #d5a23a}.recipe.recipe-applied{border-left:4px solid #268057;background:#f0f8f2}.recipe-status{display:inline-block;white-space:nowrap;border-radius:20px;padding:5px 10px;font-size:13px;font-weight:650}.recipe-status.status-pending{background:#fff0c9;color:#805b11}.recipe-status.status-applied{background:#d8efdf;color:#20633e}.recipe-detail-card.status-applied-card{border-top:4px solid #268057}.recipe-detail-card.status-pending-card{border-top:4px solid #d5a23a}.crop-combobox{position:relative}.crop-input-row{display:flex;align-items:stretch}.crop-input-row input{border-radius:8px 0 0 8px}.crop-input-row button{border-radius:0 8px 8px 0;border-left:0;padding:8px 12px;flex:0 0 42px;font-size:20px}.crop-options{position:absolute;left:0;right:0;top:calc(100% + 4px);max-height:240px;overflow:auto;border:1px solid #dbe1d7;border-radius:10px;background:#fff;box-shadow:0 8px 25px #173e2b24;z-index:4;padding:5px}.crop-options[hidden],.crop-options button[hidden]{display:none}.crop-options button{display:block;width:100%;border:0;border-radius:6px;background:#fff;color:#26372e;text-align:left;font-weight:400;padding:10px 12px;font-size:15px}.crop-options button:hover,.crop-options button:focus{background:#edf2e5}.crop-custom-hint{padding:4px 8px;margin:5px 0}
button.mark-pending{background:#fff0c9;color:#805b11;border:1px solid #e5c77b}button.mark-applied{background:#275c43;color:#fff}.campaign-field{flex-basis:126px}.campaign-field .crop-input-row input{padding:9px 6px;font-size:15px}.campaign-field .crop-input-row button{flex-basis:30px;padding:6px;font-size:18px}.campaign-field .crop-options{min-width:126px;left:auto;right:0}.recipe-combobox .crop-options button{padding:10px 12px}
.recipe-filter-panel{margin-bottom:18px;padding:14px;border:1px solid #e2e7de;border-radius:14px;background:#f7f9f3}.recipe-filter-panel .recipe-filters{margin:0 0 14px}.recipe-filter-fields{display:grid;grid-template-columns:minmax(0,1fr) 132px;gap:12px;align-items:end}.recipe-filter-fields label{font-size:12px;margin-bottom:6px;color:#647263}.recipe-filter-fields select{font-size:15px;min-height:44px;background:#fff}.recipe-filter-footer{display:flex;justify-content:flex-end;margin-top:10px}.recipe-filter-footer button{padding:6px 8px;font-size:12px;border:0;background:transparent;color:#617163;text-decoration:underline}@media(max-width:430px){.recipe-filter-panel{padding:12px}.recipe-filter-fields{grid-template-columns:minmax(0,1fr) 106px;gap:8px}.recipe-filter-fields select{padding:10px 8px;font-size:14px}.recipe-filter-panel .recipe-filters{gap:5px}.recipe-filter-panel .recipe-filters button{padding:8px;font-size:12px}}
.recipe-total-cost{margin:18px 0 12px;color:var(--ink);font-size:18px;line-height:1.5;overflow-wrap:anywhere}.recipe-total-cost b{font-weight:750}

/* Highlight totals only in the recipe, tank and calculation summary tables. */
.recipe-product-table:not(.load-table) td:nth-child(4){font-size:18px}
@media(max-width:700px){.recipe-product-table:not(.load-table) td:nth-child(4){font-size:15px}}
.directory-view{margin:12px 0 4px;font-size:14px}.directory-row-actions{display:flex;gap:5px;flex-shrink:0}.directory-row-actions .directory-delete{color:#a33f32;border-color:#b87c6d}.directory-content .directory-removal-option{display:flex;align-items:flex-start;gap:12px;border:1px solid var(--line,#dfe5db);border-radius:12px;padding:14px;margin:10px 0;cursor:pointer}.directory-removal-option input{width:18px;height:18px;margin:3px 0;flex-shrink:0;accent-color:#275c43}.directory-removal-option b{display:block;font-size:15px}.directory-removal-option small{display:block;color:var(--muted,#738175);font-size:12px;font-weight:400;line-height:1.5;margin-top:5px}.directory-removal-option:has(input:checked){border-color:var(--green,#275c43);background:var(--soft,#edf4e8)}.directory-content button.directory-danger{background:#a33f32;color:#fff;border-color:#a33f32}html[data-theme=dark] .directory-removal-option:has(input:checked){background:#243e2d}html[data-theme=dark] .directory-delete{color:#ffc1ad;border-color:#966153}@media(max-width:430px){.directory-row-actions{flex-direction:column}.directory-row-actions button{padding:6px 9px;font-size:12px}.directory-content .directory-removal-option{padding:12px;gap:9px}.directory-content .directory-removal .actions{flex-wrap:wrap}}
