/* M16 presentation only. Layout fixes fit content; they do not mask overflow. */
html[data-tedy-mobile-clean] .tedy-m16-help{margin:10px 0;color:inherit;font-size:.9rem;line-height:1.6;overflow-wrap:anywhere}
html[data-tedy-mobile-clean] .tedy-m16-help>summary{cursor:pointer;padding:9px 0;min-height:40px;box-sizing:border-box;color:#c9dcce}
html[data-tedy-mobile-clean] .tedy-m16-help[open]{padding-bottom:12px;border-bottom:1px solid #315841}
html[data-tedy-mobile-clean] .tedy-m16-help p{margin:8px 0}
html[data-tedy-mobile-clean] [data-tedy-m16-support] small{display:block;margin-top:8px;color:#a8bfb0}
html[data-tedy-mobile-clean] #r414ReleaseBadge,
html[data-tedy-mobile-clean] .tedy-r526-ui-badge{display:none!important}
html[data-tedy-mobile-clean] .tedy-m16-value{display:contents}
html[data-tedy-mobile-clean] .tedy-m16-value,
html[data-tedy-mobile-clean] .tedy-m16-value>*{min-width:0!important;max-width:100%!important;white-space:normal!important;overflow-wrap:anywhere!important;word-break:normal!important;box-sizing:border-box!important}
html[data-tedy-mobile-clean] #app #sidebar .nav-btn .label{min-width:0;white-space:normal;overflow-wrap:anywhere;line-height:1.5}
html[data-tedy-mobile-clean] #app #sidebar .brand>div{min-width:0;overflow-wrap:anywhere}
html[data-tedy-mobile-clean] #app #topTitle{white-space:normal!important;overflow:visible!important;text-overflow:clip!important;overflow-wrap:anywhere!important;line-height:1.45!important}
html[data-tedy-mobile-clean] #modalRoot .field input:not([type=checkbox]):not([type=radio]),
html[data-tedy-mobile-clean] #modalRoot .field select,
html[data-tedy-mobile-clean] #modalRoot .field textarea{width:100%!important;min-width:0!important;max-width:100%!important;box-sizing:border-box!important}
@media screen and (min-width:601px){
  html[data-tedy-mobile-clean] :is(#app #main,#modalRoot) :is(.table-wrap,.tf-r526-tablewrap,.r414-table-wide){min-width:0!important;max-width:100%!important;overflow:visible!important}
  html[data-tedy-mobile-clean] :is(#app #main,#modalRoot) :is(.table-wrap,.tf-r526-tablewrap,.r414-table-wide) table{min-width:0!important;width:100%!important;max-width:100%!important;table-layout:fixed!important}
  html[data-tedy-mobile-clean] :is(#app #main,#modalRoot) :is(.table-wrap,.tf-r526-tablewrap,.r414-table-wide) th,
  html[data-tedy-mobile-clean] :is(#app #main,#modalRoot) :is(.table-wrap,.tf-r526-tablewrap,.r414-table-wide) td{min-width:0!important;white-space:normal!important;overflow-wrap:anywhere!important;word-break:normal!important;line-height:1.5!important}
  html[data-tedy-mobile-clean] :is(#app #main,#modalRoot) :is(.table-wrap,.tf-r526-tablewrap,.r414-table-wide) td>*{min-width:0!important;max-width:100%!important;box-sizing:border-box!important;white-space:normal!important;overflow-wrap:anywhere!important}
}
html[data-tedy-mobile-clean] .tedy-m16-pages{border-top:1px solid #315841;padding:14px 0 4px;margin-top:14px;gap:12px;min-width:0}
html[data-tedy-mobile-clean] .tedy-m16-page-actions{display:flex;flex-wrap:wrap;gap:10px;align-items:center}
html[data-tedy-mobile-clean] .tedy-m16-page-actions .btn{min-height:44px;min-width:90px;white-space:normal}
html[data-tedy-mobile-clean] .tedy-m16-list{min-width:0;max-width:100%;scroll-margin-top:20px}
html[data-tedy-mobile-clean] .tedy-m16-list:focus-visible{outline:2px solid #6be8a7;outline-offset:5px}
html[data-tedy-mobile-clean] .tedy-m16-branch-choice{position:relative;min-width:0;max-width:100%;border:1px solid #315841;border-radius:12px;background:#061b10}
html[data-tedy-mobile-clean] .tedy-m16-branch-label{box-sizing:border-box;min-width:0;padding:12px 34px 12px 12px;white-space:normal;overflow-wrap:anywhere;line-height:1.5}
html[data-tedy-mobile-clean] .tedy-m16-branch-choice::after{content:'⌄';position:absolute;right:12px;top:14px;pointer-events:none;color:#bdd2c4}
html[data-tedy-mobile-clean] .tedy-m16-branch-choice>#globalBranch{position:absolute!important;inset:0!important;width:100%!important;height:100%!important;min-width:0!important;max-width:100%!important;opacity:0!important;cursor:pointer;box-sizing:border-box!important}
html[data-tedy-mobile-clean] .tedy-m16-branch-choice:focus-within{outline:2px solid #6be8a7;outline-offset:2px}
html[data-tedy-mobile-clean] .tedy-m16-branch-choice.disabled{opacity:.65}
@media screen and (max-width:600px){
  html[data-tedy-mobile-clean] #app,
  html[data-tedy-mobile-clean] #app .app-shell,
  html[data-tedy-mobile-clean] #app .main-wrap,
  html[data-tedy-mobile-clean] #app #main{min-width:0!important;max-width:100%!important;box-sizing:border-box!important}
  html[data-tedy-mobile-clean] #app #main{padding:12px!important}
  html[data-tedy-mobile-clean] #app #main>.grid{grid-template-columns:minmax(0,1fr)!important;gap:14px!important}
  html[data-tedy-mobile-clean] #app #main .card{min-width:0!important;max-width:100%!important;box-sizing:border-box!important;padding:14px!important}
  html[data-tedy-mobile-clean] #app #main .page-head{display:flex!important;flex-direction:column!important;align-items:stretch!important;min-width:0!important;width:100%!important;max-width:100%!important;gap:10px!important;box-sizing:border-box!important}
  html[data-tedy-mobile-clean] #app #main .page-head>div{width:100%!important;max-width:100%!important;min-width:0!important;flex:none!important;box-sizing:border-box!important}
  html[data-tedy-mobile-clean] #app #main .page-head h1,
  html[data-tedy-mobile-clean] #app #main .page-head p,
  html[data-tedy-mobile-clean] #app #topTitle{white-space:normal!important;overflow:visible!important;text-overflow:clip!important;overflow-wrap:anywhere!important;word-break:normal!important;max-width:100%!important;min-width:0!important;line-height:1.5!important}
  html[data-tedy-mobile-clean] #app #main .page-head h1{font-size:1.35rem!important;margin:0!important}
  html[data-tedy-mobile-clean] #app #main[data-tedy-m16-page='stock'] .page-head p,
  html[data-tedy-mobile-clean] #app #main[data-tedy-m16-page='materials'] .page-head p{display:none!important}
  html[data-tedy-mobile-clean] #app #main .page-head .actions{display:flex!important;flex-direction:column!important;align-items:stretch!important;justify-content:flex-start!important;width:100%!important;max-width:100%!important;min-width:0!important;gap:8px!important;margin:0!important}
  html[data-tedy-mobile-clean] #app #main .page-head .actions>.btn{width:100%!important;max-width:100%!important;min-width:0!important;min-height:44px!important;flex:none!important;white-space:normal!important;word-break:normal!important;overflow-wrap:break-word!important;writing-mode:horizontal-tb!important;padding:10px 12px!important}
  html[data-tedy-mobile-clean] #app #main .toolbar{display:flex!important;flex-wrap:wrap!important;align-items:center!important;gap:8px!important;min-width:0!important}
  html[data-tedy-mobile-clean] #app #main .toolbar>[data-search]{width:100%!important;flex:1 1 100%!important;min-width:0!important;box-sizing:border-box!important}
  html[data-tedy-mobile-clean] #app #main .toolbar>.btn{flex:1 1 120px!important;min-width:0!important;max-width:100%!important;min-height:44px!important;white-space:normal!important;word-break:normal!important}
  html[data-tedy-mobile-clean] :is(#app #main,#modalRoot) :is(.table-wrap,.tf-r526-tablewrap,.r414-table-wide),
  html[data-tedy-mobile-clean] :is(#app #main,#modalRoot) :is(.table-wrap,.tf-r526-tablewrap,.r414-table-wide) table,
  html[data-tedy-mobile-clean] :is(#app #main,#modalRoot) :is(.table-wrap,.tf-r526-tablewrap,.r414-table-wide) tbody,
  html[data-tedy-mobile-clean] :is(#app #main,#modalRoot) :is(.table-wrap,.tf-r526-tablewrap,.r414-table-wide) tbody tr{width:100%!important;max-width:100%!important;min-width:0!important;box-sizing:border-box!important;overflow:visible!important}
  html[data-tedy-mobile-clean] :is(#app #main,#modalRoot) :is(.table-wrap,.tf-r526-tablewrap,.r414-table-wide) table{display:block!important;table-layout:auto!important}
  html[data-tedy-mobile-clean] :is(#app #main,#modalRoot) :is(.table-wrap,.tf-r526-tablewrap,.r414-table-wide) thead{display:none!important}
  html[data-tedy-mobile-clean] :is(#app #main,#modalRoot) :is(.table-wrap,.tf-r526-tablewrap,.r414-table-wide) tbody{display:grid!important;grid-template-columns:minmax(0,1fr)!important;gap:12px!important}
  html[data-tedy-mobile-clean] :is(#app #main,#modalRoot) :is(.table-wrap,.tf-r526-tablewrap,.r414-table-wide) tbody tr{display:block!important;padding:12px!important;border:1px solid #315841!important;border-radius:12px!important;background:#09281a!important}
  html[data-tedy-mobile-clean] :is(#app #main,#modalRoot) :is(.table-wrap,.tf-r526-tablewrap,.r414-table-wide) tbody td,
  html[data-tedy-mobile-clean] :is(#app #main,#modalRoot) :is(.table-wrap,.tf-r526-tablewrap,.r414-table-wide) tbody td:has(button),
  html[data-tedy-mobile-clean] :is(#app #main,#modalRoot) :is(.table-wrap,.tf-r526-tablewrap,.r414-table-wide) tbody td:has(.btn){display:grid!important;grid-template-columns:minmax(0,.6fr) minmax(0,1fr)!important;gap:10px!important;align-items:start!important;width:100%!important;max-width:100%!important;min-width:0!important;padding:8px 0!important;margin:0!important;border:0!important;box-sizing:border-box!important;text-align:left!important;overflow:visible!important;white-space:normal!important;word-break:normal!important;overflow-wrap:anywhere!important}
  html[data-tedy-mobile-clean] :is(#app #main,#modalRoot) :is(.table-wrap,.tf-r526-tablewrap,.r414-table-wide) tbody td::before,
  html[data-tedy-mobile-clean] :is(#app #main,#modalRoot) :is(.table-wrap,.tf-r526-tablewrap,.r414-table-wide) tbody td:has(button)::before,
  html[data-tedy-mobile-clean] :is(#app #main,#modalRoot) :is(.table-wrap,.tf-r526-tablewrap,.r414-table-wide) tbody td:has(.btn)::before{content:attr(data-r466-label)!important;display:block!important;position:static!important;inset:auto!important;transform:none!important;float:none!important;width:auto!important;min-width:0!important;max-width:100%!important;flex:none!important;text-align:left!important;white-space:normal!important;word-break:normal!important;overflow-wrap:anywhere!important;line-height:1.5!important;font-size:.78rem!important;color:#b4ccbd!important}
  html[data-tedy-mobile-clean] :is(#app #main,#modalRoot) :is(.table-wrap,.tf-r526-tablewrap,.r414-table-wide) tbody td>.tedy-m16-value,
  html[data-tedy-mobile-clean] :is(#app #main,#modalRoot) :is(.table-wrap,.tf-r526-tablewrap,.r414-table-wide) tbody td>.tedy-m16-value>*{min-width:0!important;max-width:100%!important;box-sizing:border-box!important;white-space:normal!important;overflow:visible!important;text-overflow:clip!important;overflow-wrap:anywhere!important;word-break:normal!important}
  html[data-tedy-mobile-clean] :is(#app #main,#modalRoot) :is(.table-wrap,.tf-r526-tablewrap,.r414-table-wide) tbody td>.tedy-m16-value{display:block!important;width:100%!important;text-align:left!important;line-height:1.55!important;font-size:.9rem!important}
  html[data-tedy-mobile-clean] :is(#app #main,#modalRoot) :is(.table-wrap,.tf-r526-tablewrap,.r414-table-wide) tbody td[data-tedy-m16-action]>.tedy-m16-value{display:flex!important;flex-wrap:wrap!important;gap:8px!important;align-items:center!important}
  html[data-tedy-mobile-clean] :is(#app #main,#modalRoot) :is(.table-wrap,.tf-r526-tablewrap,.r414-table-wide) tbody td .btn{min-height:40px!important;max-width:100%!important;min-width:0!important;padding:8px 12px!important;white-space:normal!important}
  html[data-tedy-mobile-clean] :is(#app #main,#modalRoot) :is(.table-wrap,.tf-r526-tablewrap,.r414-table-wide) tbody td[colspan]{display:block!important}
  html[data-tedy-mobile-clean] :is(#app #main,#modalRoot) :is(.table-wrap,.tf-r526-tablewrap,.r414-table-wide) tbody td[colspan]::before{display:none!important}
  html[data-tedy-mobile-clean] #app #main pre{white-space:pre-wrap!important;overflow-wrap:anywhere!important;max-width:100%!important}
  html[data-tedy-mobile-clean] #app #main .notice,
  html[data-tedy-mobile-clean] #app #main .tedy-m16-help{white-space:normal!important;max-width:100%!important;min-width:0!important;overflow:visible!important;box-sizing:border-box!important;line-height:1.6!important}
  html[data-tedy-mobile-clean] #app #main .tedy-m16-pages{display:flex!important;flex-direction:column!important;align-items:stretch!important;max-width:100%!important}
  html[data-tedy-mobile-clean] #app #main .tedy-m16-pages [data-tedy-m14-range]{text-align:center!important;overflow-wrap:anywhere!important}
  html[data-tedy-mobile-clean] #app #main .tedy-m16-page-actions{display:grid!important;grid-template-columns:minmax(0,1fr) minmax(0,1fr)!important;gap:10px!important}
  html[data-tedy-mobile-clean] #app #main .tedy-m16-page-actions .btn{width:100%!important;min-width:0!important;box-sizing:border-box!important}
  html[data-tedy-mobile-clean] #modalRoot .modal,
  html[data-tedy-mobile-clean] #modalRoot .field{min-width:0!important;max-width:100%!important;box-sizing:border-box!important}
  html[data-tedy-mobile-clean] #modalRoot .modal-head h3{min-width:0!important;white-space:normal!important;overflow-wrap:anywhere!important;line-height:1.5!important}
  html[data-tedy-mobile-clean] #modalRoot input[type=search]{width:100%!important;min-width:0!important;max-width:100%!important;box-sizing:border-box!important;font-size:16px!important}
  html[data-tedy-mobile-clean] #modalRoot .form-grid{grid-template-columns:minmax(0,1fr)!important}
  html[data-tedy-mobile-clean] #modalRoot .field label{white-space:normal!important;overflow-wrap:anywhere!important;line-height:1.5!important}
}
@media print{
  .tedy-m16-pages,[data-tedy-m16-support]{display:none!important}
  .tedy-m16-branch-label,.tedy-m16-branch-choice::after{display:none!important}
  .tedy-m16-branch-choice>#globalBranch{position:static!important;opacity:1!important;height:auto!important}
}

/* M16.1: observed phone dashboard and legacy BOM table fit. */
#splash{box-sizing:border-box!important;max-width:100%!important;padding:24px!important}
#splash h1,#splash p{box-sizing:border-box!important;max-width:100%!important;min-width:0!important;white-space:normal!important;overflow-wrap:break-word!important;text-align:center!important}
@media screen and (max-width:600px){
  #splash h1{font-size:1.35rem!important;line-height:1.6!important}
  #splash p{font-size:1rem!important;line-height:1.6!important}
  html[data-tedy-mobile-clean] #main .ctrl-hero-actions{display:grid!important;grid-template-columns:minmax(0,1fr)!important;gap:10px!important;width:100%!important;min-width:0!important}
  html[data-tedy-mobile-clean] #main .ctrl-hero-actions>.btn{box-sizing:border-box!important;width:100%!important;min-width:0!important;max-width:100%!important;min-height:46px!important;height:auto!important;padding:12px!important;font-size:1rem!important;line-height:1.5!important;white-space:normal!important;word-break:normal!important;overflow-wrap:break-word!important}
  html[data-tedy-mobile-clean] #main .ctrl-hero :is(h1,h2){font-size:1.6rem!important;line-height:1.5!important;overflow-wrap:break-word!important}
  html[data-tedy-mobile-clean] #modalRoot .r414-sticky{display:grid!important;grid-template-columns:minmax(0,1fr)!important;gap:8px!important;box-sizing:border-box!important;min-width:0!important;max-width:100%!important;padding:10px!important;background:#09281a!important}
  html[data-tedy-mobile-clean] #modalRoot .r414-sticky>.btn{box-sizing:border-box!important;width:100%!important;min-width:0!important;max-width:100%!important;min-height:44px!important;white-space:normal!important;line-height:1.5!important}
}
