:root { font-family: Inter, system-ui, sans-serif; color: #19231e; background: #f8f8f3; }
* { box-sizing: border-box; }
body { margin: 0; }
header { min-height: 76px; background: #ebdf15; display: flex; align-items: center; justify-content: space-between; padding: 12px max(20px, calc((100vw - 900px) / 2)); font-weight: 650; gap: 14px; }
.brand { position: relative; width: 155px; height: 32px; overflow: hidden; flex: none; }
.brand img { position: absolute; width: 200px; left: -22px; top: -84px; }
main { max-width: 940px; padding: 40px 20px 64px; margin: auto; }
h1 { font-size: clamp(2rem, 5vw, 3.6rem); letter-spacing: -.055em; margin: 0; }
fieldset { border: 0; padding: 0; margin: 28px 0; min-width: 0; }
legend { font-weight: 750; padding: 0; margin-bottom: 10px; }
#plans { display: grid; grid-template-columns: repeat(auto-fit, minmax(135px, 1fr)); gap: 12px; }
label { display: grid; gap: 6px; margin-bottom: 12px; }
.plan { background: white; border: 1px solid #ccd4d1; border-radius: 12px; padding: 14px; cursor: pointer; margin: 0; }
.plan:has(:checked) { outline: 2px solid #087797; background: #eaf8fb; }
.plan input { justify-self: start; }
.plan strong { font-size: 1.3rem; }
input:not([type=radio]) { font: inherit; width: min(100%, 480px); padding: 11px; min-height: 44px; border: 1px solid #8c9993; border-radius: 8px; }
.option { display: flex; align-items: center; min-height: 44px; margin: 0; }
button { min-height: 44px; background: #172824; color: white; border: 0; padding: 12px 22px; border-radius: 8px; font: inherit; cursor: pointer; }
:focus-visible { outline: 3px solid #087797; outline-offset: 3px; }
[hidden] { display: none !important; }
select, textarea { font: inherit; width: min(100%, 480px); padding: 11px; border: 1px solid #8c9993; border-radius: 8px; }
article { background: white; padding: 16px; margin-bottom: 12px; border-radius: 12px; }
article button { margin: 0 8px 8px 0; }
.workspace { display: flex; align-items: flex-start; gap: 24px; }
.workspace-content { flex: 1; min-width: 0; }
#distribution { flex: 0 0 205px; display: grid; gap: 5px; padding: 15px; background: white; border: 1px solid #dde1d9; border-radius: 12px; }
#distribution a { padding: 10px; color: inherit; text-decoration: none; border-radius: 8px; }
#distribution a[aria-current] { background: #ebdf15; font-weight: 700; }
#filters { display: grid; grid-template-columns: repeat(auto-fit, minmax(130px, 1fr)); gap: 10px; padding: 14px; margin-bottom: 18px; background: #eaf8fb; border-radius: 12px; }
#filters label:first-child { grid-column: 1 / -1; }
#filters input, #filters select { width: 100%; }
.catalog-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 190px), 1fr)); gap: 14px; }
.catalog-grid article { min-width: 0; margin: 0; border: 1px solid #dde1d9; overflow-wrap: anywhere; }
.release-cover { display: block; width: 100%; aspect-ratio: 1; object-fit: cover; border-radius: 8px; margin-bottom: 10px; background: #edf3f3; }
.release-status { display: inline-block; border-radius: 20px; padding: 5px 10px; font-size: .85rem; font-weight: 700; background: #fff2a9; }
.release-status[data-status="publicado"], .release-status[data-status="cadastrado"] { background: #d7f5e1; }
.release-status[data-status="recusado"] { background: #fce2e2; }
@media (max-width: 640px) {
  .workspace { display: block; }
  #distribution { margin-bottom: 16px; }
}
#terms-content { white-space: pre-wrap; margin-block: 12px; }

.public-site header a { color: #172824; }
.public-site main { max-width: 1100px; }
.public-hero { background: #ebdf15; padding: clamp(24px, 7vw, 78px); border-radius: 22px; margin-bottom: 50px; }
.public-hero h1 { max-width: 720px; }
.public-hero p { max-width: 460px; font-size: 1.1rem; line-height: 1.5; }
.public-button { display: inline-flex; align-items: center; justify-content: center; min-height: 44px; padding: 10px 18px; background: #172824; color: white; border-radius: 8px; font-weight: 700; text-decoration: none; }
.public-plans { display: grid; grid-template-columns: repeat(auto-fit, minmax(190px, 1fr)); gap: 14px; }
.public-plans article { border: 1px solid #dde1d9; margin: 0; padding: 20px; }
.public-price { font-size: 1.65rem; font-weight: 750; margin: 0; }
.public-steps { margin-top: 44px; }
.public-steps li { margin-bottom: 12px; }
.public-plans article { display: flex; flex-direction: column; align-items: flex-start; }
.public-plans ul { padding-inline-start: 19px; margin: 0 0 22px; }
.public-plans li { margin-block: 7px; }
.public-plans .public-button { margin-top: auto; }
