/* v1.8 - mobile-first workspace density (dashboard only). The desktop layout remains unchanged. */
.mobile-toolbar{display:none}
.hub-sync-hint{font-size:12px!important;line-height:1.55;color:#6f5b32!important;background:#fff8e9;border:1px solid #f2e4b9;border-radius:10px;padding:10px;margin-top:7px!important}
@media(max-width:650px){
  .shell{padding-left:12px;padding-right:12px}
  body[data-screen="dashboard"] .header{
    display:grid!important;grid-template-columns:minmax(0,1fr) 44px;
    align-items:center;gap:8px;min-height:62px;padding:7px 0!important;flex-wrap:nowrap;
  }
  body[data-screen="dashboard"] .header .brand{grid-column:1;grid-row:1;min-width:0;gap:9px}
  body[data-screen="dashboard"] .header .brand-icon{width:36px;height:36px;border-radius:11px}
  body[data-screen="dashboard"] .header .brand strong{font-size:15px;line-height:1.25;letter-spacing:-.35px}
  body[data-screen="dashboard"] .header .brand small{font-size:10px;line-height:1.2;max-width:calc(100vw - 130px);overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
  body[data-screen="dashboard"] .header .header-settings{grid-column:2;grid-row:1;margin:0;min-width:44px;width:44px;min-height:44px;height:44px;padding:0;font-size:0;border-radius:12px;display:grid;place-items:center}
  body[data-screen="dashboard"] .header .header-settings::before{font-size:22px;line-height:1}
  body[data-screen="dashboard"] .header .header-headline,
  body[data-screen="dashboard"] .header .header-sync,
  body[data-screen="dashboard"] .header .top-right{display:none!important}
  body[data-screen="dashboard"] #dashboard{padding-top:9px}
  .search-row{gap:8px;margin-bottom:7px}
  .search-wrap{min-height:44px;padding:0 11px;gap:6px;border-radius:11px}
  .search-wrap>span{font-size:23px}
  .search-wrap input{font-size:13px;line-height:1.2}
  .search-wrap .shortcut{display:none}
  .add-button{min-width:44px;width:44px;max-width:44px;min-height:44px;height:44px;padding:0;border-radius:11px;font-size:0;display:grid;place-items:center}
  .add-button::after{content:"+";font-size:26px;line-height:1;font-weight:450}
  .tabs{gap:16px;min-height:42px;align-items:stretch;border-bottom-color:#dee6f1}
  .tab{font-size:12px;padding:5px 0 8px;min-height:39px;border-bottom-width:2px}
  .tab span{font-size:10px;padding:2px 5px;margin-left:1px}
  .mobile-toolbar{display:flex;align-items:center;justify-content:space-between;gap:8px;margin-top:9px}
  .mobile-toolbar .mobile-tools-left{display:flex;gap:8px}
  .mobile-tool{display:inline-flex;justify-content:center;align-items:center;gap:5px;min-height:38px;padding:7px 13px;background:white;border:1px solid #d9e4f0;border-radius:10px;color:#335274;font-size:12px;font-weight:750}
  .mobile-tool[aria-expanded="true"]{background:#e7f0fb;border-color:#aac8e9;color:#1b467c}
  .filters,.tools-row{display:none!important}
  body.mobile-filters-open .filters{display:grid!important;grid-template-columns:repeat(2,minmax(0,1fr));gap:9px;padding:12px;background:#fff;border:1px solid #e2eaf3;border-radius:12px;margin-top:8px;align-items:stretch}
  body.mobile-filters-open .filters label{min-width:0!important;font-size:11px}
  body.mobile-filters-open .filters label:nth-child(3){grid-column:1 / -1}
  body.mobile-filters-open .filters select{height:40px;font-size:12px}
  body.mobile-filters-open .filters .view-buttons{grid-column:1 / -1;justify-self:start;margin:0}
  body.mobile-filters-open .filters #hubDenseToggle{display:none}
  body.mobile-filters-open .tools-row{display:flex!important;margin:8px 2px 0}
  .section-heading{margin:13px 0 8px!important}
  .section-heading h2{font-size:15px}
  .section-sub{font-size:10px;margin-top:1px}
  body[data-hub-density="mini"] .cards:not(.list-view){grid-template-columns:repeat(2,minmax(0,1fr))!important;gap:9px!important}
  body[data-hub-density="mini"] .cards:not(.list-view) .app-card{padding:9px!important;border-radius:12px;gap:5px!important;min-height:0;box-shadow:none}
  body[data-hub-density="mini"] .cards:not(.list-view) .app-cover{min-height:69px!important;height:69px!important;margin:0;border-radius:9px;padding:5px!important}
  body[data-hub-density="mini"] .cards:not(.list-view) .app-cover.logo-cover img.cached-image{width:42px;height:42px;max-height:84%;padding:3px;border-radius:10px}
  body[data-hub-density="mini"] .cards:not(.list-view) .app-cover .cover-monogram{font-size:24px}
  body[data-hub-density="mini"] .cards:not(.list-view) .app-cover .cached-preview-mark{font-size:8px}
  body[data-hub-density="mini"] .cards:not(.list-view) .card-top{justify-content:flex-end;height:28px;min-height:28px}
  body[data-hub-density="mini"] .cards:not(.list-view) .app-logo{display:none}
  body[data-hub-density="mini"] .cards:not(.list-view) .card-actions{margin-left:auto;gap:3px}
  body[data-hub-density="mini"] .cards:not(.list-view) .card-actions .icon-button{min-width:30px;min-height:30px;font-size:17px}
  body[data-hub-density="mini"] .cards:not(.list-view) .card-main{min-height:0}
  body[data-hub-density="mini"] .cards:not(.list-view) .card-main h3{font-size:13px;line-height:1.2;max-height:2.45em;overflow:hidden;overflow-wrap:anywhere;margin:0}
  body[data-hub-density="mini"] .cards:not(.list-view) .card-main p,
  body[data-hub-density="mini"] .cards:not(.list-view) .card-location,
  body[data-hub-density="mini"] .cards:not(.list-view) .meta,
  body[data-hub-density="mini"] .cards:not(.list-view) .card-tags{display:none}
  body[data-hub-density="mini"] .cards:not(.list-view) .card-detail-toggle{display:inline-flex;align-items:center;justify-content:center;align-self:flex-start;min-height:27px;padding:3px 8px;font-size:10px;margin:0}
  body[data-hub-density="mini"] .cards:not(.list-view) .app-card.expanded .card-main p{display:-webkit-box}
  body[data-hub-density="mini"] .cards:not(.list-view) .app-card.expanded .card-location{display:flex}
  body[data-hub-density="mini"] .cards:not(.list-view) .app-card.expanded .meta,
  body[data-hub-density="mini"] .cards:not(.list-view) .app-card.expanded .card-tags{display:flex}
  body[data-hub-density="mini"] .cards:not(.list-view) .card-footer{margin-top:auto;padding-top:5px;border-top:1px solid #eef2f7;gap:3px}
  body[data-hub-density="mini"] .cards:not(.list-view) .card-footer .launch{min-height:36px;width:100%;font-size:11px}
  body[data-hub-density="mini"] .cards:not(.list-view) .card-footer .repo{display:none}
  body[data-hub-density="mini"] .cards:not(.list-view) .card-footer .disabled{font-size:10px}
  body[data-hub-density="mini"] .cards:not(.list-view) .app-card.expanded .repo{display:none}
  .cards.list-view .app-card{grid-template-columns:38px minmax(0,1fr) auto;gap:9px;padding:10px}
  .cards.list-view .card-main{grid-column:2;min-width:0}
  .cards.list-view .card-location{display:none}
  .cards.list-view .card-footer{grid-column:3}
  .cards.list-view .card-footer .launch{padding:7px 9px;font-size:11px}
  .hub-account-actions{display:grid;gap:8px}
  footer{padding:24px 0 26px}
}
@media(max-width:360px){
  body[data-hub-density="mini"] .cards:not(.list-view){gap:6px!important}
  body[data-hub-density="mini"] .cards:not(.list-view) .app-card{padding:7px!important}
  body[data-hub-density="mini"] .cards:not(.list-view) .card-main h3{font-size:12px}
}

/* v1.9: the info action is part of the star / edit toolbar, not a separate row. */
.card-actions .card-detail-toggle,
.card-actions-alt .card-detail-toggle{
  display:inline-flex;align-items:center;justify-content:center;align-self:center;
  width:33px;min-width:33px;height:33px;min-height:33px;
  padding:0;margin:0;border-radius:9px;border:1px solid #e1e8f1;
  background:#f8fafd;color:#54718f;font-size:21px;line-height:1;
}
.card-actions .card-detail-toggle[aria-expanded="true"],
.card-actions-alt .card-detail-toggle[aria-expanded="true"]{
  background:#e8f2ff;border-color:#94badf;color:#235a92;
}
.hub-account-identity{display:grid;gap:2px;min-width:0;padding:10px 12px;border-radius:10px;background:#fff;border:1px solid #e0e8f2}
.hub-account-identity span{font-size:11px;color:#74849a}
.hub-account-identity strong{font-size:13px;color:#1e3959;overflow-wrap:anywhere}
@media(max-width:650px){
  body[data-hub-density="mini"] .cards:not(.list-view) .card-actions .card-detail-toggle{
    align-self:center;width:30px;min-width:30px;height:30px;min-height:30px;
    padding:0;margin:0;font-size:19px;line-height:1;
  }
  body[data-hub-density="mini"] .cards:not(.list-view) .card-top{height:30px;min-height:30px}
  body[data-hub-density="mini"] .cards:not(.list-view) .app-cover .cached-preview-mark{display:none}
}

/* v1.12 browser-sync exclusion management */
.hub-chrome-exclusions p{font-size:13px;line-height:1.5;color:#5a6d87}
.hub-chrome-excluded-items{max-height:230px;overflow:auto;display:grid;gap:6px;margin-top:10px}
.hub-chrome-excluded-row{display:flex;gap:8px;align-items:center;justify-content:space-between;padding:7px 9px;background:#fff;border:1px solid #e0e9f3;border-radius:9px;min-width:0}
.hub-chrome-excluded-row span{min-width:0;overflow-wrap:anywhere;font-size:11px;line-height:1.4;color:#456181}
.hub-chrome-excluded-row button{flex-shrink:0;font-size:11px;min-height:32px}
