/* Shared small-screen layout. */
@media(max-width:650px){
  header{height:auto;min-height:64px;padding:14px 18px;gap:12px;flex-wrap:wrap}
  header .brand{font-size:21px;gap:10px;flex-wrap:wrap}
  header .brand span{font-size:12px;padding-left:10px}
  .site-title{flex-wrap:wrap;row-gap:5px}
  .header-actions{flex-wrap:wrap}
  main{padding:0 18px}
  .home .pulse{display:grid;grid-template-columns:minmax(0,1fr);gap:12px;margin-bottom:8px}
  .pulse>*{min-width:0;max-width:100%}
  .quote{padding:18px}
  .quote blockquote{font-size:22px;letter-spacing:-.6px;line-height:1.25}
  .home .daily{margin-top:22px}
  .daily-head>div:first-child{min-width:0}
  .daily h2{font-size:22px}
  .schedule-tools{flex-shrink:0}
  .schedule-sub .hours{max-width:none;text-align:left}
  .daily #results{grid-template-columns:minmax(0,1fr)}
  .daily .single{flex-direction:column;align-items:flex-start;gap:6px;padding:16px}
  .daily .single h2{margin:0}
  .daily .single p{overflow-wrap:anywhere}
  .resources{grid-template-columns:minmax(0,1fr);margin-top:16px}
  .resource{padding:20px;min-width:0}
  .agent-picker{flex-direction:column;align-items:stretch}
  .agent-picker select{min-width:0;width:100%;max-width:100%;font-size:16px}
  .agent-page .single{flex-direction:column;align-items:flex-start}
  nav{max-width:100%;flex-wrap:wrap}
  nav button{white-space:normal}
  .file,.single,summary{min-width:0}
  .name,.file-label{overflow-wrap:anywhere}
  footer{flex-wrap:wrap}
}

/* Compact toolkit header and date placement. */
.brand span,.site-title .page-label{font-size:0!important}
.brand span::after,.site-title .page-label::after{content:'team toolkit';font-size:12px}
footer span{font-size:0}
footer span::after{content:'team toolkit';font-size:11px}
.intro{display:none!important}
.site-date{margin:0 0 0 auto;color:#85858a;font-size:13px;line-height:1.3;font-weight:550;white-space:nowrap;text-align:right}
header .site-date{margin-left:auto}
@media(prefers-color-scheme:dark){.site-date{color:#b8b8c0}}
main.agent-page>p:last-child a{font-size:0}
main.agent-page>p:last-child a::after{content:'← Back to team toolkit';font-size:13px}
.home .snapshot,.home>footer{display:none!important}
.daily .single{padding:16px 18px}
.home .resources{margin-top:28px}
.home>footer{display:block!important;order:99;margin-top:52px!important;padding:20px 0 46px!important;border-top:1px solid #e8e8ec;text-align:center;font-size:0!important;color:#8a8a90}
.home>footer span{display:none!important}
.home>footer::before{content:'design by wesellep';font-size:11px;letter-spacing:.2px}

/* Resource cards follow the simple two-column reference layout. */
.resources{grid-template-columns:repeat(2,minmax(0,1fr));gap:18px 14px;align-items:stretch}
.resource{min-height:184px;padding:20px 20px 18px;border:0;border-radius:24px;box-shadow:0 10px 28px #1d1d1f0d}
.resource .icon{width:30px;height:30px;margin:0 0 14px;background:transparent!important;color:#7b7b82}
.resource .icon svg{width:29px;height:29px;stroke-width:1.25}
.resource h2{font-size:18px;line-height:1.18;letter-spacing:-.5px;margin-bottom:7px}
.resource p{font-size:13px;line-height:1.4;margin-bottom:0;color:#77777e}
.resource .action{margin-top:auto;padding-top:12px;font-size:11px}
@media(prefers-color-scheme:dark){
  .resource{background:#1d1d20!important;box-shadow:0 10px 28px #00000025}
  .resource .icon{color:#b8b8c0}
  .resource p{color:#b8b8c0}
}
@media(max-width:420px){
  .home .resources{margin-top:22px}
  .home>footer{margin-top:38px!important;padding-bottom:34px!important}
  .resources{gap:12px 10px}
  .resource{min-height:166px;padding:16px 14px 15px;border-radius:20px}
  .resource .icon{margin-bottom:12px}
  .resource h2{font-size:15px}
  .resource p{font-size:13px;line-height:1.4}
  .resource .action{font-size:11px;padding-top:14px}
  .resource .action span{font-size:17px}
}

@media(max-width:650px){
  header{flex-wrap:nowrap;align-items:center}
  header .brand{min-width:0;flex-shrink:1;white-space:nowrap}
  header .site-date{flex:0 0 auto;font-size:11px;letter-spacing:-.15px}
}
