/* Apps extends the existing desktop workspace. Brand artwork stays in its original colors. */
.main.is-apps .header { height: 48px; }
.identity.is-apps-identity { top: 14px; display: flex; gap: 7px; padding: 0; color: #626a62; cursor: default; }
.identity.is-apps-identity:hover { background: transparent; }
.identity.is-apps-identity strong { font-size: 13px; font-weight: 550; }
.identity.is-apps-identity > svg { width: 17px; height: 17px; color: inherit; }
.apps-view { min-width: 0; min-height: 0; flex: 1; overflow-x: hidden; overflow-y: auto; overscroll-behavior-y: contain; padding: 17px 25px 26px; scrollbar-width: thin; scrollbar-color: #a9b5a1 transparent; }
.apps-view:focus-visible { outline: 2px solid #567e44; outline-offset: -3px; }
.apps-heading h1 { font-size: 24px; font-weight: 550; letter-spacing: -.7px; line-height: 1.2; }
.apps-heading p { margin-top: 7px; font-size: 12px; color: #626a62; line-height: 1.5; }
.apps-search { display: flex; align-items: center; gap: 9px; margin-top: 21px; border: 1px solid #dfe3dd; border-radius: 10px; padding: 9px 11px; background: #f8faf7; }
.apps-search > svg { width: 16px; height: 16px; color: #737d70; }
.apps-search input { width: 100%; min-width: 0; padding: 0; border: 0; outline: 0; background: transparent; font-size: 12px; caret-color: #446b33; }
.apps-search input::placeholder { color: #697264; }
.apps-search:focus-within { outline: 2px solid #567e44; outline-offset: 2px; }
.apps-search input:focus-visible { outline: 0; }
.apps-filters { display: flex; align-items: center; flex-wrap: wrap; gap: 4px; margin: 14px 0 9px; }
.apps-filters button { min-height: 31px; padding: 5px 10px; border-radius: 7px; color: #616960; font-size: 11px; white-space: nowrap; }
.apps-filters button[aria-pressed="true"] { background: #e3f0de; color: #345e27; }
#apps-connected-count { margin-left: 3px; color: #586451; font-variant-numeric: tabular-nums; }
.apps-list { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); column-gap: 25px; }
.app-row { min-width: 0; display: flex; align-items: center; gap: 8px; padding: 18px 0; border-bottom: 1px solid #edf0ea; }
.app-open { display: flex; align-items: center; gap: 10px; min-width: 0; flex: 1; padding: 3px; margin-left: -3px; text-align: left; border-radius: 7px; }
.app-logo { flex: none; width: 33px; height: 33px; object-fit: contain; border-radius: 7px; }
.app-copy { min-width: 0; }
.app-copy strong { display: block; font-size: 12px; font-weight: 550; line-height: 1.4; }
.app-copy small { display: block; margin-top: 3px; font-size: 11px; line-height: 1.4; color: #66705f; }
.app-manage { flex: none; display: flex; align-items: center; gap: 4px; min-height: 30px; padding: 5px 8px; border: 1px solid #dce2d7; border-radius: 7px; color: #4b5943; font-size: 11px; }
.app-manage.is-connected { color: #416734; background: #eef6e9; border-color: transparent; }
.app-manage svg { width: 12px; height: 12px; }
.apps-empty { padding: 36px 0; text-align: center; }
.apps-empty h2 { font-size: 16px; font-weight: 550; }
.apps-empty p { margin: 7px 0 18px; color: #626a62; font-size: 12px; }
.apps-empty button, .app-connect { padding: 9px 14px; border-radius: 8px; background: #e3f0de; color: #345e27; font-size: 12px; }
.app-back { display: flex; align-items: center; gap: 5px; margin: 0 0 25px; padding: 5px 2px; border-radius: 6px; color: #626a62; font-size: 12px; }
.app-back svg { width: 15px; height: 15px; }
.app-detail-heading { display: flex; align-items: center; gap: 14px; }
.app-detail-heading .app-logo { width: 48px; height: 48px; border-radius: 10px; }
.app-detail-heading h1 { font-size: 24px; font-weight: 550; letter-spacing: -.7px; line-height: 1.25; }
.app-detail-status { display: flex; align-items: center; gap: 5px; margin-top: 5px; font-size: 11px; color: #626a62; }
.app-detail-status.is-connected { color: #416734; }
.app-detail-status svg { width: 13px; height: 13px; }
.app-description { max-width: 47ch; margin: 23px 0 28px; color: #555f50; font-size: 14px; line-height: 1.6; }
.app-capabilities { list-style: none; margin: 0 0 29px; padding: 0; }
.app-capabilities li { display: flex; align-items: flex-start; gap: 9px; margin: 13px 0; color: #3f4a38; font-size: 12px; line-height: 1.6; }
.app-capabilities svg { width: 16px; height: 16px; margin-top: 2px; color: #61814e; }
.app-connect { min-height: 38px; }
.app-connect.is-connected { background: #f3f5f0; color: #586451; border: 1px solid #dfe4da; }
@media (max-width:800px) {
  .apps-list { grid-template-columns: minmax(0,1fr); }
  .app-row { padding: 15px 0; }
  .app-copy small { margin-top: 2px; }
}
@media (max-width:640px) {
  .main.is-apps .header { height: 45px; }
  .apps-view { padding: 14px 15px 22px; }
  .apps-heading h1 { font-size: 21px; letter-spacing: -.5px; }
  .apps-heading p { font-size: 11px; }
  .apps-search { margin-top: 18px; }
  .apps-filters button { padding-inline: 7px; }
  .app-logo { width: 31px; height: 31px; }
  .app-copy strong { font-size: 12px; }
  .app-manage { padding-inline: 7px; }
  .app-detail-heading { gap: 11px; }
  .app-detail-heading h1 { font-size: 21px; }
  .app-detail-heading .app-logo { width: 41px; height: 41px; }
  .app-description { font-size: 13px; }
}
@media (max-width:350px) {
  .app-manage.is-connected { justify-content: center; width: 30px; padding: 0; }
  .app-manage.is-connected span { display: none; }
}
