:root {
  color-scheme: dark;
  --page-base: #080f20;
  --surface-base: #101b30;
  --raised-base: #14233b;
  --field-base: #0b1527;
  --tint: var(--dark-tint, #080f20);
  --tint-strength: 0%;
  --canvas: color-mix(in srgb, var(--page-base), var(--tint) var(--tint-strength));
  --surface: color-mix(in srgb, var(--surface-base), var(--tint) var(--tint-strength));
  --raised: color-mix(in srgb, var(--raised-base), var(--tint) var(--tint-strength));
  --field: color-mix(in srgb, var(--field-base), var(--tint) var(--tint-strength));
  --ink: #f0f5fc;
  --muted: #a7b7d1;
  --line: #2a3b57;
  --control-line: #546b8c;
  --blue: var(--dark-accent, #7db4ff);
  --mint: var(--dark-secondary, #64dfb3);
  --gold: var(--dark-tertiary, #ffc067);
  --positive: #a1f1cb;
  --warning: #ffd296;
  --negative: #ffc0ac;
  --shadow: #02071166;
  --chrome: color-mix(in srgb, var(--surface) 25%, var(--canvas));
  --accent-wash: color-mix(in srgb, var(--blue) 13%, var(--raised));
  --secondary-wash: color-mix(in srgb, var(--mint) 11%, var(--raised));
  --photo-ink: #f0f5fc;
  --photo-muted: #d3def0;
  --photo-bg: var(--cover-bg, #102344);
  --focus: var(--gold);
  --on-primary: #071627;
  --spectrum: linear-gradient(100deg, #135ddf, #00a39b 30%, #23b24a 51%, #e8c113 77%, #ff700b);
  --headline-spectrum: linear-gradient(100deg, #7bbaff, #5de0be 36%, #b9e75b 64%, #ffc354 82%, #ff8e4c);
  --radius: 18px;
  --gutter: clamp(16px, 4vw, 50px);
  --frame: 1280px;
  font: 16px/1.55 "Segoe UI Variable Text", "Segoe UI", system-ui, sans-serif;
}

:root, .palette-option[data-palette="tumia"] {
  --primary-fill: linear-gradient(105deg, #63c4ff, #62e4ac 54%, #f8ce65);
}
:root[data-mode="light"] {
  color-scheme: light;
  --page-base: #f2ede5;
  --surface-base: #fcf9f3;
  --raised-base: #eee7db;
  --field-base: #fdfbf7;
  --tint: var(--light-tint, #f2ede5);
  --ink: #22212e;
  --muted: #554f5c;
  --line: #d3cabc;
  --control-line: #82766c;
  --blue: var(--light-accent, #134982);
  --mint: var(--light-secondary, #156148);
  --gold: var(--light-tertiary, #825015);
  --positive: #17563e;
  --warning: #704515;
  --negative: #942f3b;
  --shadow: #3e302523;
  --headline-spectrum: linear-gradient(100deg, #104c8e, #126951 47%, #82461e);
}
:root[data-palette]:not([data-palette="tumia"]) {
  --tint-strength: 42%;
  --spectrum: var(--primary-fill);
  --headline-spectrum: linear-gradient(100deg, var(--blue), var(--mint) 48%, var(--gold));
}
:root[data-palette="oceano"], .palette-option[data-palette="oceano"] {
  --dark-tint: #0b3348;
  --light-tint: #d2eaf4;
  --cover-bg: #0b293c;
  --dark-accent: #88d1ff;
  --dark-secondary: #7ce6de;
  --dark-tertiary: #b7d4ff;
  --light-accent: #174e7d;
  --light-secondary: #0e5b5a;
  --light-tertiary: #364d81;
  --primary-fill: linear-gradient(105deg, #84c9ff, #7be6dc 54%, #acc8ff);
}
:root[data-palette="jardim"], .palette-option[data-palette="jardim"] {
  --dark-tint: #1e3829;
  --light-tint: #dcebd8;
  --cover-bg: #192e26;
  --dark-accent: #b5e38e;
  --dark-secondary: #81e0b7;
  --dark-tertiary: #e6ce8e;
  --light-accent: #39551f;
  --light-secondary: #165842;
  --light-tertiary: #694d19;
  --primary-fill: linear-gradient(105deg, #b8e591, #8cdfb6 54%, #ead197);
}
:root[data-palette="lavanda"], .palette-option[data-palette="lavanda"] {
  --dark-tint: #392650;
  --light-tint: #e8def5;
  --cover-bg: #2b2142;
  --dark-accent: #cbb7ff;
  --dark-secondary: #f0b9e2;
  --dark-tertiary: #a8c9ff;
  --light-accent: #533782;
  --light-secondary: #753e68;
  --light-tertiary: #314e83;
  --primary-fill: linear-gradient(105deg, #c6b2ff, #edb6e4 54%, #afd0ff);
}
:root[data-palette="por-do-sol"], .palette-option[data-palette="por-do-sol"] {
  --dark-tint: #502823;
  --light-tint: #f8ded1;
  --cover-bg: #392427;
  --dark-accent: #ffb89a;
  --dark-secondary: #ffb4d2;
  --dark-tertiary: #f2d17f;
  --light-accent: #833b29;
  --light-secondary: #7f3656;
  --light-tertiary: #755017;
  --primary-fill: linear-gradient(105deg, #ffae89, #ffafd2 54%, #f7d58a);
}

* { box-sizing: border-box; }
[hidden] { display: none !important; }
body { margin: 0; background: var(--canvas); color: var(--ink); min-height: 100vh; }
main { min-height: 55vh; }
p { margin: 0; }
h1, h2, h3 { margin: 0; line-height: 1.12; letter-spacing: -.04em; }
a { color: inherit; }
small { color: var(--muted); }
img { display: block; max-width: 100%; }
button, input, textarea, select { font: inherit; }
button, a, input { -webkit-tap-highlight-color: transparent; }
:focus-visible { outline: 3px solid var(--focus); outline-offset: 4px; }
section[id], h2[id] { scroll-margin-top: 24px; }
output { display: block; margin-top: 12px; color: var(--gold); overflow-wrap: anywhere; }
output:empty { display: none; }

.frame { width: min(var(--frame), calc(100% - 2 * var(--gutter))); margin-inline: auto; }
.icon-library { position: absolute; pointer-events: none; }
.icon { width: 20px; height: 20px; flex: none; fill: none; stroke: currentColor; stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; }
.icon-tile { display: grid; place-items: center; width: 44px; height: 44px; flex: none; border: 1px solid color-mix(in srgb, var(--tone) 28%, transparent); border-radius: 12px; color: var(--tone); background: color-mix(in srgb, var(--tone) 10%, var(--surface)); }
.tone-blue { --tone: var(--blue); }
.tone-mint { --tone: var(--mint); }
.tone-gold { --tone: var(--gold); }
.signal { display: inline-block; flex: none; width: 8px; height: 8px; border-radius: 50%; background: var(--mint); box-shadow: 0 0 0 4px color-mix(in srgb, var(--mint) 17%, transparent); }
.eyebrow { color: var(--blue); font-size: .69rem; letter-spacing: .15em; font-weight: 750; }
.skip-link { position: fixed; z-index: 10; top: 10px; left: 10px; transform: translateY(-150%); padding: 10px 14px; border-radius: 9px; background: var(--gold); color: var(--canvas); }
.skip-link:focus { transform: none; }

button, .action {
  display: inline-flex;
  justify-content: center;
  align-items: center;
  gap: 10px;
  min-height: 44px;
  padding: 10px 15px;
  border: 1px solid var(--control-line);
  border-radius: 10px;
  color: var(--ink);
  background: var(--raised);
  font-weight: 700;
  font-size: .88rem;
  line-height: 1.3;
  text-align: center;
  text-decoration: none;
  cursor: pointer;
  transition: background-color .18s ease, border-color .18s ease, filter .18s ease;
}
button:hover:not(:disabled), .action:hover { border-color: var(--blue); background-color: var(--accent-wash); }
button:disabled { border-color: var(--line); background: var(--raised); color: var(--muted); cursor: default; }
.primary {
  background: var(--primary-fill);
  border-color: transparent;
  color: var(--on-primary);
}
.primary:hover:not(:disabled) { filter: brightness(1.1); }
.muted, .quiet { background: var(--field); }

/* Global navigation */
.site-header { position: relative; z-index: 1; border-bottom: 1px solid var(--line); background: var(--chrome); }
.topbar { min-height: 73px; display: flex; align-items: center; justify-content: space-between; gap: clamp(8px,1.5vw,18px); }
.topbar-actions { position: relative; display: flex; align-items: center; gap: 8px; min-width: 0; }
.brand { display: inline-flex; align-items: center; min-height: 44px; width: 127px; flex: none; color: var(--muted); }
.brand svg { display: block; width: 100%; height: auto; }
.topbar nav { display: flex; align-items: center; gap: clamp(12px, 2vw, 34px); }
.topbar nav a { display: inline-flex; align-items: center; gap: 8px; min-height: 44px; color: var(--ink); font-size: .9rem; font-weight: 650; text-decoration: none; }
.topbar nav a:hover, .footer-inner > a:last-child:hover { color: var(--mint); }
.workspace-nav .icon { width: 16px; height: 16px; color: var(--blue); }
.workspace-nav a[aria-current="page"] { color: var(--mint); }
.workspace-label { display: inline-flex; align-items: center; gap: 10px; color: var(--muted); font-size: .79rem; font-weight: 650; }
.workspace-label .signal { width: 6px; height: 6px; }
.workspace-ready .workspace-label { display: none; }
.profile-menu { position: relative; min-width: 0; z-index: 3; }
.profile-menu summary { list-style: none; display: flex; gap: 9px; align-items: center; min-height: 44px; padding: 4px 8px 4px 4px; border: 1px solid var(--line); border-radius: 12px; background: var(--surface); cursor: pointer; }
.profile-menu summary::-webkit-details-marker { display: none; }
.profile-menu summary > span:nth-child(2) { display: grid; min-width: 0; }
.profile-menu summary small { font-size: .59rem; font-weight: 750; letter-spacing: .12em; line-height: 1.3; }
.profile-menu summary strong { max-width: 160px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; font-size: .85rem; }
.profile-menu summary > .icon { width: 13px; height: 13px; color: var(--blue); }
.profile-avatar { display: grid; place-items: center; width: 35px; height: 35px; flex: none; overflow: hidden; border-radius: 10px; background: var(--primary-fill); color: var(--on-primary); font-size: .82rem; font-weight: 800; }
.profile-avatar img { width: 100%; height: 100%; object-fit: cover; }
.public-avatar { width: 66px; height: 66px; margin-top: 14px; border: 1px solid var(--control-line); border-radius: 16px; }
.profile-dropdown, .appearance-panel { position: absolute; top: calc(100% + 8px); right: 0; width: min(234px, calc(100vw - 2 * var(--gutter))); padding: 6px; border: 1px solid var(--control-line); border-radius: 13px; background: var(--surface); box-shadow: 0 16px 34px var(--shadow); }
.profile-dropdown a, .profile-dropdown button { display: flex; align-items: center; justify-content: space-between; width: 100%; min-height: 40px; padding: 9px 10px; border: 0; border-radius: 7px; background: transparent; color: var(--ink); text-decoration: none; text-align: left; font-size: .86rem; }
.profile-dropdown a:hover, .profile-dropdown button:hover { background: var(--accent-wash); }
.profile-dropdown .icon { width: 15px; height: 15px; color: var(--blue); }
.profile-dropdown #logout { border-top: 1px solid var(--line); border-radius: 0 0 7px 7px; color: var(--gold); }
.nav-action { background: var(--raised); padding-inline: 16px; }
.nav-action .icon { width: 16px; height: 16px; color: var(--blue); }
.appearance-control { display: grid; width: 44px; height: 44px; padding: 0; place-items: center; border: 1px solid var(--control-line); border-radius: 11px; background: var(--surface); color: var(--blue); cursor: pointer; list-style: none; }
.appearance-control::-webkit-details-marker { display: none; }
.appearance-control:hover, .appearance-menu[open] > summary { border-color: var(--blue); background: var(--accent-wash); }
#theme-toggle { color: var(--gold); }
.theme-moon, [data-mode="light"] .theme-sun { display: none; }
[data-mode="light"] .theme-moon { display: block; }
.appearance-panel { z-index: 4; display: grid; gap: 3px; padding: 9px; }
#appearance-title { margin: 4px 7px 5px; color: var(--muted); font-size: .76rem; font-weight: 750; }
.palette-option { display: grid; grid-template-columns: 30px minmax(0,1fr) 17px; justify-items: start; padding: 6px 8px; border-color: transparent; background: transparent; text-align: left; }
.palette-option[aria-pressed="true"] { border-color: var(--line); background: var(--accent-wash); }
.palette-option .icon { width: 17px; height: 17px; visibility: hidden; color: var(--blue); }
.palette-option[aria-pressed="true"] .icon { visibility: visible; }
.palette-swatch { width: 29px; height: 23px; border: 1px solid var(--control-line); border-radius: 7px; background: var(--primary-fill); }
body:not(.has-landing) .topbar .site-nav, body:not(.has-landing) .nav-action,
.has-landing .topbar .workspace-nav, .has-landing .workspace-label,
.public-catalog .topbar .workspace-nav, .public-catalog .workspace-label,
[data-server] body:not(.workspace-ready) .topbar .workspace-nav,
[data-server] body:not(.workspace-ready) .workspace-label { display: none; }

/* Vitrine e apresentação */
.landing { background: radial-gradient(ellipse 780px 540px at 77% 16%, var(--accent-wash), transparent 77%); }
.landing-hero {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.06fr);
  gap: clamp(28px, 5vw, 77px);
  align-items: center;
  padding-block: clamp(57px, 8vw, 111px) clamp(68px, 8.7vw, 125px);
}
.hero-kicker {
  display: inline-flex;
  align-items: center;
  gap: 11px;
  padding: 6px 12px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: var(--raised);
  color: var(--ink);
  font-size: .72rem;
  font-weight: 750;
  letter-spacing: .08em;
  text-transform: uppercase;
}
.landing h1 { margin-block: 24px 22px; font-size: clamp(3.25rem, 5.4vw, 5.25rem); font-weight: 800; line-height: .99; letter-spacing: -.075em; }
.landing h1 em {
  color: var(--mint);
  font-style: normal;
  background: var(--headline-spectrum);
  background-clip: text;
  -webkit-text-fill-color: transparent;
}
.hero-description { max-width: 37ch; color: var(--muted); font-size: clamp(1rem, 1.5vw, 1.23rem); }
.hero-note { margin-top: 13px; color: var(--muted); font-size: .81rem; }
.landing-actions { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 28px; }
.landing-actions .action { min-height: 51px; padding-inline: 17px; }
.landing-actions .quiet { border-color: var(--control-line); }
.landing-actions .quiet .icon { width: 17px; height: 17px; color: var(--blue); }
.showcase { position: relative; min-width: 0; margin: 0; isolation: isolate; }
.showcase::before { content: ""; position: absolute; z-index: -1; inset: 17% -9px -9px 11%; border: 1px solid var(--line); border-radius: 24px; }
.showcase-photo { position: relative; overflow: hidden; border: 1px solid var(--control-line); border-radius: 24px; box-shadow: 0 26px 56px var(--shadow); }
.showcase-photo img { width: 100%; height: auto; aspect-ratio: 1.37; object-fit: cover; object-position: 50% 51%; }
.showcase-photo::after { content: ""; position: absolute; inset: 46% 0 0; background: linear-gradient(transparent, #050c1aeb); pointer-events: none; }
.showcase-label, .showcase-caption, .showcase-date { position: absolute; z-index: 1; }
.showcase-label {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  top: 18px;
  left: 18px;
  padding: 6px 10px;
  border: 1px solid #a1c5ff55;
  border-radius: 999px;
  background: #080f20e8;
  color: #d8e7fb;
  font-size: .72rem;
  font-weight: 700;
}
.showcase-label .icon { width: 13px; height: 13px; }
.showcase-caption { display: grid; left: 23px; bottom: 28px; gap: 3px; color: var(--photo-ink); }
.showcase-caption span { color: var(--photo-muted); font-size: .65rem; font-weight: 750; letter-spacing: .13em; }
.showcase-caption strong { font-size: clamp(1.35rem, 2.5vw, 2rem); line-height: 1.05; letter-spacing: -.04em; }
.showcase-date {
  display: flex;
  align-items: center;
  gap: 11px;
  right: -12px;
  bottom: -29px;
  padding: 11px 14px 11px 11px;
  border: 1px solid var(--control-line);
  border-radius: 15px;
  background: var(--surface);
  box-shadow: 0 16px 34px var(--shadow);
}
.showcase-date .icon-tile { width: 39px; height: 39px; }
.showcase-date div { display: grid; min-width: 0; }
.showcase-date strong { font-size: .83rem; line-height: 1.3; }
.showcase-date small { font-size: .72rem; }
.date-check { width: 17px; height: 17px; margin-left: 4px; color: var(--mint); }
.feature-band { background: var(--surface); border-block: 1px solid var(--line); }
.feature-grid, .workflow-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); }
.feature-grid article { display: flex; align-items: start; gap: 14px; padding: 26px clamp(12px, 2.4vw, 35px); }
.feature-grid article:first-child { padding-left: 0; }
.feature-grid article + article { border-left: 1px solid var(--line); }
.feature-grid h2 { font-size: 1rem; margin: 1px 0 5px; letter-spacing: -.012em; }
.feature-grid p, .workflow-card p { color: var(--muted); font-size: .9rem; }
.workflow { padding-block: clamp(62px, 8vw, 104px); }
.workflow-heading { display: flex; justify-content: space-between; align-items: end; gap: 24px; margin-bottom: 25px; }
.workflow h2 { font-size: clamp(2.15rem, 4.3vw, 4rem); letter-spacing: -.068em; }
.workflow-heading .eyebrow { margin-bottom: 9px; }
.workflow-heading > p { max-width: 28ch; color: var(--muted); }
.workflow-grid { gap: 15px; }
.workflow-card {
  min-width: 0;
  padding: clamp(17px, 2.4vw, 30px);
  border: 1px solid var(--line);
  border-top-color: color-mix(in srgb, var(--tone) 65%, var(--line));
  border-radius: var(--radius);
  background: radial-gradient(ellipse at top right, color-mix(in srgb, var(--tone) 12%, var(--surface)), var(--surface) 70%);
}
.step-top { display: flex; align-items: center; justify-content: space-between; color: var(--tone); margin-bottom: 24px; }
.step-top span { font-size: .76rem; font-weight: 800; letter-spacing: .13em; font-variant-numeric: tabular-nums; }
.step-top .icon { width: 26px; height: 26px; }
.workflow-card h3 { margin-bottom: 6px; font-size: 1.21rem; }
.membership {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr);
  gap: clamp(22px, 5vw, 67px);
  align-items: center;
  margin-bottom: clamp(46px, 8vw, 95px);
  padding: clamp(22px, 4.7vw, 57px);
  border: 1px solid var(--line);
  border-radius: 23px;
  background: radial-gradient(ellipse at 96% 10%, var(--secondary-wash), transparent 65%), var(--surface);
}
.membership-copy h2 { margin-block: 10px 14px; font-size: clamp(2rem, 4vw, 3.4rem); letter-spacing: -.061em; }
.membership-copy p:not(.eyebrow), .membership-steps p { color: var(--muted); }
.membership-copy .action { margin-top: 21px; }
.membership-steps > div { display: flex; align-items: start; gap: 12px; padding: 12px 0; border-bottom: 1px solid var(--line); }
.membership-steps h3 { margin-block: 2px 4px; font-size: 1.01rem; letter-spacing: -.015em; }
.membership-steps p { font-size: .88rem; }
.membership-steps .membership-note { margin-top: 13px; font-size: .77rem; }

/* Acesso */
.access {
  display: grid;
  grid-template-columns: 1fr 1fr;
  overflow: hidden;
  max-width: 1040px;
  margin-bottom: clamp(46px, 8vw, 102px);
  border: 1px solid var(--line);
  border-radius: 23px;
  background: var(--surface);
  box-shadow: 0 20px 55px var(--shadow);
}
.signed-out:not(.has-landing) .access { margin-top: clamp(36px, 8vw, 90px); }
.access-cover {
  display: flex;
  align-items: end;
  min-height: 320px;
  padding: clamp(24px, 4.2vw, 56px);
  color: var(--photo-ink);
  background: linear-gradient(180deg, transparent 18%, color-mix(in srgb, var(--photo-bg) 91%, transparent) 79%, var(--photo-bg)), url("tumia-vitrine.webp") 48% 48% / cover var(--photo-bg);
}
.access-cover .eyebrow { color: #b5d5ff; }
.cover-title { margin-top: 11px; font-size: clamp(2rem, 4.4vw, 3.7rem); font-weight: 800; line-height: 1.02; letter-spacing: -.062em; }
.access-content { padding: clamp(24px, 4.4vw, 55px); }
.access-content h2 { font-size: clamp(1.75rem, 3vw, 2.55rem); margin-bottom: 8px; }
.access-content > p { color: var(--muted); }
#account-form { display: grid; gap: 11px; margin-top: 19px; }
#slug-help { margin-top: -5px; }
#account-submit, #account-switch, .google-entry { width: 100%; }
#account-switch { margin-top: 10px; }
.google-entry { margin-top: 22px; }
.google-entry svg { width: 20px; height: 20px; }
.access-divider { display: flex; align-items: center; gap: 12px; margin-top: 16px; color: var(--muted); font-size: .78rem; }
.access-divider::before, .access-divider::after { content: ""; flex: 1; border-top: 1px solid var(--line); }
.google-entry[hidden] + .access-divider { display: none; }
.subscription-gate { max-width: 790px; margin-block: clamp(30px, 7vw, 90px); padding: clamp(22px, 4.6vw, 55px); border: 1px solid var(--line); border-radius: 23px; background: radial-gradient(ellipse at 100% 0%, var(--accent-wash), var(--surface) 70%); }
.subscription-gate .eyebrow { margin-top: 16px; }
.subscription-gate h1 { margin-block: 6px 13px; font-size: clamp(2rem, 4.5vw, 3.4rem); }
.subscription-gate p:not(.eyebrow) { max-width: 52ch; color: var(--muted); }
.site-footer { background: var(--chrome); border-top: 1px solid var(--line); }
.footer-inner { min-height: 81px; display: flex; align-items: center; gap: 18px; color: var(--muted); font-size: .84rem; }
.footer-inner .brand { width: 95px; }
.footer-inner > a:last-child { margin-left: auto; display: inline-flex; align-items: center; gap: 5px; text-decoration: none; min-height: 44px; }
.footer-inner > a:last-child .icon { width: 14px; height: 14px; }

/* Painel e catálogo público */
.workspace { padding-block: 27px 69px; }
.workspace-breadcrumb { display: flex; align-items: center; gap: 9px; margin-bottom: 16px; color: var(--muted); font-size: .84rem; }
.workspace-breadcrumb a { color: var(--blue); text-decoration: none; font-weight: 700; }
.workspace-breadcrumb span::before { content: "/"; margin-right: 9px; color: var(--muted); }
.workspace .hero {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  padding: clamp(25px, 4.1vw, 51px);
  border: 1px solid var(--line);
  border-radius: 23px;
  color: var(--photo-ink);
  background: var(--photo-bg);
  --focus: #ffc067;
}
.workspace .hero::before {
  content: "";
  position: absolute;
  z-index: -1;
  inset: 0 0 0 30%;
  background: linear-gradient(90deg, var(--photo-bg), color-mix(in srgb, var(--photo-bg) 74%, transparent) 43%, transparent 89%), url("tumia-vitrine.webp") 50% 49% / cover;
}
.workspace .hero::after { content: ""; position: absolute; inset: auto 0 0; height: 3px; background: var(--spectrum); }
.workspace-hero-copy { max-width: 68%; }
.workspace-kicker { display: flex; align-items: center; gap: 11px; color: #b2cefa; text-transform: uppercase; }
.workspace .hero h1 { margin-block: 13px 10px; font-size: clamp(2.25rem, 5.1vw, 4.6rem); font-weight: 780; overflow-wrap: anywhere; letter-spacing: -.066em; }
.workspace-description { max-width: 46ch; color: var(--photo-muted); }
.hero-actions, #account-bar { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; }
.hero-actions { margin-top: 22px; }
.hero-actions .icon { width: 16px; height: 16px; }
.hero-image-label { position: absolute; bottom: 16px; right: 17px; padding: 3px 9px; border-radius: 999px; color: #cedbf0; background: #080f20e8; font-size: .67rem; }
.workspace-stats { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; margin: 16px 0 23px; padding: 0; list-style: none; }
.workspace-stats li {
  display: flex;
  align-items: center;
  gap: 12px;
  min-width: 0;
  padding: 15px 17px;
  border: 1px solid var(--line);
  border-radius: 13px;
  background: var(--surface);
}
.workspace-stats li div { display: grid; gap: 1px; }
.workspace-stats strong { font-size: 1.52rem; line-height: 1.1; font-variant-numeric: tabular-nums; }
.workspace-stats li div span { color: var(--muted); font-size: .81rem; line-height: 1.3; }
.admin-panel { margin-bottom: 17px; }
.admin-panel > p { margin-block: 11px 14px; color: var(--muted); }
.admin-row { display: flex; justify-content: space-between; align-items: center; gap: 15px; padding: 12px 0; border-top: 1px solid var(--line); }
.admin-account { display: grid; justify-items: start; min-width: 0; gap: 4px; overflow-wrap: anywhere; }
.admin-row form, .admin-actions { display: flex; align-items: end; flex-wrap: wrap; gap: 9px; }
.admin-row input { width: 155px; max-width: 100%; }
#admin-more { margin-top: 10px; }
.rental-flow { display: grid; grid-template-columns: minmax(0, 1fr); gap: 20px; }
.rental-summary { display: grid; gap: 16px; }
.box, .module-card {
  min-width: 0;
  padding: clamp(16px, 2.2vw, 25px);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--surface);
}
.box h2, .section-title h2, .modules h2 { font-size: clamp(1.25rem, 2.3vw, 1.7rem); }
.section-heading, .period-heading { display: flex; gap: 12px; align-items: center; min-width: 0; }
.section-heading .eyebrow { margin-bottom: 4px; }
.period-box { display: grid; grid-template-columns: minmax(0,1fr) minmax(0,1fr); align-items: center; gap: 15px; background: linear-gradient(125deg, var(--accent-wash), var(--surface) 75%); }
.period-heading h2 { margin-bottom: 3px; }
.period-heading small { font-size: .79rem; }
.date-fields { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
#period-feedback { grid-column: 1 / -1; margin: 0; color: var(--negative); }
.date-fields [aria-invalid="true"] { border-color: var(--negative); }
.rental-calendar { grid-column: 1 / -1; display: grid; gap: 12px; width: min(100%, 650px); justify-self: center; padding: clamp(10px, 2vw, 18px); border: 1px solid var(--line); border-radius: 14px; background: var(--surface); }
.rental-calendar-header, .rental-calendar-actions { display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 9px; }
.rental-calendar-header p, .rental-calendar-actions p { color: var(--muted); font-size: .83rem; }
.rental-calendar-header p { margin-top: 4px; }
.rental-calendar-nav { display: grid; grid-template-columns: 44px minmax(0, 1fr) 44px; align-items: center; width: min(100%, 246px); gap: 6px; }
.rental-calendar-nav button { padding: 0; font-size: 1.12rem; }
.rental-calendar-nav strong { text-align: center; font-size: .84rem; text-transform: capitalize; }
.agenda-calendar.rental-calendar-grid { gap: clamp(2px, 1vw, 6px); margin: 0; }
.rental-calendar-grid > small { font-size: .69rem; }
.rental-day { position: relative; min-height: 44px; font-variant-numeric: tabular-nums; }
.rental-day[data-state="free"], .rental-legend-dot[data-state="free"] { border-color: color-mix(in srgb, var(--positive) 34%, var(--line)); background: color-mix(in srgb, var(--positive) 10%, var(--field)); }
.rental-day[data-state="closed"], .rental-legend-dot[data-state="closed"], .calendar-day.agenda-blocked { border-color: color-mix(in srgb, var(--negative) 45%, var(--line)); background: repeating-linear-gradient(135deg, var(--field) 0 5px, color-mix(in srgb, var(--negative) 17%, var(--field)) 5px 7px); }
.rental-day[data-state="stock"], .rental-legend-dot[data-state="stock"] { border: 1px dashed var(--warning); background: color-mix(in srgb, var(--warning) 9%, var(--field)); }
.rental-day:disabled { color: var(--muted); }
.rental-day:is([data-state="closed"],[data-state="stock"]) { text-decoration: line-through; }
.rental-day:is([data-state="past"],[data-state="before-start"]) { opacity: .58; }
.rental-day[data-in-range="true"]:not(:disabled) { background: var(--accent-wash); border-color: var(--blue); }
.rental-day[aria-pressed="true"]:not(:disabled) { border-color: var(--blue); background: var(--accent-wash); box-shadow: inset 0 0 0 1px var(--blue); color: var(--ink); font-weight: 800; }
.rental-day[aria-current="date"]::after { content: ''; position: absolute; bottom: 5px; left: calc(50% - 2px); width: 4px; height: 4px; border-radius: 50%; background: currentColor; }
.rental-calendar-legend { display: flex; flex-wrap: wrap; gap: 6px 12px; padding-top: 8px; border-top: 1px solid var(--line); color: var(--muted); font-size: .76rem; }
.rental-calendar-legend > span { display: inline-flex; align-items: center; gap: 5px; }
.rental-legend-dot { flex: none; width: 13px; height: 13px; border: 1px solid var(--line); border-radius: 4px; }
.section-title { display: flex; justify-content: space-between; align-items: end; gap: 10px; margin: 24px 0 12px; }
.section-title .eyebrow, .modules .eyebrow { margin-bottom: 4px; }
.badge {
  display: inline-flex;
  padding: 4px 10px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: var(--raised);
  color: var(--blue);
  font-size: .73rem;
  font-weight: 750;
  white-space: nowrap;
}
.grid, .module-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
.catalog-heading { margin-top: 27px; margin-bottom: 17px; }
.catalog-heading h2 { font-size: clamp(1.75rem, 3.5vw, 2.65rem); }
.catalog-heading-actions { display: flex; align-items: center; flex-wrap: wrap; justify-content: end; gap: 9px; }
.catalog-heading-actions .action { background: var(--raised); }
.catalog-heading-actions .icon { width: 16px; height: 16px; color: var(--mint); }
#catalog { grid-template-columns: repeat(3,minmax(0,1fr)); column-gap: clamp(12px,2vw,21px); align-items: start; }
#catalog.has-offers { grid-auto-rows: 8px; grid-auto-flow: dense; row-gap: 0; }
.product-card { display: flex; flex-direction: column; min-width: 0; border: 1px solid var(--line); border-radius: 19px; background: linear-gradient(160deg, var(--raised), var(--surface) 69%); box-shadow: 0 14px 27px var(--shadow); }
.product-card.selected { border-color: var(--mint); }
.product-card:hover { border-color: var(--control-line); }
.product-card.selected:hover { border-color: var(--mint); }
.product-media { overflow: hidden; border-radius: 18px 18px 0 0; }
.art {
  display: grid;
  place-content: center;
  justify-items: center;
  gap: 7px;
  aspect-ratio: 4 / 3;
  background: radial-gradient(ellipse at 50% 42%, var(--accent-wash), var(--raised) 67%, var(--surface));
  overflow: hidden;
}
.kit .art { background: radial-gradient(ellipse at 50% 42%, var(--secondary-wash), var(--raised) 67%, var(--surface)); }
.placeholder-icon { display: grid; place-items: center; width: 58px; height: 58px; border: 1px solid var(--control-line); border-radius: 18px; color: var(--blue); background: var(--accent-wash); }
.placeholder-icon .icon { width: 28px; height: 28px; }
.art.has-photo { display: block; aspect-ratio: auto; }
.photo-open { display: block; width: 100%; min-height: 0; padding: 0; border: 0; border-radius: 0; background: transparent; }
.photo-open:not(.photo-loaded) { aspect-ratio: 4 / 3; }
.photo-open:hover { background-color: var(--raised); }
.photo-open:focus-visible { outline-offset: -5px; }
.photo-open img { width: 100%; height: auto; }
.product-meta { display: flex; align-items: center; justify-content: space-between; min-height: 24px; gap: 5px; margin-bottom: 7px; }
.product-kind { display: inline-flex; align-items: center; gap: 6px; color: var(--blue); font-size: .69rem; font-weight: 790; letter-spacing: .075em; text-transform: uppercase; }
.product-kind::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: currentColor; }
.kit .product-kind { color: var(--mint); }
.photo-control { position: relative; display: inline-flex; align-items: center; gap: 7px; min-height: 40px; padding: 7px 9px; border: 1px solid var(--control-line); border-radius: 9px; background: var(--raised); color: var(--blue); cursor: pointer; font-size: .74rem; }
.photo-control .icon { width: 16px; height: 16px; }
.photo-control:focus-within { outline: 3px solid var(--gold); outline-offset: 2px; }
.photo-control input { position: absolute; inset: 0; min-height: 0; opacity: 0; cursor: pointer; }
.offer-page .catalog-flow { display: flex; flex-direction: column; gap: 15px; }
.offer-page .offer-back { order: -2; align-self: start; margin-bottom: 0; }
.offer-detail { order: -1; }
.public-catalog .offer-detail { order: 0; }
.offer-back { display: inline-flex; align-items: center; min-height: 40px; margin-bottom: 9px; color: var(--blue); font-weight: 700; text-decoration: none; }
.offer-layout { display: grid; grid-template-columns: minmax(0,1.55fr) minmax(0,1fr); align-items: start; overflow: hidden; border: 1px solid var(--line); border-radius: 19px; background: var(--surface); }
.offer-stage { min-width: 0; background: var(--raised); color: var(--muted); }
.offer-stage:has(img) img { width: 100%; height: auto; }
.offer-stage:not(:has(img)) { display: grid; min-height: 190px; place-items: center; }
.offer-info { display: grid; justify-items: start; gap: 10px; padding: clamp(20px,4vw,42px); }
.offer-info h1 { font-size: clamp(1.85rem,4.5vw,3.45rem); overflow-wrap: anywhere; }
.offer-info > p:not(.eyebrow) { color: var(--muted); overflow-wrap: anywhere; }
.offer-price { display: grid; margin-block: 4px; }
.offer-price strong { font-size: clamp(1.43rem,3vw,2.1rem); }
.offer-stock-form { margin-top: 5px; }
#offer-order-label input { max-width: 130px; }
html:not([data-server]) .server-photo { display: none; }
.server-photo small { font-weight: 400; }
input[type="file"]::file-selector-button { margin-right: 8px; padding: 5px 8px; border: 1px solid var(--control-line); border-radius: 6px; background: var(--raised); color: var(--ink); cursor: pointer; }
.product-content { flex: 1; display: flex; flex-direction: column; min-width: 0; padding: clamp(15px, 2vw, 21px); }
.product-card h3 { margin: 0 0 5px; overflow-wrap: anywhere; font-size: clamp(1.24rem, 2vw, 1.6rem); }
.product-card h3 a { text-decoration: none; }
.product-card h3 a:hover { color: var(--mint); }
.product-pieces { color: var(--muted); font-size: .81rem; overflow-wrap: anywhere; margin-bottom: 9px; }
.product-pieces:empty { display: none; }
.product-price-row { margin-top: auto; padding-top: 10px; display: flex; align-items: end; justify-content: space-between; flex-wrap: wrap; gap: 7px; }
.product-price-row > div { display: grid; align-content: center; line-height: 1.3; }
.product-price-row small { font-size: .72rem; }
.product-price { font-size: 1.23rem; font-weight: 800; }
.product-content button, .product-content .offer-dates { width: 100%; margin-top: 12px; overflow-wrap: anywhere; }
.offer-stock-note { margin-top: 9px; color: var(--warning); font-size: .84rem; overflow-wrap: anywhere; }
.select-product { border-color: var(--control-line); color: var(--mint); background: var(--secondary-wash); }
.availability { padding: 4px 8px; border: 1px solid var(--line); border-radius: 999px; background: var(--raised); color: var(--muted); font-size: .71rem; overflow-wrap: anywhere; }
.availability.available, .calendar-day.occupied { color: var(--positive); background: color-mix(in srgb, var(--positive) 12%, var(--surface)); border-color: color-mix(in srgb, var(--positive) 38%, var(--line)); }
.availability.unavailable { color: var(--warning); background: color-mix(in srgb, var(--warning) 12%, var(--surface)); border-color: color-mix(in srgb, var(--warning) 38%, var(--line)); }
.empty-state { grid-column: 1 / -1; padding: 16px; border: 1px dashed var(--line); border-radius: 11px; color: var(--muted); font-size: .88rem; }
.catalog-selection-bar { display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 10px; margin-top: 14px; padding: 10px 13px; border: 1px solid var(--line); border-radius: 12px; background: var(--secondary-wash); }
.catalog-selection-bar .icon { width: 15px; height: 15px; }

label { display: grid; min-width: 0; gap: 5px; color: var(--ink); font-size: .86rem; font-weight: 650; }
input, textarea, select {
  width: 100%;
  min-width: 0;
  min-height: 44px;
  padding: 8px 10px;
  border: 1px solid var(--control-line);
  border-radius: 9px;
  background: var(--field);
  color: var(--ink);
  font-size: 1rem;
}
textarea { resize: vertical; }
input::placeholder { color: var(--muted); }
input[type="date"] { padding-inline: 9px; }
#selection { margin-block: 16px 12px; padding: 10px 11px; border: 1px solid var(--line); border-radius: 9px; background: var(--field); color: var(--muted); font-size: .85rem; overflow-wrap: anywhere; }
#quote { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: 12px; }
.quote-actions { grid-column: 1 / -1; display: flex; flex-wrap: wrap; gap: 8px; margin-top: 2px; }
#contract { border-top: 3px solid var(--mint); }
#contract .eyebrow { color: var(--mint); margin-bottom: 3px; }
#contract dl { display: grid; grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr); column-gap: 11px; font-size: .87rem; }
#contract dt, #contract dd { margin: 0; padding: 8px 0; border-top: 1px solid var(--line); overflow-wrap: anywhere; }
#contract dt { font-weight: 700; }
#contract dd { color: var(--muted); }
.agenda-panel, .stock-panel, #cadastro, .modules { margin-top: 18px; }
.panel-heading-actions { display: flex; align-items: end; justify-content: space-between; gap: 12px; flex-wrap: wrap; }
.stock-panel > p { margin-block: 11px 12px; color: var(--muted); }
.stock-list { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 9px; margin: 0; padding: 0; list-style: none; }
.stock-list li { display: flex; align-items: center; justify-content: space-between; gap: 10px; min-width: 0; padding: 10px 12px; border: 1px solid var(--line); border-radius: 10px; background: var(--field); }
.stock-list li div { min-width: 0; display: grid; overflow-wrap: anywhere; }
.stock-adjust { justify-self: start; color: var(--blue); font-size: .78rem; margin-top: 4px; }
.module-note { color: var(--muted); font-size: .84rem; overflow-wrap: anywhere; }
.agenda-month-controls, .finance-filters, .studio-controls { display: flex; flex-wrap: wrap; align-items: end; gap: 8px; }
.agenda-month-controls button { padding-inline: 12px; font-size: 1.15rem; }
.agenda-layout { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: clamp(14px,3vw,26px); margin-top: 18px; }
.agenda-calendar { display: grid; grid-template-columns: repeat(7,minmax(0,1fr)); gap: 5px; margin-bottom: 10px; }
.agenda-calendar > small { text-align: center; font-size: .73rem; }
.calendar-day { display: grid; min-width: 0; min-height: 45px; padding: 4px 2px; align-content: center; justify-items: center; border: 1px solid var(--line); border-radius: 8px; background: var(--field); font-size: .83rem; font-variant-numeric: tabular-nums; }
.calendar-day.occupied { font-weight: 700; }
.calendar-day[aria-pressed="true"] { border-color: var(--blue); box-shadow: inset 0 0 0 1px var(--blue); background: var(--accent-wash); }
.calendar-day small { color: inherit; font-size: .65rem; }
.agenda-booking { display: grid; justify-items: start; gap: 8px; margin-top: 10px; padding: 13px; border: 1px solid var(--line); border-radius: 12px; background: var(--field); overflow-wrap: anywhere; }
.agenda-booking h4 { margin: 0; font-size: 1.04rem; }
.agenda-milestones { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); width: 100%; gap: 5px; margin: 3px 0; }
.agenda-milestones > div { min-width: 0; padding: 6px; border-radius: 7px; background: var(--surface); font-size: clamp(.65rem,2vw,.79rem); }
.agenda-milestones > div.active { color: var(--mint); }
.agenda-milestones dt { color: var(--muted); }
.agenda-milestones dd { margin: 0; font-variant-numeric: tabular-nums; }
#agenda-export { margin-top: 10px; }
.agenda-blocks { margin-top: 15px; }
.agenda-block-form { display: flex; align-items: end; flex-wrap: wrap; gap: 9px; width: 100%; }
.agenda-block-form .date-fields { flex: 1 1 270px; }
#agenda-block-list { width: 100%; }
.agenda-block-row { display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 8px; padding: 8px 0; border-top: 1px solid var(--line); }
.entry { display: flex; justify-content: space-between; align-items: center; gap: 12px; padding: 13px 0; border-top: 1px solid var(--line); overflow-wrap: anywhere; }
.entry > div > div { color: var(--muted); font-size: .86rem; }
.entry button { flex: none; }
#cadastro > p { margin-block: 12px 17px; color: var(--muted); }
.editor { display: grid; align-content: start; justify-items: start; gap: 11px; padding: clamp(13px, 2vw, 19px); border: 1px solid var(--line); border-radius: 12px; background: var(--field); }
.editor h3 { margin-bottom: 3px; }
.editor > label, .editor fieldset { width: 100%; }
.editor fieldset { min-width: 0; margin: 0; padding: 8px 11px; border: 1px solid var(--control-line); border-radius: 9px; }
.editor legend { color: var(--muted); font-size: .8rem; }
.profile-panel { margin-top: 18px; }
.profile-panel > p, .public-about { margin-block: 11px 16px; color: var(--muted); overflow-wrap: anywhere; }
.profile-fields, .profile-form { display: grid; gap: 13px; }
.profile-fields { grid-template-columns: repeat(2,minmax(0,1fr)); }
.profile-form > button { justify-self: start; }
.whatsapp-profile { margin-top: 18px; }
.whatsapp-actions { display: flex; flex-wrap: wrap; gap: 8px; }
.payment-preference, .public-request-actions { display: flex; flex-wrap: wrap; align-items: end; gap: 8px 15px; }
.payment-preference { margin-top: 15px; }
.payment-preference output { flex-basis: 100%; }
#kit-pieces label { display: flex; align-items: center; min-height: 34px; gap: 9px; overflow-wrap: anywhere; }
.kit-part { display: grid; grid-template-columns: minmax(0,1fr) minmax(60px,80px); align-items: center; gap: 8px; margin: 6px 0; }
input[type="checkbox"] { width: 17px; min-height: 17px; margin: 0; flex: none; accent-color: var(--mint); }
.module-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); margin-top: 12px; }
.module-grid h3 { margin-bottom: 5px; font-size: 1rem; }
.module-grid p { color: var(--muted); font-size: .85rem; }
.module-card { display: grid; align-content: start; gap: 5px; text-decoration: none; background: radial-gradient(ellipse at top right,color-mix(in srgb,var(--tone) 12%,var(--surface)),var(--surface) 72%); }
.module-card .icon-tile { margin-bottom: 7px; }
.module-card:hover { border-color: var(--tone); }
.finance-totals { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: 8px; margin-block: 16px; }
.finance-totals > div { display: grid; gap: 2px; min-width: 0; padding: 12px; border: 1px solid var(--line); border-radius: 11px; background: radial-gradient(ellipse at top right,color-mix(in srgb,var(--tone) 11%,var(--field)),var(--field) 76%); overflow-wrap: anywhere; }
.finance-totals small { color: var(--muted); }
.finance-totals strong { font-size: clamp(1.02rem,2vw,1.36rem); }
.finance-quick { grid-template-columns: minmax(0,1fr) auto; align-items: end; margin-bottom: 10px; }
.finance-form { grid-template-columns: repeat(3,minmax(0,1fr)); }
.finance-form h3, .finance-form output, .finance-description, .finance-quick output, .finance-linked { grid-column: 1 / -1; }
.finance-linked { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; color: var(--mint); font-size: .85rem; }
.finance-insights { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 12px; margin-block: 16px; }
.finance-insights .editor { min-width: 0; }
#finance-bookings, #finance-categories { width: 100%; }
.finance-line { display: grid; justify-items: start; gap: 5px; padding-block: 9px; border-top: 1px solid var(--line); overflow-wrap: anywhere; }
.finance-line p { margin: 0; }
.finance-category { display: grid; grid-template-columns: minmax(0,1fr) auto; gap: 5px 8px; padding-block: 8px; font-size: .86rem; }
.finance-category progress { grid-column: 1 / -1; width: 100%; height: 10px; accent-color: var(--gold); }
.finance-history { margin-bottom: 10px; }
.finance-filters { align-items: end; }
.finance-entry .entry-actions { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; }
.money-in { color: var(--positive); }
.money-out { color: var(--negative); }
.studio-grid { display: grid; gap: 12px; margin-top: 14px; }
.studio-grid p { color: var(--muted); font-size: .88rem; }
.studio-composer { grid-template-columns: minmax(0, .9fr) minmax(0, 1.3fr); align-items: start; justify-items: stretch; gap: clamp(14px,3vw,28px); }
.studio-fields, .studio-preview { display: grid; min-width: 0; gap: 11px; }
.studio-preview { margin: 0; }
.studio-preview figcaption { display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 8px; color: var(--muted); font-size: .8rem; }
.studio-toggle { display: flex; align-items: center; gap: 9px; }
#studio-combinations { display: grid; grid-template-columns: repeat(auto-fit,minmax(min(100%,230px),1fr)); width: 100%; gap: 8px; }
#studio-combinations .empty-state { grid-column: 1 / -1; }
.studio-combination { display: grid; gap: 7px; padding: 10px; border: 1px solid var(--line); border-radius: 10px; background: var(--surface); overflow-wrap: anywhere; }
.studio-combination button { justify-self: start; }
.studio-thumbnails { display: flex; gap: 7px; }
.studio-thumbnails > div { display: grid; flex: 1; min-width: 0; min-height: 60px; max-height: 145px; place-items: center; overflow: hidden; border-radius: 8px; background: var(--field); }
.studio-thumbnails img { display: block; width: 100%; height: 100%; max-height: 145px; object-fit: contain; }
.studio-thumbnails span { padding: 8px; color: var(--muted); font-size: .76rem; }
.studio-controls { width: 100%; }
.studio-controls label { flex: 1 1 170px; min-width: 0; }
.mockup-stage { display: block; width: 100%; height: auto; border: 1px solid var(--line); border-radius: 13px; background: #243650; }
.public-catalog .workspace-stats { display: none; }
.catalog-error { max-width: 680px; margin-block: 32px; }
.catalog-error p { margin-top: 8px; color: var(--muted); }
.public-request > p { margin-block: 10px; color: var(--muted); }
#public-selection { padding: 10px 12px; border: 1px solid var(--line); border-radius: 9px; background: var(--field); overflow-wrap: anywhere; }
#public-selection-feedback { margin: 0 0 10px; color: var(--warning); }
.public-catalog .workspace .hero { padding-block: clamp(35px, 5vw, 73px); }
.public-catalog .rental-flow { margin-top: 18px; }

@media (max-width: 1020px) {
  .landing-hero { gap: 27px; }
  .landing h1 { font-size: clamp(3rem, 6.2vw, 5rem); }
  .showcase-caption { bottom: 47px; }
}
@media (max-width: 790px) {
  .landing-hero { grid-template-columns: minmax(0, 1fr); gap: 28px; padding-block: 43px 55px; }
  .landing h1 { font-size: clamp(3.1rem, 9.9vw, 5.15rem); }
  .showcase { width: min(100%, 620px); margin: 0 auto; }
  .showcase-photo img { aspect-ratio: 1.55; }
  .showcase-caption { bottom: 28px; }
  .showcase-date { right: 11px; }
  .feature-grid article { flex-direction: column; gap: 8px; }
  .access { grid-template-columns: minmax(0, .9fr) minmax(0, 1fr); }
  .membership { grid-template-columns: minmax(0, 1fr); }
  .workspace-hero-copy { max-width: 83%; }
  #catalog { grid-template-columns: repeat(2,minmax(0,1fr)); }
  .period-box { grid-template-columns: minmax(0,1fr); }
  .finance-form { grid-template-columns: repeat(2,minmax(0,1fr)); }
}
@media (max-width: 880px) {
  .private-workspace.workspace-ready .site-header { position: sticky; top: 0; }
  .private-workspace.workspace-ready section[id], .private-workspace.workspace-ready h2[id] { scroll-margin-top: 112px; }
  .topbar { min-height: 63px; gap: 5px 10px; flex-wrap: wrap; }
  .topbar .site-nav { display: none; }
  .topbar .workspace-nav { order: 1; flex: 1 0 100%; border-top: 1px solid var(--line); justify-content: space-between; gap: 8px; }
  .topbar nav a { font-size: .79rem; gap: 6px; }
  .brand { width: 107px; }
  .profile-menu summary strong { max-width: 112px; }
}
@media (max-width: 460px) {
  .topbar-actions { gap: 6px; }
  .profile-menu summary { width: 44px; justify-content: center; padding: 4px; }
  .profile-menu summary > span:nth-child(2) { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); }
  .profile-menu summary > .icon { display: none; }
  .workspace-label { display: none; }
}
@media (max-width: 540px) {
  .profile-fields { grid-template-columns: minmax(0, 1fr); }
  .workspace-label { font-size: .7rem; }
  .landing-hero { padding-top: 32px; }
  .hero-kicker { font-size: .61rem; letter-spacing: .06em; }
  .landing h1 { margin-block: 16px 13px; font-size: clamp(2.7rem, 11vw, 3.75rem); }
  .landing-actions { margin-top: 21px; }
  .landing-actions .action { min-height: 46px; padding-inline: 11px; font-size: .8rem; }
  .landing-actions .icon { width: 15px; height: 15px; }
  .showcase-photo, .showcase::before { border-radius: 17px; }
  .showcase-label { left: 10px; top: 10px; font-size: .65rem; }
  .showcase-caption { left: 13px; bottom: 18px; }
  .showcase-caption strong { font-size: 1.18rem; }
  .showcase-caption span { font-size: .57rem; }
  .showcase-date { right: 8px; bottom: -36px; gap: 8px; padding: 7px 9px; }
  .showcase-date .icon-tile { width: 31px; height: 31px; border-radius: 8px; }
  .showcase-date .icon { width: 16px; height: 16px; }
  .showcase-date strong { font-size: .73rem; }
  .showcase-date small { font-size: .65rem; }
  .feature-grid, .workflow-grid, .access { grid-template-columns: minmax(0, 1fr); }
  .module-grid { grid-template-columns: repeat(2,minmax(0,1fr)); }
  .feature-grid article { flex-direction: row; gap: 12px; padding: 14px 0; }
  .feature-grid article + article { border-left: 0; border-top: 1px solid var(--line); }
  .feature-grid .icon-tile { width: 37px; height: 37px; border-radius: 10px; }
  .workflow-heading { display: grid; gap: 10px; }
  .access-cover { min-height: 183px; background-position: center 54%; }
  .footer-inner { flex-wrap: wrap; gap: 0 12px; padding-block: 10px; }
  .footer-inner > span { flex: 1; line-height: 1.3; }
  .footer-inner > a:last-child { margin-left: 0; }
  .workspace { padding-top: 16px; }
  .workspace .hero { padding: 21px 17px 36px; }
  .workspace .hero::before { inset: 0; background-image: linear-gradient(90deg, color-mix(in srgb, var(--photo-bg) 96%, transparent), color-mix(in srgb, var(--photo-bg) 76%, transparent)), url("tumia-vitrine.webp"); }
  .workspace-hero-copy { max-width: none; }
  .hero-actions { margin-top: 16px; }
  #account-bar { gap: 6px; }
  #account-bar .action, #account-bar button { padding-inline: 9px; font-size: .78rem; }
  .hero-image-label { bottom: 9px; right: 10px; }
  .workspace-stats { gap: 7px; margin-block: 11px 16px; }
  .workspace-stats li { flex-direction: column; align-items: start; gap: 6px; padding: 9px; }
  .workspace-stats .icon-tile { width: 31px; height: 31px; border-radius: 8px; }
  .workspace-stats .icon-tile .icon { width: 16px; height: 16px; }
  .workspace-stats li div span { font-size: .72rem; }
  .workspace-stats strong { font-size: 1.33rem; }
  .editor { justify-items: stretch; }
  .admin-row { align-items: start; flex-direction: column; }
  #cadastro .grid { grid-template-columns: minmax(0, 1fr); }
  #catalog { grid-template-columns: minmax(0,1fr); }
  #quote { grid-template-columns: minmax(0,1fr); }
  .stock-list, .offer-layout, .studio-composer, .agenda-layout, .finance-insights, .finance-quick { grid-template-columns: minmax(0,1fr); }
  .finance-totals { grid-template-columns: repeat(2,minmax(0,1fr)); }
  .catalog-heading-actions .badge { display: none; }
  .quote-actions > button { width: 100%; }
  .entry { align-items: start; flex-direction: column; }
}
@media (max-width: 360px) {
  .topbar .brand { width: 95px; }
  .nav-action { padding-inline: 10px; }
  .nav-action .icon { display: none; }
  .landing-actions .action { flex: 1 0 100%; }
  .grid { grid-template-columns: minmax(0, 1fr); }
  .workspace-nav .icon { display: none; }
  .showcase-caption { bottom: 22px; }
  .finance-form { grid-template-columns: minmax(0,1fr); }
  .calendar-day small { font-size: .57rem; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { transition: none !important; }
}
@media print {
  body { color-scheme: light; --ink: #101010; --muted: #333; --line: #ccc; }
  body, #contract { background: white; color: var(--ink); }
  body > :not(main), main > :not(.workspace), .workspace > :not(#contract), #contract button { display: none !important; }
  .workspace { display: block; width: 100%; padding: 0; }
  #contract { border: 0; padding: 0; }
  #contract .eyebrow { color: var(--muted); }
}
