/* Shared mobile finishing. Desktop composition and content stay intact. */
html .mx-bar{display:none}
.tc-story-details>summary{display:none}
.tc-additional{border-top:1px solid var(--tc-line);border-bottom:1px solid var(--tc-line);margin-top:22px}
.tc-additional>summary{list-style:none;cursor:pointer;padding:16px 0;min-height:48px;font-size:14px;color:var(--tc-ink)}
.tc-additional>summary::-webkit-details-marker{display:none}
.tc-additional>summary:after{content:'+';float:right;font-size:20px;line-height:1}
.tc-additional[open]>summary:after{content:'−'}
.tc-additional>summary>span{display:block;font-size:12px;color:var(--tc-muted);margin-top:5px}
.tc-additional>.tc-fields{padding:5px 0 22px}
@media(min-width:851px){.tc-story-details>summary{display:none}}
@media(max-width:1099px){
  html{scroll-padding-top:64px}
  html header[data-mobile-shell]{height:64px!important;min-height:64px!important;padding:0!important;display:block!important;border-bottom:1px solid #ffffff22;background:#111!important;color:#f7f7f7;z-index:100;overflow:visible}
  html header[data-mobile-shell]>:not(.mx-bar){display:none!important}
  html header[data-mobile-shell] .mx-bar{height:64px;display:grid;grid-template-columns:minmax(0,1fr) auto 44px;gap:10px;align-items:center;padding:0 20px;max-width:1100px;margin:auto;box-sizing:border-box}
  html header .mx-brand{display:flex;align-items:center;min-height:44px;width:max-content;max-width:100%}
  html header .mx-brand img{display:block;width:138px;max-width:100%;height:auto;filter:none}
  html header .mx-cta{display:flex;align-items:center;justify-content:center;min-height:44px;box-sizing:border-box;padding:0 16px;border:1px solid #fff;border-radius:999px;background:#fafafa;color:#111!important;font-size:14px!important;font-weight:500;white-space:nowrap;text-decoration:none}
  html header .mx-navigation{position:static;margin:0;padding:0;width:44px;min-width:0}
  html header .mx-navigation>summary{list-style:none;display:grid;place-items:center;width:44px;height:44px;padding:0;border:1px solid #ffffff30;border-radius:50%;cursor:pointer;color:#fff;background:#ffffff05}
  html header .mx-navigation>summary::-webkit-details-marker{display:none}
  html header .mx-navigation>summary svg{width:22px;height:22px}
  html header .mx-close-icon,html header .mx-navigation[open] .mx-menu-icon{display:none}
  html header .mx-navigation[open] .mx-close-icon{display:block}
  html header .mx-navigation:not([open])>.mx-panel{display:none!important}
  html header .mx-panel{position:fixed;inset:64px 0 0;display:block!important;box-sizing:border-box;width:100%;height:calc(100dvh - 64px);margin:0!important;padding:0!important;overflow-y:auto;overscroll-behavior:contain;background:#111;color:#f5f5f5;text-align:left;font-weight:400;z-index:101;scrollbar-width:thin}
  html header .mx-menu-inner{max-width:680px;margin:auto;padding:14px 24px calc(24px + env(safe-area-inset-bottom))}
  html header .mx-panel a{display:flex;justify-content:space-between;align-items:center;gap:16px;min-height:48px;margin:0;padding:6px 0;color:inherit!important;text-decoration:none;box-sizing:border-box;line-height:1.5;border-radius:0;font-size:17px;font-weight:400}
  html header .mx-primary-links a{border-bottom:1px solid #ffffff20;font-size:22px;min-height:55px;letter-spacing:-.025em}
  html header .mx-primary-links a>span{font-size:17px;color:#aaa}
  html header .mx-panel a[aria-current="page"]{color:#fff!important;font-weight:500;background:#ffffff08;border-radius:8px;padding-inline:12px;margin-inline:-12px}
  html header .mx-resource-links{display:grid;grid-template-columns:1fr 1fr;gap:0 24px;margin-top:24px}
  html header .mx-resource-links p{grid-column:1/-1;font-size:11px;letter-spacing:.12em;color:#bfc4cb;margin:0 0 6px;line-height:1.7}
  html header .mx-resource-links a{font-size:15px;min-height:44px}
  html header .mx-account-links{display:grid;grid-template-columns:1fr 1fr;gap:24px;border-top:1px solid #ffffff25;margin-top:20px;padding-top:8px}
  html header .mx-account-links a{font-size:15px}
  html header .mx-bar :is(a,summary):focus-visible{outline:2px solid #fff;outline-offset:3px}
  html body main [id]{scroll-margin-top:20px!important}
  html body main :is(button,summary,[role="tab"]){min-height:44px!important;touch-action:manipulation}
  html body main button[aria-label]{min-width:44px}
  html .signature-footer .sf-col a{display:flex;align-items:center;min-height:44px;box-sizing:border-box}
  html .signature-footer .sf-social{width:44px;height:44px}
}
@media(min-width:801px) and (max-width:1099px){
  html .pricing-plan-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:20px}
  html .pricing-plan:last-child{grid-column:1/-1}
  html .pricing-plan:last-child ul{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:0 24px}
  html .pricing-plan li{font-size:14px}
  html .pricing-plan .pricing-plan-description{min-height:50px;font-size:15px}
  html .pricing-plans .pricing-eyebrow{font-size:11px}
}
@media(max-width:850px){
  html .tc-main{padding-top:92px}
  .tc-layout{gap:24px}
  html .tc-story{position:static;top:auto;padding:0;border:0;border-radius:0;background:none;overflow:visible}
  .tc-story:before,.tc-story>.tc-brand{display:none}
  html .tc-story h1{font-size:clamp(32px,6vw,40px);line-height:1.12;margin:12px 0 20px}
  .tc-story>.tc-eyebrow{margin:0;font-size:11px}
  .tc-story-details>summary{display:flex;align-items:center;justify-content:space-between;min-height:44px;border-block:1px solid var(--tc-line);padding:8px 0;list-style:none;font-size:14px;cursor:pointer;color:var(--tc-muted)}
  .tc-story-details>summary::-webkit-details-marker{display:none}
  .tc-story-details>summary:after{content:'+';font-size:20px}
  .tc-story-details[open]>summary:after{content:'−'}
  .tc-story-details-body{padding-top:20px}
  .tc-story-details-body .tc-mission{border:0;padding:0}
  html .tc-form-panel{padding:26px 24px;border-radius:16px}
  .tc-story-details-body .tc-agent-line{font-size:12px}
}
@media(max-width:650px){
  html{-webkit-text-size-adjust:100%;text-size-adjust:100%}
  html main :is(button,summary,[role="tab"]){min-height:44px;touch-action:manipulation}
  html main :is(input,select,textarea){font-size:16px;scroll-margin-top:92px}
  html main .grid>*{min-width:0}
  html main a[href^="http"]{overflow-wrap:anywhere}
  html .support-comparison .hero{grid-template-columns:minmax(0,1fr)}
  html .support-comparison .hero>*{min-width:0;max-width:100%;box-sizing:border-box}
  html .support-comparison .hero-actions{flex-wrap:wrap}
  html main>section>.relative:has(>.tessolva-platform-host){padding-top:104px;padding-bottom:48px}
  html .tessolva-platform-intro{margin-top:0}
  html .tessolva-platform-description{font-size:16px;line-height:1.7}
  html .tessolva-platform-availability p{font-size:12px;line-height:1.7}
  html .tessolva-platform-roadmap{font-size:13px;line-height:1.7}
  html main :is(.site-btn-dark,.site-btn-light,.ts-button),html #community-support .cta{min-height:48px;box-sizing:border-box;display:inline-flex;align-items:center;justify-content:center;font-size:14px}
  html .ts-wrap{padding-inline:20px}
  html .ts-eyebrow,html .ua-eyebrow,html .pc-task-meta,html #control .ct-eyebrow,html #platforms .pm-overline{font-size:11px;line-height:1.7;letter-spacing:.08em}
  html .ts-product .hp-copy h1{font-size:clamp(34px,9vw,40px);letter-spacing:-.04em;line-height:1.12}
  html .ts-product main>section.hp-hero.ts-wrap{padding:36px 20px 44px;gap:30px}
  html .hp-copy>p,html .ts-lead{font-size:16px;line-height:1.7}
  html .hp-actions{align-items:stretch;gap:12px}
  html .hp-actions a{min-height:48px;justify-content:center;box-sizing:border-box}
  html .hp-checks,html .hp-roadmap,html .hp-caption{font-size:12px;line-height:1.7}
  html .ts-product .hp-visual{padding:22px 16px}
  html .hp-agent-row{flex-wrap:wrap;gap:10px;font-size:13px}
  html .ts-product .pc-task h3{font-size:24px;line-height:1.25}
  html .pc-task p,html .ua-steps p{font-size:15px;line-height:1.7}
  html .pc-task{padding:25px 0;grid-template-columns:23px minmax(0,1fr);gap:12px}
  html .pc-visual{width:160px;height:84px;justify-self:end}
  html .pc-task .pc-task-number{font-size:12px}
  html .pc-footer{font-size:13px;line-height:1.7}
  html .ua-layout{gap:24px}
  html .ua-model-stage{height:220px}
  html .ua-agent figcaption>span{font-size:13px}
  html .ua-foot{font-size:12px;line-height:1.7}
  html .ta-unified .ua-intro h2{font-size:clamp(31px,8.7vw,37px);line-height:1.13}
  html .rd-chip-row button{min-height:44px;font-size:13px;padding-inline:10px}
  html .rd-control-buttons button{min-width:44px;min-height:44px}
  html .rd-controls{flex-wrap:wrap;gap:12px}
  html .rd-step{min-height:68px}
  html .rd-step strong{font-size:12px}
  html .rd-benefits p{font-size:14px;line-height:1.7}
  html .rd-label,html .rd-demo-note{font-size:12px;line-height:1.6}
  html #knowledge .learning-tabs{padding:16px 0;gap:2px}
  html #knowledge .learning-tab{padding:0 2px;gap:9px}
  html #knowledge .learning-tab-label{font-size:12px;letter-spacing:0;line-height:1.5}
  html #knowledge .learning-tab-number{width:35px;height:35px;font-size:13px}
  html .learning-kicker,html .learning-mini-label{font-size:11px;line-height:1.7;letter-spacing:.06em}
  html #knowledge .learning-artifact-tag{font-size:11px;white-space:normal;max-width:100px;text-align:right}
  html #knowledge .learning-artifact-head{padding:18px 16px}
  html #knowledge .learning-artifact-id{font-size:16px}
  html .learning-controlbar{flex-wrap:wrap;gap:10px}
  html #control .ct-tabs{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:10px;align-items:stretch}
  html #control .ct-tabs button{min-width:0;gap:8px}
  html #control .ct-tabs button>span{font-size:11px;letter-spacing:.02em;min-height:36px;line-height:1.5}
  html #control .ct-tabs strong{font-size:clamp(20px,6.5vw,27px)}
  html #control .ct-note,html #control .ct-records strong{font-size:12px;line-height:1.7}
  html #control .ct-wrap{width:calc(100% - 40px)}
  html #platforms .pm-core-meta{font-size:12px;line-height:1.8}
  html #platforms .pm-rollout summary{font-size:13px}
  html .ts-caption,html .suite-note,html .suite-agentic-card .agentic-caption{font-size:12px!important;line-height:1.7}
  html .suite-roster small{font-size:12px;line-height:1.6}
  html .ts-suite .suite-hero h1{font-size:clamp(35px,10vw,42px);letter-spacing:-.04em}
  html .suite-roster a{min-height:88px;align-items:start}
  html .suite-summary,html .suite-capabilities li{font-size:15px;line-height:1.75}
  html .suite-agentic-card summary,html .suite-more-examples>summary{font-size:14px;min-height:48px}
  html .agentic-journey nav{display:flex;gap:8px;overflow-x:auto;overscroll-behavior-x:contain;scrollbar-width:none;padding-bottom:8px}
  html .agentic-journey nav::-webkit-scrollbar{display:none}
  html .agentic-journey nav button{flex:0 0 76px;font-size:12px;min-height:62px;white-space:nowrap;overflow-wrap:normal}
  html .agentic-step-view p{font-size:14px;line-height:1.75}
  html .agentic-step-view p.agentic-evidence,html .agentic-step-view small{font-size:12px;line-height:1.7}
  html .agentic-next{font-size:13px!important;min-height:44px}
  html .pricing-plan li{font-size:15px;line-height:1.55;padding-block:13px}
  html .pricing-plan .pricing-plan-description{font-size:15px;line-height:1.7}
  html .pricing-plan .pricing-plan-note,html .pricing-plans .pricing-plan-scope{font-size:12px;line-height:1.7}
  html .pricing-plan{padding:26px 22px 24px}
  html .pricing-plan .pricing-primary{font-size:15px;min-height:52px}
  html .tc-fields{grid-template-columns:repeat(2,minmax(0,1fr));gap:18px 12px}
  html .tc-mobile-full{grid-column:1/-1}
  html .tc-additional .tc-field{grid-column:1/-1}
  html .tc-form-panel{padding:24px 18px}
  html .tc-form-heading h2{font-size:26px}
  html .tc-form-heading>p:last-child{font-size:15px;line-height:1.7}
  html .tc-field label{font-size:14px}
  html .tc-required-note,html .tc-privacy,html .tc-send-to,html .tc-field-error{font-size:12px;line-height:1.7}
  html .tc-submit-row{align-items:stretch;flex-direction:column}
  html .tc-submit-row .tc-submit{min-height:50px;width:100%;font-size:16px}
  html .tc-send-to{text-align:center}
  html .signature-footer .sf-col a{display:flex;align-items:center;min-height:44px;padding-block:6px;box-sizing:border-box}
  html .signature-footer .sf-col ul{gap:0}
  html .signature-footer .sf-social{width:44px;height:44px}
  html .signature-footer .sf-legal a{display:inline-flex;align-items:center;min-height:44px}
}
@media(max-width:359px){
  html header[data-mobile-shell] .mx-bar{padding-inline:16px;gap:8px}
  html header .mx-brand img{width:112px}
  html header .mx-cta{padding-inline:12px;font-size:13px!important}
  html .tc-main{padding-inline:16px}
  html #control .ct-tabs button>span{min-height:50px}
  html .tessolva-platform-host>.site-rise:has(>.site-btn-dark){display:grid;grid-template-columns:1fr;width:100%;gap:10px;margin-top:26px}
}
@media(prefers-reduced-motion:reduce){html:focus-within{scroll-behavior:auto}}
