/* Layout only: existing theme colours, controls and permissions remain authoritative. */
html body #reader#reader .mailFold222{scroll-margin-top:16px;overflow-anchor:none}
html body #reader#reader #text{max-height:none!important;overflow:visible!important}
html body .compactActions233{display:grid!important;grid-template-columns:repeat(2,minmax(0,1fr))!important;gap:8px!important}
html body .compactActions233>button{width:100%!important;min-width:0!important;margin:0!important}
html body .note233 form[hidden]{display:none!important}
html body .note233 form{padding:0!important;border:0!important;background:transparent!important;box-shadow:none!important}
html body .note233>small{display:block;margin-bottom:10px}
html body .note233 textarea{width:100%;box-sizing:border-box;min-height:180px;resize:vertical}
html body .taskMail233{display:inline-flex;align-items:center;min-height:44px;margin:8px 0}
html body #list [data-storage77]{display:contents!important}
html body #list [data-storage77]>summary{width:calc(50% - 4px)!important;min-height:44px!important;box-sizing:border-box!important;display:inline-flex!important;justify-content:center!important;align-items:center!important;margin:8px 0!important;font-size:inherit!important}
html body #list [data-storage77]>:not(summary){display:none!important}
html body #list [data-storage77][open]>:not(summary){display:block!important;width:100%!important;box-sizing:border-box!important}
html body #previewDialog#previewDialog#previewDialog#previewDialog{overflow:auto!important;display:flex;flex-direction:column;height:92dvh!important;gap:12px!important}
html body #previewDialog:not([open]){display:none!important}
html body #previewDialog#previewDialog#previewDialog#previewDialog>:is(#previewHeader,#previewHistory74,#previewBody,#previewStatus,#previewActions74,#previewTools,#documentFooter233){flex-shrink:0!important;max-height:none!important}
html body #previewDialog #previewHeader{order:0}
html body #previewDialog #previewHeader:has(+ #previewTools){} 
html body #previewDialog:has(#metadata233) #previewHeader{display:none!important}
html body #previewDialog #previewHistory74{order:1}
html body #previewDialog#previewDialog#previewDialog#previewDialog #previewBody{order:2;flex:none!important;min-height:240px!important;height:auto!important;overflow:visible!important}
html body #previewDialog #previewBody img{max-width:100%!important;height:auto!important}
html body #previewDialog #previewBody object{height:65dvh!important;min-height:320px!important}
html body #previewDialog #previewStatus{order:3}
html body #previewDialog #previewActions74{order:4;display:grid!important;grid-template-columns:repeat(2,minmax(0,1fr))!important;gap:8px!important}
html body #previewDialog#previewDialog#previewDialog #previewActions74 .group112{display:contents!important}
html body #previewDialog#previewDialog#previewDialog #previewActions74 button{width:100%!important;min-width:0!important;flex:none!important;margin:0!important;grid-column:auto!important}
html body #previewDialog #previewTools{order:5}
html body #previewDialog #documentFooter233{order:6;display:grid!important;grid-template-columns:repeat(2,minmax(0,1fr))!important;gap:8px;margin-top:8px}
html body #previewDialog #documentFooter233 button{width:100%!important;min-width:0!important;margin:0!important}
html body:has(#profile233) #headerRight108{display:none!important}
html body #profile233#profile233#profile233{margin:16px 0}
html body #profile233#profile233#profile233 .profileSection233{padding:0!important;margin:22px 0!important;background:transparent!important;border:0!important;box-shadow:none!important}
html body #profile233#profile233#profile233 .profileSection233>h2{font-size:14px!important;font-weight:600!important;opacity:.75;margin:0 12px 8px!important}
html body #profile233#profile233#profile233 .profileRows233,html body #profile233#profile233#profile233 .identity233{border:1px solid var(--cu-line,#d9e1dc)!important;border-radius:18px!important;background:var(--cu-card,#ffffff)!important;overflow:hidden;margin:0!important}
html body #profile233#profile233#profile233 details.profile219{margin:0!important;padding:0!important;border:0!important;box-shadow:none!important;background:transparent!important}
html body #profile233#profile233#profile233 details.profile219>summary{display:flex!important;align-items:center!important;gap:12px!important;padding:14px 16px!important;min-height:58px!important;box-sizing:border-box!important;background:transparent!important;clip-path:none!important;border:0!important;border-radius:0!important;box-shadow:none!important;color:inherit!important;-webkit-text-fill-color:currentColor!important;font-size:16px!important;list-style:none!important}
html body #profile233#profile233#profile233 details.profile219>summary::-webkit-details-marker{display:none}
html body #profile233#profile233#profile233 details.profile219>summary::before{display:none!important}
html body #profile233#profile233#profile233 details.profile219>summary::after{content:'›'!important;position:static!important;display:block!important;margin-left:auto!important;background:none!important;transform:none!important;font-size:22px!important;width:auto!important;height:auto!important}
html body #profile233#profile233#profile233 details[open].profile219>summary::after{transform:rotate(90deg)!important}
html body #profile233 .profileRows233>details+details{border-top:1px solid var(--cu-line,#e4e9e5)!important}
html body #profile233 .profileContent219{padding:0 16px 16px!important}
html body #profile233 .profileIcon233{width:32px;height:32px;display:flex;align-items:center;justify-content:center;flex-shrink:0;border-radius:10px;background:#9bbaa630;color:inherit}
html body #profile233 .profileIcon233 svg{width:21px;height:21px;stroke:currentColor;fill:none;stroke-width:1.6;stroke-linecap:round;stroke-linejoin:round}
html body #profile233 #mail219 .profileIcon233{background:#8daed633}html body #profile233 #ai219 .profileIcon233{background:#b395cf33}html body #profile233 #appearance219 .profileIcon233{background:#d7a17b33}
html body #profile233 .avatar233{width:56px;height:56px;flex-shrink:0;border-radius:50%;background:#9bbaa640;display:flex;align-items:center;justify-content:center;overflow:hidden;font-size:22px}
html body #profile233 .avatar233 img{width:100%;height:100%;object-fit:cover}
html body #profile233 .identity233 summary>span:nth-child(2){min-width:0;display:grid;gap:4px}
html body #profile233 .identity233 strong{font-size:20px;overflow-wrap:anywhere}html body #profile233 .identity233 small{font-size:12px;overflow-wrap:anywhere;font-weight:400}
html body #list [data-storage77]>summary{display:none!important} html body #list .expenseActions61{display:grid!important;grid-template-columns:repeat(2,minmax(0,1fr))!important;gap:8px!important} html body #list .expenseActions61>button{width:100%!important;margin:0!important;min-width:0!important}
html body #profile233#profile233#profile233 details.profile219>summary,html body #profile233 .avatar233{font-family:system-ui,sans-serif!important} html body #profile233#profile233#profile233 details.identity233{border:1px solid var(--cu-line,#d9e1dc)!important;border-radius:18px!important;background:var(--cu-card,#fff)!important}
html body #reader#reader#reader #text{display:block!important;-webkit-line-clamp:unset!important;max-height:none!important;overflow:visible!important} html body #mailSpace233{padding:0!important;margin:0!important;border:0!important}
