.inventory-editor{margin-block:32px;padding:24px;background:var(--paper);border:1px solid var(--line);border-radius:28px;color:var(--ink);overflow-wrap:anywhere}
.inventory-editor [hidden]{display:none!important}
.inventory-editor h2,.inventory-editor h3{margin-block:0 20px}
.inventory-editor fieldset{min-width:0;margin:0;padding:0;border:0}
.inventory-editor .inventory-section,.inventory-editor [data-inventory-citizen],.inventory-editor [data-inventory-closing]{margin-block:32px;padding-block:24px;border-top:1px solid var(--line)}
.inventory-editor .inventory-field-grid{display:grid;grid-template-columns:minmax(0,1fr);gap:24px}
.inventory-editor .inventory-field{min-width:0}
.inventory-editor label,.inventory-editor .inventory-label{display:block;margin-bottom:8px;font-weight:600}
.inventory-editor input:not([type=checkbox]),.inventory-editor select,.inventory-editor textarea{display:block;width:100%;min-width:0;max-width:100%;box-sizing:border-box;margin-block:8px;padding:12px 16px;min-height:48px;border:1px solid var(--line);background:#fff;color:var(--ink);font:inherit;border-radius:16px}
.inventory-editor textarea{resize:vertical}
.inventory-editor .inventory-knownness{font-size:.875rem;background:var(--paper)}
.inventory-editor .micro{font-size:.875rem;line-height:1.6;margin-block:8px 16px}
.inventory-editor .inventory-row{margin-block:24px;padding:24px;background:#fff;border:1px solid var(--line);border-radius:24px}
.inventory-editor .inventory-row legend{padding:8px;font-weight:700}
.inventory-editor .inventory-verification{margin-block:24px}
.inventory-editor summary{min-height:44px;cursor:pointer;font-weight:600}
.inventory-editor .inventory-actions{display:flex;align-items:start;flex-wrap:wrap;gap:16px;margin-top:32px}
.inventory-editor .inventory-mask,.inventory-editor .inventory-actions>p{flex-basis:100%}
.inventory-editor .inventory-mask input{width:20px;height:20px;margin-right:8px;vertical-align:middle}
.inventory-editor button{min-height:48px;max-width:100%;white-space:normal;overflow-wrap:anywhere}
.inventory-editor :focus-visible{outline:3px solid var(--forest);outline-offset:4px}
.inventory-editor .inventory-preview{white-space:pre-wrap;overflow-wrap:anywhere;word-break:break-word;margin:0;padding:24px;background:#fff;border:1px solid var(--line);border-radius:24px;font:inherit;max-width:100%;box-sizing:border-box}
.inventory-editor .inventory-notes{margin-top:32px}
.inventory-editor .inventory-notes dt{font-weight:700}
.inventory-editor .inventory-notes dd{margin:8px 0 24px}
.inventory-editor [data-inventory-applicability]{color:var(--muted)}
.inventory-editor [aria-invalid=true]{border:2px solid var(--forest)}
.inventory-editor [data-inventory-errors]{margin-block:24px;padding:16px;border:2px solid var(--forest);border-radius:16px;background:#fff}
@media(min-width:761px){.inventory-editor .inventory-field-grid{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:430px){.inventory-editor{padding:16px}.inventory-editor .inventory-row,.inventory-editor .inventory-preview{padding:16px}.inventory-editor .inventory-actions button{width:100%}}
@media(prefers-reduced-motion:reduce){.inventory-editor *{scroll-behavior:auto;transition:none;animation:none}}
@media print{.inventory-editor form,.inventory-editor [data-inventory-startup],.inventory-editor [data-inventory-status-message],.inventory-editor .inventory-notes{display:none!important}.inventory-editor{padding:0;border:0;background:#fff}.inventory-editor .inventory-preview{padding:0;border:0;white-space:pre-wrap}}
