/* VNRESS SHARE 4.1 - visual refinement layer */
:root{
 --v41-bg:#f4f7f5;--v41-surface:#fff;--v41-ink:#1e2b22;--v41-muted:#69776d;
 --v41-border:#e4ebe5;--v41-green:#21633e;--v41-green-dark:#194c30;
 --v41-shadow:0 8px 28px rgba(26,54,34,.055);--v41-radius:16px;
}
body{background:var(--v41-bg);color:var(--v41-ink);-webkit-font-smoothing:antialiased}
a,button,input,select,textarea{transition:color .16s ease,background-color .16s ease,border-color .16s ease,box-shadow .16s ease,transform .16s ease}
a:focus-visible,button:focus-visible,input:focus-visible,select:focus-visible,textarea:focus-visible{outline:3px solid #9ac9a6;outline-offset:2px}
/* Non-home shell: consistent content width and whitespace */
.vnress-page-shell,.container.library-page{max-width:1320px}
.vnress-page-content,.vnress-auth-card,.vnress-submit-form,.vnress-payment,.vnress-account,.vnress-login,.console-panel{box-shadow:var(--v41-shadow);border-color:var(--v41-border)}
.vnress-page-content{padding:clamp(18px,2.6vw,36px);border-radius:20px}
.vnress-page-header h1,.library-hero h1{letter-spacing:-.04em;line-height:1.15}
.resource-filters{display:flex;align-items:center;flex-wrap:wrap;gap:9px;padding:12px;background:#f7faf7}
.resource-filters input,.resource-filters select{min-height:40px}
.resource-list{gap:7px}
.resource-list-row{min-width:0;display:flex;align-items:center;gap:12px;padding:10px 13px;border:1px solid #e8eee8;background:#fff;border-radius:12px;transition:background .16s,border-color .16s,box-shadow .16s}
.resource-list-row:hover{background:#fbfdfb;border-color:#cbdccb;box-shadow:0 3px 10px rgba(31,77,47,.045)}
.resource-list-title{min-width:0;overflow:hidden;text-overflow:ellipsis}
.resource-list-download{white-space:nowrap;min-height:34px;display:inline-flex;align-items:center;justify-content:center;gap:5px;font-weight:700}
/* Home app frame */
.v4-drive-home{min-height:100dvh;background:var(--v41-bg);grid-template-columns:252px minmax(0,1fr)}
.v4-sidebar{width:252px;padding:22px 15px 16px;border-right-color:#e5ece6;box-shadow:1px 0 0 rgba(20,45,28,.01)}
.v4-brand-mini{font-size:15px;padding:4px 9px 20px;letter-spacing:-.35px}
.v4-brand-mark{box-shadow:0 3px 8px rgba(29,86,50,.16)}
.v4-upload-cta{margin:4px 2px 18px;padding:12px 14px;border:1px solid #dbe9dd;box-shadow:0 3px 8px rgba(28,78,43,.05)}
.v4-side-nav a{padding:10px 12px;font-size:12px;min-height:40px}
.v4-side-nav a.active{font-weight:750;background:#eaf3eb}
.v4-sidebar-cats{margin-top:20px}
.v4-sidebar-cats a{font-size:11px;min-height:34px}
.v4-sidebar-foot{padding:15px;background:linear-gradient(135deg,#f1f7f1,#f7f9f7);border:1px solid #e5eee5}
.v4-main-area{padding:0 clamp(22px,3.3vw,48px) 44px;max-width:1660px}
.v4-topbar{padding:18px 0 21px;gap:16px}
.v4-search{min-height:46px;border-radius:14px;padding:6px 8px 6px 15px;box-shadow:0 2px 6px rgba(24,50,31,.025)}
.v4-search input{font-size:13px}
.v4-search button{font-size:11px;padding:9px 15px}
.v4-user-chip{font-size:11px}
.v4-welcome{min-height:244px;padding:clamp(23px,3vw,34px);border-radius:22px;background:linear-gradient(118deg,#eaf3ea 0%,#edf5ee 58%,#e3eee5 100%);box-shadow:inset 0 0 0 1px rgba(48,101,61,.035)}
.v4-eyebrow{font-size:9px;letter-spacing:1.35px}
.v4-welcome h1{font-size:clamp(31px,3.2vw,47px);line-height:1.12;letter-spacing:-1.65px;margin:12px 0}
.v4-welcome p{font-size:12px;line-height:1.7}
.v4-primary-button{padding:11px 15px;font-size:11px;border-radius:11px;box-shadow:0 3px 0 #17452d}
.v4-resource-total{font-size:10px}
.v4-welcome-art{min-height:196px}
.v4-art-circle{width:175px;height:175px;filter:saturate(.88)}
.v4-art-doc{border-radius:12px;box-shadow:0 15px 30px rgba(36,68,43,.13)}
.v4-section-head{margin:28px 0 13px;align-items:center}
.v4-section-head h2{font-size:21px;letter-spacing:-.6px}
.v4-section-head>a,.v4-view-tools a{font-size:10.5px}
.v4-category-pills{gap:9px}
.v4-category-pills a{padding:11px 12px;border-radius:12px;font-size:11px;min-height:46px}
.v4-pill-icon{width:27px;height:27px;border-radius:8px}
.v4-resources-head{margin-top:29px}
.v4-home-resource-wrap{padding:14px;border-radius:17px;box-shadow:0 3px 14px rgba(24,54,34,.025)}
.v4-home-resource-wrap .resource-home-grid{gap:8px}
.v4-home-resource-wrap .resource-home-item{min-height:48px;padding:9px 10px;border-radius:11px;gap:9px}
.v4-home-resource-wrap .resource-home-title-text{font-size:11px}
.v4-home-resource-wrap .resource-home-download{min-height:30px;padding:6px 9px;font-size:9.5px;border-radius:8px;box-shadow:0 2px 0 #b73530}
.v4-bottom-promo{margin-top:28px;padding:23px 25px;border-radius:19px;background:linear-gradient(120deg,#1e4b32,#285b3c);box-shadow:0 8px 22px rgba(24,67,39,.12)}
.v4-bottom-promo h3{font-size:24px;letter-spacing:-.75px}
.v4-promo-links a{padding:11px 14px;font-size:10px;border-radius:10px}
/* Tablet and mobile refinements */
@media(max-width:1080px){
 .v4-drive-home{grid-template-columns:226px minmax(0,1fr)}.v4-sidebar{width:226px;padding:18px 12px}
 .v4-main-area{padding:0 20px 32px}.v4-welcome{min-height:218px}.v4-category-pills{grid-template-columns:repeat(2,minmax(0,1fr))}
}
@media(max-width:760px){
 .v4-drive-home{display:block;min-height:100dvh}
 .v4-sidebar{width:auto;position:relative;height:auto;min-height:0;overflow:visible;padding:11px 12px 9px;background:#fff}
 .v4-brand-mini{padding:2px 4px 9px;font-size:14px}
 .v4-side-nav{gap:4px;scrollbar-width:none}.v4-side-nav::-webkit-scrollbar,.v4-sidebar-cats::-webkit-scrollbar{display:none}
 .v4-side-nav a{padding:8px 10px;min-height:36px;border:1px solid transparent;border-radius:9px;font-size:10px}
 .v4-sidebar-cats{margin-top:7px;gap:6px;scrollbar-width:none}
 .v4-sidebar-cats a{border:1px solid #e7eee7;background:#f7faf7;border-radius:99px;padding:6px 10px;min-height:30px;font-size:9.5px}
 .v4-main-area{padding:0 12px 25px}
 .v4-topbar{padding:12px 0 14px;gap:8px}
 .v4-search{min-height:42px;padding:4px 5px 4px 10px;border-radius:11px}
 .v4-search input{font-size:11px}.v4-search button{font-size:9px;padding:7px 9px}
 .v4-welcome{padding:18px 17px;border-radius:16px;min-height:0;display:block}
 .v4-welcome h1{font-size:clamp(27px,8vw,34px);letter-spacing:-1px;margin:9px 0}
 .v4-welcome p{font-size:11px;line-height:1.6}
 .v4-welcome-actions{gap:9px;margin-top:13px}.v4-primary-button{font-size:10px;padding:10px 12px}
 .v4-section-head{margin:20px 0 10px}.v4-section-head h2{font-size:18px}
 .v4-category-pills{grid-template-columns:repeat(2,minmax(0,1fr));gap:6px}
 .v4-category-pills a{padding:8px 9px;min-height:40px;font-size:9.5px}
 .v4-home-resource-wrap{padding:9px;border-radius:13px}
 .v4-home-resource-wrap .resource-home-grid{grid-template-columns:1fr;gap:6px}
 .v4-home-resource-wrap .resource-home-item{min-height:44px;padding:8px 9px}
 .v4-home-resource-wrap .resource-home-title-text{font-size:10.5px}
 .v4-home-resource-wrap .resource-home-download{min-height:29px;padding:6px 8px;font-size:9px}
 .v4-bottom-promo{margin-top:20px;padding:17px;border-radius:15px}.v4-bottom-promo h3{font-size:21px}
 .vnress-page-shell{width:calc(100% - 20px);margin:10px auto 28px}.vnress-page-content{padding:14px;border-radius:14px}
 .resource-filters{gap:7px;padding:9px}.resource-filters input,.resource-filters select{min-height:38px;width:100%;max-width:100%}
 .resource-list-row{gap:8px;padding:8px 9px}.resource-list-title{font-size:11px;min-width:0}.resource-list-download{min-height:32px;font-size:9px;padding:6px 8px}
}
@media(max-width:390px){
 .v4-main-area{padding-left:9px;padding-right:9px}.v4-side-nav a{font-size:9px;padding:7px 8px}.v4-category-pills a{gap:5px}.v4-resource-total{display:none}
 .v4-home-resource-wrap .resource-home-item{gap:6px}.v4-home-resource-wrap .resource-home-title-text{font-size:9.8px}
}
@media(prefers-reduced-motion:reduce){*,*::before,*::after{animation-duration:.01ms!important;animation-iteration-count:1!important;scroll-behavior:auto!important;transition-duration:.01ms!important}}

/* VNRESS SHARE 4.2: static QR unlock request */
.vnress-unlock-static-qr{max-width:760px;margin:24px auto;padding:clamp(18px,3vw,30px);border:1px solid #e5e9e4;border-radius:20px;background:#fff;box-shadow:0 8px 28px rgba(28,55,36,.06)}
.vnress-unlock-static-qr h2{margin:0 0 10px;font-size:clamp(22px,3vw,30px);letter-spacing:-.02em}
.vnress-unlock-static-qr p{line-height:1.65;color:#56645b}
.vnress-unlock-payment-card{display:grid;grid-template-columns:minmax(180px,280px) minmax(0,1fr);align-items:center;gap:20px;margin:20px 0;padding:18px;border:1px solid #e6eee6;border-radius:16px;background:#f8fbf8}
.vnress-unlock-qr{display:block;width:100%;max-width:280px;height:auto;object-fit:contain;padding:10px;background:#fff;border:1px solid #e4e8e4;border-radius:12px}
.vnress-unlock-static-qr .btn-dark{display:inline-flex;align-items:center;justify-content:center;gap:8px;padding:11px 18px;border-radius:10px;font-weight:700}
.vnress-unlock-static-qr .small-note{font-size:13px;color:#718078}
@media(max-width:600px){.vnress-unlock-payment-card{grid-template-columns:1fr;gap:12px;padding:14px}.vnress-unlock-qr{max-width:240px;margin:0 auto}.vnress-unlock-static-qr{margin:14px 8px;padding:16px;border-radius:16px}}
