/* Tool-first layout, layered over the shared colors and component styles. */
.sidebar,.hero{display:none}
.app-shell{margin-left:0}
.topbar{position:relative;inset:auto;height:80px;max-width:1040px;margin:auto;padding:0 32px;background:transparent;z-index:auto;border-bottom:1px solid var(--border)}
.compact-brand{display:flex;align-items:center;gap:11px;text-decoration:none}
.compact-brand img{flex-shrink:0}
.compact-brand strong{display:block;font-size:16px;letter-spacing:-.35px}
.compact-brand small{display:block;color:var(--muted);font-size:11px;margin-top:1px}
.personal-badge{display:none}
.header-actions{gap:6px}
.topbar .icon-button{background:var(--surface);border:1px solid var(--border)}
main{max-width:1040px;padding:30px 32px 0}
#resources{margin-top:0}
.collection-heading{margin-bottom:22px}
.compact-title{font-size:25px;letter-spacing:-.8px;line-height:1.25;margin:0 0 8px}
.compact-intro{font-size:13px;color:var(--muted);margin:0;line-height:1.7}
.toolbar{display:flex;flex-direction:column;align-items:stretch;gap:14px;margin-bottom:23px}
.search-box{flex:none;width:100%;min-height:48px;border-radius:10px;padding:0 15px;gap:12px}
.search-box input{height:46px;font-size:13px}
.search-box svg{width:18px;height:18px}
.search-box:focus-within{outline:2px solid var(--blue);outline-offset:2px}
.filters{background:transparent;padding:0;gap:6px;width:auto;justify-content:flex-start;flex-wrap:wrap}
.filter{flex:none;min-height:40px;padding:9px 15px;font-size:12px;background:transparent;border:1px solid transparent;border-radius:8px;color:var(--muted)}
.filter.active{background:var(--blue-soft);color:var(--blue);border-color:transparent;box-shadow:none}
.filter:hover{background:var(--hover)}
.list-heading{display:flex;align-items:center;justify-content:space-between;margin-bottom:11px;padding:0 2px}
.list-heading h2{font-size:12px;font-weight:600;letter-spacing:0;margin:0;color:var(--muted)}
.resource-total{font-size:11px;padding:0}
.resource-grid{display:flex;flex-direction:column;gap:0;background:var(--surface);border:1px solid var(--border);border-radius:12px;overflow:hidden}
.resource-grid:empty{display:none}
.resource-card{position:relative;display:grid;grid-template-columns:42px minmax(0,1fr) 170px;grid-template-rows:auto auto;column-gap:15px;row-gap:4px;padding:14px 20px;border:0;border-bottom:1px solid var(--border);border-radius:0;box-shadow:none;min-height:82px;transition:background .15s}
.resource-card:last-child{border-bottom:0}
.resource-card:hover{transform:none;background:var(--code);border-color:var(--border)}
.card-top{display:contents;margin:0}
.tool-icon{grid-column:1;grid-row:1 / 3;align-self:center;width:38px;height:38px;border-radius:10px}
.tool-icon svg{width:20px;height:20px}
.save-button{position:absolute;top:7px;right:7px;min-width:30px;min-height:30px;width:30px;height:30px;z-index:1}
.save-button svg{width:14px;height:14px}
.resource-card h3{grid-column:2;grid-row:1;align-self:end;margin:0;padding-right:4px;font-size:14px;line-height:1.5;font-weight:600;letter-spacing:-.15px}
.card-label{display:none}
.card-desc{display:none}
.resource-preview{grid-column:2;grid-row:2;align-self:start;margin:0;padding:0;border:0;background:transparent;font-size:11px;line-height:1.7;min-width:0;color:var(--muted)}
.resource-preview>span:first-child{display:none}
.card-actions{grid-column:3;grid-row:1 / 3;align-self:center;display:flex;gap:7px;margin:0 24px 0 0}
.action-button{min-height:42px;font-size:11px;padding:7px 10px;white-space:nowrap;background:var(--surface)}
.command-action{background:var(--blue-soft)}
.link-copy{flex:0 0 38px;min-width:38px;padding:7px}
.card-actions>a{font-size:0;gap:7px}
.card-actions>a>span{display:none}
.card-actions>a:before{content:'Open';font-size:11px}
.tone-orange .card-actions>a:before{content:'Read'}
.card-actions>a svg{width:13px;height:13px}
.safety-note{border:0;border-radius:0;padding:0 2px;margin-top:15px;gap:10px;align-items:center}
.safety-note p{font-size:11px;line-height:1.7}
.safety-note .text-button{font-size:11px;margin-left:auto;min-height:44px;padding:0 6px}
.page-footer{font-size:10px;padding:22px 2px 24px}
.toast{left:50%}
.empty-state{padding:35px 20px}
@media(max-width:600px){
  .topbar{height:72px;padding:0 18px}
  main{padding:24px 16px 0}
  .compact-title{font-size:23px}
  .compact-intro{font-size:12px;max-width:290px}
  .collection-heading{margin-bottom:18px}
  .filters{gap:3px;flex-wrap:nowrap;justify-content:space-between}
  .filter{font-size:11px;padding:8px 9px;min-height:42px}
  .resource-card{grid-template-columns:32px minmax(0,1fr);grid-template-rows:auto auto auto;padding:16px 14px;column-gap:10px;row-gap:4px;min-height:0}
  .tool-icon{width:30px;height:30px;grid-column:1;grid-row:1 / 3;align-self:start;margin-top:4px;border-radius:8px}
  .tool-icon svg{width:17px;height:17px}
  .resource-card h3{font-size:13px;grid-column:2;padding-right:25px;align-self:start}
  .resource-preview{grid-column:2;font-size:10px;line-height:1.7;padding-right:15px}
  .card-actions{grid-column:2;grid-row:3;margin:7px 0 0;justify-content:flex-start;gap:8px}
  .card-actions .action-button{width:auto;min-height:44px;min-width:100px;font-size:12px;padding:9px 15px}
  .card-actions .link-copy{min-width:44px;flex:0 0 44px;width:44px;padding:9px}
  .card-actions>a:before{font-size:12px}
  .save-button{top:9px;right:6px;width:34px;height:34px;min-width:34px;min-height:34px}
  .safety-note{align-items:flex-start;margin-top:16px;gap:8px}
  .safety-note>span{margin-top:3px}
  .safety-note p{min-width:0;flex:1;font-size:10px}
  .safety-note .text-button{margin-left:26px;min-height:36px}
  .page-footer{font-size:9px}
}
@media(prefers-reduced-motion:reduce){.resource-card{transition:none}}
