/* Salão da Elda: editorial public experience and operational dashboard. */
@import url("https://fonts.googleapis.com/css2?family=DM+Sans:wght@400;500;600;700&family=Playfair+Display:ital,wght@400;500;600;1,400;1,500&display=swap");
:root {
  --surface: #fffdf9;
  --ink: #263b35;
  --muted: #788079;
  --line: #e8e5de;
  --bg: #f4f2ed;
  --gold: #a9834e;
  --forest: #1d3d34;
  --paper: #faf7f1;
}
body {
  font-family: "DM Sans", "Segoe UI", sans-serif;
}
button,
input,
select,
textarea {
  font: inherit;
}
button:focus-visible,
a:focus-visible,
input:focus-visible,
select:focus-visible {
  outline: 3px solid #b58f55;
  outline-offset: 3px;
}
/* Public */
.editorialhero {
  min-height: calc(100svh - 135px);
  position: relative;
  isolation: isolate;
  background: #20392e;
  grid-template-columns: 1fr;
  color: #fff9ee;
  overflow: hidden;
}
.editorialhero .herocopy {
  position: relative;
  z-index: 2;
  padding: clamp(50px, 8vw, 120px);
  max-width: 850px;
  background: linear-gradient(90deg, #152f27e8, #152f2799 72%, transparent);
}
.editorialhero .herocopy h1 {
  font-size: clamp(48px, 6vw, 90px);
  line-height: 1.07;
  font-weight: 400;
  letter-spacing: -0.045em;
}
.editorialhero .herocopy p {
  color: #f0e8db;
  max-width: 440px;
  font-size: 17px;
}
.editorialhero .kicker {
  color: #dec9a4;
}
.editorialhero .button {
  background: #f0e4cf;
  color: #193d32;
  border-color: #f0e4cf;
}
.editorialhero .signature {
  color: #e2cba5;
}
.editorialhero .heroimage {
  position: absolute;
  inset: 0;
  z-index: -1;
}
.editorialhero .heroimage img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 70% 38%;
  border-radius: 0;
}
.editorialhero .heroimage figcaption {
  display: none;
}
.premiumservices,
.specialistssection,
.gallerysection {
  padding: 85px max(6vw, 24px);
  max-width: 1500px;
  margin: auto;
}
.specialistssection {
  background: #f0ece4;
  border-radius: 3px;
}
.sectionhead {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 15px 60px;
  margin-bottom: 38px;
}
.sectionhead .kicker {
  grid-column: 1/-1;
}
.sectionhead h2 {
  margin: 0;
  font:
    400 clamp(36px, 4vw, 58px)/1.13 "Playfair Display",
    Georgia,
    serif;
  letter-spacing: -0.035em;
}
.sectionhead h2 em {
  font-weight: 400;
  color: #927651;
}
.sectionhead p {
  align-self: end;
  max-width: 450px;
  color: var(--muted);
}
.categorytabs {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  border-bottom: 1px solid var(--line);
  padding-bottom: 24px;
  margin-bottom: 28px;
}
.categorytabs button {
  border: 1px solid #ded6c9;
  padding: 12px 19px;
  border-radius: 30px;
  background: transparent;
  color: var(--ink);
  cursor: pointer;
}
.categorytabs button.selected {
  background: var(--forest);
  color: #fff;
  border-color: var(--forest);
}
.premiumServiceGrid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}
.premiumServiceGrid article {
  background: #fffdf9;
  border: 1px solid #e7e0d5;
  padding: 30px;
  min-height: 210px;
  border-radius: 3px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}
.premiumServiceGrid h3 {
  font:
    400 26px/1.3 "Playfair Display",
    Georgia,
    serif;
  margin: 18px 0 6px;
}
.premiumServiceGrid p {
  color: var(--muted);
}
.premiumServiceGrid button {
  margin-top: auto;
}
.categoryEmpty {
  grid-column: 1/-1;
  padding: 30px;
  background: #ffffff77;
  border: 1px dashed #d5cdbf;
  color: #67726b;
}
.professionalGrid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}
.professionalCard {
  background: #fffaf2;
  padding: 30px 22px;
  text-align: center;
  border: 1px solid #e2d9cc;
}
.portraitInitial {
  height: 95px;
  width: 95px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: #e4dccb;
  color: #66543c;
  font:
    35px "Playfair Display",
    Georgia;
  margin: auto;
}
.professionalCard h3 {
  font:
    26px "Playfair Display",
    Georgia;
  margin-bottom: 7px;
}
.professionalCard p {
  color: #69776e;
  font-size: 14px;
}
.professionalCard small {
  display: block;
  color: #82765f;
  margin: 15px 0;
  font-size: 12px;
}
.professionalCard button {
  font-size: 13px;
}
.editorialGallery {
  display: grid;
  grid-template-columns: 1.2fr 1fr 1fr;
  gap: 22px;
}
.editorialGallery figure {
  margin: 0;
}
.editorialGallery img {
  width: 100%;
  height: 390px;
  object-fit: cover;
}
.editorialGallery figure:nth-child(2) {
  padding-top: 45px;
}
.editorialGallery figcaption {
  padding: 14px 0;
  font-size: 13px;
  letter-spacing: 0.03em;
  color: #74796e;
}
.publicheader nav {
  gap: 20px;
}
.publicheader nav a {
  font-size: 13px;
}
.publicheader {
  padding-block: 18px;
}
/* Dashboard */
body:has(#content) {
  font-size: 14px;
}
body:has(#content) h1,
body:has(#content) h2 {
  font-family: "DM Sans", "Segoe UI", sans-serif;
  letter-spacing: -0.04em;
}
body:has(#content) h1 {
  font-size: 31px;
  font-weight: 500;
}
body:has(#content) aside {
  background: #19382f;
  width: 225px;
  padding: 30px 18px;
  overflow: auto;
}
body:has(#content) main {
  margin-left: 225px;
}
body:has(#content) header {
  background: var(--surface);
  padding: 22px 32px;
  border-bottom: 1px solid var(--line);
}
body:has(#content) #content {
  padding: 26px 32px;
}
.panel,
.stat,
.boardhead,
.times,
.board,
.calendar,
.chatbox,
dialog {
  background: var(--surface);
}
body:has(#content) .panel {
  border: 1px solid var(--line);
  border-radius: 14px;
  box-shadow: 0 5px 20px #33332204;
}
.stat {
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 23px;
}
.stat.accent {
  background: #1d3d34;
  color: #fbf7ef;
}
.stat b {
  font-size: 31px;
  font-weight: 500;
  letter-spacing: -0.04em;
}
.stat span {
  font-size: 12px;
}
.stat small {
  font-size: 10px;
}
.operationstats {
  display: flex;
  gap: 1px;
  background: var(--line);
  border: 1px solid var(--line);
  border-radius: 12px;
  overflow: hidden;
  margin: 0 0 25px;
}
.operationstats > div {
  background: var(--surface);
  flex: 1;
  padding: 17px 22px;
}
.operationstats span {
  display: block;
  font-size: 11px;
  color: var(--muted);
  margin-bottom: 7px;
}
.operationstats strong {
  font-size: 20px;
  font-weight: 500;
}
.scheduleFilters {
  display: flex;
  align-items: end;
  gap: 18px;
  background: var(--surface);
  padding: 16px 20px;
  border: 1px solid var(--line);
  border-radius: 12px;
  margin: 18px 0;
}
.scheduleFilters label {
  margin: 0;
  min-width: 180px;
  font-size: 11px;
}
.scheduleFilters select {
  margin-top: 5px;
  padding: 9px;
  font-size: 13px;
}
.scheduleFilters p {
  font-size: 12px;
  color: var(--muted);
  max-width: 330px;
  margin: 0 0 5px auto;
}
.board {
  border: 1px solid var(--line);
  border-radius: 12px;
}
.boardhead {
  position: sticky;
  top: 0;
  z-index: 3;
  font-size: 12px;
}
.event {
  border-radius: 8px;
  box-shadow: 0 2px 6px #00000008;
  font-size: 11px;
  cursor: grab;
}
.event:active {
  cursor: grabbing;
}
.event strong {
  font-size: 12px;
}
.event span,
.event small {
  font-size: 10px;
}
.event[draggable="false"] {
  cursor: pointer;
}
.dropTarget {
  background: #cfdfc5 !important;
  outline: 2px solid #769663 !important;
  z-index: 1;
}
.agendaLegend {
  padding-block: 10px;
  font-size: 10px;
  gap: 16px;
}
.emptyOperation {
  padding: 36px;
  text-align: center;
  border: 1px dashed #b6c4b3;
  background: var(--surface);
  border-radius: 14px;
  margin: 20px 0;
}
.emptyOperation > span {
  font-size: 30px;
  color: var(--gold);
}
.emptyOperation p {
  color: var(--muted);
}
.permissionFields table,
.permissionMatrix {
  font-size: 12px;
}
.headeractions {
  flex-wrap: wrap;
}
body:has(#content) button {
  border-radius: 8px;
}
body:has(#content) input,
body:has(#content) select,
body:has(#content) textarea {
  background: var(--surface);
  color: var(--ink);
  border: 1px solid var(--line);
  border-radius: 7px;
}
html[data-theme="dark"] {
  color-scheme: dark;
  --surface: #222d29;
  --ink: #f0eee5;
  --muted: #acb6ab;
  --line: #39483f;
  --bg: #19231e;
  --gold: #d8b97e;
}
html[data-theme="dark"] .secondary,
html[data-theme="dark"] .freeSquare,
html[data-theme="dark"] .toolbar,
html[data-theme="dark"] .day,
html[data-theme="dark"] .expense,
html[data-theme="dark"] .permissionFields {
  background: var(--surface);
  color: var(--ink);
}
html[data-theme="dark"] .event {
  background: #385143;
  color: #f4f7ee;
}
html[data-theme="dark"] .event.t1 {
  background: #5a4932;
  color: #fff6e7;
}
html[data-theme="dark"] .event.t2 {
  background: #374c65;
  color: #edf4ff;
}
html[data-theme="dark"] .event.t3 {
  background: #654451;
  color: #fff0f4;
}
html[data-theme="dark"] .event.block,
html[data-theme="dark"] .offhours {
  background: #39413c;
  color: #dce1d9;
}
html[data-theme="dark"] .stat.accent {
  background: #385544;
}
html[data-theme="dark"] .agendaLegend span {
  background: #2e3e35;
  color: #dbe7da;
}
html[data-theme="dark"] .note,
html[data-theme="dark"] small {
  color: var(--muted);
}
html[data-theme="dark"] .demo {
  background: #2c4435;
  color: #d3e6cb;
}
html[data-theme="dark"] .plain {
  color: var(--ink);
}
html[data-theme="dark"] th {
  background: #2b3930;
  color: var(--ink);
}
html[data-theme="dark"] td {
  border-color: var(--line);
}
@media (max-width: 1000px) {
  .publicheader nav {
    display: none;
  }
  .professionalGrid {
    grid-template-columns: repeat(2, 1fr);
  }
  .premiumServiceGrid {
    grid-template-columns: repeat(2, 1fr);
  }
  .scheduleFilters {
    flex-wrap: wrap;
  }
  .scheduleFilters p {
    margin: 0;
    width: 100%;
    max-width: 100%;
  }
  .operationstats {
    flex-wrap: wrap;
  }
  .operationstats > div {
    flex-basis: 40%;
  }
}
@media (max-width: 700px) {
  .sectionhead {
    grid-template-columns: 1fr;
  }
  .editorialhero .herocopy {
    padding: 50px 24px;
    background: linear-gradient(90deg, #152f27e8, #152f27b0);
  }
  .editorialhero .herocopy h1 {
    font-size: 54px;
  }
  .premiumservices,
  .specialistssection,
  .gallerysection {
    padding: 55px 24px;
  }
  .premiumServiceGrid,
  .professionalGrid {
    grid-template-columns: 1fr;
  }
  .editorialGallery {
    gap: 10px;
    grid-template-columns: 1fr 1fr;
  }
  .editorialGallery figure:last-child {
    grid-column: 1/-1;
  }
  .editorialGallery img {
    height: 240px;
  }
  .editorialGallery figure:nth-child(2) {
    padding-top: 25px;
  }
  .categorytabs button {
    font-size: 12px;
    padding: 10px 13px;
  }
  body:has(#content) aside {
    position: relative;
    width: auto;
    max-height: none;
    padding: 18px;
  }
  body:has(#content) main {
    margin: 0;
  }
  body:has(#content) header,
  body:has(#content) #content {
    padding: 20px 16px;
  }
  .scheduleFilters label {
    min-width: 0;
    flex: 1;
  }
  .operationstats > div {
    padding: 13px;
  }
  .headeractions {
    gap: 7px;
  }
  .headeractions button,
  .headeractions a {
    font-size: 11px;
  }
}
@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    transition-duration: 0.01ms !important;
  }
}
.editorialhero .heroimage {
  margin: 0;
}
.editorialhero .heroimage:before,
.editorialhero .photolabel,
.editorialhero .imagecaption {
  display: none;
}
.editorialhero .signature span {
  color: #e2d3b7;
}

.developerCredit {
  display: flex;
  align-items: center;
  gap: 12px;
  font: 10px Arial;
  opacity: 0.8;
  flex-wrap: wrap;
}
.developerCredit img {
  width: 120px;
  height: auto;
  background: white;
}
.developerCredit span {
  max-width: 170px;
}
body:has(#content) #content {
  min-width: 0;
}
body:has(#content) main {
  min-width: 0;
}
.panel {
  max-width: 100%;
  overflow-x: auto;
}
@media (max-width: 750px) {
  body:has(#content) aside {
    width: auto;
    position: relative;
  }
  body:has(#content) main {
    margin-left: 0;
    padding: 0;
  }
  .toolbar {
    gap: 8px;
    flex-wrap: wrap;
  }
  .toolbar input {
    max-width: 100%;
  }
  .stats {
    min-width: 0;
  }
  .stat {
    min-width: 0;
  }
  .stat b {
    font-size: clamp(19px, 6vw, 27px);
    overflow-wrap: anywhere;
  }
  .headeractions {
    width: 100%;
  }
  dialog {
    max-width: calc(100vw - 20px);
    padding: 18px;
  }
  .inline {
    flex-wrap: wrap;
  }
  .inline > label {
    min-width: 0;
    flex: 1;
  }
  .scheduleFilters label {
    min-width: 130px;
  }
  .chatinput {
    flex-wrap: wrap;
  }
  .permissionFields {
    min-width: 0;
  }
  .permissionMatrix {
    display: block;
    overflow-x: auto;
  }
  button,
  input,
  select {
    min-height: 44px;
  }
  .lane button {
    min-height: 0;
  }
  .board {
    overscroll-behavior-x: contain;
  }
  .developerCredit {
    width: 100%;
  }
}

input[type="checkbox"],
input[type="radio"] {
  min-height: 20px;
  min-width: 20px;
  width: 20px;
  height: 20px;
  accent-color: #2e6551;
}
.teamaccess { display:inline-flex; align-items:center; gap:7px; min-height:44px; padding:8px 10px; color:var(--forest); font-size:13px; text-decoration:none; border-radius:6px; white-space:nowrap; }
.teamaccess:hover { background:#ebe7de; }
.teamaccess:focus-visible { outline:2px solid var(--forest); outline-offset:3px; }
.publicaccessnote { font-size:14px; }
.slotlegend { display:flex; flex-wrap:wrap; gap:18px; font-size:12px; color:var(--ink); }
.slotlegend span { display:inline-flex; align-items:center; gap:7px; }
.slotlegend i { width:13px; height:13px; border:1px solid var(--line); border-radius:3px; background:white; }
.slotlegend i.chosen { background:var(--forest); border-color:var(--forest); }
.slotguidance { font-size:12px; line-height:1.6; margin:10px 0 18px; }
@media(max-width:600px) { .teamaccess { margin-left:auto; } .publicheader > .button { display:none; } }
.check {
  min-height: 44px;
}
