/* Shared TCS installation and offline screens. No external fonts or trackers. */
[hidden] { display: none !important; }
.tcs-app-strip { background: #e5eeeb; color: #071b1c; padding: 2.6rem 0; }
.tcs-app-strip-inner { display: flex; align-items: center; gap: 1.5rem; flex-wrap: wrap; }
.tcs-app-strip img { width: 76px; height: 76px; border-radius: 18px; flex: 0 0 auto; }
.tcs-app-strip-copy { flex: 1 1 260px; }
.tcs-app-strip h2 { font-size: clamp(1.5rem, 3vw, 2rem); margin: 0 0 .5rem; line-height: 1.2; }
.tcs-app-strip p { margin: 0; font-size: .93rem; color: #526866; }
.tcs-app-link { display: inline-flex; align-items: center; justify-content: center; min-height: 48px; padding: .8rem 1.3rem; background: #071b1c; color: #fff; border: 1px solid #071b1c; border-radius: 6px; font: 750 .95rem/1.4 system-ui, sans-serif; text-decoration: none; cursor: pointer; }
.tcs-app-link:hover { background: #103d39; }
.tcs-app-link:disabled { opacity: .65; cursor: wait; }
.tcs-app-link-secondary { color: #071b1c; background: transparent; border-color: #b6c7c2; }
.tcs-app-link-secondary:hover { background: #e5eeeb; }
.tcs-app-textlink { color: inherit; text-underline-offset: .25em; }
.footer-links { flex-wrap: wrap; }
.tcs-install-page { margin: 0; min-height: 100svh; color: #071b1c; background: #f6f8f7; font: 16px/1.65 system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif; }
.tcs-install-page *, .tcs-install-page *::before, .tcs-install-page *::after { box-sizing: border-box; }
.tcs-install-page :focus-visible { outline: 3px solid #167f75; outline-offset: 5px; }
.tcs-install-page a { overflow-wrap: anywhere; }
.tcs-install-header { padding: 1.5rem max(1.5rem, env(safe-area-inset-left)); border-bottom: 1px solid #d7e3df; display: flex; justify-content: space-between; gap: 1rem; align-items: center; }
.tcs-install-brand { display: inline-flex; align-items: center; gap: .8rem; font-size: .9rem; font-weight: 750; line-height: 1.3; text-decoration: none; color: inherit; }
.tcs-install-brand img { width: 44px; height: 44px; border-radius: 10px; }
.tcs-install-shell { width: min(1080px, calc(100% - 3rem)); margin: 0 auto; padding: clamp(2.5rem, 6vw, 5rem) 0; }
.tcs-install-grid { display: grid; grid-template-columns: 1fr 1fr; align-items: start; gap: clamp(2rem, 6vw, 5rem); }
.tcs-install-icon { display: block; width: 112px; height: 112px; border-radius: 26px; box-shadow: 0 12px 32px #071b1c12; margin-bottom: 2rem; }
.tcs-install-eyebrow { color: #167f75; font-size: .72rem; font-weight: 850; letter-spacing: .12em; text-transform: uppercase; }
.tcs-install-page h1 { margin: .75rem 0 1.25rem; font-size: clamp(2.4rem, 5vw, 4rem); font-weight: 780; line-height: 1.05; letter-spacing: -.05em; }
.tcs-install-page h2 { margin: 0 0 .8rem; font-size: 1.35rem; line-height: 1.25; letter-spacing: -.025em; }
.tcs-install-page h3 { margin: 0 0 .5rem; font-size: 1rem; }
.tcs-install-lede { font-size: 1.1rem; color: #526866; margin: 0 0 1.5rem; }
.tcs-install-actions { display: flex; flex-wrap: wrap; gap: .75rem; }
.tcs-install-status { font-size: .9rem; color: #526866; min-height: 1.65em; margin: 1rem 0; }
.tcs-install-card { background: #fff; padding: clamp(1.3rem, 3vw, 2.3rem); border: 1px solid #d7e3df; border-radius: 16px; }
.tcs-install-platform { padding: 1.2rem 0; border-bottom: 1px solid #e5eeeb; }
.tcs-install-platform:last-child { border: 0; padding-bottom: 0; }
.tcs-install-platform ol { margin: .5rem 0 0; padding-left: 1.3rem; font-size: .93rem; color: #526866; }
.tcs-install-platform li + li { margin-top: .4rem; }
.tcs-install-note { margin: 2rem 0 0; padding: 1.1rem 1.25rem; border-left: 3px solid #f4b63e; color: #526866; font-size: .88rem; background: #e9f0ef; }
.tcs-install-footer { border-top: 1px solid #d7e3df; padding: 1.5rem; text-align: center; color: #526866; font-size: .8rem; }
.tcs-offline { max-width: 650px; }
.tcs-offline-contact { display: grid; gap: .7rem; padding-top: 1.5rem; border-top: 1px solid #d7e3df; margin-top: 2rem; font-style: normal; }
@media (max-width: 700px) {
  .tcs-install-grid { grid-template-columns: 1fr; }
  .tcs-install-header { padding: 1rem; font-size: .85rem; }
  .tcs-install-shell { width: calc(100% - 2rem); }
  .tcs-app-strip-inner { gap: 1rem; }
  .tcs-app-strip .tcs-app-link { width: 100%; }
}
@media (display-mode: standalone) {
  body { padding-left: env(safe-area-inset-left); padding-right: env(safe-area-inset-right); padding-bottom: env(safe-area-inset-bottom); }
  .tcs-app-strip, [data-pwa-browser-only] { display: none !important; }
}
