/* Approved full-page workflow geometry, activated only by explicit module context. */
html.replica-embedded body.replica-flow-open #app,html.replica-embedded body.replica-flow-open #app .main{height:0!important;min-height:0!important}html body.replica-flow-open .main>.content,html body.replica-flow-open .dict-load-state{display:none!important}
html body .replica-flow{position:relative!important;inset:auto!important;display:none!important;z-index:auto!important;width:100%!important;max-width:none!important;height:auto!important;max-height:none!important;margin:0!important;padding:35px 48px 95px!important;border:0!important;background:#f5f5f7!important;backdrop-filter:none!important;overflow:visible!important;box-sizing:border-box}html body .replica-flow.show{display:block!important}html body .replica-flow.flow-suspended{display:none!important}html body .replica-flow>.flow-back{display:flex;align-items:center;gap:14px;padding:0;height:24px;min-height:24px;margin:0 0 24px;border:0;background:transparent;color:#007aff;font:400 16px/24px "Microsoft YaHei",Arial,sans-serif}html body .replica-flow>.flow-back:before{content:'';width:11px;height:11px;border-left:1.6px solid #007aff;border-bottom:1.6px solid #007aff;transform:rotate(45deg);margin-left:7px}
html body .replica-flow .flow-modal{display:block;width:100%!important;max-width:1282px!important;min-width:0;max-height:none!important;overflow:visible;margin:0 auto!important;padding:0!important;border:0!important;border-radius:0!important;background:transparent!important;box-shadow:none!important;transform:none!important;text-align:left}html body .replica-flow .flow-modal>.mhd{display:none!important}html body .replica-flow .flow-card{padding:32px 31px 41px;border:1px solid #e4e6eb;border-radius:16px;background:#fff;color:#1d1d1f}html body .replica-flow .flow-card h2{font-size:22px;font-weight:600;line-height:29px;margin:0 0 16px}html body .replica-flow .flow-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr))!important;gap:35px 24px;margin:0!important;padding:0!important;align-content:start}html body .replica-flow .flow-field{display:block;grid-column:auto;margin:0;padding:0;min-width:0}html body .replica-flow .flow-field>label{display:block;margin:0 0 13px;font-size:16px;font-weight:400;color:#6e727b;line-height:19px}html body .replica-flow .flow-field input,html body .replica-flow .flow-field select,html body .replica-flow .flow-field textarea{display:block;width:100%;height:46px;min-height:46px;max-width:none;margin:0;padding:0 14px;border:1px solid #e4e6eb!important;border-radius:9px!important;background:#fff!important;color:#6e727b!important;font:400 17px/24px "Microsoft YaHei",Arial,sans-serif!important;box-shadow:none;box-sizing:border-box}html body .replica-flow .flow-field textarea{height:80px;min-height:80px;padding-top:12px;resize:vertical}
html body .replica-flow .flow-footer{display:flex;position:static;justify-content:flex-start;align-items:center;gap:10px;margin:30px 0 0!important;padding:22px 0 0!important;border-top:1px solid #e4e6eb;border-radius:0;background:transparent}html body .replica-flow .flow-button{display:inline-flex;align-items:center;justify-content:flex-start;flex:none;width:auto;min-width:76px;height:42px;min-height:42px;padding:0 14px;border:1px solid #e4e6eb;border-radius:9px;background:white;color:#1d1d1f;font:400 16px/24px "Microsoft YaHei",Arial,sans-serif;box-shadow:none;cursor:pointer}html body .replica-flow .flow-button.primary{background:#007aff;color:#fff;border-color:#007aff}html body .replica-flow .flow-button.danger{color:#e5484d}html body .replica-flow .flow-button:disabled{opacity:.5;cursor:default}html body .replica-flow .flow-error{padding:14px 16px;margin:22px 0;border:1px solid #edbdc0;border-radius:9px;background:#fff0f0;color:#b4232c;font-size:16px;line-height:24px}html body .replica-flow .flow-error[hidden]{display:none}html body .replica-flow .flow-note{margin:18px 0;color:#6e727b;font-size:14px;line-height:21px}html body .replica-flow .flow-note:empty{display:none}
html body .replica-flow[data-kind=delete] .flow-card{height:168px;padding-top:35px}html body .replica-flow .flow-confirm h2{font-size:26px;line-height:34px;margin:0 0 17px}html body .replica-flow .flow-confirm p{font-size:18px;line-height:27px;margin:0;color:#6e727b}html body .replica-flow[data-kind=reverse] .flow-card{min-height:187px}html body .replica-flow[data-kind=correct] .flow-card{min-height:413px}
html body .replica-flow[data-kind=payment-history] .flow-card{padding-top:27px}html body .replica-flow .flow-cash-summary{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:20px;margin:0 0 19px}html body .replica-flow .flow-cash-stat{height:124px;padding:16px 20px;border:1px solid #e4e6eb;border-radius:14px}html body .replica-flow .flow-cash-stat span{display:block;color:#6e727b;font-size:16px;line-height:24px}html body .replica-flow .flow-cash-stat strong{display:block;margin-top:24px;font-size:33px;font-weight:600;line-height:40px;color:#1d1d1f}
html body .replica-flow #cash-history{overflow:visible!important;max-height:none!important;margin:0 0 29px}html body .replica-flow .flow-history-table{width:100%;table-layout:fixed;border-collapse:collapse}html body .replica-flow .flow-history-table th{height:48px;padding:0 12px!important;background:#f1f3f6!important;color:#6e727b!important;font-size:16px;font-weight:400;border:0}html body .replica-flow .flow-history-table td{height:68px;padding:12px!important;border-bottom:1px solid #e4e6eb;color:#1d1d1f;font-size:16px;font-weight:400;line-height:24px}html body .replica-flow .flow-history-table th:nth-child(1){width:29.56%}html body .replica-flow .flow-history-table th:nth-child(2),html body .replica-flow .flow-history-table th:nth-child(3){width:20.4%}html body .replica-flow .flow-history-table tr.is-selected{background:#f0f6ff}html body .replica-flow .flow-cash-status:empty{display:none}html body .replica-flow .flow-cash-status{color:#b4232c;font-size:15px;line-height:24px;margin:20px 0 0}html body .replica-flow .flow-cash-notes{margin:12px 0;color:#6e727b;font-size:14px}html body .replica-flow .flow-cash-notes:has(>summary:only-child){display:none}html body .replica-flow .flow-cash-notes .review-correction{padding:12px 0;margin:0;background:transparent;border:0}html body .replica-flow .flow-empty{font-size:16px;color:#6e727b;padding:18px 12px}
html body .replica-flow[data-kind=voucher] .flow-card{height:500px;padding:29px 0 39px}html body .replica-flow .flow-voucher{width:calc(100% - 258px);height:430px;margin:auto;border:1px solid #e4e6eb;border-radius:12px;background:#f8f9fb;display:flex;align-items:center;justify-content:center;overflow:hidden}html body .replica-flow #big-img{display:block;width:100%;height:100%;object-fit:contain;border-radius:0!important;max-width:100%}
html body #m-expense .flow-attachments{grid-column:1/-1}html body #m-expense .flow-attachments[hidden]{display:none}html body #m-expense .flow-attachments>label{display:block;margin:0 0 13px;font-size:16px;color:#6e727b;font-weight:400;line-height:19px}html body #m-expense .flow-attachments #ex-previews{display:inline-flex!important;vertical-align:middle;margin:0!important}html body #m-expense .flow-attachments .flow-add-more{display:inline-flex;margin-left:20px;border:0;background:transparent;color:#007aff;font-size:16px;height:42px}
@media(max-width:1000px){html body .replica-flow{padding:28px 24px 65px!important}html body .replica-flow .flow-voucher{width:calc(100% - 64px)}}@media(max-width:650px){html body .replica-flow .flow-grid{grid-template-columns:1fr!important}html body .replica-flow .flow-card{padding:24px}html body .replica-flow .flow-cash-summary{grid-template-columns:1fr}html body .replica-flow .flow-footer{flex-wrap:wrap}html body .replica-flow .flow-voucher{width:100%}html body .replica-flow[data-kind=reverse] .flow-card,html body .replica-flow[data-kind=correct] .flow-card{height:auto}}

html body #m-expense .flow-attachments{margin-top:-8px}

html body.replica-flow-open #m-expense{display:none!important}
html body #m-expense .flow-attachments img{width:142px!important;height:76px!important;object-fit:contain!important;background:#f8f9fb}

/* Full-page roots are business pages, including when the legacy theme marks html. */
html.ui-apple body .overlay.replica-flow,html body .overlay.replica-flow{background:#f5f5f7!important;backdrop-filter:none!important;align-items:initial!important;justify-content:initial!important}
html body .replica-flow>.flow-button.flow-back{display:flex!important;width:auto!important;min-width:0!important;height:24px!important;min-height:24px!important;padding:0!important;margin:0 0 24px!important;border:0!important;border-radius:0!important;box-shadow:none!important;background:transparent!important;color:#007aff!important;line-height:24px!important}

html body .replica-flow .flow-history-table th:first-child{border-top-left-radius:8px;border-bottom-left-radius:8px}html body .replica-flow .flow-history-table th:last-child{border-top-right-radius:8px;border-bottom-right-radius:8px}
