/* v2: task-first mobile layout. All selectors are mobile-only. */
.mobile-h5{background:#f4f6fa}.mobile-h5 body{padding-top:calc(56px + env(safe-area-inset-top,0px));color:#243247}
.mobile-h5 .top,.mobile-h5 .prototype,.mobile-h5 .prototype-bar,.mobile-h5 .crumb,.mobile-h5 .breadcrumb{display:none!important}
.mobile-h5 .m-task-header{position:fixed;top:0;left:0;right:0;z-index:1000;height:calc(56px + env(safe-area-inset-top,0px));padding:env(safe-area-inset-top,0px) 16px 0;background:#fff;display:flex;align-items:center;gap:8px;border-bottom:1px solid #e5eaf1}
.mobile-h5 .m-task-header strong{flex:1;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;font-size:17px}.mobile-h5 .m-task-header button{border:0;background:transparent;font-size:24px;width:44px;padding:0;flex-shrink:0}
.mobile-h5 .page-title,.mobile-h5 .heading{border:0!important;background:#fff;margin-bottom:8px!important}.mobile-h5 .page-title h1{font-size:20px}.mobile-h5 .title-name{flex-wrap:wrap!important;gap:8px!important}.mobile-h5 .title-name [data-action=nav]{display:none}
.mobile-h5 .mobile-nav{gap:8px;padding-left:16px;padding-right:16px;justify-content:flex-start;box-shadow:0 -4px 16px #20304008}.mobile-h5 .mobile-nav button{font-size:13px;padding:0 8px}.mobile-h5 .mobile-nav .m-primary{margin-left:auto;background:#1890ff;color:#fff;border-radius:8px;min-width:112px;font-size:15px;padding:0 16px}
.mobile-h5 .m-promoted{display:none!important}.mobile-h5 .mobile-nav [hidden]{display:none!important}.mobile-h5 .title-actions{gap:8px}.mobile-h5 .title-actions [data-action=more]{display:none}
.mobile-h5 .settings-values{display:none!important}.mobile-h5 .settings-line{display:flex;flex-wrap:wrap;padding:8px 0!important;gap:8px;overflow:visible!important}.mobile-h5 .management-summary{width:auto!important;min-width:0!important}.mobile-h5 .settings-line .scope{max-width:100%;font-size:13px;background:#f4f7fb;border:0}.mobile-h5 .title-time-slot{width:100%;padding-top:8px;font-size:14px}
.mobile-h5 .utility{font-size:12px;color:#768398;background:transparent!important;padding-top:0!important}.mobile-h5 .utility .mobile-only{display:none}.mobile-h5 .utility-status{max-width:100%}
.mobile-h5 .toolbar{padding:16px!important;gap:8px}.mobile-h5 .toolbar .search{flex:1 1 100%!important;width:100%!important}.mobile-h5 .toolbar .search input{height:44px;background:#f4f6fa}.mobile-h5 .collection-result-header{background:#fff}.mobile-h5 .buckets{flex-wrap:nowrap;overflow:auto;flex:1 1 100%;border:0}.mobile-h5 .buckets button{border:0;background:transparent;border-radius:0;padding:8px;font-size:14px}.mobile-h5 .buckets button[aria-selected=true]{color:#1677ff;border-bottom:2px solid #1677ff}
.mobile-h5 .document-table tr,.mobile-h5 .doc-card{border:1px solid #e5eaf1;box-shadow:0 2px 8px #22334404;border-radius:12px;margin-bottom:16px;padding:16px;gap:8px}.mobile-h5 .table-wrap{padding:16px}.mobile-h5 .document-table tr{grid-template-columns:1fr auto}.mobile-h5 .document-table td:nth-child(4){grid-column:1;grid-row:auto}.mobile-h5 .document-table td:last-child{grid-column:2;grid-row:auto;justify-self:end}.mobile-h5 .doc-identity,.mobile-h5 .identity{gap:8px}.mobile-h5 .doc-name{font-size:17px!important;font-weight:600;line-height:1.5;white-space:normal!important}.mobile-h5 .doc-audience,.mobile-h5 .doc-updated{margin:4px 0!important;font-size:12px;line-height:1.5;color:#78869a}.mobile-h5 .content-overview{font-size:13px;line-height:1.5;background:#f6f8fb;border-radius:8px;padding:8px}.mobile-h5 .business-preview{display:-webkit-box;-webkit-line-clamp:1;-webkit-box-orient:vertical;overflow:hidden;margin:0!important}.mobile-h5 .business-open{display:none}.mobile-h5 .product-overview{margin-top:4px}.mobile-h5 .card-state{display:flex;gap:8px;font-size:12px}.mobile-h5 .card-state>small{display:none}.mobile-h5 .card-bottom{border:0;padding-top:0}.mobile-h5 .owner-cell,.mobile-h5 .card-owner{font-size:12px;color:#78869a}.mobile-h5 .deadline-cell,.mobile-h5 .card-deadline{font-size:13px}
.mobile-h5 .product-table tr{border-radius:12px;padding:16px!important;gap:16px 8px!important}.mobile-h5 .product-table .product-meta:not(.product-identity-meta){display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden;color:#78869a;font-size:12px}.mobile-h5 .product-table .pd-link{font-size:16px!important;text-align:left;font-weight:600;line-height:1.5}.mobile-h5 .product-table .product-thumb{width:56px!important;height:56px!important;flex:0 0 56px}.mobile-h5 .product-table .product-thumb img{width:100%;height:100%;object-fit:contain}
html.mobile-h5 .product-table .m-readable-product:not(.m-editing)>td:nth-child(3),html.mobile-h5 .product-table .m-readable-product:not(.m-editing)>td:nth-child(4),html.mobile-h5 .product-table .m-readable-product:not(.m-editing)>td:nth-child(5){display:none!important}.mobile-h5 .m-row-value{font-size:14px;color:#40536b;padding:8px 0 0;line-height:1.6}.mobile-h5 .m-editing .m-row-value{display:none}.mobile-h5 .product-row-actions{justify-content:flex-start;gap:8px}.mobile-h5 .product-row-actions .m-row-edit{background:#f0f6ff;color:#176bd2;border:0;border-radius:8px;font-size:13px;padding:8px}.mobile-h5 .product-row-actions [data-action=product-menu]{margin-left:auto}.mobile-h5 .product-table td:nth-child(7)::before{display:none}.mobile-h5 .m-editing{border-color:#1890ff!important}.mobile-h5 .m-editing input{background:#fff!important}
.mobile-h5 .terms-nav,.mobile-h5 .pd-anchors,.mobile-h5 .pk-categories{display:none!important}.mobile-h5 .terms-main,.mobile-h5 .pd-main{padding:16px!important}.mobile-h5 .term-section,.mobile-h5 .pd-section{scroll-margin-top:72px;border-radius:12px}.mobile-h5 .term-body{padding:16px!important}.mobile-h5 .terms-search{position:sticky;top:calc(56px + env(safe-area-inset-top,0px));z-index:20;background:#fff;padding:8px 0;display:flex;flex-wrap:wrap;gap:8px}.mobile-h5 .terms-search-unit{width:100%;display:flex;gap:8px}.mobile-h5 .terms-search input{min-width:0}.mobile-h5 .term-field{padding-bottom:8px}.mobile-h5 .term-field>label{font-weight:500;color:#40536b}
.mobile-h5 dialog.m-directory,.mobile-h5 dialog.m-system{padding:16px!important;border:0;border-radius:16px;max-height:75vh!important}.mobile-h5 .m-directory header,.mobile-h5 .m-system header{display:flex;justify-content:space-between;align-items:center;margin-bottom:16px}.mobile-h5 .m-directory-items{display:grid;grid-template-columns:1fr 1fr;gap:8px}.mobile-h5 .m-directory-items button{justify-content:flex-start;text-align:left;line-height:1.5;padding:8px 16px;background:#f5f7fa;border:0;min-height:56px}.mobile-h5 .m-directory-items .active{background:#eaf3ff;color:#1677ff}.mobile-h5 .m-system>a,.mobile-h5 .m-system>button{display:flex;width:100%;padding:16px 0;border:0;border-bottom:1px solid #e5eaf1;justify-content:flex-start}
html.mobile-h5 body aside.mobile-sheet:not(.mobile-reading){height:auto!important;max-height:70vh!important;min-height:240px!important}.mobile-h5 .mobile-sheet-close span{font-size:16px;font-weight:600}
html.mobile-h5 body .rs-layout>aside.mobile-sheet.mobile-reading,html.mobile-h5 body .task-collection>.sidepanel.mobile-sheet.mobile-reading{top:0!important;height:var(--mobile-vh)!important;max-height:var(--mobile-vh)!important;border-radius:0!important;padding-top:env(safe-area-inset-top,0px)!important}.mobile-h5 .mobile-sheet-close{min-height:56px}.mobile-h5 .mobile-reading .mobile-sheet-close button{color:#1677ff}
.mobile-h5 .pd-compare{overflow:visible}.mobile-h5 .pd-compare table{display:block;min-width:0;width:100%}.mobile-h5 .pd-compare thead{display:none}.mobile-h5 .pd-compare tbody{display:block}.mobile-h5 .pd-compare tr{display:flex;flex-direction:column;border:1px solid #e5eaf1;border-radius:8px;margin:16px 0;padding:16px;gap:8px}.mobile-h5 .pd-compare th,.mobile-h5 .pd-compare td{display:block;border:0;white-space:normal;overflow-wrap:anywhere;padding:0}.mobile-h5 .pd-compare td[data-compare-label]::before{content:attr(data-compare-label);display:block;font-size:12px;color:#78869a;margin-bottom:4px}.mobile-h5 .pd-compare .pd-diff{border-color:#e9c780;background:#fffcf5}
.mobile-h5 .pk-toolbar{padding:8px 16px}.mobile-h5 .pk-breadcrumb{overflow:auto;white-space:nowrap}.mobile-h5 .pk-long{border-radius:12px!important}.mobile-h5 .pk-footer{background:#fff;border-top:1px solid #e5eaf1;margin:8px 0}.mobile-h5 .collab-primary{background:#f4f6fa}.mobile-h5 .collab-primary section{background:#fff;border-radius:12px;padding:16px;margin-bottom:16px}
.mobile-h5 .doc-title{font-size:17px!important;font-weight:600;line-height:1.5;white-space:normal!important}.mobile-h5 .doc-products{display:flex;gap:8px;font-size:13px;margin-top:4px}.mobile-h5 .doc-product-names{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.mobile-h5 .doc-product-count{flex-shrink:0}.mobile-h5 .heading [data-shell=maximize],.mobile-h5 .heading [data-shell=close]{display:none}.mobile-h5 .page-title .title-actions button[form=create-form]{display:none}.mobile-h5 .form-footer{display:none!important}
.mobile-h5 .pk-grid{grid-template-columns:1fr!important}.mobile-h5 .pk-compare-wrap{overflow:auto!important;max-width:100%}.mobile-h5 .pk-compare{min-width:560px}.mobile-h5 .pk-layer{padding:16px!important;min-width:0!important;max-width:100%;overflow:auto!important}
.mobile-h5 .page-title .title-actions,.mobile-h5 .page-title .global-controls,.mobile-h5 .heading .global-more{display:none!important}.mobile-h5 .heading .global-controls{margin-left:0;justify-content:flex-start;min-height:0}.mobile-h5 .m-page-actions{display:grid;gap:8px}.mobile-h5 .m-page-actions button{justify-content:flex-start;text-align:left;border:0;background:#f5f7fa;padding:8px 16px}.mobile-h5 dialog.m-system::backdrop,.mobile-h5 dialog.m-directory::backdrop{background:#14243a66}
