:root {
  --ink: #14243a;
  --muted: #667085;
  --line: #e6eaf0;
  --soft: #f5f7fb;
  --blue: #3563e9;
  --blue-dark: #173fba;
  --purple: #7857e8;
  --green: #19a974;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; color: var(--ink); background: #fff; font-family: Arial, Helvetica, sans-serif; }
button, input, textarea { font: inherit; }
button, a { -webkit-tap-highlight-color: transparent; }
button { color: inherit; }
a { color: inherit; text-decoration: none; }

.button {
  border: 0;
  border-radius: 11px;
  padding: 11px 17px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font-size: 14px;
  font-weight: 700;
  cursor: pointer;
  transition: .2s ease;
}
.button:hover { transform: translateY(-1px); }
.button.primary { color: #fff; background: linear-gradient(135deg, #416ff2, #244fd5); box-shadow: 0 9px 22px rgba(53, 99, 233, .24); }
.button.dark { color: #fff; background: #14243a; }
.button.light { color: #244fc9; background: #fff; box-shadow: 0 8px 22px rgba(15, 41, 90, .12); }
.button.ghost { background: transparent; }
.button.outline { background: #fff; border: 1px solid var(--line); }
.button.large { padding: 15px 22px; font-size: 15px; }
.button.full { width: 100%; }

.brand { display: grid; justify-items: start; gap: 0; flex: 0 0 auto; }
.brand-logo { width: 203px; height: 63px; display: block; object-fit: contain; }
.brand > small { margin: -12px 0 0 36px; color: #667085; font-size: 11px; line-height: 1.35; }
.brand > i {
  width: 39px;
  height: 39px;
  display: grid;
  place-items: center;
  border-radius: 12px;
  color: #fff;
  background: linear-gradient(145deg, #4676f4, #694ee9);
  box-shadow: 0 8px 18px rgba(57, 87, 225, .24);
}
.brand > span { display: grid; line-height: 1.05; }
.brand b { font-size: 15px; letter-spacing: -.2px; }
.brand small { color: #718096; font-size: 11px; margin-top: 3px; }

/* Public site */
.public-header {
  height: 78px;
  padding: 0 max(28px, calc((100vw - 1180px) / 2));
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
  border-bottom: 1px solid rgba(226, 230, 238, .75);
  background: rgba(255, 255, 255, .92);
  position: sticky;
  top: 0;
  z-index: 30;
  backdrop-filter: blur(14px);
}
.public-header nav { display: flex; align-items: center; gap: 34px; margin-left: auto; margin-right: auto; }
.public-header nav a { font-size: 14px; color: #4b5c71; font-weight: 600; }
.public-header nav a:hover { color: var(--blue); }
.header-ctas { display: flex; gap: 8px; }

.hero {
  min-height: 670px;
  overflow: hidden;
  position: relative;
  padding: 86px max(28px, calc((100vw - 1180px) / 2)) 82px;
  display: grid;
  grid-template-columns: 1.02fr .98fr;
  align-items: center;
  gap: 70px;
  background: linear-gradient(145deg, #fbfdff 12%, #f3f7ff 68%, #f8f5ff);
}
.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  opacity: .3;
  background-image: radial-gradient(#bfc9dc 1px, transparent 1px);
  background-size: 24px 24px;
  mask-image: linear-gradient(90deg, #000, transparent 58%);
}
.hero-glow { position: absolute; border-radius: 50%; filter: blur(3px); }
.hero-glow.one { width: 420px; height: 420px; right: -80px; top: -100px; background: rgba(121, 86, 232, .1); }
.hero-glow.two { width: 310px; height: 310px; left: 37%; bottom: -180px; background: rgba(53, 99, 233, .1); }
.hero-copy, .hero-demo { position: relative; z-index: 2; }
.eyebrow, .kicker, .section-head > span, .library-banner > div > span, .community-heading > div > span, .collection > header > span {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  color: #315edc;
  background: #eaf0ff;
  border-radius: 999px;
  padding: 7px 11px;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: .08em;
}
.hero h1 { max-width: 620px; margin: 22px 0 22px; font-size: clamp(43px, 4.5vw, 64px); line-height: 1.06; letter-spacing: -2.8px; color: #122238; }
.hero h1 em, .section-head h2 em { font-style: normal; color: #426cf0; }
.hero-copy > p { max-width: 560px; margin: 0; color: #637086; font-size: 18px; line-height: 1.7; }
.hero-actions { display: flex; align-items: center; gap: 24px; margin-top: 32px; }
.hero-actions > a { display: inline-flex; align-items: center; gap: 8px; font-size: 14px; font-weight: 700; color: #41516a; }
.social-proof { display: flex; align-items: center; gap: 13px; margin-top: 38px; }
.people { display: flex; }
.people i, .community-small div i {
  width: 34px;
  height: 34px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  margin-left: -7px;
  border: 3px solid #f5f8fe;
  font-size: 10px;
  font-style: normal;
  font-weight: 800;
  color: #fff;
  background: #526f9d;
}
.people i:first-child { margin-left: 0; background: #3d67e9; }
.people i:nth-child(2) { background: #e06b76; }
.people i:nth-child(3) { background: #654fd8; }
.people i:last-child { background: #ecf0f6; color: #51627a; }
.social-proof > div:last-child { display: grid; gap: 4px; }
.social-proof span { display: flex; color: #f5ad28; }
.social-proof small { font-size: 11px; color: #68768a; }

.hero-demo { padding: 36px 24px; }
.browser { border: 1px solid #dfe5ef; border-radius: 20px; overflow: hidden; background: #fff; box-shadow: 0 34px 70px rgba(27, 49, 97, .18); transform: rotate(1deg); }
.browser-top { height: 35px; padding: 0 13px; display: flex; align-items: center; gap: 6px; border-bottom: 1px solid #edf0f4; background: #f8f9fb; }
.browser-top > i { width: 7px; height: 7px; border-radius: 50%; background: #ff766f; }
.browser-top > i:nth-child(2) { background: #ffc85f; }
.browser-top > i:nth-child(3) { background: #5ecf86; }
.browser-top span { margin: auto; color: #9ba6b5; font-size: 8px; }
.mini-app { min-height: 355px; display: grid; grid-template-columns: 48px 1fr; }
.mini-app > aside { display: flex; flex-direction: column; align-items: center; gap: 16px; padding: 14px 8px; color: #9aa7bb; background: #172844; }
.mini-app > aside b { width: 28px; height: 28px; display: grid; place-items: center; border-radius: 8px; color: #fff; background: #5576ee; margin-bottom: 12px; }
.mini-app > aside i { width: 28px; height: 28px; display: grid; place-items: center; border-radius: 7px; font-style: normal; }
.mini-app > aside i.active { color: #fff; background: rgba(255, 255, 255, .12); }
.mini-app > section { padding: 20px 21px; background: #f7f9fc; }
.mini-app > section > header { display: flex; align-items: center; justify-content: space-between; }
.mini-app > section > header div { display: grid; gap: 3px; }
.mini-app > section > header small { color: #8490a2; font-size: 8px; }
.mini-app > section > header b { font-size: 14px; }
.mini-progress { margin-top: 20px; padding: 17px; border-radius: 13px; display: flex; align-items: center; justify-content: space-between; color: #fff; background: linear-gradient(135deg, #406cf0, #744fe8); }
.mini-progress div { display: grid; gap: 5px; }
.mini-progress small { font-size: 7px; letter-spacing: .1em; opacity: .8; }
.mini-progress b { font-size: 12px; }
.mini-progress span { font-size: 8px; opacity: .85; }
.mini-progress strong { width: 49px; height: 49px; display: grid; place-items: center; border-radius: 50%; border: 5px solid rgba(255,255,255,.35); font-size: 11px; }
.mini-title { display: flex; justify-content: space-between; margin: 20px 0 10px; font-size: 10px; }
.mini-title small { color: #4067df; }
.mini-materials { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.mini-materials article { padding: 12px; display: grid; gap: 6px; border: 1px solid #e5e9f0; border-radius: 10px; background: #fff; }
.mini-materials i { width: 35px; height: 35px; display: grid; place-items: center; border-radius: 9px; font-style: normal; }
.mini-materials i.green { color: #159a6c; background: #e5f8f1; }
.mini-materials i.blue { color: #4267dc; background: #eaf0ff; }
.mini-materials b { font-size: 9px; }
.mini-materials small { color: #8b96a5; font-size: 7px; }
.float-card { position: absolute; z-index: 3; display: flex; align-items: center; gap: 10px; padding: 12px 15px; border: 1px solid #e5eaf1; border-radius: 12px; background: rgba(255,255,255,.96); box-shadow: 0 16px 35px rgba(26, 49, 90, .15); }
.float-card.top { right: -15px; top: 8px; }
.float-card.bottom { left: -7px; bottom: 4px; }
.float-card > i { width: 34px; height: 34px; display: grid; place-items: center; border-radius: 9px; color: #4168df; background: #edf2ff; }
.float-card > span { display: grid; gap: 2px; }
.float-card b { font-size: 12px; }
.float-card small { color: #7d8998; font-size: 8px; }

.benefits { min-height: 100px; padding: 25px max(28px, calc((100vw - 1180px) / 2)); display: flex; align-items: center; justify-content: space-between; gap: 30px; color: #fff; background: #162a49; }
.benefits > span { max-width: 180px; font-size: 14px; font-weight: 700; }
.benefits > div { display: flex; align-items: center; gap: 36px; }
.benefits b { display: inline-flex; align-items: center; gap: 8px; font-size: 12px; opacity: .9; }

.site-section { padding: 100px max(28px, calc((100vw - 1180px) / 2)); }
.section-head { max-width: 700px; margin: 0 auto 46px; text-align: center; }
.section-head > span, .kicker, .library-banner > div > span, .community-heading > div > span, .collection > header > span { padding: 0; background: transparent; }
.section-head h2 { margin: 15px 0 13px; font-size: 39px; line-height: 1.18; letter-spacing: -1.4px; }
.section-head p { margin: 0 auto; max-width: 640px; color: var(--muted); line-height: 1.7; }
.track-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.track-grid.two { max-width: 920px; margin: 0 auto; grid-template-columns: repeat(2, 1fr); }
.track-card { min-height: 390px; padding: 27px; border: 1px solid var(--line); border-radius: 20px; position: relative; overflow: hidden; background: #fff; transition: .25s ease; }
.track-card::before { content: ""; position: absolute; inset: 0 0 auto; height: 4px; background: #27ad7d; }
.track-card.blogs::before { background: #4670e9; }
.track-card.plugins::before { background: #7c59df; }
.track-card:hover { transform: translateY(-5px); box-shadow: 0 20px 40px rgba(28, 51, 88, .1); }
.track-card header { display: flex; align-items: center; justify-content: space-between; }
.track-card header i { width: 54px; height: 54px; display: grid; place-items: center; border-radius: 15px; color: #149b6d; background: #e6f8f1; }
.track-card.blogs header i { color: #4169df; background: #eaf0ff; }
.track-card.plugins header i { color: #7650df; background: #f0eaff; }
.track-card header span { padding: 6px 9px; color: #788599; background: #f4f6f9; border-radius: 999px; font-size: 10px; font-weight: 700; }
.track-card h3 { margin: 22px 0 11px; font-size: 21px; }
.track-card p { min-height: 64px; color: var(--muted); line-height: 1.6; font-size: 14px; }
.track-card ul { list-style: none; padding: 0; margin: 20px 0; display: grid; gap: 11px; }
.track-card li { display: flex; align-items: center; gap: 8px; color: #4e5c6f; font-size: 13px; }
.track-card li svg { color: #1ca876; }
.track-card button, .community-promo > div:last-child > button { border: 0; padding: 0; display: inline-flex; align-items: center; gap: 8px; color: #315fd8; background: transparent; font-size: 13px; font-weight: 800; cursor: pointer; }

.plans-section { padding: 100px max(28px, calc((100vw - 1100px) / 2)); background: #f7f9fc; }
.plan-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; align-items: stretch; }
.plan-card { padding: 28px; position: relative; border: 1px solid var(--line); border-radius: 20px; background: #fff; box-shadow: 0 15px 35px rgba(28,51,88,.06); }
.plan-card.featured { border: 2px solid #4b6ee8; transform: translateY(-8px); box-shadow: 0 24px 50px rgba(53,99,233,.16); }
.plan-card > i { width: 47px; height: 47px; margin-bottom: 18px; display: grid; place-items: center; border-radius: 13px; color: #315edc; background: #eaf0ff; }
.plan-card > small { color: #748196; font-size: 9px; font-weight: 800; letter-spacing: .12em; }
.plan-card h3 { margin: 7px 0 10px; font-size: 24px; }
.plan-card p { min-height: 64px; color: var(--muted); font-size: 13px; line-height: 1.6; }
.plan-card ul { min-height: 105px; margin: 20px 0 24px; padding: 0; list-style: none; display: grid; gap: 11px; }
.plan-card li { display: flex; gap: 8px; align-items: center; color: #4e5c6f; font-size: 12px; }
.plan-card li svg { color: var(--green); }
.popular { position: absolute; right: 18px; top: 18px; padding: 6px 9px; border-radius: 999px; color: #fff; background: #4b64dc; font-size: 8px; font-weight: 800; letter-spacing: .08em; }
.license-note { max-width: 760px; margin: 28px auto 0; padding: 18px 22px; display: flex; align-items: center; gap: 14px; border: 1px solid #dbe3f4; border-radius: 15px; background: #fff; }
.license-note > i { width: 42px; height: 42px; display: grid; place-items: center; border-radius: 11px; color: #6c4cda; background: #f0eaff; }
.license-note > span { display: grid; gap: 5px; }
.license-note b { font-size: 13px; }
.license-note small { color: var(--muted); line-height: 1.5; }

.how { padding: 96px max(28px, calc((100vw - 1060px) / 2)); display: grid; grid-template-columns: 1fr 1fr; align-items: center; gap: 105px; background: #f7f9fc; }
.how h2, .community-promo h2 { margin: 15px 0; font-size: 37px; line-height: 1.17; letter-spacing: -1.2px; }
.how > div > p, .community-promo > div > p { color: var(--muted); line-height: 1.7; }
.how ol { list-style: none; padding: 0; margin: 32px 0 0; display: grid; gap: 25px; }
.how li { display: flex; align-items: flex-start; gap: 15px; }
.how li > i { width: 37px; height: 37px; display: grid; place-items: center; border-radius: 11px; color: #3863db; background: #eaf0ff; font-size: 11px; font-weight: 800; font-style: normal; }
.how li span { display: grid; gap: 6px; }
.how li b { font-size: 14px; }
.how li small { color: var(--muted); line-height: 1.5; }
.access-box { padding: 27px; border: 1px solid #e2e6ed; border-radius: 22px; background: #fff; box-shadow: 0 24px 55px rgba(31, 53, 90, .1); }
.access-box > header { padding-bottom: 20px; margin-bottom: 7px; display: flex; align-items: center; gap: 12px; border-bottom: 1px solid #edf0f4; }
.access-box > header > i { width: 42px; height: 42px; display: grid; place-items: center; border-radius: 12px; color: #fff; background: linear-gradient(135deg, #4771ed, #7657e8); }
.access-box > header span { flex: 1; display: grid; gap: 4px; }
.access-box > header small { color: var(--muted); font-size: 11px; }
.access-box > header > svg { color: var(--green); }
.access-row { display: flex; align-items: center; gap: 12px; padding: 14px 5px; border-bottom: 1px solid #f0f2f5; }
.access-row > i { width: 39px; height: 39px; display: grid; place-items: center; border-radius: 10px; font-style: normal; }
.access-row > i.green { color: #159c6d; background: #e6f8f1; }
.access-row > i.blue { color: #4069e2; background: #eaf0ff; }
.access-row > i.purple { color: #7753df; background: #f0eaff; }
.access-row > span { flex: 1; display: grid; gap: 4px; }
.access-row b { font-size: 13px; }
.access-row small { color: var(--muted); font-size: 10px; }
.access-row > svg { color: var(--green); }
.access-row.locked { opacity: .62; }
.access-row.locked > svg { color: #7d8999; }
.access-box > .button { margin-top: 20px; }

.community-promo { padding: 100px max(28px, calc((100vw - 1080px) / 2)); display: grid; grid-template-columns: 1fr 1fr; gap: 95px; align-items: center; }
.chat-art { min-height: 360px; position: relative; border-radius: 30px; background: radial-gradient(circle at center, #ecf1ff, #f8faff 65%, #fff 66%); }
.chat-art::before { content: ""; position: absolute; width: 90px; height: 90px; border-radius: 50%; left: calc(50% - 45px); top: calc(50% - 45px); background: linear-gradient(145deg, #4775ef, #714fe3); box-shadow: 0 16px 30px rgba(63, 80, 203, .25); }
.chat-art::after { content: "HC"; position: absolute; left: 50%; top: 50%; transform: translate(-50%, -50%); color: #fff; font-size: 20px; font-weight: 800; }
.chat { position: absolute; max-width: 260px; padding: 12px 15px; border: 1px solid #e4e8ef; border-radius: 13px; color: #657286; background: #fff; box-shadow: 0 12px 28px rgba(26,49,90,.1); font-size: 11px; line-height: 1.55; }
.chat b { color: var(--ink); margin-right: 5px; }
.chat.one { left: 3px; top: 42px; }
.chat.two { right: 0; top: 138px; }
.chat.three { left: 30px; bottom: 25px; }
.community-promo ul { padding: 0; list-style: none; display: grid; gap: 13px; margin: 27px 0; }
.community-promo li { display: flex; gap: 10px; align-items: center; color: #4f5e73; font-size: 13px; }
.community-promo li svg { color: #6f54db; }
.main-cta { padding: 72px 24px; text-align: center; color: #fff; background: radial-gradient(circle at 50% -70%, #718bff, transparent 42%), linear-gradient(135deg, #244bca, #6542cc); }
.main-cta > svg { color: #cbd5ff; }
.main-cta h2 { margin: 15px auto 10px; max-width: 650px; font-size: 36px; letter-spacing: -1.2px; }
.main-cta p { margin: 0 auto 25px; max-width: 610px; opacity: .8; line-height: 1.6; }
.public-footer { padding: 55px max(28px, calc((100vw - 1120px) / 2)) 30px; display: grid; grid-template-columns: 2fr 1fr 1fr; gap: 55px; background: #fff; }
.public-footer > div:first-child p { color: var(--muted); max-width: 300px; line-height: 1.6; font-size: 13px; }
.public-footer > div:not(:first-child) { display: grid; align-content: start; gap: 12px; font-size: 12px; }
.public-footer > div:not(:first-child) a { color: var(--muted); }
.public-footer > span { grid-column: 1 / -1; padding-top: 25px; border-top: 1px solid var(--line); color: #98a2b3; font-size: 11px; }

/* Login */
.login-page { min-height: 100vh; padding: 34px 24px 50px; display: flex; flex-direction: column; align-items: center; background: radial-gradient(circle at 15% 10%, #e6edff, transparent 35%), radial-gradient(circle at 88% 90%, #eee7ff, transparent 34%), #f7f9fc; }
.login-page > .back { align-self: flex-start; border: 0; display: inline-flex; align-items: center; gap: 7px; background: transparent; color: #526176; font-size: 13px; cursor: pointer; }
.login-page > .brand { margin: 28px 0; }
.login-card { width: min(100%, 435px); padding: 35px; border: 1px solid #e2e7ee; border-radius: 22px; text-align: center; background: rgba(255,255,255,.96); box-shadow: 0 28px 65px rgba(27,49,88,.12); }
.login-icon { width: 51px; height: 51px; margin: 0 auto 18px; display: grid; place-items: center; border-radius: 15px; color: #fff; background: linear-gradient(145deg, #4675f0, #7451e6); box-shadow: 0 12px 25px rgba(57,86,217,.2); font-style: normal; }
.login-card h1 { margin: 0 0 8px; font-size: 26px; letter-spacing: -.6px; }
.login-card > p { margin: 0 0 25px; color: var(--muted); font-size: 13px; }
.login-card form { text-align: left; display: grid; gap: 17px; }
.login-card form > label { display: grid; gap: 7px; font-size: 12px; font-weight: 700; }
.login-card input { width: 100%; height: 45px; padding: 0 13px; border: 1px solid #dfe4eb; border-radius: 10px; outline: none; }
.login-card input:focus { border-color: #6485ef; box-shadow: 0 0 0 3px rgba(81,116,231,.1); }
.login-card label > span { position: relative; }
.login-card label > span button { position: absolute; right: 7px; top: 7px; width: 31px; height: 31px; border: 0; display: grid; place-items: center; color: #7d8998; background: transparent; cursor: pointer; }
.login-options { display: flex; align-items: center; justify-content: space-between; }
.login-options label { display: flex; align-items: center; gap: 7px; color: #657286; font-size: 11px; }
.login-options input { width: 14px; height: 14px; }
.login-options button, .admin-link, .login-help button { border: 0; padding: 0; color: #3c65d9; background: transparent; font-size: 11px; font-weight: 700; cursor: pointer; }
.divider { margin: 23px 0 17px; height: 1px; position: relative; background: var(--line); }
.divider span { padding: 0 10px; position: absolute; left: 50%; top: 50%; transform: translate(-50%, -50%); white-space: nowrap; color: #909bab; background: #fff; font-size: 10px; }
.admin-link { margin-top: 16px; display: inline-flex; align-items: center; gap: 6px; }
.login-help { margin: 20px 0 0; display: flex; align-items: center; gap: 6px; color: #657286; font-size: 11px; }
.register-card { width: min(100%, 500px); text-align: left; }
.register-card > h1, .register-card > p { text-align: center; }
.free-badge { width: fit-content; margin: 0 auto 16px; padding: 7px 10px; display: flex; align-items: center; gap: 6px; border-radius: 999px; color: #087b55; background: #e4f8ef; font-size: 9px; font-weight: 800; letter-spacing: .08em; }
.login-card form > label.consent { display: flex; align-items: flex-start; gap: 9px; color: #5d6a7d; font-size: 10px; font-weight: 500; line-height: 1.5; }
.login-card form > label.consent input { width: 16px; height: 16px; flex: 0 0 auto; margin-top: 1px; }
.register-trust { margin-top: 20px; padding: 13px; display: flex; gap: 10px; align-items: center; border-radius: 11px; color: #285f4e; background: #effaf6; }
.register-trust > span { display: grid; gap: 3px; }
.register-trust b { font-size: 11px; }
.register-trust small { color: #5f766e; font-size: 9px; }

/* Dashboard shell */
.app { min-height: 100vh; display: grid; grid-template-columns: 248px 1fr; background: #f5f7fa; }
.sidebar { height: 100vh; padding: 19px 15px 16px; position: sticky; top: 0; display: flex; flex-direction: column; border-right: 1px solid #e4e8ee; z-index: 40; background: #fff; }
.sidebar > header { padding: 0 7px 16px; display: flex; align-items: center; justify-content: space-between; }
.sidebar > header > button { display: none; border: 0; background: transparent; cursor: pointer; }
.profile { margin: 5px 2px 20px; padding: 11px; display: flex; align-items: center; gap: 10px; border-radius: 12px; background: #f5f7fb; }
.profile > i { width: 34px; height: 34px; display: grid; place-items: center; border-radius: 10px; color: #fff; background: linear-gradient(145deg, #426fe9, #6b50dc); font-size: 10px; font-style: normal; font-weight: 800; }
.profile > span { min-width: 0; display: grid; gap: 3px; }
.profile b { overflow: hidden; white-space: nowrap; text-overflow: ellipsis; font-size: 11px; }
.profile small { color: #8994a4; font-size: 8px; }
.sidebar nav { display: grid; gap: 4px; }
.sidebar nav > small { margin: 14px 10px 6px; color: #a2abba; font-size: 8px; font-weight: 800; letter-spacing: .11em; }
.sidebar nav button { min-height: 41px; padding: 0 10px; border: 0; border-radius: 9px; display: flex; align-items: center; gap: 11px; color: #68768a; background: transparent; font-size: 11px; font-weight: 600; text-align: left; cursor: pointer; }
.sidebar nav button:hover { background: #f5f7fb; }
.sidebar nav button.active { color: #345fda; background: #eaf0ff; font-weight: 800; }
.sidebar nav button > i { min-width: 20px; height: 20px; margin-left: auto; display: grid; place-items: center; border-radius: 7px; color: #fff; background: #4c6de0; font-size: 8px; font-style: normal; }
.upgrade { margin: auto 1px 12px; padding: 14px; display: grid; gap: 7px; border: 1px solid #e2dcff; border-radius: 13px; background: linear-gradient(145deg, #f5f2ff, #edf2ff); }
.upgrade > svg { color: #7856e0; }
.upgrade b { font-size: 11px; }
.upgrade p { margin: 0; color: #738095; font-size: 9px; line-height: 1.45; }
.upgrade button { padding: 0; border: 0; display: flex; align-items: center; gap: 5px; color: #5b49c8; background: transparent; font-size: 9px; font-weight: 800; cursor: pointer; }
.logout, .member-switch { min-height: 38px; padding: 0 11px; border: 0; border-radius: 9px; display: flex; align-items: center; gap: 10px; color: #7a8799; background: transparent; font-size: 10px; cursor: pointer; }
.logout:hover, .member-switch:hover { background: #f5f7fa; }
.app-body { min-width: 0; position: relative; }
.app-header { height: 76px; padding: 0 30px; position: sticky; top: 0; z-index: 25; display: flex; align-items: center; justify-content: space-between; border-bottom: 1px solid #e6e9ee; background: rgba(255,255,255,.92); backdrop-filter: blur(13px); }
.app-header > div, .app-header > section { display: flex; align-items: center; gap: 14px; }
.app-header > div > span { display: grid; gap: 2px; }
.app-header small { color: #9aa4b2; font-size: 8px; text-transform: uppercase; letter-spacing: .08em; }
.app-header h1 { margin: 0; font-size: 18px; }
.menu-button { display: none; border: 0; background: transparent; cursor: pointer; }
.app-header label { width: 230px; height: 38px; padding: 0 11px; display: flex; align-items: center; gap: 8px; border: 1px solid #e1e5eb; border-radius: 10px; color: #8c98a8; background: #f8f9fb; }
.app-header label input { min-width: 0; flex: 1; border: 0; outline: 0; color: var(--ink); background: transparent; font-size: 10px; }
.notification { width: 38px; height: 38px; position: relative; border: 1px solid #e2e6ec; border-radius: 10px; display: grid; place-items: center; background: #fff; cursor: pointer; }
.notification i { width: 7px; height: 7px; position: absolute; right: 7px; top: 7px; border: 2px solid #fff; border-radius: 50%; background: #ed5b67; }
.profile-button { width: 37px; height: 37px; border: 0; border-radius: 10px; color: #fff; background: linear-gradient(145deg, #456fea, #7253df); font-size: 10px; font-weight: 800; cursor: pointer; }
.profile-button.admin { background: linear-gradient(145deg, #172b4d, #35527f); }
.app-body > .page { max-width: 1480px; margin: 0 auto; padding: 26px 30px 70px; }
.welcome { min-height: 182px; padding: 29px 33px; overflow: hidden; position: relative; display: flex; align-items: center; border-radius: 19px; color: #fff; background: radial-gradient(circle at 90% 10%, rgba(255,255,255,.18), transparent 30%), linear-gradient(135deg, #325fdc, #6346cb); box-shadow: 0 14px 30px rgba(52,74,178,.18); }
.welcome > div { position: relative; z-index: 2; }
.welcome span { font-size: 8px; letter-spacing: .12em; opacity: .75; font-weight: 800; }
.welcome h2 { margin: 9px 0 7px; font-size: 24px; letter-spacing: -.6px; }
.welcome p { margin: 0 0 17px; opacity: .78; font-size: 11px; }
.welcome aside { margin-left: auto; width: 270px; position: relative; display: flex; justify-content: center; gap: 12px; transform: rotate(-4deg); }
.welcome aside i { width: 73px; height: 85px; display: grid; place-items: center; border: 1px solid rgba(255,255,255,.25); border-radius: 14px; color: #315bd4; background: rgba(255,255,255,.9); box-shadow: 0 15px 28px rgba(20,31,91,.18); font-style: normal; }
.welcome aside i:nth-child(2) { transform: translateY(-16px); color: #6b4bd6; }
.welcome aside i:nth-child(3) { color: #16a272; }
.dashboard-layout { margin-top: 27px; display: grid; grid-template-columns: minmax(0, 1fr) 290px; gap: 24px; }
.main-column { min-width: 0; }
.title-row { min-height: 46px; display: flex; align-items: flex-end; justify-content: space-between; gap: 15px; }
.title-row > span { display: grid; gap: 4px; }
.title-row small { color: #8793a4; font-size: 8px; font-weight: 800; letter-spacing: .11em; }
.title-row h2, .title-row h3 { margin: 0; font-size: 18px; letter-spacing: -.3px; }
.title-row > button { border: 0; display: inline-flex; align-items: center; gap: 3px; color: #3e64d3; background: transparent; font-size: 9px; font-weight: 800; cursor: pointer; }
.progress-grid { margin: 14px 0 29px; display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.progress-card { padding: 16px; display: grid; grid-template-columns: 42px 1fr; gap: 9px 11px; border: 1px solid #e2e6ec; border-radius: 14px; background: #fff; }
.progress-card > i { grid-row: 1 / span 2; width: 42px; height: 42px; display: grid; place-items: center; border-radius: 11px; font-style: normal; }
.progress-card > i.green { color: #159d6e; background: #e5f8f0; }
.progress-card > i.blue { color: #4169df; background: #eaf0ff; }
.progress-card header { display: flex; justify-content: space-between; gap: 10px; }
.progress-card header span { display: grid; gap: 4px; }
.progress-card b { font-size: 10px; }
.progress-card header small { color: #8793a4; font-size: 8px; }
.progress-card strong { font-size: 14px; color: #27a978; }
.progress-card > .progress-line { grid-column: 2; height: 5px; overflow: hidden; border-radius: 9px; background: #e8edf2; }
.progress-line > i { height: 100%; display: block; border-radius: inherit; background: #26aa78; }
.progress-line.blue > i { background: #4a6de1; }
.progress-card > small { grid-column: 2; color: #929cab; font-size: 7px; }
.progress-card > button { grid-column: 2; justify-self: start; padding: 0; border: 0; display: inline-flex; gap: 6px; align-items: center; color: #3562d7; background: transparent; font-size: 8px; font-weight: 800; cursor: pointer; }
.compact-grid { margin-top: 14px; display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; }
.right-column { display: grid; align-content: start; gap: 15px; }
.stats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 7px; }
.stats article { min-width: 0; padding: 11px 7px; display: grid; justify-items: center; gap: 6px; border: 1px solid #e2e6ec; border-radius: 11px; background: #fff; text-align: center; }
.stats article > i { color: #4368d8; }
.stats article > span { display: grid; gap: 2px; }
.stats b { font-size: 15px; }
.stats small { color: #8d98a7; font-size: 7px; }
.updates, .community-small { padding: 18px; border: 1px solid #e2e6ec; border-radius: 14px; background: #fff; }
.updates > header { padding-bottom: 11px; display: flex; align-items: center; justify-content: space-between; border-bottom: 1px solid #edf0f4; }
.updates > header span { display: grid; gap: 4px; }
.updates > header small { color: #8b96a5; font-size: 7px; letter-spacing: .1em; font-weight: 800; }
.updates h3, .community-small h3 { margin: 0; font-size: 13px; }
.update { padding: 13px 0; display: flex; gap: 10px; border-bottom: 1px solid #f0f2f5; }
.update > i { width: 8px; height: 8px; margin-top: 3px; flex: 0 0 auto; border-radius: 50%; background: #23ac7a; }
.update > i.blue { background: #4d6fe1; }
.update > i.purple { background: #7c58df; }
.update > span { display: grid; gap: 4px; }
.update b { font-size: 9px; }
.update p { margin: 0; color: #778396; font-size: 8px; line-height: 1.4; }
.update small { color: #a1aab7; font-size: 7px; }
.updates > button, .community-small > button { margin-top: 11px; padding: 0; border: 0; color: #4264cf; background: transparent; font-size: 8px; font-weight: 800; cursor: pointer; }
.community-small { background: linear-gradient(145deg, #eff3ff, #f6f2ff); }
.community-small > svg { margin-bottom: 10px; color: #6649d3; }
.community-small p { color: #718095; font-size: 9px; line-height: 1.5; }
.community-small div { display: flex; margin: 12px 0; }
.community-small div i { width: 28px; height: 28px; border-color: #f1f1fd; font-size: 7px; }
.community-small > button { display: inline-flex; align-items: center; gap: 5px; }
.admin-switch { position: fixed; right: 20px; bottom: 18px; z-index: 20; padding: 9px 13px; border: 1px solid #dfe4eb; border-radius: 10px; display: inline-flex; align-items: center; gap: 7px; color: #536177; background: rgba(255,255,255,.95); box-shadow: 0 9px 22px rgba(29,51,88,.12); font-size: 9px; font-weight: 700; cursor: pointer; }
.toast { position: fixed; right: 24px; bottom: 24px; z-index: 80; padding: 13px 17px; display: flex; align-items: center; gap: 9px; border-radius: 11px; color: #fff; background: #172a47; box-shadow: 0 14px 35px rgba(17,35,65,.24); font-size: 11px; }
.toast svg { color: #58d9a6; }

/* Materials */
.material { overflow: hidden; border: 1px solid #e2e6ec; border-radius: 14px; background: #fff; }
.material-cover { height: 126px; position: relative; display: grid; place-items: center; background: linear-gradient(145deg, #e5f8f0, #f4fbf8); }
.material-cover.blue { background: linear-gradient(145deg, #e9efff, #f6f8ff); }
.material-cover.purple { background: linear-gradient(145deg, #eee8ff, #faf8ff); }
.material-cover.orange { background: linear-gradient(145deg, #fff0dd, #fff9f1); }
.material-cover.pink { background: linear-gradient(145deg, #ffeaf1, #fff7fa); }
.material-cover.navy { background: linear-gradient(145deg, #e7edf6, #f7f9fc); }
.material-cover > i { width: 53px; height: 53px; display: grid; place-items: center; border-radius: 15px; color: #169e6e; background: rgba(255,255,255,.82); box-shadow: 0 10px 22px rgba(43,77,88,.1); font-style: normal; }
.material-cover.blue > i { color: #4368db; }
.material-cover.purple > i { color: #7652da; }
.material-cover.orange > i { color: #df7a22; }
.material-cover.pink > i { color: #d65b82; }
.material-cover.navy > i { color: #304b72; }
.material-cover > button { width: 29px; height: 29px; position: absolute; right: 10px; top: 10px; border: 0; border-radius: 9px; display: grid; place-items: center; color: #8390a1; background: rgba(255,255,255,.8); cursor: pointer; }
.material-cover > span { padding: 5px 7px; position: absolute; left: 9px; top: 9px; display: inline-flex; align-items: center; gap: 4px; border-radius: 7px; color: #5e566d; background: rgba(255,255,255,.82); font-size: 7px; font-weight: 800; }
.material > section { padding: 13px; }
.material > section > small { color: #687b9f; font-size: 7px; font-weight: 800; text-transform: uppercase; }
.material h3 { margin: 7px 0 8px; min-height: 31px; font-size: 11px; line-height: 1.4; }
.material p { min-height: 45px; margin: 0 0 10px; color: #758195; font-size: 9px; line-height: 1.55; }
.material footer { padding-top: 9px; display: flex; align-items: center; justify-content: space-between; border-top: 1px solid #edf0f4; }
.material footer > span { color: #939dab; font-size: 7px; }
.material footer button { width: 28px; height: 28px; border: 0; border-radius: 8px; display: grid; place-items: center; color: #4265d6; background: #edf2ff; cursor: pointer; }
.material.compact .material-cover { height: 85px; }
.material.compact .material-cover > i { width: 43px; height: 43px; }
.library-banner { min-height: 160px; padding: 27px 31px; display: flex; align-items: center; justify-content: space-between; overflow: hidden; position: relative; border-radius: 18px; color: #fff; background: linear-gradient(135deg, #294fc4, #6545cb); }
.library-banner::after { content: ""; width: 200px; height: 200px; position: absolute; right: -40px; top: -75px; border-radius: 50%; background: rgba(255,255,255,.08); }
.library-banner h2 { margin: 9px 0 7px; font-size: 24px; }
.library-banner p { margin: 0; opacity: .78; font-size: 11px; }
.library-banner > svg { margin-right: 30px; opacity: .72; }
.library-banner > div > span { color: #dbe3ff; }
.library-toolbar { margin: 20px 0 12px; display: flex; justify-content: space-between; gap: 15px; }
.library-toolbar > div { display: flex; gap: 7px; }
.library-toolbar > div button { padding: 8px 13px; border: 1px solid #e0e5ec; border-radius: 9px; color: #6e7b8f; background: #fff; font-size: 9px; font-weight: 700; cursor: pointer; }
.library-toolbar > div button.active { color: #fff; border-color: #4166d8; background: #4166d8; }
.library-toolbar label { width: 220px; height: 34px; padding: 0 10px; display: flex; align-items: center; gap: 7px; border: 1px solid #e1e5eb; border-radius: 9px; color: #8e99a8; background: #fff; }
.library-toolbar input { min-width: 0; border: 0; outline: 0; font-size: 9px; }
.results { margin-bottom: 12px; display: flex; align-items: center; justify-content: space-between; color: #7f8b9b; font-size: 9px; }
.results small { display: flex; align-items: center; gap: 5px; color: #26a678; }
.material-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 15px; }

/* Community */
.community-heading { min-height: 110px; display: flex; align-items: center; justify-content: space-between; }
.community-heading h2, .collection > header h2 { margin: 8px 0 6px; font-size: 24px; letter-spacing: -.5px; }
.community-heading p, .collection > header p { margin: 0; color: var(--muted); font-size: 11px; }
.community-heading aside { padding: 8px 11px; display: flex; align-items: center; gap: 7px; border: 1px solid #dfe5ec; border-radius: 9px; color: #58677a; background: #fff; font-size: 9px; font-weight: 700; }
.community-heading aside i { width: 7px; height: 7px; border-radius: 50%; background: #23b77d; box-shadow: 0 0 0 4px #e2f8f0; }
.community-layout { display: grid; grid-template-columns: minmax(0, 1fr) 300px; gap: 20px; }
.feed { display: grid; align-content: start; gap: 13px; }
.composer, .post, .community-side > section { border: 1px solid #e2e6ec; border-radius: 14px; background: #fff; }
.composer { padding: 15px; display: grid; grid-template-columns: 37px 1fr; gap: 10px; }
.composer > i, .post header > i { width: 37px; height: 37px; display: grid; place-items: center; border-radius: 11px; color: #fff; background: linear-gradient(145deg, #466fe4, #6f51dc); font-size: 9px; font-style: normal; font-weight: 800; }
.composer textarea { min-height: 69px; padding: 9px; resize: vertical; border: 1px solid #e6e9ee; border-radius: 9px; outline: 0; font-size: 10px; }
.composer footer { grid-column: 2; display: flex; align-items: center; justify-content: space-between; }
.composer footer > button:first-child { border: 0; display: flex; align-items: center; gap: 6px; color: #768397; background: transparent; font-size: 9px; cursor: pointer; }
.composer .button { padding: 8px 12px; font-size: 9px; }
.post { padding: 17px; }
.post > header { display: flex; align-items: center; gap: 10px; }
.post > header > span { display: grid; gap: 4px; }
.post > header b { font-size: 10px; }
.post > header small { color: #8d98a7; font-size: 8px; }
.post > header button { margin-left: auto; border: 0; color: #8390a1; background: transparent; cursor: pointer; }
.post > p { margin: 15px 0; color: #4f5e72; font-size: 11px; line-height: 1.65; }
.post > footer { padding-top: 12px; display: flex; gap: 20px; border-top: 1px solid #edf0f4; }
.post > footer button { border: 0; display: flex; align-items: center; gap: 6px; color: #7a8799; background: transparent; font-size: 9px; cursor: pointer; }
.community-side { display: grid; align-content: start; gap: 14px; }
.community-side > section { padding: 16px; }
.community-side h3 { margin: 0 0 10px; font-size: 12px; }
.community-side .access-row { padding: 10px 0; }
.community-side .access-row > i { width: 34px; height: 34px; }
.rank { padding: 9px 0; display: flex; align-items: center; gap: 9px; border-bottom: 1px solid #edf0f4; }
.rank > span { width: 15px; color: #9aa4b2; font-size: 9px; font-weight: 800; text-align: center; }
.rank > i { width: 31px; height: 31px; display: grid; place-items: center; border-radius: 9px; color: #fff; background: #5673b0; font-size: 8px; font-style: normal; font-weight: 800; }
.rank > b { display: grid; gap: 3px; font-size: 9px; }
.rank small { color: #8995a5; font-size: 7px; }
.collection > header { margin: 15px 0 24px; }
.collection .material-grid { grid-template-columns: repeat(4, 1fr); }

/* Plans and owned applications */
.access-legend { margin: 14px 0 18px; padding: 12px 14px; display: flex; flex-wrap: wrap; gap: 10px 22px; border: 1px solid #e1e6ef; border-radius: 12px; background: #fff; }
.access-legend span { display: flex; align-items: center; gap: 5px; color: #68768a; font-size: 9px; }
.access-legend svg { color: #4269dd; }
.member-page-head { margin: 12px 0 24px; max-width: 700px; }
.member-page-head > span { color: #315edc; font-size: 9px; font-weight: 800; letter-spacing: .1em; }
.member-page-head h2 { margin: 8px 0 7px; font-size: 27px; letter-spacing: -.7px; }
.member-page-head p { margin: 0; color: var(--muted); font-size: 11px; line-height: 1.6; }
.current-plan { margin-bottom: 18px; padding: 15px 18px; display: flex; align-items: center; gap: 12px; border: 1px solid #dce4f3; border-radius: 14px; background: linear-gradient(90deg, #f4f7ff, #fff); }
.current-plan > i { width: 42px; height: 42px; display: grid; place-items: center; border-radius: 11px; color: #4168dc; background: #e4ecff; }
.current-plan > span { display: grid; gap: 3px; }
.current-plan small { color: #76849a; font-size: 7px; font-weight: 800; }
.current-plan b { font-size: 12px; }
.current-plan p { margin: 0; color: #778497; font-size: 8px; }
.current-plan strong { margin-left: auto; padding: 6px 9px; border-radius: 999px; color: #16865f; background: #e2f7ee; font-size: 7px; }
.member-plan-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; }
.member-plan-grid > article { position: relative; padding: 22px; border: 1px solid #e0e5ec; border-radius: 16px; background: #fff; }
.member-plan-grid > article.featured { border: 2px solid #5573e7; box-shadow: 0 17px 35px rgba(53,99,233,.13); }
.member-plan-grid article > em { position: absolute; right: 13px; top: 13px; padding: 5px 7px; border-radius: 999px; color: #fff; background: #4f6ee3; font-size: 6px; font-style: normal; font-weight: 800; }
.member-plan-grid article > i { width: 43px; height: 43px; margin-bottom: 15px; display: grid; place-items: center; border-radius: 11px; font-style: normal; }
.member-plan-grid article > i.green { color: #15986b; background: #e5f8f0; }
.member-plan-grid article > i.blue { color: #4065d7; background: #e9efff; }
.member-plan-grid article > i.purple { color: #7351d8; background: #eee8ff; }
.member-plan-grid article > small { color: #8490a1; font-size: 7px; font-weight: 800; letter-spacing: .08em; }
.member-plan-grid h3 { margin: 5px 0 8px; font-size: 18px; }
.member-plan-grid p { min-height: 52px; margin: 0; color: #6c798c; font-size: 9px; line-height: 1.6; }
.member-plan-grid ul { min-height: 85px; margin: 15px 0; padding: 14px 0; display: grid; gap: 9px; border-top: 1px solid #edf0f4; list-style: none; }
.member-plan-grid li { display: flex; align-items: center; gap: 7px; color: #536176; font-size: 8px; }
.member-plan-grid li svg { color: #1ca475; }
.member-plan-grid .button { padding: 10px; font-size: 9px; }
.individual-callout, .empty-more { margin-top: 18px; padding: 16px 18px; display: flex; align-items: center; justify-content: space-between; gap: 16px; border-radius: 14px; color: #fff; background: #172a47; }
.individual-callout > div, .empty-more { display: flex; align-items: center; }
.individual-callout > div { gap: 12px; }
.individual-callout > div > i { width: 42px; height: 42px; display: grid; place-items: center; border-radius: 11px; color: #bed0ff; background: rgba(255,255,255,.09); }
.individual-callout span { display: grid; gap: 4px; }
.individual-callout b { font-size: 11px; }
.individual-callout p { margin: 0; color: #b7c2d2; font-size: 8px; }
.individual-callout .button { color: #172a47; background: #fff; }
.owned-summary { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; margin-bottom: 18px; }
.owned-summary article { padding: 14px; display: flex; align-items: center; gap: 11px; border: 1px solid #e0e5ec; border-radius: 13px; background: #fff; }
.owned-summary i { width: 38px; height: 38px; display: grid; place-items: center; border-radius: 10px; color: #4469db; background: #eaf0ff; }
.owned-summary span { display: grid; gap: 3px; }
.owned-summary b { font-size: 13px; }
.owned-summary small { color: #8591a1; font-size: 7px; }
.owned-list { display: grid; gap: 10px; }
.owned-list > article { padding: 15px; display: grid; grid-template-columns: 48px 1fr auto; align-items: center; gap: 13px; border: 1px solid #e0e5ec; border-radius: 14px; background: #fff; }
.owned-list > article > i { width: 48px; height: 48px; display: grid; place-items: center; border-radius: 12px; color: #4469dc; background: #eaf0ff; }
.owned-list > article > i.green { color: #15966a; background: #e5f8f0; }
.owned-list > article > i.purple { color: #7351da; background: #eee8ff; }
.owned-list section > small { color: #7d8a9c; font-size: 7px; }
.owned-list h3 { margin: 5px 0 8px; font-size: 12px; }
.owned-list section > div { display: flex; flex-wrap: wrap; gap: 6px 14px; color: #7c899a; font-size: 7px; }
.owned-list section > div span { display: flex; align-items: center; gap: 4px; }
.owned-list section > div span:first-child { color: #16885f; font-weight: 700; }
.owned-list footer { display: flex; gap: 7px; }
.owned-list .button, .empty-more .button { padding: 9px 11px; font-size: 8px; }
.empty-more { color: var(--ink); background: #f4f7fc; border: 1px dashed #cfd8e7; justify-content: flex-start; }
.empty-more > svg { color: #4268dc; }
.empty-more > span { display: grid; gap: 4px; }
.empty-more b { font-size: 10px; }
.empty-more p { margin: 0; color: #7c899a; font-size: 8px; }
.empty-more button { margin-left: auto; }

/* Admin */
.admin-sidebar { background: #152943; color: #d7deea; border-right: 0; }
.admin-sidebar .brand small { color: #9eacc0; }
.admin-sidebar nav button { color: #aeb9c9; }
.admin-sidebar nav button:hover { background: rgba(255,255,255,.05); }
.admin-sidebar nav button.active { color: #fff; background: rgba(100,135,236,.18); }
.admin-sidebar .logout, .admin-sidebar .member-switch { color: #afbbcc; }
.admin-sidebar .member-switch { margin-top: auto; border: 1px solid rgba(255,255,255,.1); }
.admin-badge { margin: 5px 4px 10px; padding: 10px; display: flex; align-items: center; gap: 8px; border-radius: 9px; color: #bed0ff; background: rgba(91,124,219,.12); font-size: 9px; font-weight: 700; }
.admin-welcome { margin: 5px 0 20px; display: flex; align-items: center; justify-content: space-between; }
.admin-welcome h2 { margin: 0 0 4px; font-size: 22px; }
.admin-welcome p { margin: 0; color: var(--muted); font-size: 10px; }
.admin-stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 13px; }
.admin-stats article { padding: 17px; display: flex; align-items: flex-start; gap: 12px; border: 1px solid #e1e6ec; border-radius: 14px; background: #fff; }
.admin-stats article > i { width: 42px; height: 42px; display: grid; place-items: center; border-radius: 11px; color: #4268da; background: #eaf0ff; font-style: normal; }
.admin-stats article > i.purple { color: #7954de; background: #efe9ff; }
.admin-stats article > i.orange { color: #df7b24; background: #fff0df; }
.admin-stats article > i.green { color: #18a071; background: #e5f8f0; }
.admin-stats article > span { display: grid; gap: 5px; }
.admin-stats small { color: #8c97a6; font-size: 7px; font-weight: 800; }
.admin-stats b { font-size: 21px; }
.admin-stats em { display: flex; align-items: center; gap: 4px; color: #1aa171; font-size: 7px; font-style: normal; }
.admin-grid { margin-top: 18px; display: grid; grid-template-columns: minmax(0, 1.7fr) minmax(250px, .8fr); gap: 16px; }
.admin-side { display: grid; align-content: start; gap: 16px; }
.admin-panel { padding: 18px; border: 1px solid #e1e6ec; border-radius: 14px; background: #fff; }
.admin-panel > .title-row { padding-bottom: 12px; border-bottom: 1px solid #edf0f4; }
.user-table { font-size: 8px; }
.user-table > header, .user-table > div { min-height: 50px; display: grid; grid-template-columns: 1.7fr 1.1fr .65fr .85fr; align-items: center; gap: 10px; border-bottom: 1px solid #eef1f4; }
.user-table > header { min-height: 36px; color: #8d98a7; font-weight: 800; }
.table-user { display: flex; align-items: center; gap: 8px; }
.table-user > i { width: 30px; height: 30px; display: grid; place-items: center; border-radius: 9px; color: #fff; background: #526fa9; font-size: 8px; font-style: normal; font-weight: 800; }
.table-user > b { display: grid; gap: 3px; font-size: 8px; }
.table-user small { color: #929cab; font-size: 7px; font-weight: 400; }
.user-table em { padding: 5px 7px; border-radius: 999px; font-size: 7px; font-style: normal; font-weight: 800; }
.user-table em.active { color: #15875f; background: #e3f7ee; }
.user-table em.pending { color: #a66f13; background: #fff2d9; }
.invite { padding: 12px 0; display: flex; align-items: center; gap: 9px; border-bottom: 1px solid #edf0f4; }
.invite > i { width: 32px; height: 32px; display: grid; place-items: center; border-radius: 9px; color: #fff; background: #5770a4; font-size: 8px; font-style: normal; font-weight: 800; }
.invite > span { display: grid; gap: 4px; }
.invite b { font-size: 8px; }
.invite small { color: #929cab; font-size: 7px; }
.invite button { margin-left: auto; padding: 0; border: 0; color: #4565cc; background: transparent; font-size: 7px; font-weight: 800; cursor: pointer; }
.quick-row { width: 100%; padding: 11px 0; border: 0; border-bottom: 1px solid #edf0f4; display: flex; align-items: center; gap: 9px; background: transparent; text-align: left; cursor: pointer; }
.quick-row > i { width: 34px; height: 34px; display: grid; place-items: center; border-radius: 9px; color: #4669d2; background: #edf2ff; }
.quick-row > span { flex: 1; display: grid; gap: 4px; }
.quick-row b { font-size: 8px; }
.quick-row small { color: #909baa; font-size: 7px; }
.quick-row > svg { color: #8d98a7; }

@media (max-width: 1050px) {
  .public-header nav { display: none; }
  .hero { grid-template-columns: 1fr; padding-top: 65px; }
  .hero-copy { text-align: center; }
  .hero-copy > p { margin-inline: auto; }
  .hero-actions, .social-proof { justify-content: center; }
  .hero-demo { width: min(100%, 620px); margin: 0 auto; }
  .benefits { flex-direction: column; text-align: center; }
  .benefits > div { flex-wrap: wrap; justify-content: center; }
  .how, .community-promo { gap: 55px; }
  .app { grid-template-columns: 210px 1fr; }
  .dashboard-layout { grid-template-columns: 1fr; }
  .right-column { grid-template-columns: 1fr 1fr; }
  .stats { grid-column: 1 / -1; }
  .admin-stats { grid-template-columns: 1fr 1fr; }
  .admin-grid { grid-template-columns: 1fr; }
  .collection .material-grid { grid-template-columns: repeat(3, 1fr); }
  .member-plan-grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 780px) {
  .public-header { padding: 0 18px; }
  .public-header .button.ghost { display: none; }
  .header-ctas .button.dark { padding: 10px 12px; font-size: 11px; }
  .hero { min-height: auto; padding: 55px 20px 65px; gap: 45px; }
  .hero h1 { font-size: 42px; letter-spacing: -1.8px; }
  .hero-copy > p { font-size: 16px; }
  .hero-actions { flex-direction: column; gap: 17px; }
  .hero-demo { padding: 25px 5px; }
  .float-card { display: none; }
  .benefits > div { gap: 17px; }
  .track-grid { grid-template-columns: 1fr; }
  .track-grid.two, .plan-grid { grid-template-columns: 1fr; }
  .plans-section { padding: 75px 24px; }
  .plan-card.featured { transform: none; }
  .how, .community-promo { grid-template-columns: 1fr; padding: 75px 24px; }
  .chat-art { order: 2; }
  .site-section { padding: 75px 24px; }
  .section-head h2, .how h2, .community-promo h2 { font-size: 31px; }
  .main-cta h2 { font-size: 29px; }
  .public-footer { grid-template-columns: 1fr 1fr; padding: 45px 24px 25px; }
  .public-footer > div:first-child { grid-column: 1 / -1; }
  .app { display: block; }
  .sidebar { width: 260px; position: fixed; left: -280px; transition: .25s ease; box-shadow: 15px 0 35px rgba(21,41,70,.14); }
  .sidebar.open { left: 0; }
  .sidebar > header > button, .menu-button { display: grid; }
  .scrim { position: fixed; inset: 0; z-index: 35; border: 0; background: rgba(16,30,51,.45); }
  .app-header { padding: 0 17px; }
  .app-header label { display: none; }
  .app-header .button.outline { display: none; }
  .app-body > .page { padding: 20px 17px 70px; }
  .welcome { padding: 25px; }
  .welcome aside { display: none; }
  .progress-grid, .compact-grid, .material-grid { grid-template-columns: 1fr 1fr; }
  .right-column { grid-template-columns: 1fr; }
  .stats { grid-column: auto; }
  .community-layout { grid-template-columns: 1fr; }
  .community-side { grid-template-columns: 1fr 1fr; }
  .collection .material-grid { grid-template-columns: 1fr 1fr; }
  .member-plan-grid { grid-template-columns: 1fr; }
  .owned-summary { grid-template-columns: 1fr; }
  .owned-list > article { grid-template-columns: 48px 1fr; }
  .owned-list footer { grid-column: 1 / -1; justify-content: flex-end; }
  .individual-callout, .empty-more { align-items: flex-start; flex-direction: column; }
  .empty-more button { margin-left: 0; }
}

@media (max-width: 520px) {
  .brand > span { display: none; }
  .public-header .brand > span { display: grid; }
  .brand-logo { width: 169px; height: 53px; }
  .brand > small { margin-left: 31px; font-size: 10px; }
  .public-header { height: 68px; }
  .header-ctas .button.dark svg { display: none; }
  .hero h1 { font-size: 36px; }
  .mini-app { min-height: 290px; }
  .mini-app > section { padding: 14px; }
  .mini-materials { grid-template-columns: 1fr; }
  .mini-materials article:nth-child(2) { display: none; }
  .benefits > span { max-width: none; }
  .benefits > div { display: grid; grid-template-columns: 1fr 1fr; }
  .public-footer { gap: 35px 20px; }
  .login-card { padding: 27px 21px; }
  .license-note { align-items: flex-start; }
  .progress-grid, .compact-grid, .material-grid, .collection .material-grid { grid-template-columns: 1fr; }
  .progress-card { grid-template-columns: 40px 1fr; }
  .library-toolbar { align-items: stretch; flex-direction: column; }
  .library-toolbar > div { overflow-x: auto; }
  .library-toolbar label { width: 100%; }
  .library-banner > svg { display: none; }
  .community-heading { align-items: flex-start; flex-direction: column; justify-content: center; gap: 14px; }
  .community-side { grid-template-columns: 1fr; }
  .post > footer { justify-content: space-between; gap: 5px; }
  .post > footer button:last-child { display: none; }
  .admin-stats { grid-template-columns: 1fr; }
  .user-table > header, .user-table > div { grid-template-columns: 1.5fr .8fr; }
  .user-table > header span:nth-child(2), .user-table > header span:nth-child(4), .user-table > div > span:nth-child(2), .user-table > div > span:nth-child(4) { display: none; }
  .admin-welcome { align-items: flex-start; gap: 15px; flex-direction: column; }
  .access-legend { display: grid; }
  .current-plan { align-items: flex-start; }
  .current-plan strong { margin-left: 0; }
  .owned-list > article { grid-template-columns: 1fr; }
  .owned-list footer { justify-content: stretch; }
  .owned-list footer .button { flex: 1; }
}

/* Empreendanaueb — identidade da marca e proposta de loja */
:root {
  --ink: #173150;
  --muted: #627387;
  --blue: #3065a7;
  --blue-dark: #224d83;
  --purple: #3065a7;
  --green: #168761;
  --brand-light: #61afd2;
  --brand-red: #f23b4f;
}

.button.primary { background: linear-gradient(135deg, #3065a7, #224d83); box-shadow: 0 9px 22px rgba(48, 101, 167, .24); }
.button.dark { background: #173150; }
.brand > i { background: linear-gradient(145deg, #61afd2 0 44%, #3065a7 44% 72%, #f23b4f 72%); box-shadow: 0 8px 18px rgba(48, 101, 167, .22); }
.brand b { color: #3065a7; }
.hero { background: linear-gradient(145deg, #fbfdff 10%, #eef7fb 66%, #fff2f3); }
.hero-glow.one { background: rgba(97, 175, 210, .13); }
.hero-glow.two { background: rgba(242, 59, 79, .08); }
.hero h1 em, .section-head h2 em { color: #3065a7; }
.eyebrow, .kicker, .section-head > span, .library-banner > div > span, .community-heading > div > span, .collection > header > span { color: #285b96; background: #e8f3f8; }
.main-cta { background: radial-gradient(circle at 50% -70%, #61afd2, transparent 44%), linear-gradient(135deg, #224d83, #173150); }
.hero-actions > button { padding: 0; border: 0; display: inline-flex; align-items: center; gap: 8px; color: #41516a; background: transparent; font-size: 14px; font-weight: 700; cursor: pointer; }
.access-row > i.purple { color: #d82f43; background: #fff0f2; }
.admin-sidebar { background: #173150; }
.admin-sidebar nav button.active { background: rgba(97, 175, 210, .18); }

.public-product-grid { margin: 45px auto 0; max-width: 1160px; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 22px; }
.public-product { min-width: 0; overflow: hidden; display: flex; flex-direction: column; border: 1px solid #dfe6ec; border-radius: 19px; background: #fff; box-shadow: 0 14px 35px rgba(23, 49, 80, .08); transition: transform .2s ease, box-shadow .2s ease; }
.public-product:hover { transform: translateY(-4px); box-shadow: 0 20px 42px rgba(23, 49, 80, .13); }
.product-visual { min-height: 0; aspect-ratio: 1 / 1; padding: 0; overflow: hidden; display: flex; align-items: center; justify-content: center; position: relative; color: #fff; background: #eef3f8; }
.product-visual.green { background: linear-gradient(135deg, #168761, #61afd2); }
.product-visual.orange { background: linear-gradient(135deg, #d67426, #f2a15f); }
.product-visual.pink { background: linear-gradient(135deg, #f23b4f, #e67889); }
.product-visual.navy { background: linear-gradient(135deg, #173150, #3065a7); }
.product-visual span { position: absolute; left: 15px; top: 15px; padding: 6px 9px; border-radius: 999px; color: #173150; background: rgba(255,255,255,.92); font-size: 11px; font-weight: 800; }
.public-product > section { flex: 1 1 auto; padding: 20px; display: flex; flex-direction: column; }
.public-product > section > small { color: #728196; font-size: 12px; font-weight: 700; }
.public-product h3 { margin: 9px 0; font-size: 17px; line-height: 1.3; }
.public-product p { min-height: 66px; margin: 0; color: #627387; font-size: 14px; line-height: 1.55; }
.public-product > section > div { margin: 16px 0; display: flex; align-items: flex-end; justify-content: space-between; }
.public-product > section > .button { margin-top: auto; }
.public-product > section > div b { font-size: 18px; color: #173150; }
.public-product > section > div b.free-price { color: #168761; }
.public-product > section > div small { color: #8794a5; font-size: 12px; }
.product-action { min-width: 106px; height: 35px; padding: 0 11px; border: 0; border-radius: 9px; display: inline-flex; align-items: center; justify-content: center; gap: 6px; color: #fff; background: #3065a7; font-size: 11px; font-weight: 800; cursor: pointer; }

/* Tipografia mais confortável na área interna e administrativa */
.app-body { font-size: 15px; }
.sidebar nav button { font-size: 13px; }
.sidebar nav > small { font-size: 10px; }
.profile b { font-size: 13px; }
.profile small { font-size: 11px; }
.app-header > div small { font-size: 11px; }
.app-header h1 { font-size: 20px; }
.welcome p, .library-banner p, .member-page-head p, .community-heading p, .collection > header p { font-size: 14px; }
.material > section > small, .results, .access-legend, .owned-list small { font-size: 12px; }
.material h3 { font-size: 15px; }
.material p { font-size: 13px; }
.admin-welcome p { font-size: 14px; }
.admin-stats small { font-size: 10px; }
.admin-stats em { font-size: 10px; }
.user-table { font-size: 13px; }
.table-user small, .invite small, .quick-row small { font-size: 11px; }
.admin-badge { font-size: 12px; }

@media (max-width: 900px) {
  .public-product-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (max-width: 520px) {
  .public-product-grid { grid-template-columns: 1fr; }
  .public-product p { min-height: auto; }
}

/* Leitura e ergonomia — escala confortável inspirada no Material Design */
body { font-size: 16px; line-height: 1.55; }
.app-body { font-size: 16px; }
.button { min-height: 44px; padding: 12px 18px; font-size: 15px; }
.sidebar { width: 276px; padding: 22px 16px 18px; }
.app { grid-template-columns: 276px 1fr; }
.sidebar nav button { min-height: 48px; padding-inline: 12px; font-size: 15px; }
.sidebar nav > small { margin-top: 18px; font-size: 12px; }
.profile { padding: 13px; }
.profile > i { width: 40px; height: 40px; font-size: 12px; }
.profile b { font-size: 15px; }
.profile small { font-size: 13px; }
.upgrade { padding: 15px; }
.upgrade b { font-size: 14px; }
.upgrade p { font-size: 13px; line-height: 1.5; }
.upgrade button, .logout, .member-switch { min-height: 44px; font-size: 13px; }
.app-header { min-height: 82px; }
.app-header > div small, .app-header small { font-size: 12px; }
.app-header h1 { font-size: 22px; }
.app-header label { height: 44px; }
.app-header label input { font-size: 14px; }
.app-body > .page { max-width: 1420px; padding: 30px 34px 78px; }
.welcome { padding: 34px; }
.welcome span { font-size: 12px; }
.welcome h2 { font-size: 30px; }
.welcome p { font-size: 16px; line-height: 1.6; }
.title-row small { font-size: 12px; }
.title-row h2, .title-row h3 { font-size: 22px; }
.title-row > button { min-height: 42px; font-size: 14px; }
.progress-card b { font-size: 15px; }
.progress-card header small, .progress-card > small { font-size: 13px; }
.progress-card > button { min-height: 40px; font-size: 13px; }
.stats b { font-size: 20px; }
.stats small { font-size: 12px; }
.updates h3, .community-small h3 { font-size: 17px; }
.updates > header small, .update small { font-size: 12px; }
.update b { font-size: 14px; }
.update p, .community-small p { font-size: 13px; line-height: 1.55; }
.updates > button, .community-small > button { min-height: 40px; font-size: 13px; }
.admin-switch, .toast { font-size: 13px; }

.library-banner { padding: 30px; }
.library-banner h2 { font-size: 30px; }
.library-banner p { font-size: 16px; }
.access-legend span { font-size: 13px; }
.library-toolbar > div button { min-height: 42px; font-size: 13px; }
.library-toolbar input { font-size: 14px; }
.results { font-size: 13px; }
.material-cover > span { font-size: 11px; }
.material > section { padding: 17px; }
.material > section > small { font-size: 12px; }
.material h3 { min-height: 44px; font-size: 17px; }
.material p { min-height: 64px; font-size: 14px; }
.material footer > span { font-size: 13px; }
.product-action { min-height: 40px; padding-inline: 13px; font-size: 13px; }

.member-page-head { max-width: 820px; }
.member-page-head > span { font-size: 12px; }
.member-page-head h2 { font-size: 32px; }
.member-page-head p { font-size: 16px; }
.member-plan-grid > article { padding: 27px; }
.member-plan-grid article > em { font-size: 10px; }
.member-plan-grid article > small { font-size: 11px; }
.member-plan-grid h3 { font-size: 23px; }
.member-plan-grid p { min-height: 76px; font-size: 14px; }
.member-plan-grid ul { min-height: 132px; }
.member-plan-grid li { font-size: 14px; line-height: 1.45; }
.member-plan-grid .button { min-height: 46px; font-size: 14px; }
.individual-callout b { font-size: 15px; }
.individual-callout p { font-size: 13px; }
.owned-summary b { font-size: 17px; }
.owned-summary small { font-size: 12px; }
.owned-list section > small, .owned-list section > div { font-size: 12px; }
.owned-list h3 { font-size: 17px; }
.owned-list .button, .empty-more .button { min-height: 42px; font-size: 13px; }
.empty-more b { font-size: 15px; }
.empty-more p { font-size: 13px; }

.community-heading { min-height: 145px; }
.community-heading h2, .collection > header h2 { font-size: 32px; }
.community-heading p, .collection > header p { max-width: 820px; font-size: 16px; line-height: 1.6; }
.community-heading aside { padding: 10px 14px; font-size: 13px; }
.community-layout { grid-template-columns: minmax(0, 1fr) 340px; gap: 24px; }
.composer, .post, .community-side > section { border-radius: 17px; }
.composer { padding: 20px; grid-template-columns: 44px 1fr; gap: 14px; }
.composer > i, .post header > i { width: 44px; height: 44px; font-size: 12px; }
.topic-composer > div { min-width: 0; display: grid; grid-template-columns: 1fr 190px; gap: 12px; }
.topic-composer input, .topic-composer select, .topic-composer textarea, .reply-composer textarea { width: 100%; border: 1px solid #dce3eb; border-radius: 11px; color: var(--ink); background: #fff; font-size: 16px; outline: none; }
.topic-composer input, .topic-composer select { min-height: 48px; padding: 0 14px; }
.topic-composer textarea { grid-column: 1 / -1; min-height: 110px; padding: 13px 14px; }
.topic-composer footer { grid-column: 1 / -1; }
.topic-composer footer > span { color: #718095; font-size: 13px; }
.composer .button { min-height: 44px; padding: 10px 16px; font-size: 14px; }
.post { padding: 22px; }
.post > header b { font-size: 15px; }
.post > header small { font-size: 12px; }
.thread-card h3 { margin: 20px 0 8px; font-size: 21px; line-height: 1.35; }
.post > p { margin: 10px 0 20px; font-size: 16px; line-height: 1.65; }
.post > footer { justify-content: space-between; }
.post > footer button { min-height: 42px; font-size: 14px; }
.post > footer button.saved, .thread-main button.saved { color: #285b96; font-weight: 800; }
.open-thread { color: #285b96 !important; font-weight: 800; }
.community-side > section { padding: 20px; }
.community-side h3 { font-size: 17px; }
.community-side .access-row b { font-size: 14px; }
.community-side .access-row small { font-size: 12px; }

.back-to-threads { min-height: 44px; margin-bottom: 12px; border: 0; display: inline-flex; align-items: center; gap: 8px; color: #285b96; background: transparent; font-size: 14px; font-weight: 800; cursor: pointer; }
.thread-main, .thread-replies { padding: 24px; border: 1px solid #dfe6ed; border-radius: 17px; background: #fff; }
.thread-main > header { display: flex; align-items: center; gap: 12px; }
.thread-main > header > i, .reply-card > i, .reply-composer > i { width: 44px; height: 44px; flex: 0 0 auto; display: grid; place-items: center; border-radius: 12px; color: #fff; background: #3065a7; font-size: 12px; font-style: normal; font-weight: 800; }
.thread-main > header > span { display: grid; gap: 3px; }
.thread-main > header b { font-size: 15px; }
.thread-main > header small { color: #7f8c9d; font-size: 12px; }
.thread-main > header button { min-height: 42px; margin-left: auto; border: 0; display: inline-flex; align-items: center; gap: 7px; color: #718095; background: transparent; font-size: 14px; cursor: pointer; }
.thread-main h2 { margin: 25px 0 10px; font-size: 27px; line-height: 1.3; }
.thread-main > p { margin: 0; color: #4f6073; font-size: 16px; line-height: 1.7; }
.thread-replies { margin-top: 14px; }
.thread-replies > h3 { margin: 0 0 15px; font-size: 19px; }
.reply-card { padding: 17px 0; display: flex; gap: 13px; border-top: 1px solid #edf0f4; }
.reply-card > div { flex: 1; }
.reply-card header { display: flex; justify-content: space-between; gap: 15px; }
.reply-card header b { font-size: 14px; }
.reply-card header small { color: #8794a4; font-size: 12px; }
.reply-card p { margin: 8px 0 0; color: #4f6073; font-size: 15px; line-height: 1.65; }
.no-replies { padding: 18px; border-radius: 12px; color: #657589; background: #f5f8fb; font-size: 14px; }
.reply-composer { margin-top: 20px; padding-top: 20px; display: flex; gap: 13px; border-top: 1px solid #e8edf2; }
.reply-composer > div { flex: 1; display: grid; justify-items: end; gap: 10px; }
.reply-composer textarea { min-height: 105px; padding: 13px; resize: vertical; }

.recommended-posts { border: 1px solid #dfe6ed; border-radius: 17px; background: #fff; }
.recommended-posts > header { display: flex; align-items: center; justify-content: space-between; }
.recommended-posts > header small { color: #728196; font-size: 11px; font-weight: 800; letter-spacing: .07em; }
.recommended-posts > header h3 { margin: 4px 0 0; font-size: 18px; }
.recommendation-note { margin: 10px 0 15px; color: #6c7b8e; font-size: 13px; line-height: 1.5; }
.recommended-posts > div { display: grid; gap: 9px; }
.recommended-posts a { padding: 13px; display: grid; gap: 5px; border-radius: 12px; color: inherit; background: #f5f8fb; }
.recommended-posts a > span { color: #285b96; font-size: 11px; font-weight: 800; text-transform: uppercase; }
.recommended-posts a > b { font-size: 14px; line-height: 1.4; }
.recommended-posts a > p { margin: 0; color: #667689; font-size: 13px; line-height: 1.5; }
.recommended-posts a > small { display: inline-flex; align-items: center; gap: 5px; color: #285b96; font-size: 12px; font-weight: 800; }
.recommended-posts.compact { padding: 18px; }
.recommended-posts.compact a:nth-child(n+3) { display: none; }

.interest-picker { margin: 0; padding: 15px; border: 1px solid #dce3eb; border-radius: 12px; }
.interest-picker legend { padding: 0 6px; font-size: 14px; font-weight: 800; }
.interest-picker > p { margin: 0 0 12px; color: #69798c; font-size: 13px; line-height: 1.5; }
.interest-picker > div { display: grid; grid-template-columns: 1fr 1fr; gap: 9px; }
.login-card form .interest-picker label { min-height: 42px; padding: 9px; display: flex; align-items: center; gap: 8px; border-radius: 9px; background: #f5f8fb; font-size: 13px; font-weight: 600; }
.interest-picker input { width: 17px; height: 17px; }
.login-card > p, .login-card form > label, .login-options label, .login-options button, .admin-link, .login-help, .login-help button { font-size: 14px; }
.login-card form > label.consent { font-size: 13px; }
.free-badge { font-size: 11px; }
.register-trust b { font-size: 14px; }
.register-trust small { font-size: 12px; }

.annual-plans-section { background: #fff; }
.annual-plan-grid { max-width: 1160px; margin: 44px auto 0; }
.annual-plan { position: relative; }
.annual-plan > i { width: 48px; height: 48px; margin-bottom: 16px; display: grid; place-items: center; border-radius: 13px; font-style: normal; }
.annual-plan > i.blue { color: #3065a7; background: #e8f3f8; }
.annual-plan > i.green { color: #168761; background: #e5f8f0; }
.annual-plan > i.purple { color: #d82f43; background: #fff0f2; }
.annual-plan > small { font-size: 11px; }
.annual-plan p { font-size: 14px; }
.annual-plan li { font-size: 14px; }
.plan-explainer { max-width: 920px; margin: 30px auto 0; padding: 20px 23px; display: flex; align-items: flex-start; gap: 14px; border: 1px solid #dce5ef; border-radius: 15px; background: #f5f8fb; }
.plan-explainer svg { flex: 0 0 auto; color: #3065a7; }
.plan-explainer b { font-size: 16px; }
.plan-explainer p { margin: 5px 0 0; color: #607184; font-size: 14px; line-height: 1.6; }

.favorite-section { margin-top: 30px; }
.favorite-thread-list { display: grid; gap: 12px; }
.favorite-thread-list > article { padding: 20px; display: grid; grid-template-columns: 44px 1fr auto; align-items: center; gap: 14px; border: 1px solid #dfe6ed; border-radius: 15px; background: #fff; }
.favorite-thread-list > article > i { width: 44px; height: 44px; display: grid; place-items: center; border-radius: 11px; color: #3065a7; background: #e8f3f8; font-style: normal; }
.favorite-thread-list small { color: #6d7d90; font-size: 12px; }
.favorite-thread-list h3 { margin: 4px 0; font-size: 18px; }
.favorite-thread-list p { margin: 0; color: #617184; font-size: 14px; line-height: 1.55; }

/* Administração também segue a mesma escala de leitura */
.admin-welcome h2 { font-size: 28px; }
.admin-welcome p { font-size: 15px; }
.admin-badge { font-size: 13px; }
.admin-stats small, .admin-stats em { font-size: 12px; }
.admin-stats b { font-size: 25px; }
.user-table { font-size: 14px; }
.table-user > b, .invite b, .quick-row b { font-size: 14px; }
.table-user small, .invite small, .quick-row small { font-size: 12px; }
.user-table em, .invite button { font-size: 12px; }

@media (max-width: 900px) {
  .app { display: block; }
  .community-layout { grid-template-columns: 1fr; }
  .community-side { grid-template-columns: 1fr 1fr; }
  .favorite-thread-list > article { grid-template-columns: 44px 1fr; }
  .favorite-thread-list > article > button { grid-column: 1 / -1; }
}

@media (max-width: 620px) {
  .app-body > .page { padding: 24px 18px 72px; }
  .welcome h2, .community-heading h2, .collection > header h2, .member-page-head h2 { font-size: 27px; }
  .topic-composer > div, .interest-picker > div { grid-template-columns: 1fr; }
  .topic-composer textarea, .topic-composer footer { grid-column: 1; }
  .topic-composer footer { align-items: flex-start; flex-direction: column; gap: 10px; }
  .post > footer { align-items: flex-start; flex-direction: column; }
  .post > footer button:last-child { display: flex; }
  .thread-main > header { align-items: flex-start; flex-wrap: wrap; }
  .thread-main > header button { margin-left: 0; }
  .community-side { grid-template-columns: 1fr; }
  .favorite-thread-list > article { grid-template-columns: 1fr; }
}

/* Identidade Empreendanaueb: azul da marca, azul claro e destaque vermelho. */
.brand > i, .profile > i, .profile-button, .login-icon, .chat-art::before { background: linear-gradient(145deg, #61afd2 0%, #3065a7 66%, #224d83 100%); }
.sidebar nav button.active { color: #285b96; background: #e8f3f8; }
.sidebar nav button > i { background: #3065a7; }
.upgrade { border-color: #cfe4ef; background: linear-gradient(145deg, #f0f8fc, #e8f3f8); }
.upgrade > svg, .upgrade button { color: #3065a7; }
.welcome, .library-banner, .mini-progress { background: radial-gradient(circle at 90% 10%, rgba(97,175,210,.28), transparent 36%), linear-gradient(135deg, #3065a7, #173150); }
.welcome aside i:nth-child(2) { color: #3065a7; }
.library-toolbar > div button.active { color: #fff; background: #3065a7; }
.material-cover.purple, .material-cover.blue { background: #e8f3f8; }
.material-cover.purple > i, .material-cover.blue > i { color: #3065a7; background: #fff; }
.material-cover.pink { background: #fff0f2; }
.material-cover.pink > i { color: #d82f43; }
.member-plan-grid > article.featured, .plan-card.featured { border-color: #3065a7; box-shadow: 0 17px 35px rgba(48,101,167,.13); }
.member-plan-grid article > em, .popular { background: #3065a7; }
.member-plan-grid article > i.purple, .owned-list > article > i.purple { color: #d82f43; background: #fff0f2; }
.login-page { background: radial-gradient(circle at 15% 10%, #e8f4fa, transparent 35%), radial-gradient(circle at 88% 90%, #fff0f2, transparent 34%), #f7f9fc; }
.access-legend svg, .quick-row > i, .owned-summary i, .empty-more > svg, .community-promo li svg { color: #3065a7; }

/* Cards da loja: preço e ação sempre ficam dentro do produto, sem quebrar. */
.material { min-width: 0; display: flex; flex-direction: column; overflow: hidden; }
.material > section { flex: 1; min-width: 0; display: flex; flex-direction: column; }
.material h3, .material p { overflow-wrap: anywhere; }
.material > section > footer { margin-top: auto; padding-top: 14px; display: flex; align-items: center; justify-content: space-between; gap: 8px; }
.material > section > footer > span { min-width: 0; flex: 1; white-space: nowrap; }
.material footer button.product-action, .product-action { width: auto; max-width: 100%; min-width: 0; min-height: 40px; height: auto; flex: 0 0 auto; padding: 10px 12px; border: 0; border-radius: 10px; display: inline-flex; flex-direction: row; align-items: center; justify-content: center; gap: 6px; color: #fff; background: #3065a7; font-size: 12px; line-height: 1; white-space: nowrap; }
.product-action svg { flex: 0 0 auto; }
.compact.material > section > footer { flex-wrap: wrap; }

/* Cadastro completo usado inclusive em pedidos com valor zero. */
.register-card { width: min(100%, 780px); text-align: left; }
.register-card > h1, .register-card > p { text-align: center; }
.register-form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.register-form-grid > label { min-width: 0; display: grid; gap: 7px; color: #3f5065; font-size: 14px; font-weight: 700; }
.register-form-grid > label.full-width { grid-column: 1 / -1; }
.register-form-grid .optional { color: #8794a5; font-size: 12px; font-weight: 400; }
.register-form-grid select { width: 100%; min-height: 45px; padding: 0 12px; border: 1px solid #dfe4eb; border-radius: 10px; color: #425166; background: #fff; font-size: 14px; }
.register-card .interest-picker { text-align: left; }

/* Artigos recomendados com a imagem de destaque da publicação. */
.recommended-posts a { min-width: 0; padding: 0; grid-template-columns: 82px minmax(0, 1fr); align-items: stretch; gap: 11px; overflow: hidden; background: #f4f8fa; }
.recommended-posts a > img { width: 100%; height: 100%; min-height: 105px; object-fit: cover; }
.recommended-posts a > section { min-width: 0; padding: 11px 11px 11px 0; display: grid; align-content: start; gap: 5px; }
.recommended-posts a > section > span { color: #285b96; font-size: 10px; font-weight: 800; text-transform: uppercase; }
.recommended-posts a > section > b { font-size: 13px; line-height: 1.42; }
.recommended-posts a > section > p { margin: 0; color: #667689; font-size: 12px; line-height: 1.5; }
.recommended-posts a > section > small { display: inline-flex; align-items: center; gap: 5px; color: #285b96; font-size: 11px; font-weight: 800; }
.recommended-posts.compact a { grid-template-columns: 68px minmax(0, 1fr); }
.recommended-posts.compact a > img { min-height: 90px; }

/* Páginas completas da conta e da administração. */
.workspace-heading { margin: 7px 0 24px; display: flex; align-items: flex-start; justify-content: space-between; gap: 20px; }
.workspace-heading > div { max-width: 780px; }
.workspace-heading > div > span { color: #3065a7; font-size: 12px; font-weight: 800; letter-spacing: .08em; }
.workspace-heading h2 { margin: 7px 0; color: #173150; font-size: clamp(27px, 3vw, 33px); line-height: 1.2; }
.workspace-heading p { margin: 0; color: #68778a; font-size: 15px; line-height: 1.65; }
.workspace-heading > .button { flex: 0 0 auto; }
.workspace-card { min-width: 0; padding: 23px; border: 1px solid #dfe6ed; border-radius: 17px; background: #fff; }
.workspace-card > h3, .workspace-card > header h3 { margin: 0 0 10px; color: #173150; font-size: 18px; }
.workspace-card > p { margin: 0 0 15px; color: #69788b; font-size: 14px; line-height: 1.65; }
.account-grid, .support-layout { display: grid; grid-template-columns: minmax(0, 1.7fr) minmax(290px, .8fr); align-items: start; gap: 20px; }
.account-side, .support-side { display: grid; gap: 18px; }
.profile-hero { margin-bottom: 27px; padding-bottom: 23px; display: flex; align-items: center; gap: 15px; border-bottom: 1px solid #edf1f4; }
.profile-hero > i { width: 66px; height: 66px; flex: 0 0 auto; display: grid; place-items: center; border-radius: 18px; color: #fff; background: linear-gradient(145deg, #61afd2, #3065a7); font-size: 20px; font-style: normal; font-weight: 800; }
.profile-hero > div { min-width: 0; flex: 1; }
.profile-hero h3 { margin: 0 0 4px; font-size: 20px; }
.profile-hero p { margin: 0; color: #728095; font-size: 14px; }
.profile-hero > .button { flex: 0 0 auto; }
.form-grid { margin-top: 18px; display: grid; grid-template-columns: 1fr 1fr; gap: 15px; }
.form-grid.single { grid-template-columns: 1fr; }
.form-field { min-width: 0; display: grid; gap: 7px; }
.form-field > span { color: #415269; font-size: 13px; font-weight: 700; }
.form-field input, .form-field select, .form-field textarea { width: 100%; min-height: 46px; padding: 0 13px; border: 1px solid #dfe6ed; border-radius: 10px; color: #24374e; background: #fff; font-size: 14px; outline: none; }
.form-field textarea { min-height: 130px; padding: 12px 13px; resize: vertical; }
.form-field input:focus, .form-field select:focus, .form-field textarea:focus { border-color: #61afd2; box-shadow: 0 0 0 3px rgba(97,175,210,.13); }
.save-action { margin-top: 21px; }
.interest-chip-list { display: flex; flex-wrap: wrap; gap: 9px; }
.interest-chip-list > button { min-height: 38px; padding: 8px 11px; border: 1px solid #dce5ed; border-radius: 999px; display: inline-flex; align-items: center; gap: 6px; color: #657489; background: #fff; font-size: 12px; cursor: pointer; }
.interest-chip-list > button.selected { border-color: #b9dbea; color: #285b96; background: #e8f3f8; }
.profile-note { padding: 13px; display: flex; align-items: center; gap: 9px; border-radius: 11px; color: #246549; background: #eff9f4; font-size: 13px; }
.settings-layout { display: grid; grid-template-columns: 1.1fr .9fr; align-items: start; gap: 19px; }
.settings-layout .workspace-card > .form-field { margin: 16px 0; }
.toggle-row { min-height: 73px; padding: 13px 0; position: relative; display: flex; align-items: center; justify-content: space-between; gap: 15px; border-bottom: 1px solid #edf1f4; cursor: pointer; }
.toggle-row > span { display: grid; gap: 4px; }
.toggle-row > span > b { color: #30445b; font-size: 14px; }
.toggle-row > span > small { color: #7b8797; font-size: 12px; line-height: 1.5; }
.toggle-row > input { position: absolute; opacity: 0; }
.toggle-row > i { width: 43px; height: 24px; flex: 0 0 auto; position: relative; border-radius: 999px; background: #d6dfe7; }
.toggle-row > i::after { content: ""; width: 18px; height: 18px; position: absolute; top: 3px; left: 3px; border-radius: 50%; background: #fff; transition: transform .18s ease; }
.toggle-row > input:checked + i { background: #3065a7; }
.toggle-row > input:checked + i::after { transform: translateX(19px); }
.toggle-row.disabled { opacity: .6; cursor: not-allowed; }

.ticket-form-card form { display: grid; gap: 16px; }
.ticket-form-card form > .button { width: fit-content; }
.contact-card > a, .whatsapp-channel { min-height: 76px; padding: 12px 0; display: flex; align-items: center; gap: 11px; border-bottom: 1px solid #edf1f4; color: inherit; }
.contact-card > a > i, .whatsapp-channel > i { width: 40px; height: 40px; flex: 0 0 auto; display: grid; place-items: center; border-radius: 11px; color: #3065a7; background: #e8f3f8; }
.contact-card > a > span, .whatsapp-channel > span { min-width: 0; flex: 1; display: grid; gap: 4px; }
.contact-card b, .whatsapp-channel b { font-size: 13px; }
.contact-card small, .whatsapp-channel small { overflow-wrap: anywhere; color: #718095; font-size: 11px; }
.whatsapp-channel.disabled { opacity: .64; }
.whatsapp-channel.enabled > i { color: #168761; background: #e5f8f0; }
.my-ticket-card > article { padding: 12px 0; display: grid; gap: 9px; border-bottom: 1px solid #edf1f4; }
.my-ticket-card > article > div { display: grid; gap: 4px; }
.my-ticket-card > article b { font-size: 13px; }
.my-ticket-card > article small { color: #728095; font-size: 12px; }

.notification-list { display: grid; }
.notification-list > article { min-height: 88px; padding: 14px 0; display: grid; grid-template-columns: 43px 1fr 9px; align-items: center; gap: 14px; border-bottom: 1px solid #edf1f4; }
.notification-list > article:last-child { border-bottom: 0; }
.notification-list > article > i { width: 43px; height: 43px; display: grid; place-items: center; border-radius: 12px; color: #3065a7; background: #e8f3f8; }
.notification-list > article > i.green { color: #168761; background: #e5f8f0; }
.notification-list > article > i.red { color: #d82f43; background: #fff0f2; }
.notification-list > article > div { display: grid; gap: 4px; }
.notification-list > article b { font-size: 14px; }
.notification-list > article p { margin: 0; color: #667589; font-size: 13px; }
.notification-list > article small { color: #8893a1; font-size: 12px; }
.notification-list > article > span { width: 8px; height: 8px; border-radius: 50%; background: #f23b4f; }

/* Administração navegável e operacional. */
.admin-sidebar { overflow-y: auto; }
.admin-sidebar nav { flex: 1; min-height: 0; overflow-y: auto; }
.admin-sidebar nav button { min-height: 42px; font-size: 13px; }
.admin-sidebar nav > small { margin-top: 13px; }
.admin-sidebar .brand b { color: #fff; }
.admin-workspace { max-width: 1490px; }
.metric-grid { margin: 0 0 21px; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 14px; }
.metric-card { min-width: 0; padding: 18px; display: flex; align-items: flex-start; gap: 12px; border: 1px solid #dfe6ed; border-radius: 15px; background: #fff; }
.metric-card > i { width: 45px; height: 45px; flex: 0 0 auto; display: grid; place-items: center; border-radius: 12px; color: #3065a7; background: #e8f3f8; }
.metric-card > i.green { color: #168761; background: #e5f8f0; }
.metric-card > i.red { color: #d82f43; background: #fff0f2; }
.metric-card > div { min-width: 0; display: grid; gap: 5px; }
.metric-card > div > small { color: #778598; font-size: 10px; font-weight: 800; }
.metric-card > div > b { color: #173150; font-size: 24px; line-height: 1.15; }
.metric-card > div > span { color: #667589; font-size: 11px; }
.admin-content-grid { display: grid; grid-template-columns: minmax(0, 1.6fr) minmax(300px, .85fr); align-items: start; gap: 18px; }
.admin-aside { display: grid; gap: 17px; }
.card-heading { margin-bottom: 13px; padding-bottom: 13px; display: flex; align-items: center; justify-content: space-between; gap: 12px; border-bottom: 1px solid #edf1f4; }
.card-heading > div > small { color: #778598; font-size: 10px; font-weight: 800; letter-spacing: .06em; }
.card-heading > div > h3 { margin: 3px 0 0; font-size: 17px; }
.card-heading > button { padding: 0; border: 0; display: inline-flex; align-items: center; gap: 5px; color: #3065a7; background: transparent; font-size: 12px; font-weight: 700; cursor: pointer; }
.table-wrap { max-width: 100%; overflow-x: auto; }
.data-table { width: 100%; border-collapse: collapse; text-align: left; }
.data-table th, .data-table td { padding: 13px 10px; border-bottom: 1px solid #edf1f4; }
.data-table th { color: #7f8c9d; font-size: 11px; font-weight: 800; white-space: nowrap; }
.data-table td { color: #45556b; font-size: 13px; }
.data-table td > b, .data-table td > small { display: block; }
.data-table td > b { color: #23364c; font-size: 13px; }
.data-table td > small { margin-top: 4px; color: #8490a0; font-size: 11px; }
.status-tag { width: fit-content; padding: 6px 9px; border-radius: 999px; font-size: 10px; font-weight: 800; white-space: nowrap; }
.status-tag.success { color: #168761; background: #e5f8f0; }
.status-tag.attention { color: #a77615; background: #fff3da; }
.status-tag.progress { color: #3065a7; background: #e8f3f8; }
.compact-ticket { min-height: 70px; display: flex; align-items: center; gap: 10px; border-bottom: 1px solid #edf1f4; }
.compact-ticket > i { width: 36px; height: 36px; flex: 0 0 auto; display: grid; place-items: center; border-radius: 10px; color: #3065a7; background: #e8f3f8; }
.compact-ticket > span:not(.status-tag) { min-width: 0; flex: 1; display: grid; gap: 4px; }
.compact-ticket b { font-size: 12px; }
.compact-ticket small { overflow: hidden; color: #788699; font-size: 11px; text-overflow: ellipsis; white-space: nowrap; }
.admin-shortcuts > button { width: 100%; min-height: 50px; border: 0; display: flex; align-items: center; gap: 10px; border-bottom: 1px solid #edf1f4; color: #35485f; background: transparent; font-size: 13px; text-align: left; cursor: pointer; }
.admin-shortcuts > button > svg { color: #3065a7; }
.integration-notice { margin: 0 0 18px; padding: 17px; display: flex; align-items: center; gap: 13px; border: 1px solid #cfe4ef; border-radius: 14px; color: #285b96; background: #eef7fb; }
.integration-notice > svg { flex: 0 0 auto; }
.integration-notice > div { flex: 1; }
.integration-notice > div > b { font-size: 14px; }
.integration-notice > div > p { margin: 4px 0 0; color: #627489; font-size: 12px; line-height: 1.55; }
.integration-notice > span { padding: 7px 9px; border-radius: 999px; color: #285b96; background: #dfeef5; font-size: 9px; font-weight: 800; white-space: nowrap; }
.table-action { border: 0; display: inline-flex; align-items: center; gap: 5px; color: #3065a7; background: transparent; font-size: 12px; font-weight: 700; white-space: nowrap; cursor: pointer; }
.category-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
.category-card > i { width: 46px; height: 46px; display: grid; place-items: center; border-radius: 12px; color: #3065a7; background: #e8f3f8; }
.category-card > h3 { margin: 14px 0 5px; font-size: 17px; }
.category-card > p { min-height: 40px; font-size: 13px; }
.category-card > div { padding-top: 12px; display: flex; align-items: center; justify-content: space-between; gap: 10px; border-top: 1px solid #edf1f4; }
.category-card > div > span { color: #788598; font-size: 12px; }
.category-card > div > button { border: 0; display: inline-flex; align-items: center; gap: 5px; color: #3065a7; background: transparent; font-size: 12px; font-weight: 700; cursor: pointer; }
.admin-plan-grid { margin: 0 0 20px; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 17px; }
.admin-plan-card { display: grid; gap: 9px; }
.admin-plan-card > span { color: #6c7d90; font-size: 10px; font-weight: 800; }
.admin-plan-card > h3 { margin: 0; font-size: 21px; }
.admin-plan-card > p { min-height: 49px; margin: 0; font-size: 13px; }
.admin-plan-card > b { color: #285b96; font-size: 20px; }
.admin-plan-card > small { color: #68788b; font-size: 12px; }
.admin-plan-card > button { margin-top: 8px; }
.ticket-admin-layout { display: grid; grid-template-columns: minmax(270px, .8fr) minmax(0, 1.3fr); align-items: start; gap: 17px; }
.ticket-list-panel { padding: 10px; }
.ticket-list-panel > button { width: 100%; min-height: 84px; padding: 12px; border: 0; border-bottom: 1px solid #edf1f4; display: flex; align-items: center; justify-content: space-between; gap: 10px; color: inherit; background: transparent; text-align: left; cursor: pointer; }
.ticket-list-panel > button.active { border-radius: 10px; background: #eef7fb; }
.ticket-list-panel > button > div { min-width: 0; display: grid; gap: 5px; }
.ticket-list-panel > button b { font-size: 13px; }
.ticket-list-panel > button small { color: #768498; font-size: 11px; }
.ticket-detail-panel > header { padding-bottom: 18px; display: flex; align-items: flex-start; justify-content: space-between; gap: 14px; border-bottom: 1px solid #edf1f4; }
.ticket-detail-panel > header small { color: #738195; font-size: 12px; }
.ticket-detail-panel > header h3 { margin: 7px 0 5px; font-size: 20px; }
.ticket-detail-panel > header p { margin: 0; color: #657588; font-size: 13px; }
.ticket-description { margin: 18px 0; padding: 17px; border-radius: 12px; background: #f4f8fa; }
.ticket-description > b { font-size: 13px; }
.ticket-description > p { color: #546477; font-size: 14px; line-height: 1.6; }
.ticket-description > small { color: #8290a0; font-size: 11px; }
.ticket-actions { margin-top: 15px; display: flex; flex-wrap: wrap; gap: 10px; }
.report-grid { display: grid; grid-template-columns: 1.2fr .8fr; align-items: start; gap: 18px; }
.bars { height: 260px; padding-top: 18px; display: grid; grid-template-columns: repeat(6, 1fr); align-items: end; gap: 13px; }
.bars > div { height: 100%; display: flex; flex-direction: column; justify-content: flex-end; align-items: center; gap: 9px; }
.bars > div > i { width: min(45px, 100%); border-radius: 9px 9px 0 0; background: linear-gradient(0deg, #3065a7, #61afd2); }
.bars > div > span { color: #738296; font-size: 12px; }
.profile-report > article { margin-top: 21px; }
.profile-report > article > div { margin-bottom: 8px; display: flex; justify-content: space-between; gap: 8px; }
.profile-report > article b, .profile-report > article > div > span { font-size: 12px; }
.profile-report > article > i { height: 8px; display: block; overflow: hidden; border-radius: 999px; background: #edf1f4; }
.profile-report > article > i > span { height: 100%; display: block; border-radius: inherit; background: #3065a7; }

.site-manager-layout { display: grid; grid-template-columns: minmax(220px, .55fr) minmax(0, 1.3fr); align-items: start; gap: 17px; }
.manager-nav { padding: 10px; }
.manager-nav > button { width: 100%; min-height: 49px; padding: 10px; border: 0; border-radius: 9px; display: flex; align-items: center; justify-content: space-between; gap: 8px; color: #58687b; background: transparent; font-size: 13px; text-align: left; cursor: pointer; }
.manager-nav > button.active { color: #285b96; background: #e8f3f8; font-weight: 700; }
.manager-editor > p { margin-bottom: 18px; }
.upload-placeholder { min-height: 205px; padding: 20px; display: grid; place-items: center; gap: 8px; border: 1px dashed #b9d4e2; border-radius: 14px; color: #3065a7; background: #f5fafc; text-align: center; }
.upload-placeholder > b { color: #30445b; font-size: 15px; }
.upload-placeholder > span { color: #788698; font-size: 12px; }
.upload-placeholder.compact { min-height: 150px; }
.color-grid { margin-top: 19px; display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; }
.color-grid > label { display: grid; gap: 8px; color: #526276; font-size: 12px; font-weight: 700; }
.color-grid input { width: 100%; height: 47px; padding: 4px; border: 1px solid #dfe6ed; border-radius: 9px; background: #fff; }

@media (max-width: 1250px) {
  .metric-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .admin-content-grid, .account-grid, .support-layout { grid-template-columns: 1fr; }
  .account-side, .support-side { grid-template-columns: 1fr 1fr; }
  .category-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (max-width: 900px) {
  .settings-layout, .ticket-admin-layout, .site-manager-layout, .report-grid { grid-template-columns: 1fr; }
  .admin-plan-grid { grid-template-columns: 1fr; }
  .manager-nav { display: flex; overflow-x: auto; }
  .manager-nav > button { width: auto; flex: 0 0 auto; white-space: nowrap; }
}

@media (max-width: 620px) {
  .register-form-grid, .form-grid, .account-side, .support-side, .metric-grid, .category-grid, .color-grid { grid-template-columns: 1fr; }
  .workspace-heading { align-items: stretch; flex-direction: column; }
  .workspace-heading > .button { width: fit-content; }
  .workspace-card { padding: 18px; }
  .profile-hero { flex-wrap: wrap; }
  .profile-hero > .button { width: 100%; }
  .integration-notice { align-items: flex-start; flex-wrap: wrap; }
  .integration-notice > span { margin-left: 37px; }
  .ticket-detail-panel > header { flex-direction: column; }
  .ticket-actions .button { width: 100%; }
}

/* Dracma — moeda interna para recompensar leitura validada. */
.public-dracma { min-height: 265px; padding: 47px max(28px, calc((100vw - 1100px) / 2)); display: flex; align-items: center; justify-content: space-between; gap: 40px; color: #fff; background: radial-gradient(circle at 86% 18%, rgba(242,185,73,.16), transparent 25%), linear-gradient(120deg, #173150, #285b96); }
.public-dracma > div { max-width: 680px; }
.public-dracma > div > span { display: inline-flex; align-items: center; gap: 8px; color: #f3d188; font-size: 12px; font-weight: 800; letter-spacing: .08em; }
.public-dracma h2 { margin: 12px 0 9px; font-size: clamp(28px, 3.4vw, 38px); }
.public-dracma p { max-width: 600px; margin: 0 0 18px; color: #d6e1ed; font-size: 15px; line-height: 1.7; }
.public-dracma > aside { display: grid; justify-items: center; gap: 12px; }
.public-dracma > aside > strong { width: 96px; height: 96px; display: grid; place-items: center; border: 2px solid rgba(255,255,255,.6); border-radius: 50%; color: #fff; background: linear-gradient(145deg, #f0bf61, #bf8530); box-shadow: 0 12px 32px rgba(0,0,0,.18); font-size: 47px; }
.public-dracma > aside > span { color: #e5edf4; font-size: 13px; line-height: 1.6; text-align: center; }

.sidebar { min-height: 100vh; overflow-y: auto; }
.sidebar nav { min-height: 0; }
.sidebar-dracma { min-height: 48px; margin: -9px 2px 11px; padding: 0 11px; border: 1px solid #efddb8; border-radius: 11px; display: flex; align-items: center; justify-content: space-between; color: #946318; background: #fff9ec; cursor: pointer; }
.sidebar-dracma > span { display: flex; align-items: center; gap: 8px; }
.sidebar-dracma b { font-size: 12px; }
.header-dracma { min-height: 40px; padding: 0 11px; border: 1px solid #efddb8; border-radius: 10px; display: inline-flex; align-items: center; gap: 6px; color: #946318; background: #fff9ec; font-size: 12px; cursor: pointer; }
.overview-dracma { width: 100%; min-height: 87px; padding: 14px; border: 1px solid #efddb8; border-radius: 14px; display: flex; align-items: center; gap: 11px; color: #173150; background: linear-gradient(145deg, #fffdf6, #fff6e3); text-align: left; cursor: pointer; }
.overview-dracma > i { width: 44px; height: 44px; flex: 0 0 auto; display: grid; place-items: center; border-radius: 12px; color: #946318; background: #fbe9c1; }
.overview-dracma > span { min-width: 0; flex: 1; display: grid; gap: 3px; }
.overview-dracma > span > small { color: #947443; font-size: 10px; font-weight: 800; }
.overview-dracma > span > b { font-size: 16px; }
.overview-dracma > span > em { color: #738093; font-size: 11px; font-style: normal; }

.product-dracma { width: 100%; min-height: 41px; margin-top: 11px; padding: 8px; border: 1px solid #efddb8; border-radius: 9px; display: flex; align-items: center; justify-content: center; gap: 5px; color: #946318; background: #fff9ec; font-size: 11px; white-space: nowrap; cursor: pointer; }
.product-dracma > b { font-size: 12px; }
.plan-dracma { width: 100%; min-height: 43px; margin-top: 10px; border: 1px solid #efddb8; border-radius: 10px; display: inline-flex; align-items: center; justify-content: center; gap: 6px; color: #946318; background: #fff9ec; font-size: 12px; cursor: pointer; }
.dracma-page { max-width: 1480px; }
.dracma-coin { display: inline-grid; place-items: center; border: 1px solid rgba(255,255,255,.72); border-radius: 50%; color: #fff; background: linear-gradient(145deg, #f0bf61, #bf8530); font-size: 12px; font-weight: 800; }
.dracma-wallet-hero { min-height: 220px; padding: 30px 35px; display: flex; align-items: center; justify-content: space-between; gap: 25px; overflow: hidden; border-radius: 20px; color: #fff; background: radial-gradient(circle at 84% 20%, rgba(241,191,97,.23), transparent 34%), linear-gradient(125deg, #173150, #3065a7); box-shadow: 0 14px 35px rgba(23,49,80,.14); }
.dracma-wallet-hero > div > span { display: inline-flex; align-items: center; gap: 8px; color: #f7e2ad; font-size: 11px; font-weight: 800; letter-spacing: .08em; }
.dracma-wallet-hero h3 { margin: 12px 0 4px; font-size: 49px; line-height: 1.1; }
.dracma-wallet-hero h3 > small { font-size: 20px; font-weight: 600; }
.dracma-wallet-hero > div > p { margin: 0 0 18px; color: #d8e3ed; font-size: 14px; }
.dracma-wallet-hero > div > div { display: flex; align-items: center; gap: 16px; }
.dracma-wallet-hero > div > div > button:last-child { border: 0; color: #e8edf4; background: transparent; font-size: 13px; font-weight: 700; cursor: pointer; }
.dracma-wallet-hero > aside { display: grid; justify-items: center; gap: 12px; color: #f2dba2; text-align: center; }
.dracma-wallet-hero > aside > span { font-size: 13px; line-height: 1.6; }
.dracma-metrics { margin: 16px 0 20px; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px; }
.dracma-metrics > article { min-height: 81px; padding: 15px; display: flex; align-items: center; gap: 12px; border: 1px solid #dfe6ed; border-radius: 14px; background: #fff; }
.dracma-metrics > article > i { width: 44px; height: 44px; display: grid; place-items: center; border-radius: 12px; color: #3065a7; background: #e8f3f8; }
.dracma-metrics > article > span { display: grid; gap: 4px; }
.dracma-metrics b { color: #173150; font-size: 20px; }
.dracma-metrics small { color: #748295; font-size: 12px; }
.dracma-layout { display: grid; grid-template-columns: minmax(0, 1.6fr) minmax(300px, .8fr); align-items: start; gap: 19px; }
.dracma-main, .dracma-side, .dracma-admin-main, .dracma-admin-side { display: grid; gap: 17px; }
.reading-steps { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
.reading-steps > article { display: grid; align-content: start; gap: 8px; }
.reading-steps > article > i { width: 41px; height: 41px; display: grid; place-items: center; border-radius: 11px; color: #3065a7; background: #e8f3f8; }
.reading-steps b { font-size: 13px; }
.reading-steps p { margin: 0; color: #69798c; font-size: 12px; line-height: 1.55; }
.reading-example { margin-top: 19px; padding: 13px; display: flex; flex-wrap: wrap; justify-content: space-between; gap: 8px; border: 1px solid #efddb8; border-radius: 11px; color: #705932; background: #fff9ec; font-size: 12px; }
.reading-example b { color: #946318; }
.reading-list > a { min-height: 82px; padding: 11px 0; display: grid; grid-template-columns: 42px minmax(0, 1fr) auto 20px; align-items: center; gap: 11px; border-bottom: 1px solid #edf1f4; color: inherit; }
.reading-list > a > i { width: 40px; height: 40px; display: grid; place-items: center; border-radius: 11px; color: #3065a7; background: #e8f3f8; }
.reading-list > a > span { min-width: 0; display: grid; gap: 4px; }
.reading-list > a > span > small { color: #3065a7; font-size: 10px; font-weight: 700; }
.reading-list > a > span > b { font-size: 13px; }
.reading-list > a > span > em { display: inline-flex; align-items: center; gap: 4px; color: #7a8798; font-size: 11px; font-style: normal; }
.reading-list > a > strong { color: #946318; font-size: 13px; white-space: nowrap; }
.reading-list > a > svg { color: #8190a0; }
.demo-credit { margin-top: 12px; padding: 12px; border-radius: 11px; background: #f4f8fa; }
.demo-credit p { margin: 0 0 7px; color: #69798c; font-size: 12px; line-height: 1.5; }
.demo-credit button { padding: 0; border: 0; color: #3065a7; background: transparent; font-size: 12px; font-weight: 800; cursor: pointer; }
.dracma-history > article { min-height: 78px; padding: 11px 0; display: grid; grid-template-columns: 40px minmax(0, 1fr) auto; align-items: center; gap: 11px; border-bottom: 1px solid #edf1f4; }
.dracma-history > article > i { width: 38px; height: 38px; display: grid; place-items: center; border-radius: 10px; }
.dracma-history > article > i.credit { color: #168761; background: #e5f8f0; }
.dracma-history > article > i.debit { color: #d82f43; background: #fff0f2; }
.dracma-history > article > div { min-width: 0; display: grid; gap: 3px; }
.dracma-history > article > div > b { font-size: 12px; }
.dracma-history > article > div > span, .dracma-history > article > div > small { color: #758396; font-size: 11px; }
.dracma-history > article > strong { font-size: 13px; }
.dracma-history > article > strong.credit { color: #168761; }
.dracma-history > article > strong.debit { color: #d82f43; }
.reward-goal > span { color: #8b733f; font-size: 10px; font-weight: 800; }
.reward-goal > h3 { margin: 8px 0 14px; font-size: 18px; }
.goal-progress { height: 9px; overflow: hidden; border-radius: 999px; background: #f1eee5; }
.goal-progress > i { height: 100%; display: block; border-radius: inherit; background: linear-gradient(90deg, #d69a3a, #f0bf61); }
.reward-goal > p { margin: 9px 0 14px; color: #738093; font-size: 12px; }
.reward-goal > p > b { color: #946318; }
.exchange-list > article { min-height: 69px; display: flex; align-items: center; justify-content: space-between; gap: 9px; border-bottom: 1px solid #edf1f4; }
.exchange-list > article > div { min-width: 0; display: grid; gap: 4px; }
.exchange-list > article > div > b { font-size: 12px; }
.exchange-list > article > div > small { color: #798698; font-size: 10px; }
.exchange-list > article > strong { flex: 0 0 auto; color: #946318; font-size: 12px; }
.exchange-list > button { margin-top: 13px; border: 0; display: inline-flex; align-items: center; gap: 6px; color: #3065a7; background: transparent; font-size: 12px; font-weight: 700; cursor: pointer; }
.safe-reading-note > svg { color: #168761; }
.safe-reading-note > h3 { margin: 9px 0 5px; }
.safe-reading-note > p { margin: 0; font-size: 12px; }

.dracma-admin-stats { margin: 0 0 20px; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 14px; }
.dracma-admin-stats > article { min-width: 0; padding: 16px; display: flex; align-items: flex-start; gap: 10px; border: 1px solid #dfe6ed; border-radius: 15px; background: #fff; }
.dracma-admin-stats > article > i { width: 42px; height: 42px; flex: 0 0 auto; display: grid; place-items: center; border-radius: 11px; color: #946318; background: #fff5df; }
.dracma-admin-stats > article > div { min-width: 0; display: grid; gap: 5px; }
.dracma-admin-stats small { color: #788598; font-size: 9px; font-weight: 800; }
.dracma-admin-stats b { font-size: 22px; line-height: 1.2; }
.dracma-admin-stats span { color: #69788b; font-size: 10px; }
.dracma-admin-layout { display: grid; grid-template-columns: minmax(0, 1.45fr) minmax(290px, .8fr); align-items: start; gap: 17px; }
.reward-configuration .full-span { grid-column: 1 / -1; }
.dracma-price-card > label { min-height: 78px; display: flex; align-items: center; justify-content: space-between; gap: 14px; border-bottom: 1px solid #edf1f4; }
.dracma-price-card > label > span { min-width: 0; display: grid; gap: 5px; }
.dracma-price-card > label > span > b { font-size: 13px; }
.dracma-price-card > label > span > small { color: #758396; font-size: 11px; }
.dracma-price-card > label > div { width: 115px; flex: 0 0 auto; display: flex; align-items: center; gap: 6px; }
.dracma-price-card > label > div > input { width: 86px; min-height: 40px; padding: 0 8px; border: 1px solid #dfe6ed; border-radius: 9px; color: #173150; background: #fff; font-size: 13px; }
.dracma-price-card > label > div > strong { color: #946318; }
.anti-fraud-card > div:not(.card-heading) { min-height: 76px; padding: 9px 0; display: grid; grid-template-columns: 22px minmax(0, 1fr) 17px; align-items: center; gap: 8px; border-bottom: 1px solid #edf1f4; }
.anti-fraud-card > div:not(.card-heading) > svg:first-child { color: #3065a7; }
.anti-fraud-card > div:not(.card-heading) > svg:last-child { color: #168761; }
.anti-fraud-card > div > span { display: grid; gap: 4px; }
.anti-fraud-card > div > span > b { font-size: 12px; }
.anti-fraud-card > div > span > small { color: #788598; font-size: 10px; line-height: 1.5; }
.advertising-warning { border-color: #efddb8; background: #fffaf0; }
.advertising-warning > svg { color: #ab741a; }
.advertising-warning > h3, .tracker-connection > h3 { margin: 9px 0 6px; font-size: 16px; }
.advertising-warning > p, .tracker-connection > p { margin-bottom: 12px; font-size: 12px; }
.advertising-warning > a { display: inline-flex; align-items: center; gap: 5px; color: #946318; font-size: 11px; font-weight: 800; }
.tracker-connection > svg { color: #3065a7; }
.tracker-connection > span { padding: 7px 9px; display: inline-flex; border-radius: 999px; color: #168761; background: #e5f8f0; font-size: 10px; font-weight: 800; }

@media (max-width: 1250px) {
  .dracma-layout, .dracma-admin-layout { grid-template-columns: 1fr; }
  .dracma-side, .dracma-admin-side { grid-template-columns: 1fr 1fr; }
  .dracma-admin-stats { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (max-width: 900px) {
  .public-dracma { gap: 25px; }
  .app-header > section > label { width: 175px; }
}

@media (max-width: 620px) {
  .public-dracma { align-items: flex-start; flex-direction: column; }
  .public-dracma > aside { align-self: center; }
  .header-dracma { min-width: 43px; padding: 0 8px; }
  .header-dracma > b { display: none; }
  .dracma-wallet-hero { padding: 24px; }
  .dracma-wallet-hero > aside { display: none; }
  .dracma-wallet-hero > div > div { align-items: flex-start; flex-direction: column; }
  .dracma-metrics, .dracma-side, .dracma-admin-side, .dracma-admin-stats, .reading-steps { grid-template-columns: 1fr; }
  .reading-list > a { grid-template-columns: 38px minmax(0, 1fr) auto; gap: 8px; }
  .reading-list > a > svg { display: none; }
  .reading-example { flex-direction: column; }
}
