/* Connected-only polish: retain the studio's typefaces, surfaces and palette. */
body[data-access=connected] .connected-studio{min-width:0;max-width:100%}
body[data-access=connected] .connected-studio .mb-document-footer{display:flex;flex-direction:column;align-items:stretch;gap:18px;min-width:0}
body[data-access=connected] .connected-studio .mb-document-footer>.fine{color:inherit}
body[data-access=connected] .decision-history{width:100%;min-width:0;color:inherit}
body[data-access=connected] .decision-history h3{font-size:15px;margin:0 0 10px;color:inherit}
body[data-access=connected] .decision-history ol{list-style:none;padding:0;margin:0}
body[data-access=connected] .decision-history-row{display:grid;grid-template-columns:minmax(0,.8fr) minmax(0,1.2fr) minmax(0,.65fr) minmax(0,1.1fr);align-items:center;gap:10px 16px;min-height:52px;padding:12px 0;border-bottom:1px solid color-mix(in srgb,currentColor 18%,transparent);font-size:13px;line-height:1.6;color:inherit}
body[data-access=connected] .decision-history-row>*{min-width:0;overflow-wrap:anywhere;color:inherit;opacity:1}
body[data-access=connected] .decision-history-row time{font-size:12px;font-variant-numeric:tabular-nums}
body[data-access=connected] .connected-studio .mb-document-top{flex-wrap:wrap}
body[data-access=connected] .connected-studio .mb-document-top .admin-actions{flex-wrap:wrap}
@media(max-width:720px){
  body[data-access=connected] .sidebar{width:min(280px,calc(100vw - 40px));max-height:100svh;overflow-y:auto;overscroll-behavior:contain;padding-bottom:max(12px,env(safe-area-inset-bottom))}
  body[data-access=connected] .workspace,body[data-access=connected].nav-collapsed .workspace{margin-left:0;width:100%;min-width:0}
  body[data-access=connected] .mobile-menu,body[data-access=connected] .sidebar .nav-item{min-height:44px}
  body[data-access=connected] .connected-studio .mb-month-tabs{max-width:100%;overflow-x:auto;gap:20px}
  body[data-access=connected] .connected-studio .mb-month-tabs button{flex-shrink:0;min-height:44px}
  body[data-access=connected] .connected-studio .mb-pages>.mb-add-page{display:inline-flex;min-height:44px}
  body[data-access=connected] .connected-studio .mb-pages-bottom button{min-height:44px}
  body[data-access=connected] .decision-history-row{grid-template-columns:minmax(0,.8fr) minmax(0,1.2fr);gap:4px 12px;padding:14px 0}
  body[data-access=connected] .decision-history-row time,body[data-access=connected] .decision-history-row .decision-date{grid-column:1/-1}
  body[data-access=connected] #modal .input{min-width:0;max-width:100%;font-size:16px;min-height:44px}
  body[data-access=connected] .connected-studio .mb-document-top .btn{min-height:44px}
}

body[data-access=connected] .connected-studio .mb-month-heading>div{min-width:0}body[data-access=connected] .connected-studio .mb-eyebrow{overflow-wrap:anywhere}

body[data-access=connected] .decision-final-status{cursor:default;pointer-events:none;opacity:.65;align-self:flex-start}
