/**
 * The Wealth Events — Typography Option 1
 * UI: Lato
 * Editorial/display: Cormorant Garamond
 * Loaded last so legacy workspace styles cannot re-introduce cold/robotic UI fonts.
 */
:root{
  --twe-sans:"Lato",Arial,Helvetica,sans-serif;
  --twe-ui:"Lato",Arial,Helvetica,sans-serif;
  --twe-serif:"Cormorant Garamond",Georgia,"Times New Roman",serif;
  --twe-display:"Cormorant Garamond",Georgia,"Times New Roman",serif;
}

body[class*="twe-"]{
  --twe-sans:"Lato",Arial,Helvetica,sans-serif!important;
  --twe-ui:"Lato",Arial,Helvetica,sans-serif!important;
  --twe-serif:"Cormorant Garamond",Georgia,"Times New Roman",serif!important;
  --twe-display:"Cormorant Garamond",Georgia,"Times New Roman",serif!important;
  font-family:var(--twe-ui)!important;
  font-kerning:normal;
  text-rendering:optimizeLegibility;
}

/* Functional interface text stays warm, readable, and human. */
body[class*="twe-"] :is(
  button,input,select,textarea,option,label,legend,summary,
  p,li,td,th,small,a,strong,b,
  .twe-btn,.button,.btn,
  [class*="label"],[class*="meta"],[class*="badge"],[class*="pill"],[class*="status"],
  [class*="tab"],[class*="filter"],[class*="nav"],[class*="menu"],[class*="control"],
  [class*="stat"],[class*="metric"],[class*="count"],[class*="field"],[class*="form"]
){
  font-family:var(--twe-ui)!important;
}

/* Major branded/editorial headings only. */
body[class*="twe-"] :is(h1,h2,.twe-section-title,.twe-display-heading,.editorial-heading),
body[class*="twe-"] :is(h1,h2,.twe-section-title,.twe-display-heading,.editorial-heading) *{
  font-family:var(--twe-display)!important;
}
body[class*="twe-"] [class*="hero"] :is(h1,h2),
body[class*="twe-"] [class*="section-heading"] :is(h1,h2),
body[class*="twe-"] [class*="section-head"] :is(h1,h2),
body[class*="twe-"] [class*="intro"] > :is(h1,h2){
  font-family:var(--twe-display)!important;
}

/* UI headings should not inherit a dramatic serif just because they are headings. */
body[class*="twe-"] :is(
  .card-title,.panel-title,.modal-title,.dialog-title,.drawer-title,.workspace-title,
  .twe-room-element-label,.twe-room-element-meta,
  .twe-seating-toolbox-head strong,.twe-seating-guests-head strong,
  .twe-selection-toolbar strong,.twe-room-planner-controls strong,
  [class*="card"] h3,[class*="panel"] h3,[class*="modal"] h3,[class*="dialog"] h3
){
  font-family:var(--twe-ui)!important;
  letter-spacing:-.01em!important;
}

/* Buttons: sentence case, confident but not blocky. */
body[class*="twe-"] :is(button,.twe-btn,.button,.btn,input[type="submit"],input[type="button"]){
  font-family:var(--twe-ui)!important;
  font-weight:700!important;
  letter-spacing:-.01em!important;
  text-transform:none;
}

/* Form controls and dropdowns. */
body[class*="twe-"] :is(input,select,textarea,option){
  font-family:var(--twe-ui)!important;
  font-weight:400;
  letter-spacing:0!important;
}
body[class*="twe-"] select{
  font-weight:700!important;
}

/* Kill the old cold micro-label treatment without erasing intentional section hierarchy. */
body[class*="twe-"] :is(
  .twe-eyebrow,.twe-control-kicker,
  [class*="eyebrow"],[class*="kicker"],
  [class*="stat-label"],[class*="meta-label"],[class*="field-label"],
  [class*="registered-through"] > span,
  [class*="attribution"] label > span
){
  font-family:var(--twe-ui)!important;
  font-weight:700!important;
  letter-spacing:.065em!important;
}

/* Most functional labels read better in sentence case. */
body[class*="twe-"] :is(
  .twe-room-planner-settings>label>span,
  .twe-room-manage-actions>span,
  .twe-row-builder>label>span,
  .twe-seating-inspector label>span,
  .twe-catering-fields label>span,
  .twe-vendor-fields label>span,
  .twe-checkin-attribution label>span
){
  text-transform:none!important;
  letter-spacing:.02em!important;
  font-weight:700!important;
}

/* Event-day / check-in labels from the screenshots: warmer and easier to scan. */
body.twe-checkin-site :is(
  .twe-eyebrow,
  .twe-checkin-stats span,
  .twe-checkin-attribution span,
  .twe-checkin-attribution summary,
  [class*="registered-through"],
  [class*="attribution"]
){
  font-family:var(--twe-ui)!important;
  letter-spacing:.045em!important;
}
body.twe-checkin-site .twe-checkin-stats strong{
  font-family:var(--twe-ui)!important;
  font-weight:900!important;
  letter-spacing:-.025em!important;
}

/* Seating / hospitality workspace should feel like a modern app, not a typeset form. */
body.twe-seating-site :is(
  .twe-room-tab,.twe-room-element-picker-toggle,.twe-room-add,
  .twe-room-manage-actions,.twe-row-builder,.twe-selection-toolbar,
  .twe-seating-guests-panel,.twe-seating-inspector,.twe-seating-toolbox
){
  font-family:var(--twe-ui)!important;
}
body.twe-seating-site .twe-row-builder-copy strong{
  font-family:var(--twe-display)!important;
  font-weight:600!important;
}

/* Reduce gratuitous tracking platform-wide while preserving intentional eyebrow styling. */
body[class*="twe-"] :is(
  [class*="badge"],[class*="status"],
  [class*="stat"] span,[class*="metric"] span,[class*="summary"] span
){
  letter-spacing:.035em;
}

/* Explicitly neutralize legacy Arial/Inter declarations on common UI surfaces. */
body[class*="twe-"] :is(
  header,nav,main,aside,footer,section,article,form,fieldset,
  .twe-container,.twe-card,.twe-panel,.twe-workspace,.twe-toolbar
){
  --twe-sans:"Lato",Arial,Helvetica,sans-serif!important;
  --twe-serif:"Cormorant Garamond",Georgia,"Times New Roman",serif!important;
}


/* v1.23.20 — Check-in attribution dropdown contrast */
body.twe-checkin-site .twe-attribution-picker-menu{
  background:#fffdf9!important;
  border:1px solid #d7c7b5!important;
  box-shadow:0 18px 42px rgba(37,19,43,.22)!important;
}
body.twe-checkin-site .twe-attribution-picker-option{
  background:#fffdf9!important;
  color:#2d1b34!important;
  border:1px solid #eadfce!important;
  border-radius:12px!important;
  font-family:var(--twe-ui)!important;
  font-weight:700!important;
  letter-spacing:0!important;
}
body.twe-checkin-site .twe-attribution-picker-option > span{
  color:#2d1b34!important;
  font:inherit!important;
}
body.twe-checkin-site .twe-attribution-picker-option:hover,
body.twe-checkin-site .twe-attribution-picker-option:focus-visible,
body.twe-checkin-site .twe-attribution-picker-option.is-keyboard-active{
  background:#f5ead6!important;
  color:#2d1b34!important;
  border-color:#caa25e!important;
  box-shadow:0 0 0 2px rgba(202,162,94,.18)!important;
}
body.twe-checkin-site .twe-attribution-picker-option.is-selected{
  background:#ead19a!important;
  color:#24182a!important;
  border-color:#b98836!important;
  font-weight:800!important;
}
body.twe-checkin-site .twe-attribution-picker-option.is-selected > span{
  color:#24182a!important;
}
body.twe-checkin-site .twe-attribution-picker-option > b{
  background:#35163f!important;
  color:#fff!important;
}
body.twe-checkin-site .twe-attribution-picker-button{
  background:#fff!important;
  color:#2d1b34!important;
  border-color:#7d2f91!important;
}
body.twe-checkin-site .twe-attribution-picker-button > span{
  color:#2d1b34!important;
}
