.resources-toolbar{display:flex;align-items:center;gap:10px;margin-bottom:16px}.resources-toolbar label{min-width:0;flex:1;margin:0}.resources-toolbar input{width:100%;height:37px}.resources-toolbar>button{height:37px}.resources-toolbar>span{font-size:12px;color:var(--muted);margin-left:5px;white-space:nowrap;font-variant-numeric:tabular-nums}.resources-sr-only{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border:0}.resources-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}.resources-card{border:1px solid var(--line);border-radius:9px;background:#fff;padding:14px;display:grid;grid-template-columns:42px minmax(0,1fr);gap:12px;min-width:0;align-content:start}.resources-file{align-self:start;width:42px;height:48px;display:grid;place-items:center;background:var(--accent-soft);color:var(--accent);border-radius:6px;font-size:11px;font-weight:700;letter-spacing:.3px}.resources-labels{display:flex;align-items:center;gap:8px;margin-bottom:5px}.resources-labels span{font-size:10px;font-weight:550;color:var(--muted)}.resources-labels small{font-size:10px;color:var(--muted)}.resources-copy{min-width:0}.resources-copy h2{font-size:14px;font-weight:650;line-height:1.65;overflow-wrap:anywhere;margin:0}.resources-copy>p{color:var(--muted);font-size:12px;line-height:1.65;margin:4px 0}.resources-copy>small{display:block;color:var(--muted);font-size:11px;margin-top:7px}.resources-copy .resources-excerpt{color:var(--text);padding:7px 9px;background:var(--bg);border-radius:5px;overflow-wrap:anywhere}.resources-card-footer{grid-column:1/-1;display:flex;align-items:center;justify-content:space-between;border-top:1px solid var(--line);padding-top:9px;gap:10px}.resources-card-footer>span{font-size:11px;color:var(--muted)}.resources-card-footer>div{display:flex;gap:7px}.resources-card-footer button{font-size:12px;min-height:30px;padding:4px 10px}.resources-grid>.business-empty{grid-column:1/-1}.resources-dialog{width:min(1000px,calc(100vw - 28px));height:88dvh;max-height:88dvh}.resources-dialog[open]{display:flex;flex-direction:column;overflow:hidden}.resources-dialog .dialog-head,.resources-dialog .dialog-footer{flex:0 0 auto}.resources-dialog .dialog-body{flex:1;min-height:0;display:flex;flex-direction:column;overflow:auto;gap:10px;padding:14px}.resources-dialog iframe{display:block;border:1px solid var(--line);border-radius:6px;width:100%;flex:1;min-height:240px;background:var(--bg)}.resources-preview-note{color:var(--muted);font-size:11px;line-height:1.6}.resources-preview-note a{margin-left:4px}
@media(max-width:800px){.resources-grid{grid-template-columns:1fr}.resources-card{padding:12px;gap:10px}.resources-toolbar{flex-wrap:wrap;gap:8px}.resources-toolbar label{flex-basis:calc(100% - 64px)}.resources-toolbar>span{margin-left:auto;font-size:11px}.resources-copy h2{font-size:13px}.resources-card-footer button{min-height:34px}.resources-dialog .dialog-body{padding:8px}.resources-dialog .dialog-head{padding:16px}.resources-dialog iframe{min-height:200px}}
.resources-card{grid-template-rows:1fr auto;align-content:stretch}

.resources-toolbar select{width:104px;height:37px}.resources-toolbar [data-upload]{white-space:nowrap}.resources-card-footer>div{flex-wrap:wrap;justify-content:flex-end}.resource-preview-state{grid-column:1/-1;display:flex;justify-content:space-between;align-items:center;font-size:11px;color:var(--muted)}.resource-preview-state button{font-size:11px;padding:3px 8px;min-height:28px}.resource-editor-dialog{width:min(560px,calc(100vw - 28px))}.resource-editor{display:grid;gap:14px}.resource-editor label{display:grid;gap:6px;font-size:12px;color:var(--muted)}.resource-editor input,.resource-editor select,.resource-editor textarea{width:100%;font-size:13px}.resource-editor textarea{resize:vertical;min-height:72px}.resource-upload-row{display:grid;grid-template-columns:130px minmax(0,1fr);gap:12px}.resource-file-label input{padding:7px;min-height:38px}.resource-editor-note{font-size:11px;color:var(--muted);line-height:1.6;margin:0}.resource-confirm{display:grid;gap:10px}.resource-confirm b{font-size:14px}.resource-confirm p{font-size:13px;color:var(--muted);margin:0}@media(max-width:600px){.resource-upload-row{grid-template-columns:1fr}.resources-toolbar select{margin-left:auto}.resources-toolbar>span{margin-right:auto;margin-left:0}.resources-card-footer{align-items:flex-start}.resources-card-footer>div{gap:4px}.resources-card-footer>span{white-space:nowrap;padding-top:6px}}

.resource-editor textarea{border:1px solid var(--line);border-radius:7px;padding:9px 11px;color:var(--text);background:var(--surface,#fff);font-family:inherit;line-height:1.6}.resource-editor textarea:focus-visible{outline:2px solid var(--accent);outline-offset:2px}.resource-editor input::file-selector-button{border:0;border-radius:4px;background:var(--accent-soft);color:var(--accent);font:inherit;padding:5px 8px;margin-right:8px;cursor:pointer}
