/* TaskRunner header alignment and Workspace vertical rhythm.
 * Keep the conversion action together with other header actions.
 * Do not alter billing/account permissions or change public layouts elsewhere.
 */
.tr-public-page .rw-nav .tr-header-start{
  margin-left:auto;
  margin-right:0;
}
.tr-public-page .rw-nav .tr-nav-links{
  margin-left:0;
}
.tr-market-page .tr-market-nav .tr-header-start{
  margin-left:auto;
  margin-right:0;
}
.tr-market-page .tr-market-nav .tr-nav-links{
  margin-left:0;
}
.tr-workspace-page .rw-shell{
  /* Short pages pin the footer to the viewport; long pages scroll normally. */
  min-height:100vh!important;
  min-height:100dvh!important;
  display:flex!important;
  flex-direction:column!important;
  padding-bottom:0!important;
}
.tr-workspace-page .tr-page-intro{
  padding-top:22px!important;
  padding-bottom:8px!important;
  margin-bottom:12px!important;
}
.tr-workspace-page .tr-workspace-actions{
  display:flex;
  flex-wrap:wrap;
  align-items:center;
  justify-content:flex-start;
  gap:8px;
  margin:0 0 17px;
}
.tr-workspace-page .tr-workspace-actions>a,
.tr-workspace-page .tr-workspace-actions .tr-button-link{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  width:auto!important;
  max-width:100%;
  flex:0 0 auto;
  min-height:39px;
}
.tr-workspace-page .tr-device-section{
  padding-bottom:16px;
}
.tr-workspace-page .tr-workspace-advanced{
  margin:4px 0 12px!important;
  padding-top:12px!important;
}
.tr-workspace-page .rw-shell .tr-site-footer{
  margin-top:auto!important;
  flex-shrink:0;
  padding-top:18px!important;
  padding-bottom:16px!important;
}
.tr-workspace-page .rw-shell .tr-site-footer .tr-footer-bottom{
  height:auto!important;
  min-height:36px!important;
  margin-top:0!important;
}
@media(max-width:900px){
  .tr-public-page .rw-nav .tr-header-start{
    margin-left:auto;
    margin-right:0;
  }
  .tr-public-page .rw-nav .tr-mobile-menu{
    margin-left:0;
  }
}
@media(max-width:620px){
  .tr-workspace-page .tr-workspace-actions{
    gap:8px;
    margin-bottom:15px;
  }
  .tr-workspace-page .tr-workspace-actions>a,
  .tr-workspace-page .tr-workspace-actions .tr-button-link{
    padding:8px 12px;
    min-height:38px;
  }
  .tr-workspace-page .rw-shell .tr-site-footer{
    padding-bottom:max(16px,env(safe-area-inset-bottom))!important;
    padding-right:56px!important; /* avoid the persistent support bubble */
  }
}

/* The Workspace logo and flag must occupy distinct header columns on mobile.
 * Legacy core CSS absolutely positioned both navigation elements and caused
 * the flag to wrap underneath the brand.
 */
@media(max-width:820px){
 .tr-workspace-page .rw-nav{
  display:flex!important;flex-direction:row!important;flex-wrap:nowrap!important;
  justify-content:flex-end!important;align-items:center!important;gap:8px!important;
 }
 .tr-workspace-page .rw-nav .rw-brand{
  position:static!important;left:auto!important;top:auto!important;
  transform:none!important;order:0!important;
  flex:0 1 auto!important;min-width:0!important;max-width:210px!important;
  width:clamp(130px,41vw,205px)!important;height:auto!important;
  margin-right:auto!important;line-height:0!important;
 }
 .tr-workspace-page .rw-nav .rw-brand .rw-logo{
  width:100%!important;max-width:100%!important;height:auto!important;
 }
 .tr-workspace-page .rw-nav .tr-mobile-menu{
  position:static!important;top:auto!important;right:auto!important;
  transform:none!important;display:grid!important;order:3!important;
  flex:0 0 38px!important;width:38px!important;height:38px!important;
  margin:0!important;
 }
 .tr-workspace-page .rw-nav .tr-country-switch{
  position:relative!important;order:4!important;flex:0 0 40px!important;
  width:40px!important;margin:0!important;align-self:center!important;
 }
}

/* Fit the three computer actions together on ordinary phone widths. */
@media(min-width:361px) and (max-width:620px){
 .tr-workspace-page .tr-workspace-actions{
  display:grid!important;
  grid-template-columns:minmax(0,1.6fr) minmax(0,1fr) minmax(0,1fr);
  gap:7px!important;
 }
 .tr-workspace-page .tr-workspace-actions>a,
 .tr-workspace-page .tr-workspace-actions .tr-button-link{
  min-width:0!important;max-width:100%!important;width:100%!important;
  padding:8px 6px!important;font-size:12px!important;
  white-space:nowrap!important;
 }
}

@media(min-width:361px) and (max-width:620px){
 .tr-workspace-page .tr-workspace-actions .rw-primary{
  grid-column:auto!important;
 }
}


/* Landing page and Workspace share the same header content gutters. The
 * workspace's legacy full-bleed header uses absolute logo positioning and
 * inconsistent desktop paddings; normalize it rather than shifting the CTA.
 */
@media(min-width:821px){
 .tr-workspace-page .rw-nav{
  width:100vw!important;max-width:none!important;
  margin-left:calc(50% - 50vw)!important;
  margin-right:calc(50% - 50vw)!important;
  padding-left:max(clamp(18px,3.5vw,38px),calc((100vw - 1180px)/2 + 38px))!important;
  padding-right:max(clamp(18px,3.5vw,38px),calc((100vw - 1180px)/2 + 38px))!important;
  min-height:78px!important;
  gap:clamp(10px,1.8vw,20px)!important;
 }
}
@media(max-width:820px){
 .tr-workspace-page .rw-nav{
  width:100vw!important;max-width:none!important;
  margin-left:calc(50% - 50vw)!important;
  margin-right:calc(50% - 50vw)!important;
  padding-inline:18px!important;
  min-height:75px!important;
  height:75px!important;
 }
 .tr-workspace-page .rw-nav .rw-brand{
  margin-left:0!important;
  align-self:center!important;
 }
}
@media(max-width:520px){
 .tr-workspace-page .rw-nav{
  padding-inline:18px!important;
  min-height:75px!important;
  height:75px!important;
 }
}


/* Every Workspace action has the same outer height, independent of the
 * button variant's default padding/border/font styles.
 */
.tr-workspace-page .tr-workspace-actions{
 align-items:center!important;
}
.tr-workspace-page .tr-workspace-actions>a,
.tr-workspace-page .tr-workspace-actions>a.rw-primary,
.tr-workspace-page .tr-workspace-actions .tr-button-link{
 box-sizing:border-box!important;
 display:inline-flex!important;
 align-items:center!important;
 justify-content:center!important;
 align-self:center!important;
 height:40px!important;
 min-height:40px!important;
 max-height:40px!important;
 padding:0 12px!important;
 margin:0!important;
 line-height:1.25!important;
 vertical-align:middle!important;
}
@media(min-width:361px) and (max-width:620px){
 .tr-workspace-page .tr-workspace-actions>a,
 .tr-workspace-page .tr-workspace-actions>a.rw-primary,
 .tr-workspace-page .tr-workspace-actions .tr-button-link{
  height:40px!important;
  min-height:40px!important;
  max-height:40px!important;
  padding:0 7px!important;
 }
}

/* Align every Workspace header item on the same 40px action baseline.
 * All navigation variants (links/details/menu) share identical geometry.
 */
@media(min-width:821px){
 .tr-workspace-page .rw-nav .tr-nav-links{
  display:flex!important;
  align-items:center!important;
  justify-content:flex-end!important;
  gap:6px!important;
  margin-left:auto!important;
  height:40px!important;
 }
 .tr-workspace-page .rw-nav .tr-nav-links>a,
 .tr-workspace-page .rw-nav .tr-nav-menu>summary{
  box-sizing:border-box!important;
  display:inline-flex!important;
  align-items:center!important;
  justify-content:center!important;
  height:40px!important;
  min-height:40px!important;
  max-height:40px!important;
  padding:0 11px!important;
  margin:0!important;
  line-height:1.25!important;
  vertical-align:middle!important;
 }
 .tr-workspace-page .rw-nav .tr-nav-menu{
  display:flex!important;
  align-items:center!important;
  height:40px!important;
  margin:0!important;
  padding:0!important;
 }
 .tr-workspace-page .rw-nav .tr-country-switch{
  align-self:center!important;
  margin-block:0!important;
 }
}


/* Section headings are sufficient. Don't reserve space for removed,
 * repetitive brand/category eyebrows on public and regional pages.
 */
.tr-public-page .tr-section-heading>h2:first-child,
.tr-public-page .tr-security-copy>h2:first-child,
.tr-public-page .tr-signup-panel>div:first-child>h2:first-child{
 margin-top:0!important;
}
.tr-public-page .tr-hero-copy>h1:first-child,
.tr-market-page .tr-market-page-intro>h1:first-child{
 margin-top:0!important;
}
.tr-public-page .tr-section-heading>h2:first-child{
 margin-bottom:10px!important;
}


/* Security reassurance is explanatory copy, not another oversized badge or card. */
.tr-public-page .tr-security-trust-note,
.tr-market-page .tr-security-trust-note{
 color:#b9cce3;
 max-width:620px;
 font-size:13px;
 line-height:1.55;
 margin:14px 0 0;
}
.tr-public-page .tr-security-trust-note a,
.tr-market-page .tr-security-trust-note a{
 color:#9dc5ff;
 text-decoration:underline;
 text-underline-offset:3px;
 text-decoration-thickness:1px;
}
.tr-public-page .tr-security-trust-note a:hover,
.tr-market-page .tr-security-trust-note a:hover{color:#fff;}

/* Job cards: one real request and one distinct deliverable, without repeated tiles. */
.tr-job-grid article{min-height:0}
.tr-job-grid article h3{margin:0 0 13px}
.tr-job-grid article .tr-job-prompt{color:var(--text);font-weight:550;line-height:1.55}
.tr-job-grid article .tr-job-outcome{margin-top:13px;color:var(--muted);line-height:1.48;font-size:13px}
.tr-job-footnote{margin:14px 0 0;color:var(--muted);font-size:12px;line-height:1.5}
@media(max-width:700px){.tr-job-grid{grid-template-columns:1fr}}


/* Shared public footer contract (landing, legal, and all regional pages).
 * Short content: footer sits at the visual viewport bottom.
 * Long content: footer follows the content, never overlays it.
 * The Workspace uses its separate established footer rules above.
 */
.tr-public-page .rw-shell{
  min-height:100vh;
  min-height:100dvh;
  display:flex;
  flex-direction:column;
}
.tr-public-page .rw-shell > .tr-site-footer{
  margin-top:auto;
  flex-shrink:0;
  position:static;
}


/* Public marketing, legal and regional headers share the Workspace's clean,
 * borderless header. Do not affect the Workspace header itself.
 */
.tr-public-page .rw-nav,
.tr-legal-page .rw-nav,
.tr-market-page .rw-nav{border-bottom:0!important;box-shadow:none!important}

/* Remove ornamental internal lines from card bodies; keep card outlines,
 * functional input borders and structured data tables.
 */
.tr-workspace-page .tr-connect-card .rw-code-head{border-top:0!important;padding-top:0!important;margin-top:0!important}
.tr-workspace-page .tr-device .tr-service-statuses,
.tr-workspace-page .tr-device .tr-device-details,
.tr-workspace-page .tr-device .tr-device-manage{border-top:0!important}

/* Installation options remain aligned and identically tall at every width. */
.tr-workspace-page .tr-connect-card .tr-install-actions{
 display:grid!important;grid-template-columns:repeat(2,minmax(0,1fr));
 align-items:stretch!important;gap:10px!important;margin:16px 0!important;width:100%;
}
.tr-workspace-page .tr-connect-card .tr-install-actions>button{
 box-sizing:border-box;display:flex!important;justify-content:center;align-items:center;
 align-self:stretch;width:100%;min-width:0;min-height:48px!important;height:100%;
 margin:0!important;padding:8px 10px!important;line-height:1.3!important;
 text-align:center;white-space:normal;
}
.tr-workspace-page .tr-connect-card .tr-install-actions>button.rw-ghost{font-size:clamp(11px,1.5vw,14px)!important}
.tr-workspace-page #tr-service-install-list button{
 display:inline-flex;align-items:center;justify-content:center;min-height:44px;
 padding:9px 14px!important;margin-top:12px!important;
 font-size:14px;font-weight:700;border:1px solid var(--line);
 border-radius:9px;background:var(--panel2);color:var(--text);cursor:pointer;
}

/* A followed link must look the same as an unvisited link. Class-specific
 * action, navigation and selected-state colors continue to take precedence.
 */
a:where(:link,:visited){color:var(--blue2)}


/* Single flowing commercial narrative. Keep informational sections visually
 * distinct through spacing and type, not decorative lines or extra cards.
 */
.tr-public-page .tr-flow-steps{margin-top:18px}
.tr-public-page .tr-flow-steps article{min-height:0}
.tr-public-page .tr-flow-steps h3{margin:9px 0}
.tr-public-page .tr-flow-steps p{margin:7px 0 0;line-height:1.55;color:var(--muted)}
.tr-public-page .tr-security-overview{padding-block:clamp(24px,4vw,42px)}
.tr-public-page .tr-security-overview-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:clamp(18px,4vw,44px);margin-top:18px}
.tr-public-page .tr-security-overview-grid>div{min-width:0}
.tr-public-page .tr-security-overview-grid h3{margin:0 0 9px;font-size:17px}
.tr-public-page .tr-security-overview-grid p{margin:0;color:var(--muted);line-height:1.6}
.tr-public-page .tr-security-overview .tr-security-trust-note{margin:18px 0 0}
.tr-public-page .tr-section[id]{scroll-margin-top:26px}
@media(max-width:700px){
 .tr-public-page .tr-security-overview-grid{grid-template-columns:1fr;gap:19px}
}


/* Shared fixed-on-scroll navigation for both public and private surfaces.
 * Sticky participates in document layout (no content jump), including mobile.
 * Deliberately no dividing rule, outline, or ornamental drop shadow.
 */
:is(.tr-public-page,.tr-legal-page,.tr-workspace-page) .rw-shell > .rw-nav {
  position:sticky!important;
  top:0;
  z-index:600;
  flex-shrink:0;
  isolation:isolate;
  border:0!important;
  border-bottom:0!important;
  box-shadow:none!important;
  background:rgba(7,22,44,.96);
  -webkit-backdrop-filter:blur(14px);
  backdrop-filter:blur(14px);
}
.tr-workspace-page .rw-shell > .rw-nav {
  background:rgba(11,15,24,.96);
}

/* Public sticky headers extend their background to the viewport edges while
 * their actions retain the same content gutters as the landing-page body.
 * Workspace already has its own equivalent full-bleed geometry.
 */
:is(.tr-public-page,.tr-legal-page) .rw-shell > .rw-nav {
  box-sizing:border-box;
  width:100vw!important;
  max-width:none!important;
  margin-left:calc(50% - 50vw)!important;
  margin-right:calc(50% - 50vw)!important;
  padding-left:max(clamp(18px,3.5vw,38px),calc((100vw - 1180px)/2 + 38px))!important;
  padding-right:max(clamp(18px,3.5vw,38px),calc((100vw - 1180px)/2 + 38px))!important;
}
@media(max-width:360px){
  :is(.tr-public-page,.tr-legal-page) .rw-shell > .rw-nav{
    padding-inline:12px!important;
  }
}

/* Keep all header actions visible on narrow 320px screens. */
@media(max-width:360px){
  :is(.tr-public-page,.tr-legal-page) .rw-shell > .rw-nav{
    gap:4px!important;
    padding-inline:8px!important;
  }
  :is(.tr-public-page,.tr-legal-page) .rw-shell > .rw-nav .rw-logo{
    width:116px!important;
  }
  :is(.tr-public-page,.tr-legal-page) .rw-shell > .rw-nav .tr-header-start{
    padding:6px!important;
    font-size:10px!important;
  }
}


/* Final landing sections match the existing task and workflow card system.
 * One quiet outline per content block; no decorative internal separators.
 * Applies to the root landing page and every localized regional homepage.
 */
.tr-public-page .tr-security-overview-grid{
  gap:12px;
}
.tr-public-page .tr-security-overview-grid > div{
  min-width:0;
  padding:20px;
  border:1px solid var(--ui-stroke);
  border-radius:12px;
  background:var(--ui-surface);
}
.tr-public-page .tr-security-overview-grid > div h3{
  margin:0 0 9px;
}
.tr-public-page .tr-pricing{
  padding:24px!important;
  margin:22px 0 16px;
  border:1px solid var(--ui-stroke);
  border-radius:var(--ui-radius);
  background:var(--ui-surface);
}
.tr-public-page .tr-pricing .tr-section-heading{
  margin-bottom:0;
}
.tr-public-page .tr-pricing .tr-section-heading > :last-child{
  margin-bottom:0;
}
.tr-public-page .tr-pricing .tr-region-pricing-action{
  margin-top:18px;
}
@media(max-width:700px){
  .tr-public-page .tr-security-overview-grid{gap:11px}
  .tr-public-page .tr-security-overview-grid > div{padding:16px}
  .tr-public-page .tr-pricing{padding:18px!important;margin:18px 0 12px}
}
