/* Template Bazaar Vendor Marketplace – namespaced front-end design */
.tbvm-shell{--tbvm-blue:#1268e8;--tbvm-navy:#101e33;--tbvm-border:#e4eaf2;--tbvm-ink:#142134;--tbvm-muted:#66758b;--tbvm-bg:#f4f7fc;font-family:Inter,-apple-system,BlinkMacSystemFont,"Segoe UI",Arial,sans-serif;color:var(--tbvm-ink);max-width:1250px;margin:35px auto;padding:22px 18px 45px;background:var(--tbvm-bg);border-radius:18px;box-sizing:border-box;line-height:1.5}
.tbvm-shell *{box-sizing:border-box}.tbvm-shell a{text-decoration:none}.tbvm-shell h1,.tbvm-shell h2,.tbvm-shell h3{color:var(--tbvm-ink);line-height:1.24;margin:0}.tbvm-shell h1{font-size:26px;font-weight:800}.tbvm-shell h2{font-size:19px;font-weight:780;margin-bottom:15px}.tbvm-shell h3{font-size:16px;font-weight:700}.tbvm-shell p{margin:7px 0 18px;font-size:13px}.tbvm-title{display:flex;align-items:center;gap:13px;margin-bottom:22px}.tbvm-title p{color:var(--tbvm-muted);margin:5px 0 0}.tbvm-logo{background:#0f1b2c;border:2px solid #ff7c18;color:#fff;width:44px;height:44px;display:grid;place-items:center;border-radius:10px;flex-shrink:0;font-size:17px;font-weight:900}.tbvm-split{display:grid;grid-template-columns:1.2fr 0.8fr;gap:18px}.tbvm-card{background:#fff;border:1px solid var(--tbvm-border);border-radius:14px;padding:22px;margin-bottom:19px;box-shadow:0 3px 18px rgba(23,47,94,.035)}.tbvm-card>p{color:var(--tbvm-muted)}.tbvm-steps p{padding:8px 0;margin:0;border-bottom:1px solid #f0f3f8}.tbvm-steps b{display:inline-grid;place-items:center;border-radius:50%;background:#e6f0ff;color:#1363d7;width:27px;height:27px;margin-right:9px}.tbvm-btn{background:var(--tbvm-blue)!important;color:#fff!important;border:none!important;border-radius:8px;display:inline-flex;align-items:center;justify-content:center;font-family:inherit;font-weight:700;font-size:13px;min-height:42px;padding:12px 17px;cursor:pointer;transition:background .15s ease}.tbvm-btn:hover{background:#074eaf!important}.tbvm-small{min-height:34px;padding:8px 12px;font-size:12px}.tbvm-text-link{float:right;color:var(--tbvm-blue);font-size:12px;font-weight:700}.tbvm-alert{background:#edf5ff;border:1px solid #cce1ff;color:#254a73;padding:13px 15px;margin-bottom:19px;border-radius:10px;font-size:13px}.tbvm-alert a{color:#0e56bd;text-decoration:underline}.tbvm-field{display:flex;flex-direction:column;gap:7px;margin-bottom:17px;flex:1;min-width:0;font-size:13px;font-weight:650}.tbvm-field input,.tbvm-field select,.tbvm-field textarea{width:100%;min-width:0;background:#fff;border:1px solid #ccd6e4;border-radius:8px;padding:11px 12px;color:#192639;font-size:13px;font-family:inherit;box-shadow:none;min-height:43px}.tbvm-field textarea{min-height:96px}.tbvm-field input[type=file]{padding:12px 10px}.tbvm-field input:focus,.tbvm-field select:focus,.tbvm-field textarea:focus{border-color:#287dea;outline:2px solid #ddeaff}.tbvm-check{display:flex;gap:9px;font-size:12px;color:#43536b;align-items:flex-start;margin:14px 0 20px}.tbvm-check input{margin-top:3px}.tbvm-form-row{display:flex;gap:15px}.tbvm-layout{display:grid;grid-template-columns:218px minmax(0,1fr);border-radius:14px;overflow:hidden;box-shadow:0 4px 18px rgba(19,37,69,.09);background:#fff;min-height:540px}.tbvm-nav{background:linear-gradient(180deg,#172c45,#101d2e);padding:20px 11px;display:flex;flex-direction:column;gap:6px}.tbvm-nav-head{color:#fff;font-weight:850;font-size:17px;letter-spacing:-.4px;padding:4px 10px 23px}.tbvm-nav-head small{display:block;font-size:11px;letter-spacing:1.3px;text-transform:uppercase;font-weight:500;color:#b9c7da}.tbvm-nav a{padding:12px 12px;display:flex;gap:11px;color:#d6e3f4;border-radius:8px;font-size:13px;font-weight:550;align-items:center}.tbvm-nav a span{font-weight:800;font-size:18px;width:23px;text-align:center;color:#b2c9e6}.tbvm-nav a.active,.tbvm-nav a:hover{background:#1e67cf;color:#fff}.tbvm-nav a.active span{color:#fff}.tbvm-main{padding:24px;background:#f8fafd;min-width:0}.tbvm-main>h2{font-size:20px}.tbvm-stats{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:13px;margin:0 0 20px}.tbvm-stat{background:#fff;border:1px solid var(--tbvm-border);box-shadow:0 1px 12px rgba(30,60,110,.035);border-radius:12px;min-height:120px;padding:16px 14px;display:flex;flex-direction:column;justify-content:space-between;min-width:0}.tbvm-stat small{font-size:12px;color:#65758b}.tbvm-stat strong{font-size:23px;font-weight:850;letter-spacing:-.6px;color:#193553;word-break:break-word}.tbvm-stat span{font-size:10px;color:#77869b}.tbvm-scroll{overflow:auto;max-width:100%}.tbvm-table{border-collapse:collapse;width:100%;font-size:12px;min-width:480px}.tbvm-table th,.tbvm-table td{text-align:left;padding:11px 9px;border-bottom:1px solid #e9eef6;vertical-align:middle;white-space:normal}.tbvm-table th{font-size:11px;text-transform:none;color:#53647b;font-weight:700;background:#f6f8fc}.tbvm-table td b{font-weight:750}.tbvm-table small{color:#8590a0;font-size:11px}.tbvm-thumb{max-width:48px;max-height:55px;height:auto;object-fit:cover;border-radius:5px}.tbvm-status{padding:5px 8px;border-radius:7px;background:#eef1f5;color:#505e6e;font-weight:700;font-size:11px;white-space:nowrap}.tbvm-status.published,.tbvm-status.paid,.tbvm-status.approved{background:#d9f6e6;color:#117b42}.tbvm-status.pending,.tbvm-status.requested{background:#fff0df;color:#ad5710}.tbvm-status.rejected,.tbvm-status.held{background:#fde8e8;color:#ad2634}.tbvm-muted{font-size:12px!important;color:#758397!important}.tbvm-gallery{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:15px}.tbvm-gallery-card{border:1px solid var(--tbvm-border);overflow:hidden;border-radius:13px;background:#fff;box-shadow:0 2px 12px rgba(15,28,50,.04)}.tbvm-gallery-image{height:212px;display:flex;align-items:center;justify-content:center;background:#eff2f5;overflow:hidden}.tbvm-gallery-image img{height:100%;width:100%;object-fit:contain}.tbvm-gallery-details{padding:15px}.tbvm-gallery-details h3{font-size:14px;line-height:1.35;margin:0 0 7px}.tbvm-gallery-details p{font-size:11px;color:#7a879a;margin:0 0 12px}.tbvm-gallery-details .tbvm-btn{width:100%}
@media(max-width:1100px){.tbvm-stats{grid-template-columns:repeat(2,minmax(0,1fr))}.tbvm-gallery{grid-template-columns:repeat(3,minmax(0,1fr))}}
@media(max-width:780px){.tbvm-shell{padding:14px 11px;margin:14px auto}.tbvm-title h1{font-size:21px}.tbvm-layout{display:block}.tbvm-nav{flex-direction:row;overflow:auto;white-space:nowrap;padding:11px;gap:5px}.tbvm-nav-head{display:none}.tbvm-nav a{min-width:max-content;padding:10px}.tbvm-main{padding:14px}.tbvm-card{padding:15px}.tbvm-split{grid-template-columns:1fr}.tbvm-gallery{grid-template-columns:repeat(2,minmax(0,1fr))}.tbvm-form-row{flex-direction:column;gap:0}}
@media(max-width:480px){.tbvm-stats{grid-template-columns:repeat(2,minmax(0,1fr));gap:8px}.tbvm-stat{padding:12px;min-height:100px}.tbvm-stat strong{font-size:19px}.tbvm-gallery{gap:9px}.tbvm-gallery-image{height:150px}.tbvm-gallery-details{padding:10px}.tbvm-gallery-details h3{font-size:12px}.tbvm-gallery-details p{font-size:10px}.tbvm-btn{font-size:12px;padding:10px}.tbvm-shell h2{font-size:17px}}

.tbvm-chart{height:160px;display:flex;align-items:flex-end;gap:4px;padding:16px 5px 0;border-bottom:1px solid #dce4f0;background:repeating-linear-gradient(to top,#fff 0,#fff 38px,#edf1f7 39px,#fff 40px)}.tbvm-chart-bar{flex:1;min-width:2px;background:linear-gradient(to top,#287ced,#5cb0ff);border-radius:4px 4px 0 0;min-height:3px;transition:height .2s}.tbvm-chart-bar:hover{background:#ff7d22}
/* v1.1.0: designer directory, edit links and profile header */
.tbvm-designers-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:16px}
.tbvm-designer-card{display:flex;flex-direction:column;gap:10px;align-items:flex-start;min-height:245px}
.tbvm-designer-card .tbvm-btn{margin-top:auto}
.tbvm-designer-card p{margin:4px 0;color:var(--tbvm-muted);font-size:12px}
.tbvm-designer-card small{color:var(--tbvm-muted)}
.tbvm-profile-avatar img,.tbvm-profile-header img{border-radius:50%;object-fit:cover}
.tbvm-profile-header{display:flex;gap:17px;align-items:flex-start}
.tbvm-profile-header p{max-width:700px;white-space:normal}
.tbvm-mini-link,.tbvm-text-inline{color:#1268e8!important;text-decoration:none!important;font-weight:700;font-size:12px;white-space:nowrap;display:inline-block;margin:4px 8px 4px 0}
.tbvm-mini-link:hover,.tbvm-text-inline:hover{text-decoration:underline!important}
@media(max-width:900px){.tbvm-designers-grid{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:540px){.tbvm-designers-grid{grid-template-columns:1fr}.tbvm-profile-header{flex-direction:column}}

/* v1.2.0: homepage designer showcase, with no changes to the theme's existing gallery */
.tbvm-home{max-width:1440px;margin:45px auto;padding:20px 5vw 45px;font-family:Inter,Arial,sans-serif;color:#142434;clear:both;box-sizing:border-box}
.tbvm-home *{box-sizing:border-box}.tbvm-home-heading{display:flex;align-items:center;justify-content:space-between;gap:14px;margin-bottom:20px}
.tbvm-home-heading h2{font-size:24px!important;margin:0 0 7px!important;color:#142434;font-weight:800}
.tbvm-home-heading p{margin:0;color:#64748b;font-size:13px}.tbvm-home-heading a{font-weight:700;font-size:13px;color:#f4511e;text-decoration:none;white-space:nowrap}
.tbvm-home-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:17px}
.tbvm-home-card{display:flex;flex-direction:column;min-width:0;text-decoration:none!important;color:#17304c!important;background:white;border:1px solid #ecedf3;border-radius:12px;overflow:hidden;box-shadow:0 3px 12px rgba(0,0,0,.05)}
.tbvm-home-card strong{font-size:13px;line-height:1.35;padding:10px 12px 0}.tbvm-home-card small{padding:3px 12px 12px;color:#718096;font-size:11px}
.tbvm-home-img{height:215px;background:#f4f5f8;display:flex;align-items:center;justify-content:center;overflow:hidden}.tbvm-home-img img{width:100%;height:100%;object-fit:contain}
@media(max-width:800px){.tbvm-home-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.tbvm-home-img{height:190px}.tbvm-home{padding:24px 16px}}

/* v1.3.0: no extra plugin; approved vendor gallery, free/pro and profile UI */
.tbvm-access-badge{font:800 10px/1.2 Inter,Arial,sans-serif;display:inline-flex;padding:4px 7px;background:#ffe5d2;color:#c34b19;border-radius:5px;letter-spacing:.04em;vertical-align:middle}
.tbvm-access-badge.free{background:#d9f8e9;color:#067647}
.tbvm-inline-form{display:inline-flex;margin:0 0 0 7px;padding:0;border:0;vertical-align:middle}
.tbvm-delete-button{background:transparent!important;border:0!important;color:#b42318!important;font:700 12px Inter,Arial,sans-serif;cursor:pointer;padding:4px 0;margin:0}
.tbvm-avatar-settings{display:flex;align-items:center;gap:18px;flex-wrap:wrap;margin:14px 0 20px}
.tbvm-avatar-settings .tbvm-avatar,.tbvm-profile-header .tbvm-avatar,.tbvm-profile-avatar .tbvm-avatar{width:90px;height:90px;border-radius:50%;object-fit:cover;background:#f3f6fa;box-shadow:0 1px 8px rgba(0,0,0,.09)}
.tbvm-avatar-settings .tbvm-field{min-width:min(280px,100%);margin:0}
.tbvm-gallery-card .tbvm-access-badge{margin-bottom:9px}
.tbvm-home-card .tbvm-access-badge{margin-right:5px}
.tbvm-home{width:100%;}
@media(max-width:540px){.tbvm-avatar-settings{align-items:flex-start;flex-direction:column}}

.tbvm-tier-form{gap:4px;align-items:center}.tbvm-tier-form select{font-size:11px;padding:5px 3px;border:1px solid #d5e0ed;border-radius:5px;background:#fff}.tbvm-tier-form button{margin:0 0 0 3px!important}
/* v1.5 — optional client-side Photoshop import and licensed fonts */
.tbvm-psd-import{margin:10px 0 20px!important;background:linear-gradient(140deg,#f8fbff,#fff)!important;border:1px dashed #8ebae8!important}
.tbvm-psd-import h3{font-size:16px;margin:0 0 10px;color:#173252}
.tbvm-psd-import p{font-size:12px;line-height:1.6;color:#61758a}
.tbvm-beta{color:#b65a10;background:#fff0de;border-radius:6px;padding:3px 7px;font-size:10px;font-weight:800}
.tbvm-psd-preview{display:flex;gap:15px;align-items:flex-start;margin:16px 0;padding:12px;border:1px solid #e0e8f3;border-radius:8px;background:#fff}
.tbvm-psd-preview img{width:150px;max-height:200px;object-fit:contain;border-radius:5px}
#tbvm-psd-progress{display:inline-block;margin:10px 0 0 6px}
@media(max-width:600px){.tbvm-psd-preview{flex-direction:column}.tbvm-psd-preview img{width:100%}}

/* PSD import quality review */
.tbvm-psd-comparison{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px;margin:14px 0}
.tbvm-psd-comparison figure{margin:0;background:#f3f6fb;border:1px solid #dfe6ee;border-radius:8px;padding:10px;text-align:center}
.tbvm-psd-comparison figcaption{font-size:12px;font-weight:700;margin-bottom:8px;color:#183047}
.tbvm-psd-comparison img{max-width:100%;width:100%;height:240px;object-fit:contain;background:#fff}
.tbvm-psd-quality{padding:10px;font-size:12px;border-radius:7px}
.tbvm-psd-quality-good{background:#eaf8ef;color:#11652b}.tbvm-psd-quality-bad{background:#fff0e7;color:#a34108;font-weight:bold}
#tbvm-psd-warnings{white-space:pre-line;color:#7a3e1e!important}
@media(max-width:680px){.tbvm-psd-comparison{grid-template-columns:1fr}}

/* Photoshop export folder import */
.tbvm-psx-compare {display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px;margin:12px 0}
.tbvm-psx-compare figure {margin:0;min-width:0}
.tbvm-psx-compare figcaption {font-size:12px;font-weight:700;margin-bottom:5px}
.tbvm-psx-compare img {display:block;width:100%;max-height:240px;object-fit:contain;background:#f5f5f5;border:1px solid #e1e6ed;border-radius:8px}
.tbvm-psx-report {white-space:pre-wrap;overflow-wrap:anywhere;font:12px/1.6 ui-monospace,monospace;color:#3e5065;background:#f5f8fc;padding:12px;border-radius:8px;max-height:220px;overflow:auto}
@media(max-width:600px){.tbvm-psx-compare{grid-template-columns:1fr}}
