:root { color-scheme: dark; }
html, body, body.geo-biblioteca-page { margin: 0 !important; min-height: 100% !important; background: #0d1011 !important; }
body.geo-biblioteca-page { overflow-x: hidden; }
.gb-app, .gb-app * { box-sizing: border-box; }
.gb-app { min-height: 100vh; background: #0d1011 !important; color: #f6f7f5; font-family: Inter, ui-sans-serif, -apple-system, BlinkMacSystemFont, "Segoe UI", Arial, sans-serif; font-size: 15px; line-height: 1.5; }
.gb-app a { text-decoration: none; }
.gb-app [hidden] { display: none !important; }
.gb-preview-banner { display: flex; justify-content: space-between; gap: 12px; padding: 10px clamp(20px,3vw,44px); background: #243a29; border-bottom: 1px solid #5ba961; color: #e8fbea; font-size: 13px; font-weight: 700; }
.gb-preview-banner a { color: #ccffce !important; text-decoration: underline; }
.gb-layout { display: grid; grid-template-columns: 238px minmax(0, 1fr); min-height: 100vh; max-width: 1920px; margin: 0 auto; }
.gb-sidebar { background: linear-gradient(180deg,#1b1e20,#171a1c); border-right: 1px solid #272c2e; padding: 36px 10px 26px; }
.gb-brand { display: flex; align-items: center; gap: 10px; min-height: 112px; margin: 0 14px 28px; color: #fff; font-size: 25px; font-weight: 800; letter-spacing: -.8px; line-height: 1.05; }
.gb-brand > :first-child { color: #4ce043; font-size: 57px; line-height: 1; text-shadow: 2px 2px #f8882a; }
.gb-sidebar nav { display: grid; gap: 7px; }
.gb-menu-item { display: flex; align-items: center; gap: 16px; min-height: 51px; padding: 10px 15px; border-radius: 10px; color: #d6d9d8 !important; font-size: 14px; font-weight: 500; }
.gb-menu-item > span:first-child { display: inline-flex; justify-content: center; align-items: center; flex: 0 0 24px; width: 24px; height: 24px; font-size: 22px; font-weight: 400; }
.gb-menu-item:hover, .gb-menu-item.active { background: #303436; color: #fff !important; }
.gb-menu-item.active { border-left: 5px solid #47df3b; padding-left: 10px; font-weight: 700; }
.gb-menu-item.active > span:first-child { color: #47df3b; }
.gb-menu-disabled { opacity: .55; cursor: default; }
.gb-page { min-width: 0; }
.gb-top { min-height: 81px; display: flex; justify-content: space-between; align-items: center; gap: 16px; padding: 12px clamp(22px,3vw,44px); border-bottom: 1px solid #25292b; }
.gb-search-label { display: flex; align-items: center; gap: 12px; width: min(600px,65%); min-height: 46px; padding: 0 15px; border: 1px solid #34393b; border-radius: 10px; background: #1c2022; color: #dde1df; font-size: 25px; }
.gb-search-label:focus-within { border-color: #48d843; }
.gb-search-label input { width: 100%; border: 0 !important; outline: 0; box-shadow: none !important; background: transparent !important; color: #fff !important; font: inherit; font-size: 15px; }
.gb-search-label input::placeholder { color: #b5b8b7; opacity: 1; }
.gb-account { border: 0; background: transparent; color: #dfe2e1; font-size: 13px; cursor: pointer; }
.gb-account:hover { color: #65e75b; }
.gb-body { display: grid; grid-template-columns: minmax(0,1fr) 325px; gap: 22px; padding: 24px clamp(22px,3vw,44px) 50px; }
.gb-center { min-width: 0; }
.gb-app h1, .gb-app h2, .gb-app h3, .gb-app p { margin-top: 0; }
.gb-center h1 { margin: 0 0 2px; font-size: clamp(27px,3.2vw,43px); font-weight: 800; letter-spacing: -.05em; line-height: 1.18; }
.gb-mark { color: #ff8037; font-size: .85em; }
.gb-muted { color: #aeb5b3; }
.gb-center > .gb-muted { margin: 0 0 26px; font-size: 17px; }
#gb-products { padding-top: 15px; border-top: 1px solid #282d2e; }
.gb-center h2, .gb-right h2 { margin-bottom: 12px; color: #fff; font-size: clamp(21px,2vw,29px); letter-spacing: -.035em; line-height: 1.25; }
.gb-grid { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 16px; align-items: start; }
.gb-card, .gb-side-panel { background: #181c1e; border: 1px solid #2c3234; border-radius: 12px; overflow: hidden; }
.gb-card { padding: 9px; }
.gb-card-image { position: relative; height: 0; padding-bottom: 54%; overflow: hidden; border-radius: 8px; background: #23292a; }
.gb-card-image img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.gb-image-placeholder { position: absolute; inset: 0; display: flex; align-items: center; justify-content: center; text-align: center; padding: 16px; color: #fff; font-weight: 800; font-size: 27px; background: linear-gradient(125deg,#252d29,#303935); }
.gb-locked .gb-card-image img, .gb-locked .gb-image-placeholder { filter: grayscale(1) brightness(.49); }
.gb-lock-overlay { position: absolute; inset: 0; display: flex; justify-content: center; align-items: center; color: #fff; font-size: 40px; text-shadow: 0 3px 8px #000; }
.gb-card-body { padding: 13px 8px 5px; }
.gb-badge { display: inline-block; margin-bottom: 9px; padding: 4px 8px; border: 1px solid #348837; border-radius: 6px; background: #15331c; color: #6cf762; font-size: 12px; font-weight: 700; }
.gb-locked .gb-badge { border-color: #52585b; background: #292d2e; color: #c5c8c6; }
.gb-card h3 { margin-bottom: 0; font-size: clamp(19px,2vw,27px); line-height: 1.2; font-weight: 800; letter-spacing: -.035em; }
.gb-card p { min-height: 25px; margin: 2px 0 10px; color: #c6cdca; }
.gb-button { display: flex; align-items: center; justify-content: space-between; width: 100%; min-height: 49px; border: 0; border-radius: 8px; padding: 10px 16px; background: #31d327; color: #fff !important; font-size: 15px; font-weight: 750; cursor: pointer; }
.gb-button:hover { background: #25bd1c; }
.gb-button span { font-size: 22px; line-height: 1; }
.gb-outline { border: 1px solid #707779; background: #1d2122; }
.gb-outline:hover { background: #303637; }
.gb-disabled { opacity: .55; cursor: default; }
.gb-right { display: grid; align-content: start; gap: 13px; min-width: 0; border-left: 1px solid #272d2e; padding-left: 16px; }
.gb-side-panel { padding: 17px; }
.gb-side-panel h2 { font-size: 24px; }
.gb-side-panel p { margin: 9px 0 0; color: #c0c7c4; }
.gb-news-img { display: block; width: 100%; max-height: 325px; object-fit: cover; border-radius: 9px; }
.gb-free-list { display: grid; gap: 10px; }
.gb-free-card { display: grid; gap: 8px; padding: 10px; border: 1px solid #353c3e; border-radius: 9px; background: #1c2223; }
.gb-free-card img { display: block; width: 100%; max-height: 150px; object-fit: cover; border-radius: 6px; }
.gb-free-card strong { color: #fff; font-size: 14px; }
.gb-file-summary { color: #bbcbc1; font-size: 12px; line-height: 1.45; }
.gb-free-card a, .gb-resource-link { display: block; border: 1px solid #444d4b; border-radius: 7px; padding: 9px 11px; text-align: center; color: #60e85a !important; font-weight: 700; }
.gb-free-card a:hover, .gb-resource-link:hover { background: #29402d; }
.gb-free-icon { display: flex; justify-content: center; align-items: center; height: 88px; color: #70ea64; font-size: 50px; background: #27332a; border-radius: 7px; }
.gb-back { display: inline-block; margin-bottom: 22px; color: #71ee68 !important; }
.gb-description { color: #d6dbd9; max-width: 800px; }
.gb-detail-grid { display: grid; grid-template-columns: repeat(auto-fit,minmax(210px,1fr)); gap: 12px; max-width: 820px; margin: 14px 0 30px; }
.gb-resource-link { display: flex; justify-content: space-between; align-items: center; min-height: 65px; text-align: left; }
.gb-login { display: flex; flex-direction: column; justify-content: center; width: min(440px,calc(100% - 36px)); min-height: 100vh; margin: auto; }
.gb-login .gb-brand { margin: 0 0 34px; }
.gb-login h1 { margin-bottom: 10px; font-size: clamp(28px,5vw,38px); line-height: 1.1; }
.gb-login p { color: #b6bdba; }
.gb-login form { display: grid; gap: 11px; margin-top: 16px; }
.gb-login label { font-weight: 700; }
.gb-login input[type=email] { width: 100%; min-height: 48px; padding: 11px 12px; border: 1px solid #444b49; border-radius: 8px; background: #202527; color: white; font-size: 16px; }
.gb-login input[type=email]:focus { outline: 2px solid #52d94c; }
.gb-login .gb-button { justify-content: center; }
.gb-login .gb-error { border-left: 3px solid #ff8138; padding: 10px 14px; color: #ffe6d9; background: #38241e; }
@media (max-width: 1200px) { .gb-body { grid-template-columns: minmax(0,1fr) 270px; } .gb-layout { grid-template-columns: 215px minmax(0,1fr); } }
@media (max-width: 970px) { .gb-body { grid-template-columns: 1fr; } .gb-right { grid-template-columns: repeat(2,minmax(0,1fr)); border: 0; padding: 0; } }
@media (max-width: 690px) {
  .gb-preview-banner { flex-wrap: wrap; }
  .gb-layout { display: block; }
  .gb-sidebar { padding: 10px 15px; border-right: 0; border-bottom: 1px solid #303637; }
  .gb-sidebar .gb-brand { min-height: 50px; margin: 0 0 5px; font-size: 19px; }
  .gb-brand > :first-child { font-size: 37px; }
  .gb-sidebar nav { display: flex; overflow-x: auto; gap: 6px; padding-bottom: 5px; }
  .gb-menu-item { white-space: nowrap; min-height: 40px; padding: 7px 10px; font-size: 12px; }
  .gb-menu-item.active { padding-left: 5px; }
  .gb-menu-item > span:first-child { font-size: 16px; flex-basis: 15px; width: 15px; }
  .gb-top { padding: 10px 16px; min-height: 65px; }
  .gb-search-label { width: 100%; }
  .gb-account { font-size: 11px; white-space: nowrap; }
  .gb-body { padding: 25px 16px 40px; }
  .gb-grid, .gb-right { grid-template-columns: 1fr; }
  .gb-card-image { padding-bottom: 52%; }
}
