/* V15.9.0 商户账务中心 */
.merchant-finance-head{display:flex;justify-content:space-between;align-items:flex-end;gap:16px;margin-bottom:14px;padding:4px 2px}.merchant-finance-head h3{margin:0 0 4px;color:#123b67}.merchant-finance-head p{margin:0;color:#6d7f91;font-size:13px}.merchant-finance-toolbar{display:flex;gap:8px;min-width:480px}.merchant-finance-toolbar input{min-width:300px;flex:1}.merchant-aging-cards{display:grid;grid-template-columns:repeat(5,minmax(150px,1fr));gap:10px;margin-bottom:14px}.merchant-aging-card{border:1px solid #d8e6f3;border-radius:12px;background:#fff;padding:13px 15px;text-align:left;cursor:pointer;box-shadow:0 2px 8px rgba(18,74,119,.05)}.merchant-aging-card:hover{border-color:#8bbbe0;background:#f8fbfe}.merchant-aging-card span{display:block;color:#536b80;font-weight:700;font-size:13px}.merchant-aging-card b{display:block;color:#154f82;font-size:22px;margin:6px 0 2px}.merchant-aging-card small{color:#8a9bad}.merchant-aging-card.danger{border-color:#f0c8c4;background:#fffafa}.merchant-aging-card.danger b{color:#b42318}.merchant-active-filter{margin:-4px 0 10px;padding:8px 12px;background:#fff8e6;border:1px solid #f2d48e;border-radius:8px;color:#7a5400}.merchant-finance-card{overflow:hidden}.merchant-finance-wrap{max-height:560px}.merchant-finance-table{min-width:1540px;border-collapse:separate;border-spacing:0}.merchant-finance-table th{position:sticky;top:0;z-index:3;background:#327faf;color:#fff;white-space:nowrap}.merchant-finance-table th,.merchant-finance-table td{border-right:1px solid #e5ebf0;border-bottom:1px solid #e5ebf0;padding:11px 10px;text-align:center}.merchant-finance-table td.left{text-align:left}.merchant-finance-table tbody tr:hover td{background:#f5f9fd}.merchant-finance-table small{display:block;color:#7d8c98;margin-top:3px}.merchant-name-link{font-size:14px}.merchant-finance-dialog{width:min(1500px,96vw)}.merchant-detail-cards{display:grid;grid-template-columns:repeat(6,minmax(140px,1fr));gap:10px;margin-bottom:16px}.merchant-detail-card{border:1px solid #dce7f0;border-radius:10px;padding:12px;background:#f9fbfd}.merchant-detail-card span{display:block;color:#6d7f91;font-size:12px}.merchant-detail-card b{display:block;color:#124e80;font-size:20px;margin-top:5px}.merchant-detail-card.danger{background:#fff6f5;border-color:#efc6c2}.merchant-detail-card.danger b{color:#b42318}.merchant-detail-section{margin-top:16px}.merchant-detail-section h3{margin:0 0 8px;color:#173f65}.merchant-detail-table{min-width:1080px;width:100%;border-collapse:collapse}.merchant-detail-table th{background:#327faf;color:#fff}.merchant-detail-table th,.merchant-detail-table td{padding:9px 10px;border:1px solid #e3eaf0;text-align:center}.merchant-age-badge{display:inline-block;padding:3px 8px;border-radius:999px;background:#fff1cf;color:#8a5d00;font-weight:700;font-size:12px}.merchant-age-badge.danger{background:#fee9e7;color:#b42318}@media(max-width:1100px){.merchant-finance-head{align-items:stretch;flex-direction:column}.merchant-finance-toolbar{min-width:0;width:100%}.merchant-aging-cards{grid-template-columns:repeat(2,1fr)}.merchant-detail-cards{grid-template-columns:repeat(2,1fr)}}
/* W3.1.10-POINT-MANAGEMENT-R4-BEGIN
   Absolute square-corner closeout.
   Loaded after every historical stylesheet so old rounded declarations cannot reappear.
   Genuine circular indicators/radio/checkbox controls remain circular by design. */

/* 1) The four application/workflow viewport corners must be true 90-degree corners. */
html,
body.w3110-square-r4,
body.w3110-square-r4 #appShell,
body.w3110-square-r4 .app-shell,
body.w3110-square-r4 #appShell > header,
body.w3110-square-r4 #appShell .header-inner,
body.w3110-square-r4 #appShell .workspace-layout,
body.w3110-square-r4 #appShell .workspace-sidebar,
body.w3110-square-r4 #appShell .workspace-main,
body.w3110-square-r4 #appShell .wrap,
body.w3110-square-r4 .r2954-sidebar-brand,
body.w3110-square-r4 .r2954-collapse-all,
body.w3110-square-r4 dialog,
body.w3110-square-r4 dialog[open],
body.w3110-square-r4 dialog.detail-fullscreen,
body.w3110-square-r4 dialog.detail-fullscreen[open],
body.w3110-square-r4 .w312-wanda-approval-page,
body.w3110-square-r4 .w312-wanda-titlebar,
body.w3110-square-r4 .w312-wanda-body,
body.w3110-square-r4 .w312-wanda-foot,
body.w3110-square-r4 .w3110-point-editor,
body.w3110-square-r4 .w3110-r3-editor,
body.w3110-square-r4 .w3110-r3-approval-page,
body.w3110-square-r4 .w3110-r3-approval-detail {
  border-radius:0!important;
  clip-path:none!important;
  -webkit-mask-image:none!important;
  mask-image:none!important;
}

/* 2) Stronger than old high-specificity !important declarations for rectangular business UI. */
html body.w3110-square-r4.w3110-square-r4.w3110-square-r4.w3110-square-r4 :where(
  button,
  input:not([type="radio"]):not([type="checkbox"]),
  select,textarea,fieldset,
  .card,.cards,.tabs,.tab-btn,.toolbar,.table-card,.table-wrap,.summary-bar,
  .status,.notice,.preview,.detail-item,.mini,
  .header-logo-wrap,.brand-block,.login-shell,.login-visual,.login-card,.login-field,.login-input-line,.login-password,.login-button,
  .dialog-head,.dialog-body,.dialog-foot,.detail-summary,.form-grid,
  .ledger-identity,.ledger-card,.ledger-tabs,.ledger-tab-btn,.ledger-section,.ledger-mini-item,.ledger-alert,.ledger-table-wrap,.ledger-type,.ledger-form-card,
  .statement-sheet,.shop-operations-strip,.shop-operation-card,.admin-section,.admin-card,.admin-table-wrap,
  .merchant-aging-card,.merchant-active-filter,.merchant-detail-card,.merchant-age-badge,
  .exit-settlement-outcome,.exit-settlement-sheet,.termination-preview-grid>div,
  .workspace-page-head,.workspace-page-badge,.overview-card,.overview-panel,.quick-entry-grid,
  .w20-shop-query,.w20-shop-action-buttons,.w21-shop-picker,.w21-shop-option,.w21-shop-selection-summary,
  .w3110-point-query,.w3110-point-actions,.w3110-point-card,.w3110-r2-modebar,.w3110-r2-editor-body,
  .w3110-r3-field-sheet,.w3110-field,.w3110-picker-section,.w3110-picker-toolbar,.w3110-picker-head,.w3110-picker,.w3110-picker-row,
  .w3110-r2-source-line,.w3110-r2-split-meta,.w3110-totals,.w3110-r2-foot,.w3110-r2-approval-summary,.w3110-r2-detail-summary,
  .w3110-r2-subtitle,.w3110-r2-note-line,.w311-review-note,.w312-section-title,.w312-approval-filterbar,
  [class*="-dialog"],[class*="-modal"],[class*="-card"],[class*="-badge"],[class*="-chip"],
  [class*="-tab-btn"],[class*="-tabs"],[class*="-toolbar"],[class*="-sheet"],[class*="-box"],[class*="-wrap"]
){border-radius:0!important}

/* 3) Root/sidebar/footer pseudo-elements may visually round the outside edge even when parent is square. */
body.w3110-square-r4 .workspace-sidebar::before,
body.w3110-square-r4 .workspace-sidebar::after,
body.w3110-square-r4 .r2954-sidebar-brand::before,
body.w3110-square-r4 .r2954-sidebar-brand::after,
body.w3110-square-r4 .r2954-collapse-all::before,
body.w3110-square-r4 .r2954-collapse-all::after,
body.w3110-square-r4 dialog::before,
body.w3110-square-r4 dialog::after {
  border-radius:0!important;
  clip-path:none!important;
}

/* 4) Login rules historically used higher-specificity rounded !important declarations. */
html body.w3110-square-r4.login-active.w308-wanda-login-cover .login-shell,
html body.w3110-square-r4.login-active.w309-wanda-login-pixel .login-shell,
html body.w3110-square-r4.login-active .login-card,
html body.w3110-square-r4.login-active .login-button,
html body.w3110-square-r4.login-active .login-password,
html body.w3110-square-r4.login-active .login-input-line {
  border-radius:0!important;
}

/* Preserve actual round indicators; these are not rounded rectangles. */
body.w3110-square-r4 input[type="radio"],
body.w3110-square-r4 input[type="checkbox"],
body.w3110-square-r4 .shop-signal-light,
body.w3110-square-r4 .shop-signal-light i,
body.w3110-square-r4 .r2959-warning-dot,
body.w3110-square-r4 .w312-title-help {
  /* intentional native/circular semantics */
}
/* W3.1.10-POINT-MANAGEMENT-R4-END */
