
/* Resource hub: shared site header; one task per tab; no nested storefront. */
.resources-page{font-family:system-ui,"Leelawadee UI",Tahoma,sans-serif}.resource-main{max-width:1400px;margin:0 auto;padding:28px clamp(18px,3vw,40px) 22px;font:14px/1.65 system-ui,"Leelawadee UI",Tahoma,sans-serif;color:var(--text)}
.hub-heading{display:flex;align-items:center;justify-content:space-between;gap:24px;margin-bottom:24px}.hub-breadcrumb{margin:0 0 6px;color:var(--muted);font-size:12px}.hub-heading h1{margin:0;font-size:30px;line-height:1.4;letter-spacing:-.025em}.hub-description{margin:7px 0 0;color:var(--muted);font-size:14px}.resource-cta{display:inline-flex;justify-content:center;align-items:center;gap:10px;min-height:44px;padding:10px 17px;border:1px solid #155ce0;border-radius:9px;background:#155ce0;color:#fff!important;font:600 14px/1.4 system-ui,"Leelawadee UI",Tahoma,sans-serif;text-decoration:none;white-space:nowrap;cursor:pointer}.resource-cta:hover{background:#104cbd;border-color:#104cbd;filter:none}.resource-cta:disabled{opacity:.55;cursor:wait}
.hub-tabs{display:flex;gap:24px;border-bottom:1px solid var(--border);margin-bottom:24px;overflow:auto;scrollbar-width:thin}.hub-tabs .hub-tab{position:relative;flex:none;min-height:49px;background:transparent;border:0;border-bottom:3px solid transparent;border-radius:0;padding:10px 2px;color:var(--muted);font-size:14px;font-weight:600;white-space:nowrap}.hub-tabs .hub-tab[aria-selected=true]{border-bottom-color:var(--primary);color:var(--primary)}.hub-tabs .hub-tab:hover{color:var(--text);filter:none}.hub-view{min-height:340px}.library-toolbar{display:flex;justify-content:space-between;align-items:center;gap:18px;margin-bottom:18px}.library-toolbar h2{font-size:20px;margin:0}.library-toolbar p{font-size:13px;margin:4px 0 0}.resource-filters{display:flex;gap:6px;flex-wrap:wrap}.resource-filters button{min-height:36px;padding:7px 12px;font-size:12px;border-radius:7px;background:transparent;border-color:transparent;color:var(--muted)}.resource-filters button[aria-pressed=true]{background:var(--surface);border-color:var(--border);color:var(--text)}
.resource-search{display:flex;align-items:center;gap:10px;border:1px solid var(--border);border-radius:9px;background:var(--surface);padding:0 13px;min-width:0;width:290px;max-width:100%;color:var(--muted)}.resource-search input{min-width:0;width:100%;height:42px;background:transparent;border:0;padding:0;color:var(--text);font:inherit;outline-offset:5px}.resource-search:focus-within{outline:2px solid var(--focus);outline-offset:2px}.resource-search input:focus-visible{outline:none}.result-count{font-size:12px;color:var(--muted);margin:0 0 14px}.resource-grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(min(100%,265px),1fr));gap:18px}.resource-card{display:flex;flex-direction:column;min-width:0;border:1px solid var(--border);border-radius:12px;background:var(--surface);overflow:hidden}.card-art{height:105px;display:flex;align-items:center;justify-content:center;gap:14px;background:var(--surface-soft);color:var(--primary);overflow:hidden}.card-art>span{font:600 32px Consolas,monospace}.card-art small{font-size:9px;letter-spacing:.1em;color:var(--muted)}.card-art img{width:100%;height:100%;object-fit:cover}.card-content{padding:20px;display:flex;flex-direction:column;gap:0;flex:1;min-width:0}.card-meta{display:flex;align-items:center;justify-content:space-between;gap:8px;color:var(--muted);font-size:11px}.pill,.status-pill{display:inline-flex;align-items:center;border-radius:5px;background:var(--surface-soft);padding:3px 7px;color:var(--primary);font-size:11px;font-weight:600;width:fit-content}.resource-card h3{font-size:18px;line-height:1.5;margin:14px 0 8px;overflow-wrap:anywhere}.resource-card p{font-size:13px;color:var(--muted);line-height:1.7;margin:0 0 14px;overflow-wrap:anywhere}.resource-card .card-description{display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden;min-height:44px}.card-author{font-size:12px!important}.card-facts{display:flex;flex-wrap:wrap;gap:5px 12px;list-style:none;margin:0 0 18px;padding:0;font-size:11px;color:var(--muted)}.card-actions{display:flex;align-items:center;gap:12px;margin-top:auto}.card-actions .resource-cta{flex:1;min-width:0;font-size:12px;padding:10px}.card-actions>a:last-child:not(.resource-cta){font-size:12px;text-decoration:none}.resource-card details{margin-top:16px;padding-top:12px;border-top:1px solid var(--border);font-size:11px;color:var(--muted)}.resource-card details p{margin-top:10px}.resource-card code{font-size:10px;overflow-wrap:anywhere;display:block;margin:10px 0}.resource-card summary{cursor:pointer}.resource-card .review-actions{margin-top:18px}.market-card-bottom{display:flex;justify-content:space-between;align-items:center;gap:12px;border-top:1px solid var(--border);padding-top:16px;margin-top:auto}.market-card-bottom button{font-size:12px;min-height:38px;padding:8px 12px;border-radius:8px}.market-price{font-size:18px;white-space:nowrap}.catalog-notice{font-size:12px;color:var(--muted)}.catalog-notice p:empty{display:none}.catalog-notice button{font-size:12px}.section-label{display:flex;justify-content:space-between;align-items:center;gap:15px;margin:28px 0 16px}.section-label h2{font-size:18px;line-height:1.4;margin:0}.section-label>span,.section-label>a{font-size:12px;color:var(--muted)}.section-label button{font-size:12px;min-height:36px}.hub-state{font-size:13px;color:var(--muted);margin:14px 0}.hub-empty{padding:26px;border:1px dashed var(--border);border-radius:10px;background:var(--surface);color:var(--muted);font-size:13px;grid-column:1/-1;text-align:center}.hub-guide{padding:16px 18px;border:1px solid var(--border);border-radius:10px;margin-top:26px;font-size:12px;color:var(--muted);background:var(--surface)}.hub-guide summary{cursor:pointer}.hub-guide p{line-height:1.9;margin-bottom:0}.market-search{display:flex;gap:10px;align-items:center;margin:18px 0}.market-search .resource-search{flex:1;width:auto}.market-search button{font-size:13px}.resource-footer{display:flex;gap:20px;flex-wrap:wrap;align-items:center;margin-top:30px;padding:20px 0;border-top:1px solid var(--border);font-size:12px;color:var(--muted)}.resource-footer a{text-decoration:none;color:var(--muted)}.resource-footer span{margin-left:auto}.review-card{padding:20px;border:1px solid var(--border);border-radius:12px;background:var(--surface);min-width:0}.review-card h3{font-size:16px;overflow-wrap:anywhere;margin:0 0 10px}.review-card p{font-size:13px;color:var(--muted);overflow-wrap:anywhere}.review-card button{font-size:12px;margin:5px 5px 0 0}.review-card label{display:flex;gap:10px;font-size:12px;margin-top:14px}.review-card textarea{width:100%;margin:10px 0;background:var(--surface-soft);color:var(--text);border:1px solid var(--border);border-radius:8px;padding:10px}.review-actions{display:flex;flex-wrap:wrap;gap:8px;align-items:center}.review-actions a{font-size:12px}.success{background:#16803c!important;border-color:#16803c!important;color:#fff!important}.resource-main .danger,.hub-dialog .danger{background:#b42332!important;border-color:#b42332!important;color:#fff!important}.resource-main .danger:hover,.hub-dialog .danger:hover{background:#971d29!important}.hub-modal-open{overflow:hidden!important}.hub-dialog{box-sizing:border-box;width:min(620px,calc(100vw - 32px));max-height:calc(100dvh - 48px);overflow-y:auto;border:1px solid var(--border);border-radius:16px;padding:26px;background:var(--surface);color:var(--text);box-shadow:0 24px 90px #0004;font:14px/1.7 system-ui,"Leelawadee UI",Tahoma,sans-serif}.hub-dialog::backdrop{background:#0d172a99}.hub-dialog:not([open]){display:none}.dialog-heading{display:flex;justify-content:space-between;align-items:flex-start;gap:16px;margin-bottom:16px}.dialog-heading h2{font-size:22px;line-height:1.5;margin:0;overflow-wrap:anywhere}.hub-eyebrow{font-size:11px;color:var(--muted);display:block;margin-bottom:3px}.dialog-close{min-width:36px;min-height:36px;font-size:24px;background:transparent;border-color:transparent;padding:0;line-height:1;flex:none}.dialog-intro{color:var(--muted);font-size:12px;margin:0 0 18px}.hub-dialog form label{display:grid;gap:8px;font-size:13px;margin-bottom:16px}.hub-dialog input:not([type=checkbox]),.hub-dialog textarea,.hub-dialog select{box-sizing:border-box;width:100%;min-height:44px;padding:11px 12px;border:1px solid var(--border);border-radius:8px;background:var(--surface-soft);color:var(--text);font:inherit}.hub-dialog textarea{resize:vertical;max-height:260px}.hub-dialog .share-consent{display:flex;gap:10px;align-items:flex-start;font-size:12px;line-height:1.8}.share-consent input{flex:none;margin-top:5px;width:17px;height:17px}.hub-dialog .dialog-actions{display:flex;justify-content:flex-end;gap:10px;align-items:center;margin-top:22px;flex-wrap:wrap}.hub-dialog p[role=status]{font-size:13px;color:var(--muted)}.small-dialog{width:min(480px,calc(100vw - 32px))}.form-columns{display:grid;grid-template-columns:1fr 1fr;gap:16px}.product-body{white-space:pre-wrap;overflow-wrap:anywhere;font-size:14px}.product-price{font-size:26px;font-weight:700;margin:10px 0}.file-info{font-size:12px;color:var(--muted);padding:12px;background:var(--surface-soft);border-radius:8px;overflow-wrap:anywhere}.product-reactions{display:flex;flex-wrap:wrap;gap:6px;margin-top:18px}.product-reactions button{min-height:32px;padding:5px 9px;font-size:11px}.product-reactions [aria-pressed=true]{border-color:var(--primary);color:var(--primary)}#product-comments{margin-top:24px;border-top:1px solid var(--border);padding-top:16px;font-size:13px}#product-comments summary{cursor:pointer}#product-comments form{margin-top:18px}.comment-entry{padding:12px 0;border-bottom:1px solid var(--border)}.comment-entry p{white-space:pre-wrap;overflow-wrap:anywhere;margin:5px 0}.comment-entry strong{font-size:12px}.skip{position:fixed;top:-100px;left:20px;z-index:4000;padding:12px;background:var(--surface)}.skip:focus{top:8px}.sr-only{position:absolute;width:1px;height:1px;overflow:hidden;clip-path:inset(50%);white-space:nowrap}button:focus-visible,a:focus-visible,input:focus-visible,select:focus-visible,textarea:focus-visible,summary:focus-visible{outline:2px solid var(--focus);outline-offset:3px}[hidden]{display:none!important}html{scrollbar-gutter:stable}@media(max-width:640px){.resource-main{padding:20px 16px 80px}.hub-heading{align-items:flex-start;gap:12px;margin-bottom:18px}.hub-heading h1{font-size:23px}.hub-description{font-size:12px}.hub-heading>.resource-cta{font-size:12px;padding:10px 12px}.hub-tabs{gap:20px;margin-bottom:18px}.hub-tabs .hub-tab{font-size:13px}.library-toolbar{align-items:stretch;flex-wrap:wrap}.library-toolbar>.resource-search{width:100%}.library-toolbar h2{font-size:18px}.resource-grid{gap:14px}.resource-footer span{margin-left:0}.resource-footer{gap:14px}.hub-dialog{padding:20px;max-height:calc(100dvh - 24px)}.dialog-heading h2{font-size:20px}.form-columns{grid-template-columns:1fr;gap:0}}@media(prefers-reduced-motion:no-preference){.hub-tab,.resource-card{transition:border-color .15s ease}.resource-card:hover{border-color:var(--focus)}}

body.resources-page .topbar.global-topbar:has(>.global-search){grid-template-columns:170px minmax(140px,1fr) auto!important;column-gap:24px!important}body.resources-page .topbar.global-topbar>.global-search{position:static!important;transform:none!important;grid-column:2!important;grid-row:1!important;width:100%!important;max-width:600px!important;min-width:0!important;height:44px!important;border-radius:9px!important}body.resources-page .topbar.global-topbar>.global-userbar{position:static!important;grid-column:3!important;grid-row:1!important;margin:0!important;width:auto!important}.resources-page .resource-search>input{background:transparent!important;border:0!important;box-shadow:none!important;padding:0!important;border-radius:0!important;min-height:0!important}@media(max-width:1000px){body.resources-page .topbar.global-topbar:has(>.global-search){grid-template-columns:140px minmax(100px,1fr) auto!important;column-gap:12px!important}body.resources-page .topbar .global-topup-link{display:none!important}}@media(max-width:640px){body.resources-page .topbar.global-topbar:has(>.global-search){grid-template-columns:1fr auto!important}body.resources-page .topbar.global-topbar>.global-search{display:none!important}body.resources-page .topbar.global-topbar>.global-userbar{grid-column:2!important}body.resources-page .topbar .global-balance-display{display:none!important}}

.community-card form{display:grid;gap:10px;margin-top:16px}.community-card form label{display:grid;gap:6px}.community-card textarea,.community-card select{width:100%;box-sizing:border-box;background:var(--surface-soft);color:var(--text);border:1px solid var(--border);border-radius:8px;padding:10px;font:inherit}

.hub-notice #hub-notice-message{white-space:pre-wrap;overflow-wrap:anywhere;color:var(--text)}.hub-notice[data-type=error] .hub-eyebrow{color:#d13745}.hub-notice[data-type=success] .hub-eyebrow{color:#16803c}.report-detail{white-space:pre-wrap;overflow-wrap:anywhere}.report-meta{font-size:12px;color:var(--muted)}
