.mobile-upload-link{display:none}
.mobile-layout .mobile-upload-link{display:inline-block}
.mobile-layout .compact-signup .signup-group-footer{border:0;padding:12px 14px}
.mobile-layout .compact-signup .task-actions{margin-top:10px}
.mobile-layout .compact-signup .signup-primary{background:var(--red);color:white;min-height:46px}
.mobile-layout .compact-signup .signup-task-details,.mobile-layout .compact-signup .signup-people-details{border-top:1px solid #eee4e8;padding:10px 14px;margin:0}
.mobile-layout .compact-signup summary{cursor:pointer;min-height:40px;display:flex;align-items:center;gap:8px;color:#8b2941;font-size:13px;list-style:none}
.mobile-layout .compact-signup summary:before{content:'›';font-size:18px}
.mobile-layout .compact-signup details[open]>summary:before{transform:rotate(90deg)}
.mobile-layout .compact-signup .group-work-grid{margin-top:8px;min-height:0}
.mobile-layout .compact-signup .signup-group-summary{font-size:13px;padding:0 14px;line-height:1.65}
.mobile-layout details.group-item-editor{display:block;min-width:0;margin:10px 0;padding:12px;border:1px solid #e9dfe5;border-radius:12px}
.mobile-layout details.group-item-editor>summary,.mobile-layout .group-item-optional>summary{padding:8px 0;min-height:40px;font-size:14px;font-weight:600;cursor:pointer;overflow-wrap:anywhere}
.mobile-layout details.group-item-editor>label{display:flex;flex-direction:column;margin:14px 0;gap:6px}
.mobile-layout .group-item-optional{padding:8px 10px;background:#faf7f8;border-radius:10px}
.mobile-layout .group-item-optional label{display:flex;flex-direction:column;margin:12px 0;gap:6px}
.mobile-layout .group-item-tools{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:6px;margin-top:14px}
.mobile-layout .group-item-tools button{min-height:44px;margin:0;font-size:13px}
.operation-table-tools{display:none}
.mobile-layout .operation-table-tools{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:8px;margin:10px 0}
.mobile-layout .operation-table-tools button{min-height:44px;font-size:13px}
.mobile-layout .mobile-dialog-grid{max-width:100%;min-width:0;min-height:0}
.mobile-layout .mobile-dialog-grid:has(>.operation-cards){overflow:visible;max-height:none!important}
.mobile-layout .mobile-dialog-grid:not(.operation-settings-open)>.table-display-controls{display:none}
.mobile-layout .operation-preview-controls:not(.operation-controls-visible){display:none}
.mobile-layout .operation-preview-cards>.import-horizontal-scroll{display:none!important}
.mobile-layout table.mobile-dialog-table.operation-cards{display:block!important;width:100%!important;min-width:0!important;max-width:100%!important}
.mobile-layout .operation-cards>thead,.mobile-layout .operation-cards>colgroup{display:none!important}
.mobile-layout .operation-cards>tbody{display:block;width:100%}
.mobile-layout .operation-cards>tbody>tr{display:flex!important;flex-direction:column;gap:0;background:#fff;border:1px solid #e6dfe4;border-radius:12px;margin:0 0 14px;padding:12px;min-width:0;max-width:100%}
.mobile-layout .operation-cards>tbody>tr>td{display:block!important;position:relative;width:auto!important;min-width:0!important;max-width:100%!important;height:auto!important;padding:9px 0!important;border:0!important;text-align:left!important;white-space:normal!important;overflow:visible!important;line-height:1.65;font-size:14px;overflow-wrap:anywhere}
.mobile-layout .operation-cards>tbody>tr>td:before{content:attr(data-operation-label);display:block;font-size:12px;color:#7f6c76;margin-bottom:4px;text-align:left}
.mobile-layout .operation-cards>tbody>tr>td.operation-identity{font-weight:600;border-bottom:1px solid #f1e9ed!important}
.mobile-layout .operation-cards>tbody>tr>td.operation-empty:before{display:none}
.mobile-layout .operation-cards>tbody>tr>td[hidden]{display:none!important}
.mobile-layout .operation-cards td.import-conflict{background:#fff0f2!important;padding:10px!important;border-radius:8px;color:#9d203a}
.mobile-layout .operation-cards td.import-changed{background:#fff9ee!important;padding:10px!important;border-radius:8px}
.mobile-layout .operation-cards td.import-check{color:#9d203a}
.mobile-layout .operation-cards td button{min-height:44px;margin:5px 6px 0 0;font-size:13px;max-width:100%}
.mobile-layout .operation-cards td input:not([type=checkbox]),.mobile-layout .operation-cards td select,.mobile-layout .operation-cards td textarea{width:100%;min-width:0!important;max-width:100%!important;font-size:16px}
.mobile-layout .operation-cards td label{white-space:normal;display:flex;align-items:center;gap:8px;margin:8px 0}
.mobile-layout body .transfer-import-dialog.has-import-preview .import-review{max-height:none;overflow:visible}
.mobile-layout body dialog .operation-footer{position:sticky;bottom:calc(-20px - env(safe-area-inset-bottom));z-index:9;display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:8px;background:#fff;padding:12px 0 calc(12px + env(safe-area-inset-bottom));border-top:1px solid #e9e1e6;margin:18px 0 0}
.mobile-layout body dialog .operation-footer button{width:100%;min-height:46px;margin:0;font-size:14px}
.mobile-layout body dialog .operation-footer button:only-child{grid-column:1/-1}
.mobile-layout body dialog .operation-footer button:first-child:nth-last-child(3){grid-column:1/-1}
.mobile-layout .file-recovery{padding:16px 0}
.mobile-layout .file-recovery button{width:100%;min-height:46px;color:var(--red);background:#fbeef2}
.mobile-layout .operation-cards>tbody>tr>td.operation-identity{order:-4}
.mobile-layout .operation-cards>tbody>tr>td.operation-error{order:-3;font-weight:600;background:#fff3f3;padding:10px!important;border-radius:8px}
.mobile-layout .operation-cards>tbody>tr>td.operation-result:not(.operation-error){order:-2}
.mobile-layout .operation-cards>tbody>tr>td:not(:has(button,input,select,textarea)):not(.operation-empty):not(.operation-error){padding-left:86px!important;min-height:42px;box-sizing:border-box}
.mobile-layout .operation-cards>tbody>tr>td:not(:has(button,input,select,textarea)):not(.operation-empty):not(.operation-error):before{position:absolute;left:0;top:9px;width:78px;line-height:1.5}
.mobile-layout .operation-cards>tbody>tr>td.operation-identity{order:-6}
.mobile-layout .operation-cards>tbody>tr>td.operation-error{order:-5}
.mobile-layout .operation-cards>tbody>tr>td.operation-comparison{order:-4}
.mobile-layout .operation-cards>tbody>tr>td.operation-valid{background:#f3f8f4;color:#365f47;font-weight:400}
