/* TaoPlanning Commercial — mobile-only overrides; desktop styles unchanged */
@media screen and (max-width:768px){
html,body{width:100%;height:100%;overflow:hidden}
#geApp{height:100vh;height:100dvh;min-width:0}
#geHeader{height:54px;flex:0 0 54px;position:relative;z-index:101;padding-right:4px}
#geHeader>div:first-child{width:auto!important;min-width:135px;padding-left:12px!important;gap:2px!important}
#geHeaderCenter{display:none}
#geHeaderRight{margin-left:auto;gap:8px;padding:0 8px;font-size:12px}
#geLanguage{max-width:75px;height:32px;padding:0 2px;font-size:12px}
#geTopSignUp{display:none}
#geMain{min-width:0;position:relative}
#geSidebar{position:absolute;z-index:100;top:0;bottom:0;left:0;width:min(280px,85vw);transform:translateX(-105%);transition:transform .2s ease;box-shadow:none;overflow-y:auto;padding-top:10px}
body.ge-mobile-menu-open #geSidebar{transform:translateX(0);box-shadow:4px 0 20px #0002}
#geMobileOverlay{display:none;position:absolute;inset:0;background:#0006;z-index:99}
body.ge-mobile-menu-open #geMobileOverlay{display:block}
#geMobileMenuButton{display:flex;align-items:center;justify-content:center;width:38px;height:38px;border:0;background:transparent;color:#0e42ab;font-size:24px;cursor:pointer;flex-shrink:0}
#geWorkspace{width:100%;min-width:0}
#geTabbar{height:auto;min-height:48px;flex:0 0 auto;padding-top:0;overflow:hidden;border-bottom:1px solid #e6eaf1}
#geTabbarContent{width:100%;min-width:0;overflow-x:auto;white-space:nowrap;padding:12px 16px;font-size:13px;scrollbar-width:thin}
.ge-tab{flex-shrink:0}.ge-tab-separator{margin:0 9px}
#geContent{overflow-y:auto;overflow-x:hidden;-webkit-overflow-scrolling:touch}
.ge-module-content,.ge-tab-content{min-height:100%;height:auto}
.pd-product-overview{padding:18px 14px;gap:12px;display:grid;grid-template-columns:minmax(0,1fr)}
.pd-product-card{width:100%;height:auto;min-height:240px;flex:auto;padding:18px}
.su-subscribe{max-width:100%;padding:16px!important}
.su-form-grid,.su-section-title-grid{grid-template-columns:minmax(0,1fr)!important}
.de-philosophy{padding:22px 18px 44px;font-size:14px}.de-philosophy h1{font-size:25px}
#loginPopup{max-width:calc(100vw - 20px);right:10px!important;left:auto!important}
input,select,textarea{max-width:100%}
/* Home remains a paginated carousel; each page scrolls vertically on narrow screens */
#HO_HOME,#HO_HOME_HOME,.ho-home{height:100%;min-height:0;overflow:hidden}
.ho-home-pages{height:calc(100% - 42px)}
.ho-page{overflow-y:auto;overflow-x:hidden;-webkit-overflow-scrolling:touch}
.ho-page-inner{height:auto!important;min-height:100%;padding:22px 18px 35px!important}
.ho-page01-inner{padding:22px 18px 35px!important}
.ho-page01-title{font-size:27px;line-height:1.2}
.ho-page01-lead{font-size:14px}
.ho-page01-body{display:flex;flex-direction:column;gap:24px;margin-top:24px}
.ho-page01-intro,.ho-page01-model{max-width:100%;width:100%}
.ho-page02-layout,.ho-page03-columns,.ho-page03-content,.ho-page04-intro-grid,.ho-page04-module-grid,.ho-page05-main-grid,.ho-page06-pdf-grid,.ho-page06-feature-grid,.ho-page07-grid,.ho-page08-grid,.ho-page09-grid,.ho-page10-content-grid,.ho-page11-content-grid,.ho-page12-content-grid{display:grid!important;grid-template-columns:minmax(0,1fr)!important;gap:16px!important}
.ho-page01-cycle,.ho-page02-visual,.ho-page03-visual,.ho-page05-planning-image,.ho-page05-management-image,.ho-page06-pdf-images{max-width:100%;min-width:0}
.ho-page img{max-width:100%;height:auto;object-fit:contain}
.ho-page h1,.ho-page h2{overflow-wrap:break-word}
.ho-page02-title,.ho-page03-title,.ho-page05-title,.ho-page06-title{font-size:25px!important;line-height:1.2!important}
.ho-home-dots{gap:8px}
}
@media screen and (min-width:769px){#geMobileMenuButton,#geMobileOverlay{display:none!important}}

/* Subscribe-only responsive corrections; no desktop rules are changed */
@media screen and (max-width:768px){
#SU_SUBSCRIBE .su-subscribe,#SU_SUBSCRIBE .su-billing,#SU_SUBSCRIBE .su-account,#SU_SUBSCRIBE .su-manage,.su-subscribe,.su-billing,.su-account,.su-manage{width:100%;max-width:100%;min-width:0;padding:16px!important}
.su-subscribe .su-field{min-width:0}
.su-subscribe .su-field>label{flex:0 0 105px}
.su-subscribe .su-field input:not([type=radio]),.su-subscribe .su-field select{width:auto!important;flex:1 1 0!important;min-width:0}
.su-subscribe .su-row{min-width:0}
.su-subscribe .su-row>label{flex:0 0 105px}
.su-subscribe .su-options{gap:10px;flex-wrap:wrap}
.su-subscribe .su-company-header,.su-subscribe .su-company-row,.su-subscribe-view .su-company-header,.su-subscribe-view .su-company-row{grid-template-columns:24px minmax(0,1fr) minmax(0,1fr);min-width:0}
.su-subscribe .su-company-header>*,.su-subscribe .su-company-row>*{min-width:0;overflow-wrap:anywhere}
.su-billing .su-billing-row label,.su-billing .su-billing-total>label{width:140px;flex:0 0 140px}
.su-billing .su-actions{height:auto;min-height:36px;flex-wrap:wrap;gap:8px}
.su-billing .su-actions #suOpenApp{margin-left:12px;margin-top:0}
.su-billing-history{max-width:100%;overflow-x:auto;-webkit-overflow-scrolling:touch}
.su-billing-history-header,.su-billing-history-row{min-width:650px}
.su-account .su-account-current-value{width:auto;flex:1 1 auto;min-width:0;overflow-wrap:anywhere}
.su-account .su-account-profile-control{min-width:0;flex-wrap:wrap;gap:6px}
.su-account .su-account-edit{max-width:100%;flex-wrap:wrap}
.su-manage .su-manage-row{min-width:0;gap:8px;padding:8px;align-items:flex-start}
.su-manage .su-manage-title{width:auto;flex:0 1 35%;min-width:0;overflow-wrap:anywhere}
.su-manage .su-manage-description{min-width:0;overflow-wrap:anywhere}
.su-manage .su-manage-action{width:auto;flex:0 0 auto;max-width:52px;white-space:normal}
.su-manage .su-manage-panel{min-width:0;padding:0 8px}
.su-manage .su-change-plan{min-width:0}
.su-manage .su-change-plan-heading,.su-manage .su-change-plan-row,#suTopUpSubscriptionContent .su-change-plan-heading{grid-template-columns:minmax(0,1.45fr) minmax(0,1fr) minmax(0,.8fr);column-gap:5px;min-width:0;height:auto;min-height:30px;padding:5px 0}
.su-manage .su-change-plan-heading>*,.su-manage .su-change-plan-row>*{min-width:0;max-width:100%;overflow-wrap:anywhere;white-space:normal}
.su-manage .su-change-plan-row label{padding-left:6px;white-space:normal}
.su-manage .su-change-plan-row select,.su-manage #suReduceNewBlocks{width:100%;min-width:0}
.su-manage #suTopUpSubscriptionContent .su-change-plan-heading span{grid-column:2/4}
.su-manage #suTopUpSubscriptionContent .su-change-plan-row [id*="Formula"]{grid-column:1/-1;white-space:normal}
.su-manage #suReduceBlocksNote,.su-manage #suReduceSuccessNote,.su-manage #suChangeBlocksNote,.su-manage #suTopUpSubscriptionContent .su-topup-detail,.su-manage #suTopUpSubscriptionContent .su-topup-max-blocks{white-space:normal}
.su-manage .su-change-plan-actions{padding-left:6px;flex-wrap:wrap}
}
/* Order History: six responsive columns instead of a 650px-wide table */
@media screen and (max-width:768px){
.su-billing .su-billing-history{width:100%;max-width:100%;overflow-x:hidden}
.su-billing .su-billing-history-header,.su-billing .su-billing-history-row{width:100%;min-width:0;grid-template-columns:minmax(0,14fr) minmax(0,15fr) minmax(0,25fr) minmax(0,13fr) minmax(0,20fr) minmax(0,13fr);padding:0 3px;column-gap:2px;height:auto;min-height:28px}
.su-billing .su-billing-history-header>div,.su-billing .su-billing-history-row>div{min-width:0;overflow-wrap:anywhere;white-space:normal;font-size:10px;line-height:1.25;padding:4px 1px!important;text-align:left!important}
}
