:root{
  --parchment-base:#d9b36f;
  --parchment-light:#f2d89f;
  --parchment-ink:#321b0b;
  --parchment-line:rgba(93,49,13,.28);
}

body,
body.rl-public,
body.app-body{
  color:var(--parchment-ink);
  background-color:var(--parchment-base);
  background-image:
    radial-gradient(ellipse at center,rgba(255,246,207,.78) 0%,rgba(239,207,145,.58) 48%,rgba(139,79,24,.22) 100%),
    repeating-linear-gradient(8deg,rgba(82,42,8,.025) 0 1px,transparent 1px 5px),
    repeating-linear-gradient(96deg,rgba(255,255,255,.035) 0 2px,transparent 2px 8px),
    linear-gradient(90deg,rgba(81,36,5,.2),transparent 5%,transparent 95%,rgba(81,36,5,.2));
  background-attachment:fixed;
  background-size:auto,180px 180px,230px 230px,auto;
}

body.rl-public .rl-header{
  background:rgba(255,240,204,.55);
  border-bottom-color:rgba(83,42,8,.28);
  box-shadow:0 6px 22px rgba(72,35,6,.08);
  backdrop-filter:blur(7px);
}

body.rl-public .rl-benefit,
body.rl-public .rl-plan,
body.rl-public .rl-newsletter input{
  background:rgba(255,244,216,.64);
  border-color:var(--parchment-line);
}

body.rl-public .rl-plan-featured{background:rgba(255,239,201,.82)}
body.rl-public .rl-footer{background:rgba(218,173,96,.2)}

.rl-logo{display:flex;align-items:center;justify-content:center}
.rl-logo-image{
  display:block;
  width:132px;
  height:102px;
  object-fit:contain;
  border-radius:0;
  box-shadow:none;
  filter:drop-shadow(0 5px 5px rgba(61,29,4,.22));
}
.rl-footer .rl-logo-image{width:150px;height:140px}

.app-body .app-main{
  background:transparent;
}
.app-body .topbar{
  background:rgba(255,240,204,.48);
  border-bottom:1px solid rgba(92,49,13,.2);
  backdrop-filter:blur(7px);
}
.app-body .panel,
.app-body .form-card,
.app-body .dash-card,
.app-body .author-summary,
.app-body .quick-access,
.app-body .editor-side-card{
  background:rgba(255,244,217,.68);
  border-color:var(--parchment-line);
  box-shadow:0 5px 16px rgba(72,34,6,.055);
}
.app-body .editor-workspace{border-color:rgba(89,47,12,.35)}
.app-body .editor-sheet{background:#fffaf0}
.app-body .app-footer{background:rgba(216,168,87,.16);border-top:1px solid rgba(92,49,13,.18)}

.sidebar-logo{
  height:150px!important;
  min-height:150px!important;
  padding:7px 12px 25px!important;
  justify-content:center!important;
  flex-direction:column;
  overflow:visible!important;
}
.sidebar-brand-image{
  display:block!important;
  width:128px;
  height:118px;
  object-fit:contain;
  border-radius:0;
  box-shadow:none;
  filter:drop-shadow(0 7px 7px rgba(0,0,0,.3));
}
.sidebar-logo .workspace-label,
.sidebar-logo .admin-label{
  left:50%!important;
  right:auto!important;
  top:auto!important;
  bottom:7px!important;
  transform:translateX(-50%);
  white-space:nowrap;
  color:#f0c675;
}

.auth-page,
.auth-main{background:transparent}
.auth-brand{
  background:radial-gradient(circle at center,rgba(247,218,158,.72),rgba(133,73,19,.25));
  border-right:1px solid rgba(83,42,8,.24);
}
.auth-brand img{
  width:min(560px,80%);
  max-height:72vh;
  object-fit:contain;
  border-radius:0;
  box-shadow:none;
  filter:drop-shadow(0 12px 10px rgba(65,31,5,.24));background:transparent!important;
}
.auth-card{
  padding:32px;
  border:1px solid rgba(91,48,13,.28);
  border-radius:12px;
  background:rgba(255,244,218,.72);
  box-shadow:0 18px 40px rgba(72,35,7,.12);
  backdrop-filter:blur(5px);
}
.auth-card .field input{background:rgba(255,251,239,.82);border-color:rgba(102,58,19,.32)}

@media(max-width:850px){
  .rl-logo-image{width:92px;height:78px}
  .auth-main{padding:22px}
  .auth-card{padding:24px}
}

/* FULLSCREEN_PARCHMENT_BACKGROUND */
body,
body.rl-public,
body.app-body{
  background-color:#d5a85f!important;
  background-image:url('../images/fundo-papiro-real-final-20260711.png')!important;
  background-position:center center!important;
  background-repeat:no-repeat!important;
  background-size:cover!important;
  background-attachment:fixed!important;
}
.auth-page,.auth-main,.auth-brand,.app-main{background-color:transparent!important}
.auth-brand{background-image:none!important}
.rl-art-space{background:transparent!important}
@media(max-width:850px){body,body.rl-public,body.app-body{background-attachment:scroll!important;background-position:center top!important}}
.editor-workspace:fullscreen{background-color:#d5a85f!important;background-image:url('../images/fundo-papiro-real-final-20260711.png')!important;background-position:center!important;background-repeat:no-repeat!important;background-size:cover!important}
