.pvh-wrap,.pvh-front{box-sizing:border-box}.pvh-wrap{margin-inline:20px 20px;max-width:none;padding:8px 0 40px}.pvh-wrap *,.pvh-front *{box-sizing:border-box}.pvh-card{background:#fff;border:1px solid #dcdcde;border-radius:8px;padding:20px;margin:0 0 20px;box-shadow:0 1px 2px rgba(0,0,0,.03)}
.pvh-stats{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:16px;margin:0 0 20px}.pvh-stat{background:#fff;border:1px solid #dcdcde;border-radius:8px;padding:18px}.pvh-stat span{display:block;color:#646970;margin-bottom:7px}.pvh-stat strong{font-size:25px;line-height:1}
.pvh-section-heading,.pvh-option-manager,.pvh-search-action-row,.pvh-page-actions{display:flex;align-items:center;justify-content:space-between;gap:12px}.pvh-section-heading{margin-bottom:16px}.pvh-section-heading h2,.pvh-section-heading h3{margin:0}.pvh-section-heading p{margin:5px 0 0;color:#646970}.pvh-inline-actions{display:flex;align-items:center;gap:8px;flex-wrap:wrap}.pvh-page-actions{justify-content:flex-start;margin-bottom:18px}
.pvh-dashboard-tabs{display:flex;gap:4px;flex-wrap:wrap;margin:0 0 18px;padding:5px;background:#f0f0f1;border:1px solid #dcdcde;border-radius:8px}.pvh-dashboard-tabs button,.pvh-section-tabs button,.pvh-section-tabs a{appearance:none;border:0;background:transparent;border-radius:6px;padding:9px 14px;color:#1d2327;text-decoration:none;cursor:pointer;font-size:14px}.pvh-dashboard-tabs button:hover,.pvh-section-tabs button:hover,.pvh-section-tabs a:hover{background:#e2e3e5}.pvh-dashboard-tabs button.is-active,.pvh-section-tabs button.is-active,.pvh-section-tabs a.is-active{background:#fff;box-shadow:0 1px 2px rgba(0,0,0,.08);font-weight:600}.pvh-dashboard-panel{display:none}.pvh-dashboard-panel.is-active{display:block}
.pvh-section{border:1px solid #e0e0e0;border-radius:8px;padding:18px;margin:0 0 18px;background:#fff}.pvh-section>h2{font-size:17px;margin:0 0 16px;padding-bottom:10px;border-bottom:1px solid #eee}.pvh-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:16px}.pvh-grid-2{grid-template-columns:repeat(2,minmax(0,1fr))}.pvh-field-box{min-width:0}.pvh-field-label,.pvh-field>label,.pvh-filter-label{display:block;font-weight:600;margin:0 0 7px}.pvh-input,.pvh-table-search,.pvh-product-search,.pvh-searchable-select select{width:100%;min-height:38px;border:1px solid #8c8f94;border-radius:6px;background:#fff;padding:7px 10px;box-shadow:none}.pvh-input:focus,.pvh-table-search:focus,.pvh-searchable-select select:focus{border-color:#2271b1;box-shadow:0 0 0 1px #2271b1;outline:0}.pvh-form-actions{display:flex;justify-content:flex-end;gap:8px;flex-wrap:wrap;margin-top:16px}.pvh-theme-button,.pvh-wrap .button,.pvh-front .button{border-radius:6px;min-height:38px;padding:5px 13px;line-height:1.6;box-shadow:none}.pvh-wrap .button:hover,.pvh-front .button:hover{text-decoration:none}.pvh-wrap .button.is-busy,.pvh-front .button.is-busy{opacity:.65;cursor:wait}
.pvh-user-section .pvh-section-heading{margin-bottom:12px}.pvh-user-section .pvh-standard-search{flex:1}.pvh-user-list{max-height:250px;overflow-y:auto;border:1px solid #dcdcde;border-radius:6px;background:#fff;padding:4px}.pvh-user-option{display:flex;align-items:center;gap:9px;padding:9px 10px;border-radius:5px;cursor:pointer;border-bottom:1px solid #f0f0f1}.pvh-user-option:last-child{border-bottom:0}.pvh-user-option:hover{background:#f6f7f7}.pvh-user-option input{margin:0}.pvh-user-option span{min-width:0}.pvh-user-option small{display:block;color:#646970;margin-top:2px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.pvh-selected-user{margin-top:8px;font-weight:600;color:#2271b1;min-height:20px}
.pvh-option-picker{border:1px solid #dcdcde;border-radius:6px;background:#fff;padding:5px}.pvh-option-search{margin-bottom:5px}.pvh-option-list{max-height:118px;overflow-y:auto;padding:2px}.pvh-option-row{display:grid;grid-template-columns:minmax(0,1fr) minmax(130px,.7fr);gap:8px;align-items:center;padding:7px 5px;border-bottom:1px solid #f0f0f1}.pvh-option-row:last-child{border-bottom:0}.pvh-option-row label{display:flex;align-items:center;gap:8px;min-width:0}.pvh-option-row label span{overflow:hidden;text-overflow:ellipsis}.pvh-option-row .pvh-note{min-height:34px}
.pvh-product-list{max-height:260px;overflow-y:auto;border:1px solid #dcdcde;border-radius:6px;margin-top:8px;padding:5px}.pvh-product-option{display:grid;grid-template-columns:minmax(0,1fr) auto 70px;align-items:center;gap:10px;padding:9px 7px;border-bottom:1px solid #f0f0f1}.pvh-product-option:last-child{border-bottom:0}.pvh-product-option label{display:flex;align-items:center;gap:9px;min-width:0}.pvh-product-name{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.pvh-product-price{white-space:nowrap;color:#646970}.pvh-product-qty{width:70px!important;min-height:34px!important;padding:4px 6px!important}
.pvh-table-wrap{overflow-x:auto}.pvh-separated-table{margin-top:12px}.pvh-table{width:100%;border-collapse:separate;border-spacing:0;min-width:680px}.pvh-table th,.pvh-table td{padding:11px 12px;border-bottom:1px solid #e2e4e7;text-align:start;vertical-align:middle}.pvh-table th{background:#f6f7f7;font-weight:600}.pvh-table tr:last-child td{border-bottom:0}.pvh-table td .button{white-space:nowrap}.pvh-table-toolbar{margin-bottom:14px}.pvh-standard-search{max-width:420px}.pvh-records-table{min-width:720px}
.pvh-option-main-heading{align-items:flex-start}.pvh-section-tabs{display:flex;flex-wrap:wrap;gap:5px;padding:5px;background:#f6f7f7;border:1px solid #e0e0e0;border-radius:7px}.pvh-embedded-section-tabs{margin-top:10px}.pvh-option-field-card{border:1px solid #dcdcde;border-radius:8px;margin-top:16px;padding:15px;background:#fff}.pvh-field-card-head{display:flex;align-items:center;justify-content:space-between;gap:12px;margin-bottom:12px}.pvh-field-card-head h3{margin:0;font-size:16px}.pvh-field-card-head span{font-size:12px;color:#646970}.pvh-custom-field-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}.pvh-custom-field-card{border:1px solid #dcdcde;border-radius:7px;padding:12px;display:flex;align-items:center;gap:10px;flex-wrap:wrap}.pvh-custom-field-card strong{flex:1 1 180px}.pvh-custom-field-card span{color:#646970}
.pvh-modal[hidden]{display:none!important}.pvh-modal{position:fixed;z-index:100000;inset:0;display:flex;align-items:center;justify-content:center;padding:24px}.pvh-modal-backdrop{position:absolute;inset:0;background:rgba(0,0,0,.48)}.pvh-modal-dialog{position:relative;width:min(760px,100%);max-height:calc(100vh - 48px);overflow:auto;background:#fff;border-radius:10px;border:1px solid #dcdcde;padding:24px;box-shadow:0 12px 45px rgba(0,0,0,.2);z-index:1}.pvh-modal-close{position:sticky;float:inline-end;top:0;z-index:3;width:34px;height:34px;border:1px solid #b32d2e;border-radius:50%;background:#b32d2e;color:#fff;font-size:23px;line-height:29px;cursor:pointer;box-shadow:0 2px 5px rgba(0,0,0,.15);margin:-8px -8px 8px 8px}.pvh-modal-close:hover{background:#8f2022}.pvh-modal-dialog h2{clear:none;margin:0 45px 18px 0;font-size:20px}.pvh-modal-notice{margin-bottom:10px}.pvh-modal-notice:empty{display:none}.pvh-modal-open{overflow:hidden}
.pvh-info-message{display:inline-flex;align-items:center;gap:5px}.pvh-draft-notice{padding:10px 12px;margin-bottom:16px;border-radius:6px;background:#fff8e5;border:1px solid #dba617}.pvh-inline-error{margin:0 0 10px!important}.pvh-record-meta{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:10px;margin-bottom:18px}.pvh-record-meta>div{border:1px solid #e0e0e0;border-radius:7px;padding:10px;background:#f8f9f9}.pvh-detail-section{border-top:1px solid #e0e0e0;padding-top:15px;margin-top:15px}.pvh-detail-section h3{margin:0 0 12px}.pvh-detail-field{margin:0 0 12px}.pvh-detail-field h4{margin:0 0 6px;font-size:14px}.pvh-detail-item{display:flex;flex-direction:column;gap:3px;padding:7px 10px;margin-bottom:4px;background:#f6f7f7;border-radius:5px}.pvh-detail-item small{color:#646970}.pvh-chart-legend{display:flex;gap:14px;flex-wrap:wrap;margin-bottom:15px}.pvh-chart-field{border:1px solid #dcdcde;border-radius:8px;padding:13px;margin-bottom:12px}.pvh-chart-field h3{margin:0 0 10px}.pvh-chart-visit{padding:10px;border-top:1px solid #eee}.pvh-chart-visit:first-of-type{border-top:0}.pvh-change-list{margin-top:7px}.pvh-change-list .change{padding:4px 0}.pvh-current{font-weight:600;margin-top:7px}.pvh-embedded-option-panel{display:none}.pvh-embedded-option-panel.is-active{display:block}.pvh-history-ajax-title h3{margin-top:0}
@media(max-width:900px){.pvh-grid,.pvh-grid-2,.pvh-stats,.pvh-custom-field-grid,.pvh-record-meta{grid-template-columns:1fr}.pvh-option-row{grid-template-columns:1fr}.pvh-product-option{grid-template-columns:minmax(0,1fr) auto}.pvh-product-qty{grid-column:1/-1}.pvh-wrap{margin-inline:12px}.pvh-card{padding:14px}.pvh-section-heading{align-items:flex-start;flex-direction:column}.pvh-section-heading .button,.pvh-section-heading .pvh-inline-actions{width:100%}.pvh-section-heading .pvh-inline-actions .button{flex:1}.pvh-option-manager{align-items:stretch}.pvh-standard-search{max-width:none}.pvh-dashboard-tabs{overflow-x:auto;flex-wrap:nowrap}.pvh-dashboard-tabs button{white-space:nowrap}}
@media(max-width:560px){.pvh-modal{padding:10px}.pvh-modal-dialog{max-height:calc(100vh - 20px);padding:16px}.pvh-form-actions .button{width:100%}.pvh-user-section .pvh-section-heading{width:100%}.pvh-user-section .pvh-section-heading>*{width:100%}}
.pvh-section-tab-item{display:flex;align-items:center;gap:4px}.pvh-section-tab-item>span{display:inline-flex;gap:3px}.pvh-section-tab-item .button-link{font-size:11px;text-decoration:none;color:#646970;padding:2px 3px}.pvh-section-tab-item .button-link:hover{color:#2271b1}.pvh-option-manager .pvh-standard-search{flex:1}.pvh-option-manager .pvh-add-option{flex:0 0 auto;min-width:130px}.pvh-search-action-row{align-items:center}.pvh-search-action-row .pvh-standard-search{margin:0}.pvh-patient-title{margin-bottom:12px}.pvh-patient-title h2{margin:0}

/* PVH 1.5 UI normalization */
.pvh-wrap{margin-inline:24px 24px;max-width:none;padding-inline:8px;box-sizing:border-box}
.pvh-wrap>h1{margin-bottom:24px}
.pvh-section,.pvh-card{border-radius:10px}
.pvh-section{padding:22px;margin-bottom:22px}
.pvh-section>h2,.pvh-card>h2{margin-top:0;margin-bottom:22px;padding-bottom:12px}
.pvh-grid-3{grid-template-columns:repeat(3,minmax(0,1fr))}
.pvh-field-box,.pvh-field{min-width:0}
.pvh-field-box>label,.pvh-field>label,.pvh-field-label{margin-bottom:8px}
.pvh-input,.pvh-table-search,.pvh-product-search,.pvh-option-search,.pvh-searchable-select select{border-radius:7px!important;min-height:40px!important;box-sizing:border-box}
.pvh-option-picker{border-radius:8px;padding:6px}
.pvh-option-list{max-height:120px;min-height:120px;overflow-y:auto}
.pvh-user-list{max-height:210px;min-height:210px;overflow-y:auto}
.pvh-user-option,.pvh-option-row{box-sizing:border-box}
.pvh-option-row{grid-template-columns:minmax(0,1fr) minmax(130px,.7fr);min-height:40px}
.pvh-search-action-row{gap:16px}
.pvh-option-manager .pvh-standard-search{width:100%;max-width:360px;flex:0 1 360px}
.pvh-option-manager .pvh-add-option{width:auto;min-width:130px;height:40px;flex:0 0 auto}
.pvh-option-field-card{padding:18px;margin-top:20px}
.pvh-field-card-head{margin-bottom:16px}
.pvh-field-card-head .pvh-inline-actions{display:flex;align-items:center;gap:8px;flex-wrap:nowrap}
.pvh-field-card-head .pvh-inline-actions .button{margin:0}
.pvh-custom-field-card .pvh-inline-actions{display:flex;gap:8px;flex-wrap:nowrap}
.pvh-section-heading{margin-bottom:18px}
.pvh-dashboard-tabs{margin-bottom:26px}
.pvh-dashboard-tabs.pvh-tabs-vertical{display:flex;flex-direction:column;align-items:stretch;width:min(260px,100%);float:inline-start;margin-inline-end:22px}
.pvh-dashboard-tabs.pvh-tabs-vertical + .pvh-dashboard-panel{clear:both}
.pvh-dashboard-tabs.pvh-tabs-vertical button{text-align:start;width:100%}
.pvh-setting-choice{display:flex;align-items:center;gap:20px;flex-wrap:wrap}
.pvh-setting-choice label{display:inline-flex;align-items:center;gap:7px}
.pvh-settings-notice{margin-top:14px}
.pvh-shortcodes>div{display:grid;grid-template-columns:minmax(220px,.6fr) minmax(0,1fr) auto;gap:12px;align-items:center;padding:12px 0;border-bottom:1px solid #eee}
.pvh-shortcodes>div:last-child{border-bottom:0}
.pvh-shortcodes code{direction:ltr;display:inline-block}
.pvh-modal-dialog{padding:28px;overflow:auto}
.pvh-modal-header{display:flex;align-items:center;justify-content:space-between;gap:16px;margin-bottom:24px;padding-bottom:16px;border-bottom:1px solid #eee}
.pvh-modal-dialog h2{margin:0!important;flex:1;line-height:1.4}
.pvh-modal-close{position:relative!important;float:none!important;inset:auto!important;width:42px!important;height:42px!important;min-width:42px!important;margin:0!important;border-radius:50%!important;font-size:29px!important;line-height:38px!important;display:flex;align-items:center;justify-content:center;padding:0!important;flex:0 0 42px}
.pvh-modal-notice{margin-bottom:18px}
.pvh-modal-dialog .pvh-grid{margin-top:4px}
.pvh-purchase-grid{align-items:start}
.pvh-purchase-grid .pvh-field{min-height:74px}
.pvh-product-list{margin-top:10px}
.pvh-product-option{min-height:48px;border-radius:6px}
.pvh-product-option label{min-height:40px}
.pvh-checkmark{display:none!important}
.pvh-product-qty{border-radius:7px!important}
body.pvh-modal-open{overflow-y:scroll!important}
.pvh-notice,.pvh-page-notice{border-radius:7px}
.pvh-records-table td,.pvh-records-table th{vertical-align:middle}
.pvh-detail-item{border-radius:7px}
.pvh-front{max-width:1200px;margin-inline:auto}
.pvh-front .pvh-section{margin-bottom:22px}
.pvh-front .pvh-grid-3{grid-template-columns:repeat(3,minmax(0,1fr))}
.pvh-front .pvh-input,.pvh-front .pvh-table-search,.pvh-front .pvh-option-search{border-radius:7px!important}
.pvh-form-actions{margin-top:20px}
@media(max-width:900px){.pvh-wrap{margin-inline:12px}.pvh-grid-3,.pvh-front .pvh-grid-3{grid-template-columns:repeat(2,minmax(0,1fr))}.pvh-shortcodes>div{grid-template-columns:1fr}.pvh-dashboard-tabs.pvh-tabs-vertical{float:none;width:100%;margin-inline-end:0}.pvh-option-manager .pvh-standard-search{max-width:none;flex:1}.pvh-option-manager .pvh-add-option{min-width:120px}}
@media(max-width:600px){.pvh-grid-3,.pvh-front .pvh-grid-3{grid-template-columns:1fr}.pvh-option-manager{align-items:center}.pvh-option-manager .pvh-standard-search{min-width:0}.pvh-option-manager .pvh-add-option{min-width:110px}.pvh-modal-dialog{padding:20px}.pvh-modal-close{width:40px!important;height:40px!important;min-width:40px!important}.pvh-modal-header{margin-bottom:18px;padding-bottom:12px}}
/* PVH 1.6 refinement */
.pvh-front{font-size:.93rem}
.pvh-front .pvh-section,.pvh-front .pvh-card{font-size:.93rem}
.pvh-field-box-head{display:flex;align-items:center;justify-content:space-between;gap:10px;margin-bottom:7px}
.pvh-field-box-head .pvh-field-label{margin:0;flex:1;min-width:0}
.pvh-field-add-option{height:36px;min-height:36px;padding:0 12px!important;font-size:13px!important;flex:0 0 auto}
.pvh-option-row{grid-template-columns:minmax(0,1fr) minmax(175px,.8fr)}
.pvh-option-row .pvh-note{width:100%;min-width:0}
.pvh-empty{text-align:center!important;display:flex;align-items:center;justify-content:center;min-height:48px;color:#646970}
.pvh-user-option span{white-space:nowrap;overflow:hidden;text-overflow:ellipsis;display:block;flex:1;min-width:0}
.pvh-user-option small{display:inline!important;margin-inline-start:6px;white-space:nowrap}
.pvh-user-list{max-height:180px;min-height:0}
.pvh-modal-title{margin:0!important}
.pvh-modal-header{margin-bottom:24px!important;padding-bottom:16px!important}
.pvh-modal-dialog .pvh-field{margin-bottom:2px}
.pvh-purchase-grid{gap:16px!important}
.pvh-purchase-grid .pvh-input{width:100%}
.pvh-page-notice-container{margin-bottom:16px}
.pvh-dashboard-panel{font-size:.93rem}
.pvh-dashboard-panel .pvh-section,.pvh-dashboard-panel .pvh-card{font-size:.93rem}
.pvh-dashboard-panel .pvh-section-heading{margin-bottom:22px}
.pvh-section-heading>div:first-child{margin-top:3px}
.pvh-option-manager{margin-top:18px}
.pvh-embedded-option-panel>.pvh-section-heading{margin-top:22px;padding-top:10px}
.pvh-embedded-option-panel .pvh-field-card-head .pvh-inline-actions,
.pvh-custom-field-card .pvh-inline-actions{display:flex!important;flex-direction:row!important;align-items:center;gap:8px;flex-wrap:nowrap}
.pvh-option-field-card .pvh-inline-actions .button{white-space:nowrap}
.pvh-modal-open{overflow-y:scroll!important}
html.pvh-modal-lock{overflow-y:scroll!important}
.pvh-modal{overscroll-behavior:contain}
.pvh-modal-dialog{overscroll-behavior:contain}
@media(max-width:700px){.pvh-option-row{grid-template-columns:minmax(0,1fr) 1fr}.pvh-user-option small{display:none!important}.pvh-field-box-head{align-items:center}.pvh-field-add-option{font-size:12px!important;padding:0 9px!important}}

/* PVH 1.7 final UI normalization */
.pvh-modal-close{width:34px!important;height:34px!important;min-width:34px!important;flex:0 0 34px!important;font-size:24px!important;line-height:32px!important;border-radius:50%!important;padding:0!important}
.pvh-purchase-inline{display:flex;align-items:center;justify-content:space-between;gap:18px;width:100%}
.pvh-purchase-inline .pvh-info-message{flex:1;min-width:0;margin:0}
.pvh-purchase-inline .button{flex:0 0 auto;margin:0}
.pvh-options-top-actions{display:flex;align-items:center;gap:8px;flex-wrap:nowrap}
.pvh-options-main-heading{margin-top:8px!important;padding-top:8px!important}
.pvh-option-manager{display:flex;align-items:center;gap:12px}
.pvh-option-manager .pvh-standard-search{height:40px;min-height:40px;flex:1 1 auto;max-width:none}
.pvh-option-manager .pvh-add-option{height:40px;min-height:40px;flex:0 0 auto;min-width:120px}
.pvh-section-heading .pvh-inline-actions{display:flex;align-items:center;gap:8px;flex-wrap:nowrap}
.pvh-field-card-head .pvh-inline-actions .button,.pvh-option-field-card td .button{display:inline-flex!important;align-items:center;justify-content:center;margin:0!important;vertical-align:middle}
.pvh-option-field-card td:last-child{white-space:nowrap;width:1%;text-align:end}
.pvh-option-field-card td:last-child .button + .button{margin-inline-start:8px!important}
.pvh-purchase-grid{align-items:stretch!important}
.pvh-purchase-grid .pvh-field{display:flex;flex-direction:column}
.pvh-purchase-grid .pvh-input{margin-top:auto}
.pvh-front .pvh-dashboard-panel .pvh-option-field-card td:last-child{white-space:nowrap}
.pvh-front .pvh-dashboard-panel .pvh-option-field-card td:last-child .button{display:inline-flex!important}
@media(max-width:700px){.pvh-purchase-inline{align-items:stretch}.pvh-options-top-actions{width:100%}.pvh-options-top-actions .button{flex:1}.pvh-option-manager .pvh-add-option{min-width:105px}.pvh-modal-close{width:32px!important;height:32px!important;min-width:32px!important;font-size:22px!important}}

/* PVH 1.7.1 - option manager and interaction fixes */
.pvh-option-field-card .pvh-table-wrap{
  max-height: 176px;
  overflow-y: auto;
  overflow-x: hidden;
  border-radius: 8px;
}
.pvh-option-field-card .pvh-table-wrap table{margin:0}
.pvh-option-field-card .pvh-table-wrap tbody tr{min-height:44px}
.pvh-option-manager .pvh-standard-search{
  flex:0 1 300px;
  width:300px;
  max-width:300px;
}
.pvh-option-manager .pvh-add-option{
  flex:0 0 auto;
  min-width:130px;
  width:auto;
}
.pvh-option-field-card .pvh-option-manager{justify-content:flex-start}
@media(max-width:700px){
  .pvh-option-manager .pvh-standard-search{flex:1 1 auto;width:auto;max-width:none;min-width:0}
  .pvh-option-field-card .pvh-table-wrap{max-height:176px}
}

/* PVH 1.7.2 - stable shortcode/admin runtime and scroll preservation */
html.pvh-modal-lock, body.pvh-modal-open{overflow-y:scroll!important;}
.pvh-shortcode-dashboard{max-width:1200px;margin-inline:auto;padding:8px 0 40px;}
.pvh-shortcode-dashboard .pvh-dashboard-panel{min-width:0;}
.pvh-shortcode-dashboard .pvh-card,.pvh-shortcode-dashboard .pvh-section{width:100%;}
/* PVH 1.8 interaction stability */
html.pvh-modal-lock{overflow:hidden!important;}
body.pvh-modal-open{overflow:visible!important;}
.pvh-modal{z-index:100000!important;}
.pvh-modal-backdrop{z-index:0;}
.pvh-modal-dialog{z-index:1;}
.pvh-dashboard-panel{position:relative;}
.pvh-submit-record,.pvh-view-record,.pvh-open-patient-history{position:relative;z-index:2;pointer-events:auto!important;}
.pvh-option-manager .pvh-standard-search{width:300px;max-width:300px;flex:0 1 300px;}
@media(max-width:700px){.pvh-option-manager .pvh-standard-search{width:auto;max-width:none;flex:1 1 auto;}}

/* PVH 1.8.1 - modal visibility, body-level rendering and exact scroll restoration */
.pvh-modal{display:flex!important;visibility:visible!important;opacity:1!important;}
.pvh-modal[hidden]{display:none!important;visibility:hidden!important;opacity:0!important;}
.pvh-modal.is-open{display:flex!important;visibility:visible!important;opacity:1!important;}
.pvh-modal.is-open .pvh-modal-dialog{display:block!important;visibility:visible!important;opacity:1!important;}
.pvh-modal .button{border-radius:6px;min-height:38px;padding:5px 13px;line-height:1.6;}
body.pvh-modal-open{overflow:hidden!important;}
html.pvh-modal-lock{overflow-y:scroll!important;}
.pvh-modal-backdrop{pointer-events:auto!important;}
.pvh-modal-dialog{pointer-events:auto!important;}

.pvh-patient-actions{display:flex;align-items:center;gap:6px;flex-wrap:wrap}.pvh-patient-actions .button{margin:0!important}

/* PVH 1.9 - final interaction polish */
.pvh-page-notice-container .notice,
.pvh-page-notice,
.pvh-settings-notice,
.pvh-modal-notice .notice,
.pvh-inline-error{
  border-radius:8px!important;
  border-width:1px!important;
  box-shadow:0 2px 8px rgba(0,0,0,.05)!important;
  margin:0 0 16px!important;
  padding:2px 12px!important;
}
.pvh-page-notice-container .notice-success,.pvh-page-notice.notice-success{border-color:#46b450!important;background:#f0f9f1!important}
.pvh-page-notice-container .notice-warning,.pvh-page-notice.notice-warning{border-color:#dba617!important;background:#fff8e5!important}
.pvh-page-notice-container .notice-error,.pvh-page-notice.notice-error{border-color:#d63638!important;background:#fcf0f1!important}
.pvh-delete-record,.pvh-delete-option,.pvh-delete-field,.pvh-delete-section{background:#d63638!important;border-color:#b32d2e!important;color:#fff!important;text-shadow:none!important}
.pvh-delete-record:hover,.pvh-delete-option:hover,.pvh-delete-field:hover,.pvh-delete-section:hover{background:#b32d2e!important;border-color:#8f2022!important;color:#fff!important}
.pvh-delete-record:disabled,.pvh-delete-option:disabled,.pvh-delete-field:disabled,.pvh-delete-section:disabled{opacity:.65!important}
.pvh-modal{padding:24px!important}
.pvh-modal-dialog{width:min(720px,calc(100vw - 48px))!important;max-width:720px!important;max-height:78vh!important;overflow:auto!important}
.pvh-option-modal .pvh-modal-dialog{width:min(520px,calc(100vw - 48px))!important;max-width:520px!important}
#pvh-option-modal .pvh-input{max-width:420px!important}
.pvh-purchase-note{margin:0 0 16px;padding:10px 12px;border:1px solid #dcdcde;border-radius:7px;background:#f6f7f7;font-size:13px;line-height:1.8}
.pvh-import-export-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:18px}
.pvh-import-export-box{border:1px solid #dcdcde;border-radius:9px;padding:18px;background:#fff}
.pvh-import-export-box h3{margin:0 0 8px}.pvh-import-export-box p{color:#646970;margin:0 0 14px;line-height:1.8}.pvh-import-export-box form{display:flex;flex-direction:column;gap:10px}.pvh-import-export-box .button{align-self:flex-start}
@media(max-width:700px){.pvh-modal{padding:10px!important}.pvh-modal-dialog{width:calc(100vw - 20px)!important;max-width:calc(100vw - 20px)!important;max-height:82vh!important}.pvh-import-export-grid{grid-template-columns:1fr}.pvh-import-export-box .button{width:100%}}

/* PVH 1.9.2 - modal background stability, standard close button, CSV and section controls */
html.pvh-modal-lock,body.pvh-modal-open{overflow:hidden!important;}
.pvh-modal-close{appearance:none!important;border:1px solid #c3c4c7!important;background:#fff!important;color:#50575e!important;width:38px!important;height:38px!important;min-width:38px!important;border-radius:7px!important;font-size:22px!important;line-height:1!important;font-weight:400!important;box-shadow:0 1px 2px rgba(0,0,0,.08)!important;cursor:pointer!important;transition:background .15s,border-color .15s,color .15s!important;}
.pvh-modal-close:hover{background:#f6f7f7!important;border-color:#8c8f94!important;color:#1d2327!important;}
.pvh-modal-close:focus{outline:2px solid #2271b1!important;outline-offset:1px!important;}
.pvh-modal-dialog{width:min(720px,calc(100vw - 48px))!important;max-width:720px!important;max-height:78vh!important;overflow:auto!important;}
.pvh-option-modal .pvh-modal-dialog{width:min(520px,calc(100vw - 48px))!important;max-width:520px!important;}
.pvh-export-users .pvh-user-list{max-height:240px;}
.pvh-shortcodes-table code{direction:ltr;unicode-bidi:embed;white-space:nowrap;}
.pvh-shortcodes-table td:last-child{white-space:nowrap;}
.pvh-section-tab-item .pvh-section-edit,.pvh-section-tab-item .pvh-section-delete{display:inline-flex!important;align-items:center;justify-content:center;border:1px solid #c3c4c7!important;border-radius:5px!important;background:#fff!important;color:#50575e!important;padding:3px 7px!important;min-height:28px!important;text-decoration:none!important;}
.pvh-section-tab-item .pvh-section-delete{color:#b32d2e!important;border-color:#d63638!important;}
.pvh-section-tab-item .pvh-section-edit:hover{background:#f6f7f7!important;color:#1d2327!important;}
.pvh-section-tab-item .pvh-section-delete:hover{background:#fcf0f1!important;color:#8f2022!important;}
.pvh-section-tabs [data-pvh-option-section].is-active{background:#fff!important;box-shadow:0 1px 2px rgba(0,0,0,.08)!important;font-weight:600!important;}
.pvh-section-tabs [data-pvh-option-section]:not(.is-active){background:transparent!important;box-shadow:none!important;font-weight:400!important;}
@media(max-width:700px){.pvh-modal-close{width:36px!important;height:36px!important;min-width:36px!important;}.pvh-shortcodes-table{min-width:760px;}}

/* PVH 1.9.3 - true no-jump modal system */
html.pvh-modal-lock, body.pvh-modal-open{overflow:visible!important;}
.pvh-modal{position:fixed!important;inset:0!important;width:100vw!important;height:100vh!important;box-sizing:border-box!important;padding:20px!important;overflow:hidden!important;display:flex!important;align-items:center!important;justify-content:center!important;}
.pvh-modal[hidden]{display:none!important;}
.pvh-modal-backdrop{position:absolute!important;inset:0!important;width:100%!important;height:100%!important;}
.pvh-modal-dialog{position:relative!important;z-index:1!important;box-sizing:border-box!important;overflow-y:auto!important;overflow-x:hidden!important;max-height:calc(100vh - 40px)!important;scrollbar-gutter:stable!important;overscroll-behavior:contain!important;}
.pvh-modal-close{position:relative!important;z-index:3!important;flex:0 0 auto!important;}
.pvh-modal.is-open{pointer-events:auto!important;}
.pvh-modal.is-open .pvh-modal-dialog{pointer-events:auto!important;}
.pvh-modal.is-open .pvh-modal-backdrop{pointer-events:auto!important;}
.pvh-section-tab-item{display:flex!important;align-items:center!important;gap:8px!important;flex-wrap:nowrap!important;}
.pvh-section-tab-item>button[data-pvh-option-section]{border:1px solid #dcdcde!important;background:#f6f7f7!important;border-radius:7px!important;padding:7px 12px!important;color:#50575e!important;cursor:pointer!important;}
.pvh-section-tab-item>button[data-pvh-option-section].is-active{background:#2271b1!important;border-color:#2271b1!important;color:#fff!important;}
.pvh-section-tab-item>span{display:flex!important;align-items:center!important;gap:6px!important;white-space:nowrap!important;}
.pvh-section-tab-item>span .pvh-edit-section,.pvh-section-tab-item>span .pvh-delete-section{display:inline-flex!important;align-items:center!important;justify-content:center!important;min-height:34px!important;padding:4px 11px!important;border-radius:6px!important;text-decoration:none!important;cursor:pointer!important;}
.pvh-section-tab-item>span .pvh-edit-section{border:1px solid #8c8f94!important;background:#fff!important;color:#2c3338!important;}
.pvh-section-tab-item>span .pvh-edit-section:hover{background:#f6f7f7!important;border-color:#646970!important;}
.pvh-section-tab-item>span .pvh-delete-section{border:1px solid #b32d2e!important;background:#d63638!important;color:#fff!important;}
.pvh-section-tab-item>span .pvh-delete-section:hover{background:#b32d2e!important;}
.pvh-import-export-box .pvh-export-users .pvh-user-list{margin-top:10px!important;}
.pvh-import-export-box .pvh-export-users .pvh-user-option + .pvh-user-option{margin-top:4px!important;}
.pvh-import-file-picker{display:flex;align-items:center;gap:10px;flex-wrap:wrap;}
.pvh-import-file-picker input[type=file]{position:absolute!important;width:1px!important;height:1px!important;opacity:0!important;pointer-events:none!important;}
.pvh-import-file-name{font-size:13px;color:#646970;min-width:0;word-break:break-word;}
.pvh-admin-notice{border-radius:8px!important;border-inline-start:4px solid #2271b1!important;background:#fff!important;box-shadow:0 2px 8px rgba(0,0,0,.06)!important;}
.pvh-front .pvh-page-notice-container{margin:0 0 18px!important;}
.pvh-front .pvh-page-notice-container .notice{border-radius:10px!important;padding:10px 14px!important;box-shadow:0 3px 12px rgba(0,0,0,.07)!important;}
@media(max-width:700px){.pvh-modal{padding:10px!important}.pvh-modal-dialog{max-height:calc(100vh - 20px)!important}.pvh-section-tab-item{align-items:stretch!important}.pvh-section-tab-item>span{flex:0 0 auto;}.pvh-import-file-picker{align-items:stretch;flex-direction:column;}.pvh-import-file-picker .button{width:100%;}}

/* PVH 1.9.3 - distinct page notice surfaces */
.pvh-page-notice-container .pvh-admin-notice{border-inline-start:4px solid #2271b1!important;background:#fff!important;}
.pvh-page-notice-container .pvh-front-notice{border-inline-start:4px solid #8c8f94!important;background:#fff!important;}
.pvh-front .pvh-page-notice-container .notice-success{border-inline-start-color:#00a32a!important;background:#f0f9f1!important;}
.pvh-front .pvh-page-notice-container .notice-warning{border-inline-start-color:#dba617!important;background:#fff8e5!important;}
.pvh-front .pvh-page-notice-container .notice-error{border-inline-start-color:#d63638!important;background:#fcf0f1!important;}
.pvh-wrap .pvh-page-notice-container .notice-success{border-inline-start-color:#00a32a!important;background:#f0f9f1!important;}
.pvh-wrap .pvh-page-notice-container .notice-warning{border-inline-start-color:#dba617!important;background:#fff8e5!important;}
.pvh-wrap .pvh-page-notice-container .notice-error{border-inline-start-color:#d63638!important;background:#fcf0f1!important;}

/* PVH 1.9.4 - final modal layering, theme scrollbars, detail width, section states, file picker and notices */
.pvh-modal{z-index:100000;}
.pvh-modal-dialog{width:min(760px,calc(100vw - 40px))!important;max-width:760px!important;max-height:calc(100vh - 40px)!important;overflow-y:auto!important;overflow-x:hidden!important;}
#pvh-record-modal .pvh-modal-dialog{width:min(1100px,calc(100vw - 40px))!important;max-width:1100px!important;}
#pvh-history-modal .pvh-modal-dialog{width:min(1050px,calc(100vw - 40px))!important;max-width:1050px!important;}
/* Do not paint a plugin scrollbar: let the active browser/OS/theme render it. */



/* Only the currently visible section is blue. Clicking does not leave multiple active tabs. */
.pvh-section-tab-item>button[data-pvh-option-section]{background:transparent!important;border:1px solid #dcdcde!important;color:#50575e!important;box-shadow:none!important;font-weight:400!important;}
.pvh-section-tab-item>button[data-pvh-option-section].is-active{background:#2271b1!important;border-color:#2271b1!important;color:#fff!important;box-shadow:none!important;font-weight:600!important;}
.pvh-section-tab-item{gap:12px!important;}
.pvh-section-tab-item>span{gap:7px!important;margin-inline-start:4px!important;padding-inline-start:8px!important;border-inline-start:1px solid #dcdcde;}
.pvh-section-tab-item>span .pvh-edit-section,.pvh-section-tab-item>span .pvh-delete-section{min-height:34px!important;padding:4px 11px!important;}
/* The file control and its status are one visual box. */
.pvh-import-file-picker{display:grid!important;grid-template-columns:auto minmax(0,1fr)!important;align-items:center!important;gap:10px!important;padding:10px!important;border:1px solid #dcdcde!important;border-radius:8px!important;background:#f6f7f7!important;}
.pvh-import-file-picker .pvh-theme-button{margin:0!important;}
.pvh-import-file-name{display:block!important;min-width:0!important;padding:7px 10px!important;border:1px solid #dcdcde!important;border-radius:6px!important;background:#fff!important;color:#646970!important;line-height:1.6!important;word-break:break-word!important;}
/* All plugin page notices share the same WP-like visual language, without dismiss buttons. */
.pvh-page-notice-container{margin-bottom:16px!important;}
.pvh-page-notice-container .pvh-page-notice{display:block!important;margin:0 0 16px!important;padding:1px 12px!important;border:1px solid!important;border-inline-start-width:4px!important;border-radius:7px!important;box-shadow:0 2px 8px rgba(0,0,0,.05)!important;background:#fff!important;}
.pvh-page-notice-container .pvh-page-notice p{margin:10px 0!important;}
.pvh-page-notice-container .pvh-page-notice.notice-success{border-color:#00a32a!important;border-inline-start-color:#00a32a!important;background:#f0f9f1!important;}
.pvh-page-notice-container .pvh-page-notice.notice-error{border-color:#d63638!important;border-inline-start-color:#d63638!important;background:#fcf0f1!important;}
.pvh-page-notice-container .pvh-page-notice.notice-warning{border-color:#dba617!important;border-inline-start-color:#dba617!important;background:#fff8e5!important;}
.pvh-settings-notice .notice{border-radius:7px!important;box-shadow:0 2px 8px rgba(0,0,0,.05)!important;}
.pvh-inline-error{border-radius:7px!important;box-shadow:0 2px 8px rgba(0,0,0,.05)!important;}
@media(max-width:700px){
  .pvh-modal{padding:10px!important;}
  .pvh-modal-dialog,#pvh-record-modal .pvh-modal-dialog,#pvh-history-modal .pvh-modal-dialog{width:calc(100vw - 20px)!important;max-width:calc(100vw - 20px)!important;max-height:calc(100vh - 20px)!important;}
  .pvh-import-file-picker{grid-template-columns:1fr!important;}
  .pvh-import-file-picker .pvh-theme-button{width:100%!important;}
}


/* PVH 1.9.5 - final cleanup */
/* Use the same native scrollbar treatment as the surrounding site/product lists. */
#pvh-record-modal .pvh-modal-dialog{width:min(1000px,calc(100vw - 48px))!important;max-width:1000px!important;max-height:72vh!important;}
#pvh-history-modal .pvh-modal-dialog{width:min(1000px,calc(100vw - 48px))!important;max-width:1000px!important;max-height:72vh!important;}
.pvh-import-file-picker{border:1px solid #dcdcde!important;border-radius:8px!important;background:#f6f7f7!important;padding:10px!important;}
.pvh-import-file-picker .pvh-theme-button:hover{ text-decoration:none!important; }
.pvh-import-stats-notice{margin:0 0 16px!important;padding:12px 14px!important;border:1px solid #dcdcde!important;border-inline-start:4px solid #2271b1!important;border-radius:7px!important;background:#f6f7f7!important;box-shadow:0 2px 8px rgba(0,0,0,.05)!important;}
.pvh-import-stats-grid{display:grid!important;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px;margin:0!important;}
.pvh-import-stats-grid>div{padding:10px 12px;border:1px solid #dcdcde;border-radius:6px;background:#fff;}
.pvh-import-stats-grid span{display:block;color:#646970;font-size:12px;margin-bottom:4px;}
.pvh-import-stats-grid strong{font-size:20px;line-height:1.2;}
@media(max-width:700px){
  #pvh-record-modal .pvh-modal-dialog,#pvh-history-modal .pvh-modal-dialog{width:calc(100vw - 20px)!important;max-width:calc(100vw - 20px)!important;max-height:78vh!important;}
  .pvh-import-stats-grid{grid-template-columns:1fr!important;}
}

/* Final modal stack fix: each nested modal gets its own real z-index layer. */
.pvh-modal{z-index:var(--pvh-modal-z,100000)!important;}

/* PVH 1.9.5 - purchase action pair */
.pvh-purchase-actions{display:flex;align-items:center;gap:8px;flex-wrap:wrap;flex:0 0 auto;}
.pvh-purchase-actions .pvh-delete-purchase{background:#d63638!important;border-color:#b32d2e!important;color:#fff!important;}
.pvh-purchase-actions .pvh-delete-purchase:hover{background:#b32d2e!important;border-color:#8f2022!important;color:#fff!important;}
.pvh-purchase-actions .pvh-delete-purchase[hidden]{display:none!important;}

/* All inline/modal notices use the exact same visual language as page notices. */
.pvh-modal-notice.notice-success,.pvh-settings-notice.notice-success{border:1px solid #00a32a!important;border-inline-start:4px solid #00a32a!important;border-radius:7px!important;background:#f0f9f1!important;padding:1px 12px!important;box-shadow:0 2px 8px rgba(0,0,0,.05)!important;margin:0 0 16px!important;}
.pvh-modal-notice.notice-error,.pvh-settings-notice.notice-error{border:1px solid #d63638!important;border-inline-start:4px solid #d63638!important;border-radius:7px!important;background:#fcf0f1!important;padding:1px 12px!important;box-shadow:0 2px 8px rgba(0,0,0,.05)!important;margin:0 0 16px!important;}
.pvh-modal-notice.notice-warning,.pvh-settings-notice.notice-warning{border:1px solid #dba617!important;border-inline-start:4px solid #dba617!important;border-radius:7px!important;background:#fff8e5!important;padding:1px 12px!important;box-shadow:0 2px 8px rgba(0,0,0,.05)!important;margin:0 0 16px!important;}
.pvh-modal-notice p,.pvh-settings-notice p{margin:10px 0!important;}


/* PVH 1.9.8 - native/theme scrollbar + section action grouping + pagination */
/* The product list and modal dialog intentionally have no plugin-drawn scrollbar. */
.pvh-modal-dialog{overflow-y:auto!important;overflow-x:hidden!important;}

/* Three section controls are one compact, clearly grouped control set. */
.pvh-section-tab-item{display:inline-flex!important;align-items:center!important;gap:6px!important;margin:0 8px 0 0!important;padding:0!important;vertical-align:middle!important;}
.pvh-section-tab-item .pvh-section-tab-button,
.pvh-section-tab-item>a{margin:0!important;}
.pvh-section-tab-actions{display:inline-flex!important;align-items:center!important;gap:5px!important;margin:0!important;padding:0!important;}
.pvh-section-tab-actions .button{margin:0!important;}
.pvh-section-tabs{display:flex!important;align-items:center!important;gap:8px!important;flex-wrap:wrap!important;}
.pvh-section-tabs .pvh-section-tab-item{flex:0 0 auto!important;}
.pvh-section-tabs .pvh-section-tab-button.is-active,
.pvh-section-tabs .pvh-section-tab-item>a.is-active{background:#fff!important;box-shadow:0 1px 2px rgba(0,0,0,.08)!important;font-weight:600!important;}

/* Maximum 30 visible rows per table; navigation is generated by JS. */
.pvh-table-pagination{margin:12px 0 0!important;}
.pvh-pagination-inner{display:flex!important;align-items:center!important;justify-content:flex-start!important;gap:5px!important;flex-wrap:wrap!important;}
.pvh-pagination-button{min-width:36px!important;min-height:34px!important;padding:4px 9px!important;margin:0!important;}
.pvh-pagination-button.is-current{font-weight:600!important;box-shadow:0 0 0 1px currentColor inset!important;}
.pvh-pagination-ellipsis{padding:0 3px!important;color:#646970!important;}
@media(max-width:600px){
  .pvh-section-tab-item{width:auto!important;max-width:100%!important;}
  .pvh-section-tab-actions .button,.pvh-section-tab-item>a,.pvh-section-tab-item .pvh-section-tab-button{min-height:34px!important;padding:4px 10px!important;}
}

/* Active section is the only highlighted section control. */
.pvh-section-tabs .pvh-section-tab-button.is-active,
.pvh-section-tabs .pvh-section-tab-item>a.is-active{background:#2271b1!important;color:#fff!important;box-shadow:none!important;font-weight:600!important;}
.pvh-section-tabs .pvh-section-tab-button.is-active:hover,
.pvh-section-tabs .pvh-section-tab-item>a.is-active:hover{background:#135e96!important;color:#fff!important;}

/* v1.9.10 — one canonical notice treatment for modal, page and inline notices. */
.pvh-modal-notice,
.pvh-page-notice-container,
.pvh-settings-notice,
.pvh-inline-error{
    box-sizing:border-box!important;
}
.pvh-modal-notice.notice-success,
.pvh-modal-notice.notice-error,
.pvh-modal-notice.notice-warning,
.pvh-page-notice-container.notice-success,
.pvh-page-notice-container.notice-error,
.pvh-page-notice-container.notice-warning,
.pvh-page-notice-container .notice-success,
.pvh-page-notice-container .notice-error,
.pvh-page-notice-container .notice-warning,
.pvh-settings-notice.notice-success,
.pvh-settings-notice.notice-error,
.pvh-settings-notice.notice-warning,
.pvh-inline-error{
    border:1px solid!important;
    border-inline-start-width:4px!important;
    border-radius:7px!important;
    padding:1px 12px!important;
    box-shadow:0 2px 8px rgba(0,0,0,.05)!important;
    margin:0 0 16px!important;
}
.pvh-modal-notice.notice-success,
.pvh-page-notice-container.notice-success,
.pvh-page-notice-container .notice-success,
.pvh-settings-notice.notice-success{border-color:#00a32a!important;background:#f0f9f1!important;}
.pvh-modal-notice.notice-error,
.pvh-page-notice-container.notice-error,
.pvh-page-notice-container .notice-error,
.pvh-settings-notice.notice-error,
.pvh-inline-error{border-color:#d63638!important;background:#fcf0f1!important;}
.pvh-modal-notice.notice-warning,
.pvh-page-notice-container.notice-warning,
.pvh-page-notice-container .notice-warning,
.pvh-settings-notice.notice-warning{border-color:#dba617!important;background:#fff8e5!important;}
.pvh-modal-notice p,
.pvh-page-notice-container.notice p,
.pvh-page-notice-container .notice p,
.pvh-settings-notice p,
.pvh-inline-error p{margin:10px 0!important;}
.pvh-no-change-message{margin:8px 0 0!important;font-weight:600;}

/* PVH 1.9.14 - compact option dialog */
.pvh-option-modal .pvh-modal-dialog{width:min(430px,calc(100vw - 40px))!important;max-width:430px!important;padding:20px!important;}
#pvh-option-modal .pvh-field{width:100%;box-sizing:border-box;}
#pvh-option-modal .pvh-input{width:100%!important;max-width:none!important;box-sizing:border-box!important;}
#pvh-option-modal .pvh-form-actions{margin-top:16px;}
@media(max-width:700px){.pvh-option-modal .pvh-modal-dialog{width:calc(100vw - 28px)!important;max-width:calc(100vw - 28px)!important;padding:16px!important;}}
