.mobile231-graph{display:none}
@media(max-width:700px){
html{-webkit-text-size-adjust:100%}*,*:before,*:after{box-sizing:border-box}
/* Dialog sizing is based on the viewport, not the wide source drawing. */
html body dialog[open]{box-sizing:border-box!important;width:calc(100vw - 24px)!important;max-width:calc(100vw - 24px)!important;max-height:calc(100svh - 24px)!important;margin:auto!important;overflow-y:auto!important;overflow-x:hidden!important;overscroll-behavior:contain}
html body dialog>header,html body dialog>.reader19-bar{position:sticky;top:0;z-index:5;min-width:0;height:auto;min-height:44px;gap:10px;flex-wrap:wrap}
html body dialog header>span,html body dialog .reader19-bar>span{min-width:0;max-width:calc(100% - 48px);overflow-wrap:anywhere;font-size:12px;line-height:1.6}
html body dialog header button,html body dialog>button[aria-label*="Close"],html body dialog>button[aria-label*="关闭"]{min-width:44px;min-height:44px;flex-shrink:0}
html body dialog svg{max-width:100%;min-width:0!important;height:auto}
html body dialog :is(img,video){max-width:100%;object-fit:contain}
html body dialog pre{max-width:100%;white-space:pre-wrap;overflow-wrap:anywhere}
html body dialog table{min-width:0!important;width:100%!important;table-layout:fixed;overflow-wrap:anywhere}
/* Original complex SVGs remain available; default phone reading preserves every label. */
html body .mobile231-svg-host>svg,html body .mobile231-svg-host>canvas{display:none!important}
html body .mobile231-graph{display:block;min-width:0;width:100%}
.mobile231-original{display:block;margin:0 0 16px auto;min-height:44px;border:0;border-bottom:1px solid #aebdce;background:none;color:#4f657f;font:12px/1.7 var(--read,monospace);padding:7px 0}
.mobile231-reading{display:grid;gap:12px}
.mobile231-node{padding:15px 14px;border:1px solid #c7d2df;background:#f8fafc;min-width:0;overflow-wrap:anywhere;text-align:left}
.mobile231-node h4{margin:0 0 9px!important;font:500 15px/1.65 var(--read,monospace)!important;color:#2d415d!important;overflow-wrap:anywhere}
.mobile231-node p{margin:5px 0 0!important;font:13px/1.85 var(--read,monospace)!important;color:#596b82!important;overflow-wrap:anywhere}
.mobile231-annotation{margin:0!important;font:11px/1.8 var(--read,monospace)!important;color:#7b899b!important;overflow-wrap:anywhere}
html body .mobile231-show-original>svg{display:block!important;width:100%!important;min-width:0!important;height:auto!important}
.mobile231-show-original .mobile231-reading{display:none}
.route115-dialog>div,.matrix106-dialog>div{padding:12px!important;max-width:100%;min-width:0}
.matrix106-dialog{padding:12px!important}.matrix106-dialog>button{display:block;margin-left:auto}
.route115-canvas{padding:12px!important}
/* Each mapping row becomes a vertical comparison, keeping themes with their descriptions. */
html body .canvas113-board:is(.canvas220-two,.canvas227-film){overflow-x:hidden;min-width:0;width:100%;padding:16px 12px}
html body .canvas113-board:is(.canvas220-two,.canvas227-film) .canvas113-columns{display:none}
html body .canvas113-board:is(.canvas220-two,.canvas227-film) .canvas113-row{display:grid;grid-template-columns:minmax(0,1fr)!important;gap:18px;min-width:0!important;padding-top:20px;margin-bottom:28px}
html body .canvas113-board:is(.canvas220-two,.canvas227-film) .canvas116-cell{padding-left:24px!important;min-width:0}
html body .canvas113-board:is(.canvas220-two,.canvas227-film) .canvas116-cell::before{content:attr(data-column231);display:block;margin-bottom:7px;font:10px/1.6 var(--read);color:#7a889b}
html body .canvas113-board:is(.canvas220-two,.canvas227-film) .canvas116-cell>strong{height:auto!important;min-height:40px;max-width:100%;font-size:14px!important;white-space:normal;overflow-wrap:anywhere;text-align:left;justify-content:flex-start}
html body .canvas113-board .canvas116-cell>p{font-size:13px!important;line-height:1.85!important;overflow-wrap:anywhere}
html body .canvas113-dialog .canvas113-board{max-width:100%}
html body .canvas113-bar{flex-wrap:wrap}.canvas113-bar>span{max-width:65%;overflow-wrap:anywhere}.canvas113-bar>div{margin-left:auto}
/* Sources and evidence tables are readable records on a phone. */
.world104-page #app table{display:block!important;width:100%!important;min-width:0!important;table-layout:auto!important;overflow:visible!important}
.world104-page #app thead{display:none!important}
.world104-page #app :is(tbody,tr){display:block!important;width:100%!important}
.world104-page #app tr{padding:12px 0;border-bottom:1px solid #d9e1ea}
.world104-page #app :is(th,td){display:block!important;min-width:0!important;width:100%!important;max-width:100%;padding:7px 0!important;border:0!important;overflow-wrap:anywhere;white-space:normal!important;font-size:13px!important;line-height:1.8!important}
.world104-page #app td:before{content:attr(data-mobile231-label);display:block;color:#7c899b;font-size:10px;margin-bottom:4px}
.world104-page :is(.section-label,.s98-bar,.route115-bar){flex-wrap:wrap;gap:12px}
.world104-page .section-label>p,.world104-page .section-label>.reference220{max-width:100%!important}
.world104-page .method-tabs{flex-wrap:wrap}
.world104-page .reader19-modal{height:auto!important;max-height:calc(100svh - 24px)!important}
.world104-page .reader19-viewport{height:auto;max-height:calc(100svh - 105px);padding:14px;overflow:auto}
.world104-page .reader19-viewport[data-kind=frame]{height:calc(100svh - 105px)}
.world104-page .reader19-actions{gap:12px;flex-wrap:wrap}
/* Home cover frames, Studio modals and governance diagram must stay in the viewport. */
.axes56-dialog,.grasp21-dialog,.muse21-dialog,.resume22-dialog{padding:16px!important}
.axes56-dialog .governance126,.axes56-dialog .g126-viewport{width:100%;min-width:0;max-width:100%;overflow:visible}
.axes56-dialog p{font-size:13px;line-height:1.8;overflow-wrap:anywhere}
.grasp21-dialog :is(header,footer,nav),.muse21-dialog :is(header,footer,nav){flex-wrap:wrap;gap:12px}
html body .scene-panel svg{max-width:100%;min-width:0}
/* Lemon source/portal windows: wrap English and avoid fixed side-by-side media grids. */
body.review158 dialog[open] :is(header,footer){flex-wrap:wrap;gap:12px}
body.review158 dialog[open] :is(h2,h3,p,figcaption,span,a,button){white-space:normal;overflow-wrap:anywhere}
body.review158 dialog[open] :is(.frames158,.evidence158-frames,.evidence158-grid,.n175-frames){display:grid!important;grid-template-columns:minmax(0,1fr)!important;gap:18px;min-width:0}
body.review158 dialog[open] :is(img,video){max-height:calc(100svh - 190px)!important;width:auto!important;max-width:100%!important;margin-left:auto!important;margin-right:auto!important}
html.mobile211-source body .mobile211-main :is(svg,canvas){max-width:100%;min-width:0}
}
@media(max-width:700px){
html body dialog>header,html body dialog>.reader19-bar{flex-wrap:nowrap!important;padding:10px 12px!important;align-items:center}
html body dialog>header>span,html body dialog>.reader19-bar>span{flex:1;min-width:0;max-width:none!important}
html body dialog>header>button{flex:0 0 44px;margin-left:auto}
}
@media(max-width:700px){
html body .axes56-dialog>header{padding:0 0 10px!important}
html body .axes56-dialog>header>span{order:1!important}
html body .axes56-dialog>header>button{order:2!important;font:12px/1.6 var(--read,monospace)!important;min-width:44px;max-width:44px}
html body .axes56-dialog>div{padding:0!important}
html body .mobile231-graph>.mobile231-original{width:fit-content;max-width:100%;min-height:44px;font:12px/1.7 var(--read,monospace)!important;padding:8px 0!important;margin:0 0 14px auto!important;white-space:normal}
}
@media(max-width:700px){
html body .studio75-dialog>header{padding:0 0 10px!important;min-width:0;display:flex!important;gap:10px}
html body .studio75-dialog>header>span{order:1!important;min-width:0;flex:1;font:11px/1.7 var(--read,monospace)!important;overflow-wrap:anywhere}
html body .studio75-dialog>header>button[data-close]{order:2!important;min-width:44px;width:44px;flex:0 0 44px;font:12px/1.6 var(--read,monospace)!important;margin:0 0 0 auto!important}
html body .studio75-dialog .grasp81-board{height:auto!important;max-height:none!important;min-width:0;max-width:100%}
html body .studio75-dialog figure:has(.grasp81-board){height:auto!important;max-height:none!important;min-height:0!important}
html body .studio75-dialog figure>img{height:auto!important;max-height:38svh!important;object-fit:contain}
}
@media(max-width:700px){
html body .studio75-dialog>header>button[data-close]{font-size:0!important;line-height:1!important;position:relative}
html body .studio75-dialog>header>button[data-close]:after{content:'×';font:12px/1 var(--read,monospace);display:block}
}
@media(max-width:700px){
.world104-page .product-screen{height:min(620px,78svh)!important;aspect-ratio:auto!important;overflow:hidden}
.world104-page .product-screen iframe,.world104-page .reader19-viewport[data-kind=frame] iframe{position:relative!important;left:0!important;top:0!important;width:100%!important;height:100%!important;transform:none!important;transform-origin:top left!important}
}
