:root {
	font-family: Arial, Helvetica, sans-serif;
	color: #202124;
	background: #f3f4f6;
	font-synthesis: none;
}

* { box-sizing: border-box; }
body { margin: 0; min-width: 320px; background: #f3f4f6; color: #202124; }
a { color: inherit; }
button, input, select, textarea { font: inherit; }

.pdv-login-body { min-height: 100vh; }
.pdv-login-layout { min-height: 100vh; display: grid; place-items: center; padding: 24px; }
.pdv-login-panel { width: min(100%, 420px); padding: 30px; border: 1px solid #d8dade; border-top: 4px solid #ef681c; background: #fff; box-shadow: 0 12px 32px rgba(28, 31, 35, .08); }
.pdv-login-logo { display: block; width: 92px; height: 92px; margin: 0 auto 18px; object-fit: cover; }
.pdv-login-heading { margin-bottom: 24px; text-align: center; }
.pdv-login-heading h1 { margin: 0 0 8px; font-size: 25px; letter-spacing: 0; }
.pdv-login-heading p { margin: 0; color: #646970; line-height: 1.45; }
.pdv-login-form { display: grid; gap: 9px; }
.pdv-login-form label { margin-top: 7px; font-size: 14px; font-weight: 700; }
.pdv-login-form input { width: 100%; height: 44px; padding: 9px 11px; border: 1px solid #aeb3b9; border-radius: 4px; background: #fff; }
.pdv-login-form input:focus { border-color: #ef681c; outline: 2px solid rgba(239, 104, 28, .18); }
.pdv-login-form .pdv-dashboard-button { margin-top: 14px; }
.pdv-alert { padding: 11px 13px; border-left: 4px solid; margin-bottom: 15px; font-size: 14px; }
.pdv-alert-error { border-color: #b42318; background: #fff1f0; color: #7a271a; }
.pdv-alert-success { border-color: #238636; background: #edf8f0; color: #185c2a; }

.pdv-dashboard-header { min-height: 68px; display: flex; align-items: center; justify-content: space-between; gap: 20px; padding: 10px clamp(18px, 4vw, 56px); border-bottom: 1px solid #d8dade; background: #fff; }
.pdv-dashboard-brand { display: inline-flex; align-items: center; gap: 12px; text-decoration: none; font-size: 18px; font-weight: 700; }
.pdv-dashboard-brand img { width: 44px; height: 44px; object-fit: cover; }
.pdv-dashboard-user { display: flex; align-items: center; gap: 14px; }
.pdv-dashboard-user div { display: grid; text-align: right; }
.pdv-dashboard-user span { margin-top: 2px; color: #6b7076; font-size: 12px; }
.pdv-dashboard-icon-link { display: grid; place-items: center; width: 38px; height: 38px; border: 1px solid #c7cbd0; border-radius: 4px; text-decoration: none; font-size: 23px; transform: rotate(180deg); }
.pdv-dashboard-icon-link:hover { border-color: #ef681c; color: #c74d08; }
.pdv-dashboard-layout { min-width: 0; display: grid; grid-template-columns: 230px minmax(0, 1fr); min-height: calc(100vh - 68px); }
.pdv-dashboard-sidebar { min-width: 0; background: #24272b; color: #f7f7f7; }
.pdv-dashboard-sidebar nav { position: sticky; top: 0; display: grid; gap: 4px; padding: 24px 12px; }
.pdv-dashboard-sidebar a { min-height: 44px; display: flex; align-items: center; gap: 11px; padding: 9px 12px; border-left: 3px solid transparent; color: #dfe1e4; text-decoration: none; font-weight: 700; }
.pdv-dashboard-sidebar a:hover { background: #30343a; color: #fff; }
.pdv-dashboard-sidebar a.is-active { border-left-color: #ef681c; background: #34383e; color: #fff; }
.pdv-dashboard-sidebar .dashicons { width: 20px; height: 20px; font-size: 20px; }
.pdv-dashboard-main { min-width: 0; width: min(1180px, calc(100% - 36px)); margin: 0 auto; padding: 36px 0 56px; }
.pdv-dashboard-main-editor { width: min(1380px, calc(100% - 36px)); }
.pdv-dashboard-title { display: flex; justify-content: space-between; align-items: flex-start; gap: 20px; margin-bottom: 24px; }
.pdv-dashboard-title h1 { margin: 0 0 7px; font-size: 29px; letter-spacing: 0; }
.pdv-dashboard-title p, .pdv-dashboard-section-heading p { margin: 0; color: #646970; }
.pdv-role-badge { padding: 6px 9px; border: 1px solid #f0b28e; border-radius: 4px; background: #fff3eb; color: #9f3d05; font-size: 13px; font-weight: 700; }
.pdv-dashboard-section, .pdv-dashboard-account { padding: 22px; border: 1px solid #d5d8dc; background: #fff; }
.pdv-dashboard-section { display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.pdv-dashboard-section h2, .pdv-dashboard-account h2 { margin: 0 0 6px; font-size: 19px; letter-spacing: 0; }
.pdv-dashboard-actions { display: flex; flex-wrap: wrap; gap: 10px; }
.pdv-dashboard-button { min-height: 40px; display: inline-flex; align-items: center; justify-content: center; padding: 9px 15px; border: 1px solid #aeb3b9; border-radius: 4px; background: #fff; color: #282b2f; text-decoration: none; font-weight: 700; cursor: pointer; }
.pdv-dashboard-button:hover { border-color: #7d8288; background: #f7f7f7; }
.pdv-dashboard-button-primary { border-color: #d9570d; background: #e96317; color: #fff; }
.pdv-dashboard-button-primary:hover { border-color: #b94504; background: #c94d07; color: #fff; }
.pdv-dashboard-account { margin-top: 18px; }
.pdv-dashboard-account dl { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 18px; margin: 18px 0 0; }
.pdv-dashboard-account dl div { min-width: 0; border-left: 3px solid #e2e4e7; padding-left: 10px; }
.pdv-dashboard-account dt { color: #6b7076; font-size: 12px; font-weight: 700; text-transform: uppercase; }
.pdv-dashboard-account dd { margin: 5px 0 0; overflow-wrap: anywhere; font-weight: 700; }
.pdv-password-card { padding: 22px; border: 1px solid #d5d8dc; background: #fff; }
.pdv-password-card h2 { margin: 0 0 18px; font-size: 19px; letter-spacing: 0; }
.pdv-password-form { display: grid; gap: 14px; max-width: 520px; }
.pdv-password-form label { font-size: 13px; font-weight: 700; }
.pdv-password-form input { width: 100%; min-height: 42px; display: block; margin-top: 6px; padding: 9px 10px; border: 1px solid #adb2b8; border-radius: 3px; background: #fff; }
.pdv-password-form input:focus { border-color: #ef681c; outline: 2px solid rgba(239, 104, 28, .16); }
.pdv-password-actions { display: flex; justify-content: flex-end; }

.pdv-dashboard-editor-form { display: grid; gap: 16px; }
.pdv-dashboard-editor-form .pdv-admin-section { margin: 0; padding: 18px; border: 1px solid #d5d8dc; background: #fff; }
.pdv-dashboard-editor-form .pdv-admin-section h2 { margin: 0 0 15px; font-size: 18px; letter-spacing: 0; }
.pdv-dashboard-editor-form .pdv-admin-section-head { display: flex; align-items: center; justify-content: space-between; gap: 20px; margin-bottom: 15px; }
.pdv-dashboard-editor-form .pdv-admin-section-head h2 { margin: 0; }
.pdv-dashboard-editor-form .pdv-admin-grid { display: grid; grid-template-columns: repeat(3, minmax(180px, 1fr)); gap: 14px; }
.pdv-dashboard-editor-form .pdv-admin-field { min-width: 0; }
.pdv-dashboard-editor-form .pdv-admin-field label { display: block; margin-bottom: 6px; font-size: 13px; font-weight: 700; }
.pdv-dashboard-editor-form input[type="text"],
.pdv-dashboard-editor-form input[type="email"],
.pdv-dashboard-editor-form textarea,
.pdv-dashboard-editor-form select { width: 100%; min-height: 42px; padding: 9px 10px; border: 1px solid #adb2b8; border-radius: 3px; background: #fff; color: #202124; }
.pdv-dashboard-editor-form textarea { min-height: 92px; resize: vertical; line-height: 1.4; }
.pdv-dashboard-editor-form input:focus,
.pdv-dashboard-editor-form textarea:focus,
.pdv-dashboard-editor-form select:focus { border-color: #ef681c; outline: 2px solid rgba(239, 104, 28, .16); }
.pdv-dashboard-editor-form .pdv-readonly-field { border-color: #d5d8dc; background: #eef0f2; color: #41464c; cursor: not-allowed; }
.pdv-dashboard-editor-form .pdv-admin-field-wide { grid-column: 1 / -1; }
.pdv-dashboard-editor-form .pdv-admin-subgroup { grid-column: 1 / -1; padding: 14px; border: 1px solid #dfe1e4; background: #f7f8f9; }
.pdv-dashboard-editor-form .pdv-admin-subgroup h3 { margin: 0 0 12px; font-size: 15px; }
.pdv-info-repeater { display: grid; gap: 14px; }
.pdv-info-editor-head { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-bottom: 6px; }
.pdv-info-editor-head label { font-weight: 700; }
.pdv-info-editor-item textarea { width: 100%; min-height: 105px; }
.pdv-info-icon-button { width: 36px; height: 36px; display: inline-grid; place-items: center; padding: 0; border: 1px solid #aeb3b9; border-radius: 3px; background: #fff; color: #30343a; cursor: pointer; }
.pdv-info-icon-button:hover { border-color: #d9570d; color: #b94504; }
.pdv-info-add { margin-top: 12px; }
.pdv-switch-control { display: inline-flex; align-items: center; gap: 9px; font-weight: 700; cursor: pointer; user-select: none; }
.pdv-switch-control input { position: absolute; width: 1px; height: 1px; opacity: 0; pointer-events: none; }
.pdv-switch-track { position: relative; width: 42px; height: 24px; border-radius: 12px; background: #8c8f94; transition: background .18s ease; }
.pdv-switch-thumb { position: absolute; top: 3px; left: 3px; width: 18px; height: 18px; border-radius: 50%; background: #fff; box-shadow: 0 1px 2px rgba(0,0,0,.28); transition: transform .18s ease; }
.pdv-switch-control input:checked + .pdv-switch-track { background: #e96317; }
.pdv-switch-control input:checked + .pdv-switch-track .pdv-switch-thumb { transform: translateX(18px); }
.pdv-dashboard-save-bar { position: sticky; bottom: 0; z-index: 3; display: flex; justify-content: flex-end; padding: 14px 0; border-top: 1px solid #d5d8dc; background: rgba(243, 244, 246, .96); }
.pdv-vendor-create, .pdv-vendor-list { padding: 22px; border: 1px solid #d5d8dc; background: #fff; }
.pdv-vendor-create h2, .pdv-vendor-list h2 { margin: 0 0 18px; font-size: 19px; letter-spacing: 0; }
.pdv-vendor-list { margin-top: 18px; }
.pdv-vendor-form { display: grid; grid-template-columns: repeat(4, minmax(160px, 1fr)); gap: 14px; align-items: end; }
.pdv-vendor-form label { min-width: 0; font-size: 13px; font-weight: 700; }
.pdv-vendor-form input { width: 100%; min-height: 42px; display: block; margin-top: 6px; padding: 9px 10px; border: 1px solid #adb2b8; border-radius: 3px; background: #fff; }
.pdv-vendor-form input:focus { border-color: #ef681c; outline: 2px solid rgba(239, 104, 28, .16); }
.pdv-vendor-submit { grid-column: 1 / -1; display: flex; justify-content: flex-end; }
.pdv-vendor-table-wrap { overflow-x: auto; }
.pdv-vendor-table { width: 100%; border-collapse: collapse; }
.pdv-vendor-table th, .pdv-vendor-table td { padding: 12px 10px; border-bottom: 1px solid #e1e3e6; text-align: left; vertical-align: middle; }
.pdv-vendor-table th { background: #f6f7f8; color: #50555b; font-size: 12px; text-transform: uppercase; }
.pdv-vendor-status { color: #8a2424; font-weight: 700; }
.pdv-vendor-status.is-active { color: #196b35; }
.pdv-vendor-actions { display: flex; align-items: center; gap: 8px; }
.pdv-vendor-actions form { margin: 0; }
.pdv-vendor-password { position: relative; }
.pdv-vendor-password summary { min-height: 34px; display: inline-flex; align-items: center; padding: 6px 10px; border: 1px solid #aeb3b9; border-radius: 4px; background: #fff; font-size: 13px; font-weight: 700; cursor: pointer; list-style: none; white-space: nowrap; }
.pdv-vendor-password summary::-webkit-details-marker { display: none; }
.pdv-vendor-password summary:hover { border-color: #7d8288; background: #f7f7f7; }
.pdv-vendor-password[open] summary { border-color: #d9570d; color: #a63e04; }
.pdv-vendor-password form { position: absolute; z-index: 5; right: 0; top: calc(100% + 7px); width: 270px; display: grid; gap: 10px; padding: 14px; border: 1px solid #c8ccd1; background: #fff; box-shadow: 0 8px 24px rgba(28,31,35,.16); }
.pdv-vendor-password label { font-size: 12px; font-weight: 700; }
.pdv-vendor-password input { width: 100%; min-height: 38px; display: block; margin-top: 5px; padding: 8px 9px; border: 1px solid #adb2b8; border-radius: 3px; }
.pdv-vendor-password input:focus { border-color: #ef681c; outline: 2px solid rgba(239,104,28,.16); }
.pdv-dashboard-button-small { min-height: 34px; padding: 6px 10px; font-size: 13px; }
.pdv-dashboard-button-danger { border-color: #d7a7a4; color: #a12622; }
.pdv-dashboard-button-danger:hover { border-color: #b42318; background: #fff1f0; color: #831b17; }

.pdv-proposal-list { padding: 22px; border: 1px solid #d5d8dc; background: #fff; }
.pdv-proposal-list h2 { margin: 0 0 18px; font-size: 19px; letter-spacing: 0; }
.pdv-proposal-table-wrap { overflow-x: auto; }
.pdv-proposal-table { width: 100%; border-collapse: collapse; }
.pdv-proposal-table th,
.pdv-proposal-table td { padding: 12px 10px; border-bottom: 1px solid #e1e3e6; text-align: left; vertical-align: middle; }
.pdv-proposal-table th { background: #f6f7f8; color: #50555b; font-size: 12px; text-transform: uppercase; }
.pdv-proposal-actions { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; }

@media (max-width: 900px) {
	.pdv-dashboard-layout { grid-template-columns: 1fr; }
	.pdv-dashboard-sidebar { width: 100%; max-width: 100vw; overflow: hidden; }
	.pdv-dashboard-sidebar nav { position: static; width: 100%; max-width: 100%; display: flex; gap: 5px; padding: 10px 12px; overflow-x: auto; }
	.pdv-dashboard-sidebar a { flex: 0 0 auto; min-height: 40px; border-left: 0; border-bottom: 3px solid transparent; padding: 7px 10px; white-space: nowrap; }
	.pdv-dashboard-sidebar a.is-active { border-left-color: transparent; border-bottom-color: #ef681c; }
	.pdv-dashboard-editor-form .pdv-admin-grid { grid-template-columns: 1fr 1fr; }
	.pdv-vendor-form { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 720px) {
	.pdv-dashboard-header { align-items: flex-start; }
	.pdv-dashboard-user div { display: none; }
	.pdv-dashboard-section { align-items: stretch; flex-direction: column; }
	.pdv-dashboard-actions { display: grid; grid-template-columns: 1fr; }
	.pdv-dashboard-account dl { grid-template-columns: 1fr 1fr; }
	.pdv-dashboard-editor-form .pdv-admin-grid { grid-template-columns: 1fr; }
	.pdv-dashboard-editor-form .pdv-admin-section-head { align-items: flex-start; flex-direction: column; }
	.pdv-vendor-form { grid-template-columns: 1fr; }
	.pdv-proposal-actions { justify-content: flex-start; }
	.pdv-vendor-submit { justify-content: stretch; }
	.pdv-vendor-submit .pdv-dashboard-button { width: 100%; }
	.pdv-vendor-password form { position: fixed; left: 12px; right: 12px; top: 50%; width: auto; transform: translateY(-50%); }
}

@media (max-width: 460px) {
	.pdv-login-panel { padding: 24px 20px; }
	.pdv-dashboard-brand span { font-size: 15px; }
	.pdv-dashboard-main { width: min(100% - 24px, 1180px); padding-top: 24px; }
	.pdv-dashboard-title { flex-direction: column; }
	.pdv-dashboard-account dl { grid-template-columns: 1fr; }
}
