.recycler-head { display:grid; grid-template-columns:minmax(0,1.4fr) minmax(160px,1fr); align-items:center; gap:20px; padding:clamp(17px,3vw,40px); border:1px solid #697a615e; border-radius:14px; background:linear-gradient(100deg,#111a18ef 15%,#172722a6 60%,#1727228a),url('/assets/tools/recycler.webp') center / cover; }
.recycler-head h1 { font-size:clamp(32px,5vw,64px); line-height:1.05; margin:0 0 11px; color:#f3f0e5; }
.recycler-head p { max-width:54ch; margin:0; color:#cfdbd1; line-height:1.55; }
.recycler-head-art { display:flex; justify-content:center; align-items:center; }
.recycler-head-art img { width:clamp(48px,8vw,104px); height:auto; object-fit:contain; filter:drop-shadow(0 7px 9px #0c100b); }
.recycler-head-art img + img { margin-left:-8%; }
.recycler { --mat:#d8ebad; --edge:#7181665e; --panel:#1a231c; --text:#e7eee0; --muted:#b9c8b5; margin-top:13px; }
.recycler [hidden] { display:none !important; }
.recycler :focus-visible { outline:2px solid #f4bd83; outline-offset:3px; }
.recycler h2 { font-size:clamp(24px,3vw,34px); line-height:1.12; margin:0 0 12px; }
.recycler h3 { margin:0 0 6px; font-size:19px; line-height:1.2; }
.recycler p { margin:5px 0 9px; color:var(--muted); font-size:14px; line-height:1.5; }
.recycler-stations,.recycler-inventory,.recycler-summary section { border:1px solid var(--edge); border-radius:12px; padding:clamp(12px,2.5vw,24px); background:var(--panel); }
.recycler-stations p { margin:10px 0 0; }
.recycler-modes { display:grid; grid-template-columns:repeat(4,minmax(0,1fr)); gap:8px; }
.recycler button { min-height:42px; font:inherit; color:var(--text); cursor:pointer; border-radius:7px; border:1px solid #7083689e; background:#29372c; padding:7px 9px; }
.recycler button:hover,.recycler button[aria-pressed="true"] { border-color:var(--mat); background:#445835; }
.recycler button:disabled { opacity:.45; cursor:default; }
.recycler-modes button { text-align:start; display:grid; gap:2px; line-height:1.2; }
.recycler-modes strong { color:var(--mat); font-size:23px; font-variant-numeric:tabular-nums; }
.recycler-modes span { font-size:13px; }
.recycler-server { display:grid; grid-template-columns:auto minmax(0, 210px); gap:6px 14px; align-items:end; margin-top:14px; padding-top:14px; border-top:1px solid var(--edge); }
.recycler-server fieldset { min-width:0; padding:0; margin:0; border:0; }
.recycler-server legend { margin-bottom:5px; font-size:14px; }
.recycler-server-options { display:flex; gap:5px; }
.recycler-server-options button { min-width:47px; font-weight:700; }
.recycler .recycler-server p { grid-column:1/-1; margin-top:0; font-size:.87rem; }
.recycler-server select:disabled { opacity:.65; }
@media(max-width:390px) { .recycler-server { grid-template-columns:1fr; } }
.recycler-workbench { display:grid; grid-template-columns:minmax(0,1.35fr) minmax(0,1fr); align-items:start; gap:12px; margin-top:12px; }
.recycler-section-title { display:flex; align-items:start; justify-content:space-between; flex-wrap:wrap; gap:8px; }
.recycler-section-title h2 { margin:0; }
.recycler-section-actions { display:flex; flex-wrap:wrap; gap:6px; }
.recycler-scan-stock { margin-top:8px; }
.recycler button.screen-trigger { background:#2b4028; font-size:14px; border-color:#accc83; }
.recycler label { display:grid; gap:5px; color:var(--text); min-width:0; font-size:14px; }
.recycler :is(input,select) { width:100%; min-width:0; min-height:43px; padding:7px 10px; border-radius:7px; background:#0f1811; color:var(--text); border:1px solid #718166aa; font:inherit; color-scheme:dark; }
.recycler input[aria-invalid="true"] { border-color:#f09879; }
.recycler-tabs { display:flex; flex-wrap:wrap; gap:6px; margin:9px 0; }
.recycler-tabs button { font-size:13px; }
.recycler label.recycler-variants { display:flex; align-items:center; gap:8px; cursor:pointer; }
.recycler .recycler-variants input { min-height:20px; width:20px; margin:0; accent-color:#b9d381; }
.recycler [data-recycle-visible] { margin:6px 0; font-size:13px; font-variant-numeric:tabular-nums; }
.recycler .recycler-more { margin-top:10px; }
.recycler-cards { display:grid; grid-template-columns:repeat(2,minmax(0,1fr)); gap:7px; }
.recycler-card { display:grid; grid-template-columns:48px minmax(0,1fr); align-items:center; gap:5px 8px; padding:8px; border:1px solid var(--edge); border-radius:9px; background:#202c22; min-width:0; }
.recycler-card.is-in-plan { border-color:#b9d381; background:#293d28; }
.recycler-card img { width:48px; height:48px; object-fit:contain; }
.recycler-card h3 { font-size:15px; margin:0; overflow-wrap:anywhere; }
.recycler-card h3 a:hover { text-decoration:underline; }
.recycler-card p { font-size:12px; margin:3px 0 0; }
.recycler-card .quantity-control { grid-column:1/-1; }
.recycler-card .quantity-control button { padding-inline:0; }
.recycler-summary section + section { margin-top:9px; }
.recycler-summary { scroll-margin-top:96px; }
.recycler-goal-fields { display:grid; grid-template-columns:repeat(2,minmax(0,1fr)); gap:7px; margin-top:9px; }
.recycler-goal a { text-decoration:underline; color:var(--mat); }
.recycler-gap { display:grid; grid-template-columns:1fr auto; gap:8px; border-block:1px solid var(--edge); padding:10px 0; color:var(--muted); }
.recycler-gap dd { margin:0; color:var(--text); font-weight:700; font-variant-numeric:tabular-nums; text-align:right; }
.recycler-gap .recycler-target-value { color:var(--mat); }
.recycler-yields,.recycler-options { display:grid; gap:5px; list-style:none; padding:0; margin:0; }
.recycler-yields li,.recycler-options li { display:grid; grid-template-columns:34px minmax(0,1fr) auto; align-items:center; gap:7px; border-bottom:1px solid var(--edge); padding:4px 0; }
.recycler-yields :is(img,strong),.recycler-options img { object-fit:contain; color:var(--mat); }
.recycler-options small { display:block; color:var(--muted); font-size:12px; }
.recycler-options .recycler-reserved { color:#ffd09c; }
.recycler-options button { font-variant-numeric:tabular-nums; }
@media(min-width:980px) { .recycler-summary { position:sticky; top:82px; max-height:calc(100vh - 95px); overflow:auto; } }
@media(max-width:780px) { .recycler-workbench { grid-template-columns:1fr; } .recycler-summary { grid-row:1; } .recycler-modes { grid-template-columns:repeat(2,minmax(0,1fr)); } }
@media(max-width:510px) { .recycler-head { grid-template-columns:1fr; gap:7px; } .recycler-head-art { justify-content:flex-end; } .recycler-card { grid-template-columns:34px minmax(0,1fr); } .recycler-card img { width:34px; height:34px; } .recycler-card h3 { font-size:13px; } }
.screen-dialog [data-screen-grid] { display:grid; gap:8px; }
.screen-dialog [data-screen-grid][hidden], .screen-dialog [data-grid-review][hidden], .screen-dialog .screen-result[hidden] { display:none; }
.recycler-scan-dimensions { display:grid; grid-template-columns:repeat(2,minmax(0,1fr)); gap:8px; }
.recycler-scan-dimensions label { display:grid; gap:4px; }
.screen-dialog [data-grid-review] { display:grid; gap:8px; padding-top:.5rem; border-top:1px solid #81936b60; }
.screen-dialog [data-grid-review] h3 { margin:0; font-size:1.1rem; }
.screen-dialog [data-grid-rows-list] { display:grid; gap:6px; }
.screen-dialog [data-grid-unknown] summary { padding-block:.45rem; color:#c5d2bc; cursor:pointer; }
.screen-dialog [data-grid-slot] {
  display:grid; grid-template-columns:48px minmax(0,1fr) minmax(60px,5rem); gap:6px; align-items:center;
}
.screen-dialog [data-grid-slot] img { border:1px solid #81936b70; border-radius:5px; }
.screen-dialog .recycler-scan-find { grid-column:2/-1; font-size:.85rem; color:#c5d2bc; }
.screen-dialog .recycler-scan-find summary { padding:.15rem 0 .25rem; cursor:pointer; }
.screen-dialog [data-grid-apply] { justify-self:start; background:#accc80; color:#11200e; font-weight:700; }
.recycler [data-recycle-import-status] { color:#cde99f; font-weight:650; }
.recycler-material-directory ul { columns:3 170px; padding-inline-start:1.25rem; }
.recycler-material-directory li { break-inside:avoid; margin-block:.3rem; }
.resource-guide { margin-top:1rem; }
.resource-guide p { line-height:1.6; }
.resource-table-frame { overflow:auto; border:1px solid #718166aa; border-radius:12px; background:#19251d; }
.resource-table-frame table { width:100%; border-collapse:collapse; color:#eff3e8; }
.resource-table-frame th,.resource-table-frame td { border-bottom:1px solid #71816660; padding:.55rem .7rem; text-align:start; }
.resource-table-frame td { font-variant-numeric:tabular-nums; white-space:nowrap; }
.resource-table-frame th[scope="row"] { min-width:155px; }
.resource-table-frame th[scope="row"] a { display:flex; align-items:center; gap:8px; }
.resource-table-frame th img { flex:0 0 40px; object-fit:contain; }
.resource-row-action { color:#cde99f; text-decoration:underline; text-underline-offset:.18em; }
