/* PATCHBAY v0.8 — working tools and comfortable community spaces. */
.tool-grid,.tool-card-grid,.tool-detail-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(min(100%,280px),1fr));gap:18px}.tool-card,.tool-row{padding:16px 0;border-bottom:1px solid var(--border,#434d43)}.tool-card{padding:18px;background:var(--panel,#222a25);border:1px solid var(--border,#434d43);border-radius:10px;margin:12px 0}.tool-row h3,.tool-card h3{margin-top:0}.tool-overview{margin-bottom:20px}.tool-detail-grid section{min-width:0}.form-layout{display:grid;gap:16px;margin:16px 0}.form-layout label{display:grid;gap:6px}.form-layout .check-row,.check-row{display:flex;align-items:flex-start;gap:10px}.check-row input{width:auto;flex:0 0 auto;margin-top:4px}.badge-options{display:flex;gap:12px;flex-wrap:wrap}.interest-badges{margin-bottom:16px}.hash{display:block;overflow-wrap:anywhere;white-space:normal;font-size:.85em;padding:12px;background:#141b18;border-radius:6px;color:#d6e8cd}.task-board{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:14px}.task-board>.panel{padding:16px;min-width:0}.task-board h2{text-transform:capitalize;font-size:1.1rem}.task-board .tool-card h3{font-size:1rem}.timeline{padding-left:24px}.timeline li{padding:10px 0 20px}.research-article{max-width:900px;margin:auto}.report-finding{border-bottom:1px solid #66736a;padding:24px 0}.assessment-report{max-width:1100px;margin:auto}.table-scroll{overflow:auto}.table-scroll table{min-width:650px}.table-scroll td,.table-scroll th{padding:10px;text-align:left;vertical-align:top;overflow-wrap:anywhere;border-bottom:1px solid #48554c}.search-form{display:flex;align-items:end;gap:12px;margin-bottom:24px}.search-form label{flex:1}.map-shell{padding:0!important;overflow:hidden}.map-toolbar{display:flex;justify-content:space-between;flex-wrap:wrap;gap:10px;padding:14px;border-bottom:1px solid #526558;background:#202a23}.map-viewport{height:min(65vh,720px);min-height:380px;overflow:hidden;background:#131c17;touch-action:none}.interface-map{display:block;width:100%;height:100%;min-height:350px;user-select:none;touch-action:none}.map-node{cursor:grab;outline:none}.map-node rect{fill:#263d31;stroke:#8eaf91;stroke-width:1.5}.map-node text{fill:#eff3e5;font:14px system-ui,sans-serif;pointer-events:none}.map-node .node-type{fill:#b8caaa;font-size:11px;text-transform:uppercase;letter-spacing:.5px}.map-node.boundary rect{fill:#9cac7020;stroke:#d3bf7d;stroke-dasharray:10 6}.map-node.boundary text{fill:#dfd49e}.map-node:focus rect{stroke:#ffd17f;stroke-width:3}.map-node.type-cloud rect,.map-node.type-network rect{fill:#263945;stroke:#89b6cc}.map-node.type-human rect{fill:#493443;stroke:#c49dae}.map-edges line{stroke:#aaca8d;stroke-width:2}.map-edges text{fill:#dee7d1;font:12px system-ui,sans-serif;paint-order:stroke;stroke:#131c17;stroke-width:5px;stroke-linejoin:round}.map-help{padding:0 16px 12px;color:#b5c4b7;font-size:.88rem}.map-focused{position:fixed;inset:12px;z-index:1200;display:flex;flex-direction:column;box-shadow:0 0 0 40px #101712e8}.map-focused .map-viewport{flex:1;height:auto}.map-focused .map-help{margin:8px}.large-text{font-size:18px}.reduce-motion *{animation:none!important;transition:none!important;scroll-behavior:auto!important}:focus-visible{outline:3px solid #eeb970;outline-offset:3px}@media(prefers-reduced-motion:reduce){*{scroll-behavior:auto!important}}@media(max-width:1050px){.task-board{grid-template-columns:repeat(2,minmax(0,1fr))}}@media(max-width:650px){.task-board{grid-template-columns:1fr}.map-toolbar{display:block}.map-toolbar>.button-row{margin-bottom:10px}.map-viewport{min-height:320px}.map-focused{inset:4px}.search-form{align-items:stretch;flex-direction:column}.form-layout .button{width:100%}}@media print{.site-rail,.topbar,.site-footer,.mobile-dock,.button,.button-row,.no-print,.map-toolbar,.map-help,.flash-stack{display:none!important}.app-shell,.work-area,.page-content{display:block!important;margin:0!important;padding:0!important;width:100%!important}.panel{box-shadow:none!important;border-color:#aaa!important;background:#fff!important;color:#111!important}.assessment-report{max-width:none}.assessment-report p,.assessment-report h1,.assessment-report h2,.assessment-report h3,.assessment-report h4{color:#111!important}.report-finding{break-inside:avoid}.interface-map{min-height:500px;background:#131c17!important;print-color-adjust:exact}.hash{color:#111;background:#eee}.page-heading{display:block!important}body{background:#fff!important;color:#111!important}a{color:inherit!important}}
