/* KAPP-01-v1: fixed brand and app-download components. Business styles inherit kilo. */
.brand.kapp-brand { display:flex; align-items:center; gap:11px; padding:0 4px 26px; letter-spacing:-1px; font-size:38px; }
.kapp-brand img { width:52px; height:52px; object-fit:contain; flex:none; }
.mobile-brand.kapp-brand { display:flex; align-items:center; gap:6px; font-size:31px; letter-spacing:-1px; }
.mobile-brand.kapp-brand img { width:44px; height:44px; }
.mobiletop:not(.mobiletop-home) .kapp-header-brand { display:flex; align-items:center; gap:5px; margin-left:auto; color:var(--text); font-size:16px; font-weight:700; }
.kapp-header-brand img { width:32px; height:32px; }
.mobiletop .kapp-header-brand + .insight-search-entry { margin-left:8px; flex:none; }
.mobiletop .mobile-title { min-width:0; }
.mobiletop:not(.mobiletop-home) .mobile-title { flex:1; }
.mobiletop:not(.mobiletop-home) .mobile-title strong { overflow-wrap:anywhere; }
.login-card .login-logo { display:block; width:96px; height:96px; margin:0 auto 16px; }
.login-card { width:min(376px,calc(100vw - 32px)); }
.login h1 { font-size:44px; line-height:1.5; letter-spacing:-1px; }
.login .subtitle { margin-top:3px; }
.app-entry-logo { width:32px; height:32px; object-fit:contain; }
.mobile-entry .app-entry-copy { display:flex; flex-direction:column; gap:3px; min-width:0; }
.mobile-entry .app-entry-copy small { color:var(--secondary); font-size:11px; font-weight:400; }
.app-download { max-width:832px; margin:0 auto; }
.app-release-card { padding:24px; text-align:center; border-radius:20px; }
.app-release-logo { display:block; width:104px; height:104px; margin:0 auto 14px; object-fit:contain; }
.app-release-card>h2 { font-size:28px; margin:0 0 10px; line-height:1.5; }
.app-release-subtitle { color:var(--secondary); margin:0 0 36px; }
.app-release-facts { display:grid; grid-template-columns:repeat(4,minmax(0,1fr)); gap:16px; text-align:left; margin:0 0 54px; }
.app-release-facts div { min-width:0; }
.app-release-facts dt { color:var(--secondary); font-size:12px; margin-bottom:10px; }
.app-release-facts dd { margin:0; font-size:14px; font-weight:600; overflow-wrap:anywhere; }
.app-release-action button { width:min(320px,100%); min-height:48px; }
.app-release-online { color:var(--secondary); font-size:13px; line-height:1.85; margin:18px 0 20px; }
.app-release-status { min-height:132px; color:var(--secondary); padding:8px 0 28px; }
.app-release-status h3 { color:var(--text); font-size:18px; margin:0 0 24px; }
.app-install-guide { border:1px solid #fff; border-radius:16px; background:var(--surface); box-shadow:var(--shadow-panel); padding:0 20px; margin-bottom:16px; }
.app-install-guide summary { cursor:pointer; display:flex; align-items:center; gap:8px; list-style:none; min-height:56px; }
.app-install-guide summary::-webkit-details-marker { display:none; }
.app-install-guide summary strong { font-size:16px; margin-right:auto; }
.app-install-guide summary span { color:var(--primary); font-size:14px; }
.app-install-guide summary i { border:solid var(--primary); border-width:0 1.5px 1.5px 0; padding:3px; transform:rotate(45deg); margin:0 3px 4px 8px; }
.app-install-guide[open] summary i { transform:rotate(225deg); margin-bottom:0; }
.guide-collapse,.app-install-guide[open] .guide-expand { display:none; }
.app-install-guide[open] .guide-collapse { display:inline; }
.app-install-guide ol { list-style:none; counter-reset:install; padding:8px 0; margin:0; }
.app-install-guide li { display:flex; gap:12px; align-items:start; color:var(--secondary); font-size:14px; line-height:1.5; margin:0 0 18px; }
.app-install-guide li:before { counter-increment:install; content:counter(install); background:var(--blue); color:var(--primary); border-radius:50%; width:26px; height:26px; flex:none; display:grid; place-items:center; font-size:13px; font-weight:600; }
.app-install-guide>p { border-top:1px solid var(--border); padding-top:16px; margin:0 0 20px; color:var(--secondary); font-size:13px; }
.app-download-back a { display:inline-flex; justify-content:center; align-items:center; min-height:48px; min-width:160px; padding:8px 20px; border:1px solid var(--border); border-radius:10px; background:white; color:var(--secondary); font-weight:600; }
#apk-download-feedback .notice { margin:12px 0 0; text-align:left; }
@media(min-width:1101px) { .kilo-more-grid>.panel { min-height:218px; }.mobile-entry-grid { grid-template-columns:repeat(3,minmax(0,1fr)); }.mobile-entry { min-height:60px; } }
@media(max-width:767px) {
  .app-release-card { padding:20px 24px 24px; }
  .app-release-logo { width:88px; height:88px; }
  .app-release-facts { grid-template-columns:repeat(2,minmax(0,1fr)); gap:24px 16px; margin-bottom:42px; }
  .app-release-facts dd { font-size:13px; }
  .app-release-action button,.app-download-back a { width:100%; }
  .app-release-subtitle { margin-bottom:36px; font-size:14px; }
  .app-release-status { min-height:172px; }
  .mobile-entry { min-height:60px; }
}

/* Owner revision: clean kilo text in the existing 78px sidebar heading slot. */
.sidebar .brand.kilo-sidebar-brand{display:flex;align-items:center;padding:0 16px 26px;line-height:52px;font-size:36px;font-weight:750;letter-spacing:-1px;color:var(--text)}

/* The install package entry is a desktop task; keep resize behavior without a rerender. */
.mobile-entry[data-desktop-app-download][hidden]{display:none}
@media(max-width:767px){.mobile-entry[data-desktop-app-download]{display:none}}
