.mat-page{min-width:0}.mat-filters{display:flex;gap:12px;flex-wrap:wrap;margin:20px 0}.mat-filters label{display:grid;gap:6px;min-width:140px;flex:1}.mat-filters select{max-width:100%;padding:10px;background:var(--panel);color:var(--ink);border:1px solid var(--line);border-radius:8px}.mat-table-wrap{overflow:auto;margin:20px 0;border:1px solid var(--line);border-radius:12px}.mat-table{width:100%;border-collapse:collapse}.mat-table td,.mat-table th{padding:12px;border:1px solid var(--line);text-align:left}.mat-table th:first-child{min-width:190px}.mat-table svg{width:100px;height:70px;vertical-align:middle;display:inline-block}.mat-table th span{display:block}.mat-table form{display:flex;gap:5px;align-items:center}.mat-table input{width:65px;background:var(--panel);color:var(--ink);border:1px solid var(--line);padding:10px;border-radius:6px}.mat-table caption{text-align:left;padding:12px;color:var(--muted)}.mat-products{display:grid;grid-template-columns:repeat(auto-fit,minmax(210px,1fr));gap:16px;margin:20px 0}.mat-products svg,.people-form>svg{width:160px;height:100px}.mat-line{border-top:1px solid var(--line);padding:16px 0;overflow-wrap:anywhere}.mat-page details{margin:16px 0}.mat-page button{white-space:normal}.mat-page .card{min-width:0}@media(max-width:600px){.mat-filters{display:grid;grid-template-columns:minmax(0,1fr)}.mat-products{grid-template-columns:1fr}}
.mat-table svg{width:150px;height:120px}.mat-filters label{min-width:160px}.mat-filters label:first-child{flex:2;min-width:250px}.mat-filters select{min-width:0;width:100%}@media(max-width:600px){.mat-filters label,.mat-filters label:first-child{min-width:0}}
.mat-table th:first-child{position:sticky;left:0;z-index:1;background:var(--panel);min-width:180px;max-width:230px;box-shadow:2px 0 0 var(--line)}.mat-table td{min-width:125px}.mat-table-wrap{max-width:100%;isolation:isolate}.mat-table th button{margin-bottom:8px}.mat-table th span{font-size:14px}
.mat-illustration{display:block;padding:0;width:210px;max-width:100%;background:var(--panel);border:0;cursor:zoom-in;color:var(--muted);text-align:left}.mat-illustration img{display:block;width:100%;border-radius:9px}.mat-illustration small{display:block;padding:6px 0;font-size:11px}.mat-reference-toggle{font-size:12px;font-weight:400;margin-top:10px}.mat-reference-toggle summary{cursor:pointer;color:var(--muted)}.mat-table th:first-child{min-width:220px}.mat-table form{flex-direction:column;align-items:stretch}.mat-table form input{width:100%}.mat-table form button{font-size:12px;min-height:44px}.mat-image-dialog{width:min(1000px,94vw);max-width:94vw;max-height:92vh;overflow:auto}.mat-large-image{display:block;width:100%;max-height:65vh;object-fit:contain;border-radius:12px}
/* Neutral surfaces change with the theme; product pixels never use theme filters. */
.material-surface{background:#e7e8e9;color:#344047}.material-surface[data-surface=dark],:root[data-theme=dark] .material-surface:not([data-surface=light]){background:#35383c;color:#e3e8eb}.material-surface[data-surface=light]{background:#e7e8e9;color:#344047}.material-surface img{filter:none;mix-blend-mode:normal;opacity:1}.mat-illustration .material-surface{display:block;padding:8px;border-radius:10px}.mat-illustration img{width:100%;height:auto;aspect-ratio:1;object-fit:contain}.mat-image-toolbar{display:flex;align-items:center;gap:14px;flex-wrap:wrap;margin:12px 0}.mat-image-scroll{overflow:auto;max-height:64vh;max-height:64dvh;border-radius:12px}.mat-image-scroll .mat-large-image{height:min(60vh,700px);height:min(60dvh,700px);max-height:none;width:100%;object-fit:contain;padding:16px}.mat-image-scroll.is-zoomed .mat-large-image{width:max(150%,850px);height:auto;max-width:none;max-height:none}.mat-image-help{margin:16px 0;overflow-wrap:anywhere}.mat-image-help summary{cursor:pointer}.mat-image-help h2{margin-top:18px}.mat-image-help dd{margin:0 0 12px}.mat-image-dialog>.dialog-head{position:sticky;top:-28px;background:var(--panel);z-index:3}.mat-image-dialog{scrollbar-gutter:stable}.mat-image-dialog p{font-size:14px}
.mat-directions{display:flex;flex-wrap:wrap;gap:10px;margin:20px 0}.mat-directions button[aria-pressed=true]{background:var(--accent);color:var(--panel);border-color:var(--accent);box-shadow:inset 0 0 0 2px var(--accent)}.mat-directions button[aria-pressed=true]::before{content:'✓ ';font-weight:700}.mat-system-note{max-width:1000px;padding:16px;border:1px solid var(--line);border-radius:10px;background:var(--tint)}.mat-neutral{display:grid;gap:12px;align-content:center;min-height:150px;padding:16px;border:1px dashed var(--line);border-radius:10px;background:var(--tint);margin-bottom:12px}.mat-neutral b{font-size:24px}.mat-neutral small{font-weight:400;color:var(--muted)}.mat-smoke-badge{display:block;width:fit-content;margin:10px 0;padding:5px 8px;border:1px solid var(--line);border-radius:7px;background:var(--tint);font-size:12px}.mat-ends{display:block;font-weight:400;line-height:1.5;margin-top:10px;font-size:12px}.mat-unavailable{display:block;color:var(--muted);font-size:13px}.mat-table th:first-child{width:230px;min-width:230px}.mat-table th{overflow-wrap:anywhere}.mat-table-wrap:focus-visible{outline:2px solid var(--accent);outline-offset:3px}.mat-system-note a{text-decoration:underline}
@media(max-width:600px){.mat-table th:first-child{width:145px;min-width:145px;max-width:145px;padding:10px}.mat-illustration{width:123px}.mat-table th span{font-size:12px}.mat-table td{min-width:130px}.mat-neutral{padding:10px;min-height:125px}.mat-neutral b{font-size:21px}.mat-neutral small,.mat-ends,.mat-unavailable{font-size:11px}.mat-table caption{font-size:12px}.mat-smoke-badge{font-size:10px}.mat-directions button{flex:1;min-width:130px}}
/* Quantity selection and request lifecycle, local demonstration only. */
.mat-table input.mat-qty{width:76px;max-width:100%;text-align:center;min-height:44px}.mat-table td{min-width:100px}.mat-batch-bar{display:flex;align-items:center;flex-wrap:wrap;gap:12px;padding:18px;margin:18px 0;background:var(--tint);border:1px solid var(--line);border-radius:12px}.mat-batch-bar small{width:100%;color:var(--muted)}.mat-view-tabs{display:flex;gap:10px;flex-wrap:wrap;margin:16px 0}.mat-view-tabs a{padding:10px 14px;border:1px solid var(--line);border-radius:9px;text-decoration:none}:root .mat-page .mat-view-tabs a[aria-current=page]{color:var(--ink);background:var(--tint);font-weight:700;border-color:var(--accent)}.mat-request-summary{display:flex;flex-wrap:wrap;gap:12px 24px}.mat-owner{padding:16px;background:var(--tint);border-radius:10px}.mat-owner small{color:var(--muted)}.mat-need{margin:18px 0}.mat-need header{display:flex;gap:12px;flex-wrap:wrap;justify-content:space-between;align-items:start}.mat-need h3{max-width:75%;font-size:17px;line-height:1.5;margin:0}.mat-status{display:inline-block;padding:6px 10px;border:1px solid var(--line);border-radius:8px;background:var(--tint);font-size:13px}.mat-status-ordered,.mat-status-processing,.mat-status-submitted{border-inline-start:4px solid #789baa}.mat-status-partial,.mat-status-returned{border-inline-start:4px solid #b89a61}.mat-status-reviewed,.mat-status-received{border-inline-start:4px solid #739a83}.mat-status-cancelled{color:var(--muted);border-inline-start:4px solid #8e8c8c}.mat-quantities{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:12px;margin:18px 0}.mat-quantities div{padding:12px;background:var(--tint);border-radius:8px}.mat-quantities dt{font-size:12px;color:var(--muted)}.mat-quantities dd{margin:5px 0 0;font-size:20px;font-weight:650}.mat-need-actions{display:flex;gap:10px;flex-wrap:wrap}.mat-need-actions:empty{display:none}.mat-history{padding-left:22px}.mat-history li{margin:12px 0;line-height:1.5;overflow-wrap:anywhere}.mat-history time{color:var(--muted);font-size:12px}.mat-batch-dialog{width:min(760px,94vw);max-height:90vh;overflow:auto}.mat-batch-item{padding:16px;border:1px solid var(--line);border-radius:10px}.mat-batch-check{display:flex!important;align-items:start;gap:10px}.mat-batch-check input{width:auto!important;flex:none;margin-top:4px}.mat-batch-item select{width:100%}[data-mat-error]:not(:empty){border-inline-start:3px solid #b27368;padding:10px}.mat-page-intro h1{overflow-wrap:anywhere}
@media(max-width:600px){.mat-batch-bar{padding:12px}.mat-batch-bar .primary{width:100%}.mat-quantities{grid-template-columns:repeat(2,minmax(0,1fr))}.mat-need h3{max-width:100%}.mat-view-tabs a{flex:1;min-width:135px}.mat-need-actions button{flex:1;min-width:130px}.mat-need{padding:16px}.mat-batch-item{padding:12px}}
.mat-batch-heading{display:flex;align-items:start;gap:12px}.mat-batch-number{flex:none;min-width:42px;padding:5px 8px;border-radius:7px;background:var(--tint);font-weight:700;font-variant-numeric:tabular-nums;text-align:center}.mat-batch-heading .mat-batch-check{margin:0;flex:1;min-width:0;overflow-wrap:anywhere}.mat-batch-dialog .mat-batch-check input{width:18px!important;height:18px;padding:0}
.people-form .mat-choice-group{min-width:0;margin:18px 0 0;padding:0;border:0;scroll-margin:20px}.mat-choice-group legend{margin-bottom:10px;font-weight:650;font-size:14px}.mat-choice-options{display:flex;flex-wrap:wrap;gap:10px}.people-form .mat-choice-option{display:flex;align-items:center;gap:10px;flex:1 1 210px;min-width:0;margin:0;padding:12px;border:1px solid var(--line);border-radius:8px;cursor:pointer;background:var(--panel);color:var(--ink)}.people-form .mat-choice-option input{display:block;flex:none;width:18px;height:18px;min-height:18px;margin:0;padding:0;accent-color:var(--accent)}.mat-choice-option:has(input:checked){border-color:var(--accent);background:var(--tint)}.mat-choice-option:focus-within{outline:2px solid var(--accent);outline-offset:2px}.mat-choice-group:disabled{opacity:.65}.mat-choice-group:disabled .mat-choice-option{cursor:default}
.mat-choice-error{font-size:14px;line-height:1.5;margin:10px 0 0;color:#9b3c20}.mat-choice-error:empty{display:none}.mat-batch-item.mat-choice-missing{border:2px solid #b15b35;background:color-mix(in srgb,var(--panel) 94%,#cf6b3d)}:root[data-theme=dark] .mat-choice-error{color:#ffc4a7}:root[data-theme=dark] .mat-batch-item.mat-choice-missing{border-color:#e6a077}.mat-batch-dialog{scroll-padding:20px}
@media(max-width:600px){.mat-batch-dialog{padding:16px}.mat-batch-heading{gap:8px}.mat-batch-number{min-width:36px;padding:5px}.mat-choice-options{flex-direction:column}.people-form .mat-choice-option{flex:auto}.mat-batch-dialog .people-form-actions{flex-wrap:wrap}.mat-batch-dialog .people-form-actions button{width:100%}}
/* Category choices are native links, so Back/Forward work in WebKit as well. */
.mat-category-field{display:grid;gap:6px;min-width:250px;flex:2;align-content:start}.mat-page .mat-category-picker{margin:0;position:relative}.mat-category-picker summary{padding:10px;border:1px solid var(--line);border-radius:8px;background:var(--panel);cursor:pointer}.mat-category-picker nav{position:absolute;z-index:30;top:100%;left:0;min-width:100%;width:max-content;max-width:calc(100vw - 110px);max-height:60vh;overflow:auto;padding:6px;background:var(--panel);border:1px solid var(--line);border-radius:8px;box-shadow:0 10px 24px #0003}.mat-category-picker a{display:block;padding:10px;color:var(--ink);white-space:normal}.mat-category-picker a:hover,.mat-category-picker a[aria-current=page]{background:var(--tint)}.mat-category-picker a:focus-visible{outline:2px solid var(--accent);outline-offset:-2px}.mat-directions a{display:inline-block;text-align:center;text-decoration:none}.mat-directions a[aria-current=page]{background:var(--accent);color:var(--panel);border-color:var(--accent)}.mat-directions a[aria-current=page]::before{content:'✓ ';font-weight:700}@media(max-width:600px){.mat-category-field{min-width:0}.mat-directions a{flex:1;min-width:130px}}
:root .mat-page .mat-category-picker a[aria-current=page]{color:var(--ink);background:var(--tint)}
