/* Sahanaz Pay v0.5.2: merchant page UI measured from user's 2026-10-11 screen recording.
   No third-party images/scripts. Reference alignment is presentation only; business rules remain server-owned. */
body.layout-portal.merchant-portal .merchant-layout.merchant-video-reference{background:#efeff7!important}
.merchant-video-reference .merchant-content{padding:18px 18px 35px!important}
.merchant-video-reference .merchant-page-heading{position:absolute!important;width:1px!important;height:1px!important;overflow:hidden!important;clip-path:inset(50%)!important;white-space:nowrap!important}
.merchant-video-reference .feature-page-panel{background:#fff!important;border:1px solid #e7eaf1!important;border-radius:5px!important;padding:0!important;box-shadow:0 2px 8px rgba(41,48,76,.055);margin-bottom:17px!important;overflow:visible}
.merchant-video-reference .feature-page-panel>.merchant-section-title{min-height:43px;border-bottom:1px solid #e8eaf0;margin:0!important;padding:12px 14px!important;display:flex;align-items:center}
.merchant-video-reference .feature-page-panel>.merchant-section-title h2{font-size:14px!important;font-weight:650!important;letter-spacing:0;margin:0!important;color:#29303d!important}
.merchant-video-reference .feature-page-panel>.merchant-section-title p{font-size:11px!important;color:#98a1b1!important;margin:4px 0 0}
.merchant-video-reference .feature-page-panel .feature-filter{margin:0!important;padding:17px 13px 20px;align-items:center;display:flex;flex-wrap:wrap;gap:10px 16px}
.merchant-video-reference .feature-filter label{display:flex;align-items:center;flex:0 1 160px;min-width:118px;margin:0;font-size:12px;color:#7d8798;gap:0}
.merchant-video-reference .feature-filter label>span.sr-only{position:absolute}
.merchant-video-reference .feature-filter input,.merchant-video-reference .feature-filter select{height:33px!important;min-height:33px!important;padding:5px 10px!important;font-size:12px!important;background-color:#fff!important;border:1px solid #dfe3e9!important;border-radius:4px!important;box-shadow:none!important;color:#646b7b!important;line-height:21px!important;width:100%!important;outline-offset:2px!important}
.merchant-video-reference .feature-filter select{padding-right:30px!important;appearance:none;background-image:url('data:image/svg+xml,%3Csvg xmlns="http://www.w3.org/2000/svg" width="12" height="8" viewBox="0 0 12 8"%3E%3Cpath fill="none" stroke="%23949daa" stroke-width="1.5" d="m1 1 5 5 5-5"/%3E%3C/svg%3E')!important;background-position:right 10px center!important;background-repeat:no-repeat!important}
.merchant-video-reference .feature-filter input::placeholder{color:#a6adb9!important}
.merchant-video-reference .feature-filter button[type=submit],.merchant-video-reference .feature-filter>button:not([type]),.merchant-video-reference .feature-edit-form button{height:33px!important;min-height:33px!important;min-width:79px!important;background:#4979ee!important;color:white!important;border:0!important;border-radius:4px!important;padding:6px 12px!important;font-weight:550!important;font-size:12px!important;cursor:pointer}
.merchant-video-reference .feature-filter input:focus-visible,.merchant-video-reference .feature-filter select:focus-visible{border-color:#4b80f3!important;box-shadow:0 0 0 2px rgba(81,124,234,.12)!important;outline:0}
.merchant-video-reference .ref-filter label{max-width:175px;flex:0 1 153px}
.merchant-video-reference .ref-date-range{display:flex;flex:0 1 320px;gap:6px;align-items:center;min-width:245px}
.merchant-video-reference .ref-date-range label{flex:1 1 125px;min-width:106px;max-width:none}
.merchant-video-reference .ref-date-range>span{flex:none;color:#8993a3;font-size:12px}
.merchant-video-reference .ref-table-toolbar{display:flex;gap:5px;align-items:center;padding:13px 13px 6px;min-height:34px;flex-wrap:wrap}
.merchant-video-reference .ref-table-toolbar.ref-right{justify-content:flex-end}
.merchant-video-reference .ref-table-toolbar button{font-size:11px!important;background:#e89399!important;color:#fff!important;border:0!important;border-radius:3px!important;height:28px!important;min-height:28px!important;padding:4px 10px!important;box-shadow:none!important}
.merchant-video-reference .ref-table-toolbar button:nth-child(2){background:#dfa84e!important}
.merchant-video-reference .ref-table-toolbar button:nth-child(3){background:#d96f72!important}
.merchant-video-reference .ref-table-toolbar button:disabled{opacity:.66;cursor:not-allowed}
.merchant-video-reference .ref-toolbar-info{font-size:11px;color:#9ba2af;margin-left:auto}
.merchant-video-reference .feature-page-panel>.tablewrap,.merchant-video-reference .feature-page-panel>.ref-list-note+.tablewrap{margin:0 13px 8px!important;max-width:calc(100% - 26px)!important;overflow:auto!important;border:1px solid #e4e7eb!important;border-radius:0!important}
.merchant-video-reference .tablewrap{margin:9px 13px 13px!important;max-width:calc(100% - 26px)!important;border:1px solid #e6e8ec!important}
.merchant-video-reference .tablewrap table{border-collapse:collapse!important;min-width:940px;font-size:11px!important;color:#5b6573!important}
.merchant-video-reference .tablewrap thead th{white-space:nowrap!important;font-size:11px!important;letter-spacing:0;color:#545f6e!important;background:#fff!important;font-weight:500!important;border:1px solid #e8eaee!important;padding:12px 9px!important;text-align:left}
.merchant-video-reference .tablewrap td{padding:11px 9px!important;border:1px solid #e8eaee!important;vertical-align:middle!important;line-height:1.7!important;color:#586375!important;white-space:normal;overflow-wrap:anywhere}
.merchant-video-reference .tablewrap td a{color:#4b77e6!important;text-decoration:none!important}
.merchant-video-reference .tablewrap tbody tr:hover{background:#f8faff!important}
.merchant-video-reference .ref-order-ids{display:flex;flex-direction:column;gap:3px;min-width:140px;max-width:225px;line-height:1.55}
.merchant-video-reference .ref-order-ids span{overflow-wrap:anywhere}
.merchant-video-reference .ref-pay-label{color:#fff;display:inline-block;padding:2px 6px;border-radius:3px;font-size:11px;font-weight:500;white-space:nowrap}
.merchant-video-reference .ref-pay-label.ref-wxpay{background:#3f81e7}
.merchant-video-reference .ref-pay-label.ref-alipay{background:#1b9be1}
.merchant-video-reference .ref-table-action{display:inline-flex;color:white!important;background:#4875e8;border-radius:3px;padding:5px 13px;text-decoration:none!important;white-space:nowrap}
.merchant-video-reference .ref-list-note{font-size:11px;color:#8c96a5;margin:14px 13px 0}
.merchant-video-reference .feature-pagination{margin:12px 13px!important;padding-bottom:13px}
.merchant-video-reference .feature-pagination a{border-radius:3px!important;background:#fff!important;border:1px solid #e5e7ef!important;color:#4975e7!important}
.merchant-video-reference .feature-detail-grid{padding:6px 16px 16px!important}
.merchant-video-reference .feature-honest-note{margin:12px 14px 18px!important;border-radius:4px!important;box-shadow:none!important}
.merchant-video-reference .feature-edit-form{margin:14px!important}
.merchant-video-reference .feature-status-line{margin:15px 16px!important}
.merchant-video-reference .feature-page-panel>p{margin:14px!important;font-size:12px;color:#758095}
.merchant-video-reference .ref-date-presets{display:flex;border:1px solid #dde2e9;align-items:stretch;height:33px;border-radius:4px;overflow:hidden}
.merchant-video-reference .ref-date-presets button{background:#fff;color:#7a8493;border:0;border-right:1px solid #e6e8ec;padding:0 9px;font-size:12px;min-width:0;white-space:nowrap;cursor:pointer}
.merchant-video-reference .ref-date-presets button:last-child{border-right:0}
.merchant-video-reference .ref-date-presets button.selected{background:#4d7af1;color:#fff}
.merchant-video-reference .ref-stat-filter .ref-date-range{flex-basis:290px}
.merchant-video-reference .ref-stat-cards{display:grid;grid-template-columns:repeat(6,minmax(0,1fr));gap:10px;margin-bottom:12px}
.merchant-video-reference .ref-stat-cards>div{background:white;border:1px solid #e7e8ee;box-shadow:0 2px 7px rgba(40,49,70,.05);min-height:44px;padding:13px 10px;font-size:12px;color:#4e5a6a;display:flex;gap:5px;align-items:center;flex-wrap:wrap;border-radius:3px}
.merchant-video-reference .ref-stat-cards strong{font-weight:600;color:#27364e}
.merchant-video-reference .ref-tabs{display:flex;margin:12px 13px;border-bottom:1px solid #e4e7ed;gap:18px}
.merchant-video-reference .ref-tabs button{border:0;background:transparent;padding:9px 3px 11px;color:#333d4d;font-size:13px;position:relative;cursor:pointer}
.merchant-video-reference .ref-tabs button[aria-selected=true]{color:#466ddd}
.merchant-video-reference .ref-tabs button[aria-selected=true]:after{position:absolute;bottom:-1px;left:0;right:0;height:2px;background:#4773df;content:""}
.merchant-video-reference [data-ref-panel][hidden]{display:none!important}
/* Progressive-enhancement dropdown: native select remains present for form submission. */
.merchant-video-reference .ref-select-wrap{position:relative;flex:1;min-width:0;width:100%}
.merchant-video-reference .ref-select-wrap>select.ref-select-native{position:absolute!important;width:1px!important;height:1px!important;opacity:0!important;pointer-events:none!important}
.merchant-video-reference .ref-select-trigger{height:33px;width:100%;background:#fff;border:1px solid #dde2ea;color:#6f7888;border-radius:4px;font-size:12px;text-align:left;display:flex;align-items:center;justify-content:space-between;gap:9px;padding:0 10px;cursor:pointer;white-space:nowrap;overflow:hidden}
.merchant-video-reference .ref-select-trigger[aria-expanded=true]{border-color:#4c7ff3;box-shadow:0 0 0 2px rgba(76,127,243,.09)}
.merchant-video-reference .ref-select-trigger::after{content:"";flex:none;width:7px;height:7px;border-right:1px solid #8793a4;border-bottom:1px solid #8793a4;transform:translateY(-2px) rotate(45deg)}
.merchant-video-reference .ref-select-trigger[aria-expanded=true]::after{transform:translateY(2px) rotate(225deg)}
.merchant-video-reference .ref-select-pop{position:absolute;z-index:250;top:calc(100% + 6px);left:0;min-width:100%;width:max-content;max-width:min(280px,80vw);padding:6px;background:#fff;border:1px solid #e6e9ef;border-radius:5px;box-shadow:0 8px 25px rgba(23,39,63,.16);max-height:280px;overflow-y:auto}
.merchant-video-reference .ref-select-pop[hidden]{display:none}
.merchant-video-reference .ref-select-pop button{display:block;width:100%;min-width:110px;min-height:32px;text-align:left;border:0;border-radius:3px;padding:7px 10px;background:#fff;color:#647184;font-size:12px;cursor:pointer;white-space:nowrap}
.merchant-video-reference .ref-select-pop button:hover,.merchant-video-reference .ref-select-pop button[aria-selected=true]{background:#edf2ff;color:#4074df}
.merchant-video-reference .ref-select-pop button:focus-visible{outline:2px solid #5783ea}
.merchant-video-reference .ref-select-wrap:focus-within{z-index:10}
@media(max-width:1140px){.merchant-video-reference .ref-stat-cards{grid-template-columns:repeat(3,minmax(0,1fr))}.merchant-video-reference .ref-filter label{flex-basis:148px}}
@media(max-width:820px){.merchant-video-reference .merchant-content{padding:13px!important}.merchant-video-reference .ref-stat-cards{grid-template-columns:repeat(2,minmax(0,1fr))}.merchant-video-reference .feature-filter{display:flex!important;gap:9px!important}.merchant-video-reference .feature-filter label{flex:1 1 145px;max-width:none}.merchant-video-reference .ref-date-range{flex:1 1 100%;max-width:none}.merchant-video-reference .ref-date-presets{order:3;width:100%;justify-content:space-between}.merchant-video-reference .ref-date-presets button{flex:1}.merchant-video-reference .feature-filter button[type=submit]{flex:0 0 auto}.merchant-video-reference .ref-select-wrap>select.ref-select-native{position:relative!important;width:100%!important;height:33px!important;opacity:1!important;pointer-events:auto!important}.merchant-video-reference .ref-select-trigger,.merchant-video-reference .ref-select-pop{display:none!important}}
@media(max-width:430px){.merchant-video-reference .ref-stat-cards{grid-template-columns:1fr 1fr;gap:6px}.merchant-video-reference .ref-stat-cards>div{font-size:11px}.merchant-video-reference .ref-date-range{min-width:0}.merchant-video-reference .ref-table-toolbar{gap:4px}.merchant-video-reference .ref-table-toolbar button{font-size:10px!important;padding:4px 6px!important}.merchant-video-reference .ref-toolbar-info{flex-basis:100%}.merchant-video-reference .ref-tabs{gap:10px}.merchant-video-reference .ref-tabs button{font-size:12px}.merchant-video-reference .tablewrap{margin-left:8px!important;margin-right:8px!important;max-width:calc(100% - 16px)!important}}
/* Recording-specific pages: polling, payment settings, API, cashier and account plans. */
.merchant-video-reference .ref-poll-top{display:flex;align-items:center;gap:12px;margin:8px 14px 14px;font-size:12px;color:#a0a8b5}
.merchant-video-reference .ref-poll-top button,.merchant-video-reference .ref-poll-empty button,.merchant-video-reference .ref-poll-save button,.merchant-video-reference .ref-cashier-builder>button{font-size:12px;border:0;border-radius:3px;background:#4b77ed;color:white;padding:9px 15px;min-height:32px}
.merchant-video-reference :is(.ref-poll-top button,.ref-poll-empty button,.ref-poll-save button,.ref-cashier-builder>button):disabled{opacity:.55;cursor:not-allowed}
.merchant-video-reference .ref-neutral-hint{background:#f5f5f7;color:#87909d;border-radius:3px;padding:14px 15px;margin:13px 14px 0;font-size:12px;line-height:1.65}
.merchant-video-reference .ref-neutral-hint p{margin:2px 0 0}
.merchant-video-reference .ref-poll-layout{display:grid;grid-template-columns:260px minmax(0,1fr);gap:14px;margin-bottom:17px}
.merchant-video-reference .ref-poll-layout>div{min-width:0}
.merchant-video-reference .ref-poll-left,.merchant-video-reference .ref-poll-right section{background:white;border:1px solid #e7eaf0;box-shadow:0 2px 7px #29354a0b;border-radius:3px}
.merchant-video-reference .ref-poll-left{min-height:420px}
.merchant-video-reference .ref-poll-right{display:grid;align-content:start;gap:13px}
.merchant-video-reference .ref-poll-title{padding:15px;font-size:13px;color:#343e4b;border-bottom:1px solid #e5e8ee;font-weight:650;display:flex;justify-content:space-between}
.merchant-video-reference .ref-poll-title span{font-weight:400;font-size:11px;color:#9da7b4}
.merchant-video-reference .ref-poll-empty{min-height:360px;display:flex;flex-direction:column;align-items:center;justify-content:center;color:#9ca6b5;font-size:12px;gap:6px}
.merchant-video-reference .ref-poll-empty strong{font-weight:400}.merchant-video-reference .ref-poll-empty p{margin:0}
.merchant-video-reference .ref-illustration{font-size:52px;color:#c8ced8;line-height:1;margin-bottom:5px}
.merchant-video-reference .ref-poll-fields{display:grid;grid-template-columns:2fr 1.1fr .8fr .5fr;gap:10px;padding:14px}
.merchant-video-reference .ref-poll-fields label{display:grid;gap:9px;font-size:12px;color:#6d798a;min-width:0}
.merchant-video-reference .ref-poll-fields input:not([type=checkbox]),.merchant-video-reference .ref-poll-fields select{height:32px!important;min-height:32px!important;border:1px solid #e0e4eb;border-radius:3px;padding:5px 8px;font-size:12px;width:100%}
.merchant-video-reference .ref-poll-save{text-align:right;padding:0 14px 15px}.merchant-video-reference .ref-poll-warning{background:#fff6ef;margin:13px;color:#cf9b67;padding:12px;font-size:12px}
.merchant-video-reference .ref-setting-line{padding:14px 15px;display:grid;gap:9px;color:#6e7b8e;font-size:12px}
.merchant-video-reference .ref-setting-line+.ref-setting-line{padding-top:4px}
.merchant-video-reference .ref-setting-label{font-size:12px;color:#6d7788}
.merchant-video-reference .ref-setting-line small,.merchant-video-reference .ref-setting-line p{color:#9ba5b5;font-size:11px;margin:4px 0}
.merchant-video-reference .ref-number-fake{display:inline-block;width:165px;max-width:100%;padding:7px;background:#f8f8fa;border:1px solid #e5e8ed;border-radius:3px;color:#9ca5b3;text-align:center}
.merchant-video-reference .ref-radio-line{display:flex;align-items:center;gap:20px;flex-wrap:wrap}
.merchant-video-reference .ref-radio-line label,.merchant-video-reference .ref-disabled-switch{display:inline-flex;gap:7px;align-items:center;color:#7c8594}
.merchant-video-reference .ref-radio-line input,.merchant-video-reference .ref-disabled-switch input{accent-color:#4778ed}
.merchant-video-reference .ref-setting-line textarea{width:100%;height:auto;border:1px solid #e0e4e9;border-radius:3px;padding:9px 10px;font-size:12px;resize:vertical;max-width:100%;min-height:70px}
.merchant-video-reference .ref-api-head{display:grid;grid-template-columns:1fr 1fr;gap:15px;margin-bottom:15px}
.merchant-video-reference .ref-api-head>div{min-width:0;background:#fff;border:1px solid #e8eaf1;box-shadow:0 2px 9px #34425912;padding:16px;border-radius:5px}
.merchant-video-reference .ref-api-head h3{font-size:14px;color:#303e50;margin:0 0 14px}
.merchant-video-reference .ref-api-head h3 span{font-size:11px;color:#9ba3b2;font-weight:400;margin-left:6px}
.merchant-video-reference .ref-api-row{display:flex;gap:11px;align-items:center;border-radius:4px;background:#f4f5f9;margin:6px 0;padding:10px;font-size:12px;min-height:36px}
.merchant-video-reference .ref-api-row small{color:#99a2b1;min-width:50px;font-size:10px;letter-spacing:.04em}
.merchant-video-reference .ref-api-row strong{font-weight:550;color:#495369;overflow-wrap:anywhere;flex:1}
.merchant-video-reference .ref-api-row button,.merchant-video-reference .ref-api-endpoint button{border:0;border-radius:3px;background:#5789ef;color:white;font-size:11px;padding:6px 12px;cursor:pointer}
.merchant-video-reference .ref-api-row span{font-size:11px;color:#9ba5b2}
.merchant-video-reference .ref-api-disabled{min-height:103px;background:#f4f4f8;border:1px dashed #e3e5ed;border-radius:5px;display:grid;place-items:center;text-align:center;font-size:12px;color:#9da4b1}
.merchant-video-reference .ref-api-workspace{display:grid;grid-template-columns:218px minmax(0,1fr);background:#fff;border:1px solid #e4e8ef;min-height:380px;border-radius:5px;overflow:hidden;margin-bottom:15px}
.merchant-video-reference .ref-api-workspace>nav{background:#f5f6fa;border-right:1px solid #e5e9ef;padding:12px 0}
.merchant-video-reference .ref-api-workspace>nav h4{font-size:11px;color:#8995a5;margin:0 13px 10px;font-weight:450}
.merchant-video-reference .ref-api-workspace>nav>button{display:block;width:100%;background:transparent;border:0;text-align:left;padding:11px 14px;font-size:12px;color:#566171;cursor:pointer}
.merchant-video-reference .ref-api-workspace>nav>button[aria-selected=true]{background:#fff;border-left:2px solid #5480e9;color:#354a75}
.merchant-video-reference .ref-api-workspace>nav>button span,.merchant-video-reference .ref-api-endpoint>span{display:inline-block;color:white;font-size:10px;background:#d9a850;padding:2px 6px;margin-right:9px;border-radius:3px;font-weight:650}
.merchant-video-reference .ref-api-workspace>nav>p{margin:16px 14px;font-size:11px;color:#9fa8b4;line-height:1.7}
.merchant-video-reference .ref-api-panels{padding:22px 20px;min-width:0}
.merchant-video-reference .ref-api-panels article[hidden]{display:none}
.merchant-video-reference .ref-api-panels h3{font-size:17px;color:#313d50;margin:0 0 9px}
.merchant-video-reference .ref-api-panels em{font-size:10px;color:#6bae72;font-weight:400;font-style:normal;border:1px solid #d7e9d8;padding:3px 6px;border-radius:3px}
.merchant-video-reference .ref-api-panels p{font-size:12px;color:#8791a1;line-height:1.7}
.merchant-video-reference .ref-api-panels h4{font-weight:550;font-size:13px;color:#6b7585;margin:23px 0 12px}
.merchant-video-reference .ref-api-endpoint{display:flex;align-items:center;gap:10px;padding:11px 12px;border-radius:3px;background:#f4f5f8;border:1px solid #e5e7ee;margin-top:17px;min-width:0}
.merchant-video-reference .ref-api-endpoint code{flex:1;min-width:0;font-size:12px;color:#5b80b4;overflow-wrap:anywhere}
.merchant-video-reference .ref-api-panels .tablewrap{max-width:100%!important;margin:0!important}.merchant-video-reference .ref-api-panels .tablewrap table{min-width:440px}
.merchant-video-reference .ref-cashier-builder{display:inline-grid;width:min(66%,720px);vertical-align:top;padding:18px 16px;gap:17px}
.merchant-video-reference .ref-cashier-builder h3{font-size:14px;margin:0}
.merchant-video-reference .ref-cashier-builder p{margin:0;font-size:12px;color:#8792a2}
.merchant-video-reference .ref-cashier-field{display:grid;grid-template-columns:1fr 1fr;gap:10px}
.merchant-video-reference .ref-cashier-field label{display:grid;gap:8px;font-size:12px;color:#7c8999}
.merchant-video-reference .ref-cashier-field input,.merchant-video-reference .ref-cashier-field select{height:32px;border:1px solid #e1e6ee;color:#7b8797;min-width:0;padding:6px}
.merchant-video-reference .ref-cashier-themes{display:grid;grid-template-columns:repeat(4,1fr);gap:8px}
.merchant-video-reference .ref-cashier-theme{height:60px;border:1px solid #e4e8f0;border-radius:5px;display:grid;place-items:center;background:linear-gradient(145deg,#f5f6ff,#fff);color:#a3abc0;font-size:12px}
.merchant-video-reference .ref-cashier-readonly{line-height:1.8;font-size:11px!important}
.merchant-video-reference .ref-cashier-preview{display:inline-flex;width:32%;vertical-align:top;margin:15px 0;padding:12px;min-height:310px;gap:14px;align-items:stretch;flex-direction:column;background:#fff;border-left:1px solid #e4e8ef}
.merchant-video-reference .ref-cashier-hero{background:linear-gradient(135deg,#253656,#485a94);height:110px;padding:17px;color:#fff;font-size:11px;border-radius:4px}
.merchant-video-reference .ref-cashier-hero div{font-size:17px;margin-top:8px}.merchant-video-reference .ref-cashier-hero strong{display:block;font-size:11px;margin-top:4px}
.merchant-video-reference .ref-cashier-fakeqr{margin:0 auto;border:1px dashed #dce2ed;border-radius:4px;min-height:130px;width:130px;display:grid;place-items:center;color:#a4adbb;font-size:12px;text-align:center}
.merchant-video-reference .ref-cashier-fakeqr small{font-size:9px}
.merchant-video-reference .ref-plan-current{background:linear-gradient(110deg,#111826,#283552);border-radius:8px;min-height:100px;display:grid;align-content:center;gap:7px;color:#fff;padding:18px;margin-bottom:16px}
.merchant-video-reference .ref-plan-current small{font-size:11px;color:#89aaf1}.merchant-video-reference .ref-plan-current strong{font-size:17px}.merchant-video-reference .ref-plan-current span{font-size:11px;color:#d0daed}
.merchant-video-reference .ref-plan-grid{display:grid;grid-template-columns:repeat(5,minmax(0,1fr));gap:12px;padding:14px}
.merchant-video-reference .ref-plan-card{border:1px solid #e4e7ec;padding:15px;min-width:0;border-radius:8px;display:flex;flex-direction:column;min-height:305px}
.merchant-video-reference .ref-plan-card:first-child{border-color:#4c79ed;box-shadow:0 1px 5px #3467da20}
.merchant-video-reference .ref-plan-card h3{font-size:14px;color:#26334a;margin:0 0 12px}.merchant-video-reference .ref-plan-price{font-size:23px;color:#24354e;font-weight:700;margin-bottom:11px}
.merchant-video-reference .ref-plan-card>p{color:#8996a6;font-size:11px;line-height:1.7}
.merchant-video-reference .ref-plan-card dl{border-top:1px solid #e6e9f0;margin:10px 0;display:grid;grid-template-columns:1fr auto;gap:11px 6px;font-size:11px}
.merchant-video-reference .ref-plan-card dt{color:#8390a0}.merchant-video-reference .ref-plan-card dd{color:#556070;margin:0;text-align:right}
.merchant-video-reference .ref-plan-card button{margin-top:auto;border:1px solid #e1e5ea;background:#f7f8fc;color:#8993a3;border-radius:4px;height:34px;font-size:11px;cursor:not-allowed}
.merchant-video-reference .ref-plan-card:first-child button{background:#537cec;color:white}
@media(max-width:1200px){.merchant-video-reference .ref-plan-grid{grid-template-columns:repeat(3,minmax(0,1fr))}.merchant-video-reference .ref-poll-fields{grid-template-columns:1fr 1fr}}
@media(max-width:820px){.merchant-video-reference .ref-poll-layout{grid-template-columns:1fr}.merchant-video-reference .ref-poll-left{min-height:200px}.merchant-video-reference .ref-poll-empty{min-height:190px}.merchant-video-reference .ref-api-head{grid-template-columns:1fr}.merchant-video-reference .ref-api-workspace{grid-template-columns:1fr}.merchant-video-reference .ref-api-workspace>nav{border-right:0;border-bottom:1px solid #e5e9ef}.merchant-video-reference .ref-api-workspace>nav>button{display:inline-block;width:auto}.merchant-video-reference .ref-plan-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.merchant-video-reference .ref-cashier-builder,.merchant-video-reference .ref-cashier-preview{display:block;width:auto!important}.merchant-video-reference .ref-cashier-preview{border-left:0;border-top:1px solid #e6e9f0}}
@media(max-width:430px){.merchant-video-reference .ref-plan-grid{grid-template-columns:1fr}.merchant-video-reference .ref-poll-fields{grid-template-columns:1fr}.merchant-video-reference .ref-cashier-field{grid-template-columns:1fr}.merchant-video-reference .ref-api-panels{padding:13px}.merchant-video-reference .ref-api-row{flex-wrap:wrap}}
/* Fix specificity collisions with legacy form labels/button skinning. */
.merchant-video-reference .feature-filter .sr-only,.merchant-video-reference .feature-edit-form .sr-only{position:absolute!important;width:1px!important;height:1px!important;padding:0!important;margin:-1px!important;overflow:hidden!important;clip:rect(0,0,0,0)!important;white-space:nowrap!important;border:0!important}
.merchant-video-reference .ref-filter .ref-select-trigger{height:33px!important;min-height:33px!important;width:100%!important;min-width:0!important;border:1px solid #dfe3e9!important;background:#fff!important;color:#646b7b!important;box-shadow:none!important;padding:0 10px!important;border-radius:4px!important;text-align:left!important;display:flex!important;align-items:center!important;justify-content:space-between!important;gap:9px!important;font-size:12px!important;font-weight:400!important}
.merchant-video-reference .ref-filter .ref-select-pop button{border:0!important;background:#fff!important;color:#647184!important;text-align:left!important;width:100%!important;min-height:32px!important;font-size:12px!important;box-shadow:none!important;font-weight:400!important}
.merchant-video-reference .ref-filter .ref-select-pop button:hover,.merchant-video-reference .ref-filter .ref-select-pop button[aria-selected=true]{background:#edf2ff!important;color:#4074df!important}
.merchant-video-reference .tablewrap td a.ref-table-action{color:#fff!important;font-size:11px;font-weight:500}
/* The reference's account-management screen also uses expanded filter dropdowns. */
.merchant-layout .pay-channel-filters .ref-select-wrap{position:relative;display:block;min-width:0;width:100%}
.merchant-layout .pay-channel-filters .ref-select-wrap>select.ref-select-native{position:absolute!important;width:1px!important;height:1px!important;opacity:0!important;pointer-events:none!important}
.merchant-layout .pay-channel-filters .ref-select-trigger{width:100%;min-width:0;height:34px!important;min-height:34px!important;display:flex;align-items:center;justify-content:space-between;background:#fff!important;color:#657182!important;border:1px solid #e0e5ec!important;border-radius:4px!important;font-size:12px!important;padding:0 10px!important;box-shadow:none!important;font-weight:400!important;white-space:nowrap}
.merchant-layout .pay-channel-filters .ref-select-trigger::after{content:"";width:7px;height:7px;transform:translateY(-2px) rotate(45deg);border-right:1px solid #8995a3;border-bottom:1px solid #8995a3;margin-left:7px}
.merchant-layout .pay-channel-filters .ref-select-trigger[aria-expanded=true]{border-color:#4b7ef1!important}
.merchant-layout .pay-channel-filters .ref-select-pop{position:absolute;top:calc(100% + 6px);left:0;background:#fff;border:1px solid #e3e7ec;border-radius:4px;box-shadow:0 7px 24px #2a3b551c;z-index:200;min-width:100%;max-height:280px;overflow:auto;padding:5px}
.merchant-layout .pay-channel-filters .ref-select-pop[hidden]{display:none!important}
.merchant-layout .pay-channel-filters .ref-select-pop button{display:block;background:#fff!important;width:100%;min-width:100px;text-align:left!important;color:#657182!important;border:0!important;min-height:31px!important;padding:6px 8px!important;font-size:12px!important;cursor:pointer}
.merchant-layout .pay-channel-filters .ref-select-pop button:hover,.merchant-layout .pay-channel-filters .ref-select-pop button[aria-selected=true]{background:#edf3ff!important;color:#3974e8!important}
@media(max-width:820px){.merchant-layout .pay-channel-filters .ref-select-wrap>select.ref-select-native{position:relative!important;width:100%!important;height:34px!important;opacity:1!important;pointer-events:auto!important}.merchant-layout .pay-channel-filters .ref-select-trigger,.merchant-layout .pay-channel-filters .ref-select-pop{display:none!important}}
/* Legacy merchant input skin mistakenly applies to radio buttons: restore native 14px controls. */
.merchant-video-reference .ref-radio-line label{width:auto!important;min-width:0!important;max-width:none!important;flex:0 0 auto!important;display:inline-flex!important;white-space:nowrap!important;align-items:center!important;gap:6px!important;font-size:12px!important}
.merchant-video-reference .ref-radio-line input[type=radio]{width:14px!important;height:14px!important;min-height:14px!important;min-width:14px!important;max-width:14px!important;padding:0!important;margin:0!important;box-shadow:none!important;appearance:auto!important;border:0!important;flex:0 0 14px!important}
.merchant-video-reference .ref-setting-line input[type=checkbox]{width:14px!important;height:14px!important;min-height:14px!important;min-width:14px!important;max-width:14px!important;padding:0!important;flex:0 0 14px!important;appearance:auto!important;margin:0!important}
.merchant-video-reference .ref-disabled-switch{display:inline-flex!important;align-items:center!important;width:auto!important}
