:root {
  --paper:#f6f3eb;
  --ink:#242720;
  --muted:#75766d;
  --line:#deddd3;
  --red:#9f3b2e;
  --cream:#e9debf;
  --serif:'Libre Caslon Display',Georgia,serif;
  --sans:'DM Sans',Arial,sans-serif;
  color-scheme:light;
}

* {
  box-sizing:border-box;
}

body {
  margin:0;
  background:var(--paper);
  color:var(--ink);
  font-family:var(--sans);
  font-size:14px;
}

button,input,select,textarea {
  font:inherit;
}

button,a,input,select,textarea {
  -webkit-tap-highlight-color:transparent;
}

button {
  cursor:pointer;
}

button {
  transition:background .15s,color .15s;
}

button:disabled {
  opacity:.55;
  cursor:wait;
}

button:focus-visible,a:focus-visible {
  outline:3px solid #bb7654;
  outline-offset:4px;
}

[hidden] {
  display:none!important;
}

a {
  color:inherit;
  text-decoration:none;
}

h1,h2,p {
  margin-top:0;
}

h1,h2 {
  font-family:var(--serif);
  font-weight:400;
}

h1 {
  font-size:52px;
  letter-spacing:-1.5px;
  line-height:1.06;
  margin-bottom:16px;
}

h2 {
  font-size:30px;
  margin-bottom:12px;
}

em {
  font-weight:400;
}

p {
  line-height:1.7;
}

.muted {
  color:var(--muted);
}

.eyebrow {
  font-size:10px;
  font-weight:700;
  letter-spacing:2px;
  display:block;
  margin-bottom:17px;
}

.accent {
  color:var(--red);
}

.wordmark {
  font-family:Georgia,serif;
  font-weight:bold;
  font-size:28px;
  line-height:1.05;
  letter-spacing:-1.3px;
}

.wordmark>span:not(.brand-sub) {
  color:var(--red);
  margin:0 5px;
}

.brand-sub {
  display:block;
  letter-spacing:2px;
  font:8px var(--sans);
  margin-top:15px;
}

.primary,.secondary {
  display:inline-flex;
  justify-content:center;
  align-items:center;
  gap:20px;
  border:1px solid transparent;
  min-height:45px;
  padding:12px 20px;
  font-size:12px;
  font-weight:700;
  border-radius:3px;
}

.primary {
  background:var(--red);
  color:#fff9ed;
}

.primary:hover {
  background:#7d2c22;
}

.secondary {
  border-color:var(--line);
  background:transparent;
  color:var(--ink);
}

.secondary:hover {
  background:#eae5d9;
}

.wide {
  width:100%;
  justify-content:space-between;
}

.text-button {
  background:none;
  border:0;
  padding:5px 0;
  color:var(--red);
  font-size:12px;
  font-weight:700;
}

.text-button:hover {
  text-decoration:underline;
}

.auth-layout {
  min-height:100dvh;
  display:grid;
  grid-template-columns:46% 54%;
}

.auth-art {
  background:var(--ink);
  color:var(--cream);
  padding:44px 55px;
  display:flex;
  flex-direction:column;
  justify-content:space-between;
  position:relative;
  overflow:hidden;
}

.auth-art .wordmark>span {
  color:#c38166;
}

.auth-message {
  margin:55px 0 40px;
  position:relative;
}

.auth-message h1 {
  font-size:clamp(62px,6.4vw,100px);
  margin:32px 0 25px;
}

.auth-message h1 em {
  color:#c38166;
}

.auth-message p {
  color:#c2c0af;
  font-size:14px;
}

.auth-message .eyebrow {
  color:#c2c0af;
}

.flash-mark {
  position:absolute;
  right:0;
  top:25px;
  font-size:140px;
  color:#bb755d;
  opacity:.9;
  transform:rotate(12deg);
}

.auth-foot {
  font-size:9px;
  letter-spacing:1.7px;
  display:flex;
  justify-content:space-between;
  border-top:1px solid #56574a;
  padding-top:22px;
  gap:15px;
}

.auth-content {
  display:flex;
  align-items:center;
  justify-content:center;
  padding:50px;
}

.auth-form-wrap {
  width:100%;
  max-width:370px;
}

.auth-form-wrap h2 {
  font-size:43px;
  letter-spacing:-1px;
}

.auth-form-wrap>.muted {
  margin-bottom:32px;
}

.auth-toggle {
  font-size:12px;
  text-align:center;
  margin-top:24px;
}

.fine-print {
  border-top:1px solid var(--line);
  padding-top:28px;
  margin-top:42px;
  font-size:10px;
  line-height:1.7;
  color:var(--muted);
}

label {
  display:flex;
  flex-direction:column;
  gap:9px;
  font-size:11px;
  font-weight:700;
  margin-bottom:20px;
}

input,select,textarea {
  width:100%;
  min-height:44px;
  border:1px solid #cdcec2;
  border-radius:3px;
  background:#fcfaf5;
  color:var(--ink);
  padding:11px 12px;
  outline:none;
  font-weight:400;
  font-size:13px;
}

input:focus,select:focus,textarea:focus {
  border-color:var(--red);
  box-shadow:0 0 0 2px #9f3b2e18;
}

textarea {
  resize:vertical;
  min-height:94px;
}

.form-error {
  color:var(--red);
  font-size:12px;
  line-height:1.6;
}

.form-error:empty {
  display:none;
}

.workspace {
  min-height:100dvh;
  display:grid;
  grid-template-columns:225px minmax(0,1fr);
}

.sidebar {
  background:var(--ink);
  color:var(--cream);
  padding:38px 25px 25px;
  display:flex;
  flex-direction:column;
  position:sticky;
  top:0;
  height:100dvh;
}

.sidebar .wordmark {
  font-size:30px;
  margin:0 8px;
}

.nav-label {
  font-size:8px;
  letter-spacing:2px;
  color:#969a89;
  margin:58px 10px 16px;
}

.nav-item {
  display:flex;
  align-items:center;
  gap:14px;
  color:#c7c9bb;
  background:none;
  border:0;
  border-radius:3px;
  padding:14px 12px;
  width:100%;
  text-align:left;
  font-size:12px;
  margin-bottom:5px;
}

.nav-item>span:first-child {
  font-size:18px;
}

.nav-item.active,.nav-item:hover {
  background:#3b4033;
  color:#f7f2df;
}

.nav-arrow {
  margin-left:auto;
  opacity:0;
}

.active .nav-arrow {
  opacity:1;
  color:#ceb887;
}

.sidebar-stamp {
  margin:auto 0;
  text-align:center;
  padding:30px 0;
  color:#91987f;
  transform:rotate(-9deg);
}

.sidebar-stamp span {
  display:block;
  font-size:9px;
  font-weight:700;
  letter-spacing:2px;
}

.sidebar-stamp strong {
  display:block;
  font-size:85px;
  line-height:1.3;
  font-weight:400;
}

.sidebar-bottom {
  border-top:1px solid #464c3d;
  padding:20px 9px 0;
}

.sidebar-bottom>span {
  display:block;
  font-size:12px;
  overflow-wrap:anywhere;
}

.sidebar-bottom .text-button {
  color:#aeb39f;
  font-size:10px;
  margin-top:9px;
}

main {
  min-width:0;
}

.topbar {
  height:74px;
  border-bottom:1px solid var(--line);
  display:flex;
  align-items:center;
  justify-content:space-between;
  padding:0 44px;
  font-size:9px;
  letter-spacing:1.5px;
  color:var(--muted);
}

.page-content {
  padding:43px 44px 20px;
  max-width:1500px;
  margin:auto;
}

.page-heading {
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:22px;
  margin-bottom:28px;
}

.page-heading h1 {
  font-size:46px;
  max-width:540px;
  margin-bottom:12px;
}

.page-heading p {
  font-size:12px;
  margin-bottom:0;
}

.page-heading .primary {
  flex-shrink:0;
}

.stats {
  display:grid;
  grid-template-columns:repeat(3,1fr);
  border-top:1px solid var(--ink);
  border-bottom:1px solid var(--line);
  padding:26px 0;
  margin:34px 0;
}

.stats article {
  padding:0 26px;
  border-right:1px solid var(--line);
}

.stats article:first-child {
  padding-left:0;
}

.stats article:last-child {
  border:0;
}

.stats article>span {
  font-size:9px;
  letter-spacing:1.3px;
  font-weight:700;
}

.stats strong {
  display:block;
  font:57px var(--serif);
  margin:10px 0 5px;
}

.stats small {
  font-size:10px;
  color:var(--muted);
}

.overview-grid {
  display:grid;
  grid-template-columns:minmax(0,1fr) 260px;
  gap:28px;
  align-items:start;
}

.panel {
  min-width:0;
  border:1px solid var(--line);
  background:#fbf9f2;
  border-radius:3px;
  overflow:hidden;
}

.section-title {
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:15px;
  padding:22px 24px;
  border-bottom:1px solid var(--line);
}

.section-title h2 {
  margin:0;
  font-size:27px;
}

.section-title .muted {
  font-size:10px;
}

.quote-card {
  background:#e9e4d4;
  padding:25px;
  position:relative;
  min-height:324px;
}

.quote-card .eyebrow {
  font-size:8px;
}

.quote-star {
  position:absolute;
  right:22px;
  top:49px;
  color:var(--red);
  font-size:54px;
}

.quote-card h2 {
  font-size:39px;
  line-height:1.02;
  margin:34px 0 18px;
}

.quote-card h2 em {
  color:var(--red);
}

.quote-card p {
  font-size:11px;
  color:#676a5e;
  max-width:180px;
}

.quote-sign {
  font-size:7px;
  letter-spacing:.8px;
  display:block;
  margin-top:26px;
  border-top:1px solid #ccc6b4;
  padding-top:15px;
}

.empty {
  padding:45px 24px;
  text-align:center;
  color:var(--muted);
  font-size:12px;
  line-height:1.7;
}

.empty strong {
  display:block;
  color:var(--ink);
  font-family:var(--serif);
  font-size:26px;
  font-weight:400;
  margin-bottom:8px;
}

.empty .text-button {
  display:block;
  margin:15px auto 0;
}

.session {
  display:flex;
  gap:20px;
  align-items:center;
  padding:23px 24px;
  border-bottom:1px solid var(--line);
}

.session:last-child {
  border:0;
}

.session-time {
  font-size:17px;
  font-family:var(--serif);
  min-width:47px;
}

.session-info {
  flex:1;
  min-width:0;
}

.session-name {
  font-size:12px;
  font-weight:700;
  margin-bottom:5px;
  overflow-wrap:anywhere;
}

.session-description {
  font-size:10px;
  color:var(--muted);
  overflow-wrap:anywhere;
}

.badge {
  display:inline-block;
  font-size:8px;
  letter-spacing:.4px;
  font-weight:700;
  padding:6px 8px;
  border-radius:2px;
  white-space:nowrap;
  background:#ebe5d3;
  color:#766139;
}

.badge.CONFIRMADA {
  background:#e3e9de;
  color:#4f6540;
}

.badge.CONCLUIDA {
  background:#e4e6e3;
  color:#60675b;
}

.badge.CANCELADA {
  background:#f0dfdb;
  color:#9a5144;
}

.toolbar {
  display:flex;
  gap:16px;
  align-items:end;
  margin:30px 0 22px;
}

.toolbar label {
  margin-bottom:0;
  min-width:140px;
}

.toolbar .search {
  flex:1;
}

.toolbar .secondary {
  min-height:44px;
}

.table-scroll {
  overflow-x:auto;
}

table {
  width:100%;
  border-collapse:collapse;
  text-align:left;
}

th {
  font-size:9px;
  color:var(--muted);
  letter-spacing:1px;
  font-weight:500;
  padding:16px 22px;
  background:#f2f0e6;
}

td {
  padding:19px 22px;
  border-top:1px solid var(--line);
  font-size:12px;
  vertical-align:middle;
}

td small {
  display:block;
  color:var(--muted);
  font-size:10px;
  margin-top:5px;
  max-width:280px;
  overflow-wrap:anywhere;
}

.row-actions {
  display:flex;
  gap:15px;
  white-space:nowrap;
}

.row-actions .text-button {
  font-size:10px;
}

.row-actions .delete {
  color:var(--muted);
}

.page-footer {
  border-top:1px solid var(--line);
  margin-top:45px;
  padding:20px 0 0;
  display:flex;
  justify-content:space-between;
  gap:20px;
  color:var(--muted);
  font-size:8px;
  letter-spacing:1px;
}

.page-footer b {
  color:var(--red);
  margin-left:9px;
  font-size:13px;
}

.loading {
  padding:12px 0;
  color:var(--muted);
  font-size:12px;
}

dialog {
  border:1px solid var(--line);
  background:var(--paper);
  color:var(--ink);
  padding:30px;
  width:min(520px,calc(100% - 32px));
  border-radius:5px;
  max-height:90dvh;
  overflow:auto;
}

dialog::backdrop {
  background:#181c17a8;
  backdrop-filter:blur(3px);
}

.dialog-heading {
  display:flex;
  align-items:start;
  justify-content:space-between;
  margin-bottom:25px;
}

.dialog-heading h2 {
  margin-bottom:0;
  font-size:35px;
}

.dialog-heading .eyebrow {
  margin-bottom:10px;
}

.icon-button {
  border:0;
  background:none;
  font-size:26px;
  color:var(--ink);
  padding:0 8px;
}

.dialog-actions {
  display:flex;
  justify-content:flex-end;
  gap:10px;
  border-top:1px solid var(--line);
  padding-top:20px;
  margin-top:24px;
}

.form-row {
  display:grid;
  grid-template-columns:1fr 1fr;
  gap:15px;
}

.toast {
  position:fixed;
  bottom:25px;
  left:50%;
  transform:translateX(-50%);
  z-index:10;
  background:var(--ink);
  color:var(--cream);
  padding:15px 25px;
  border-radius:4px;
  box-shadow:0 4px 20px #0002;
  font-size:12px;
  max-width:calc(100% - 30px);
  width:max-content;
}

@media(min-width:1500px) {
  .page-content {
    padding-top:60px;
  }
  .page-heading h1 {
    font-size:57px;
    max-width:650px;
  }
  .overview-grid {
    grid-template-columns:minmax(0,1fr) 310px;
  }
  .quote-card {
    padding:30px;
  }
}

@media(max-width:1100px) {
  .workspace {
    grid-template-columns:190px minmax(0,1fr);
  }
  .sidebar {
    padding:32px 17px;
  }
  .sidebar .wordmark {
    font-size:26px;
  }
  .page-content {
    padding:30px 25px;
  }
  .topbar {
    padding:0 25px;
  }
  .page-heading h1 {
    font-size:39px;
  }
  .overview-grid {
    grid-template-columns:1fr;
  }
  .quote-card {
    display:none;
  }
  .toolbar {
    flex-wrap:wrap;
  }
  .toolbar .search {
    flex-basis:100%;
  }
  .auth-art {
    padding:35px;
  }
  .flash-mark {
    font-size:95px;
    top:35px;
  }
  .auth-content {
    padding:35px;
  }
  .session {
    gap:15px;
  }
}

@media(max-width:700px) {
  .auth-layout {
    grid-template-columns:1fr;
  }
  .auth-art {
    padding:26px;
    min-height:260px;
  }
  .auth-art .wordmark {
    font-size:24px;
  }
  .auth-message {
    margin:35px 0 0;
  }
  .auth-message h1 {
    font-size:49px;
    margin:15px 0;
  }
  .auth-message h1 br:last-of-type {
    display:none;
  }
  .auth-message p,.auth-foot,.auth-message .eyebrow {
    display:none;
  }
  .flash-mark {
    top:0;
    right:12px;
    font-size:90px;
  }
  .auth-content {
    padding:35px 26px;
  }
  .auth-form-wrap {
    max-width:440px;
  }
  .auth-form-wrap h2 {
    font-size:36px;
  }
  .workspace {
    display:block;
  }
  .sidebar {
    height:auto;
    position:static;
    padding:18px 20px;
    display:grid;
    grid-template-columns:1fr auto;
    gap:20px;
  }
  .sidebar .wordmark {
    font-size:20px;
    margin:0;
  }
  .sidebar .wordmark br {
    display:none;
  }
  .brand-sub,.nav-label,.sidebar-stamp {
    display:none;
  }
  .sidebar nav {
    grid-column:1/-1;
    grid-row:2;
    display:flex;
    gap:8px;
  }
  .nav-item {
    justify-content:center;
    font-size:11px;
    padding:9px;
    margin:0;
    gap:8px;
  }
  .nav-arrow {
    display:none;
  }
  .sidebar-bottom {
    grid-column:2;
    grid-row:1;
    border:0;
    padding:0;
    text-align:right;
    max-width:140px;
  }
  .sidebar-bottom>span {
    font-size:10px;
  }
  .sidebar-bottom .text-button {
    margin-top:3px;
  }
  .topbar {
    height:50px;
    padding:0 20px;
    font-size:8px;
    letter-spacing:.5px;
  }
  .page-content {
    padding:30px 20px 15px;
  }
  .page-heading {
    display:block;
    margin-bottom:15px;
  }
  .page-heading h1 {
    font-size:40px;
  }
  .page-heading .primary {
    margin-top:20px;
  }
  .stats {
    gap:0;
    margin:26px 0;
    padding:22px 0;
  }
  .stats article {
    padding:0 12px;
  }
  .stats article>span {
    font-size:7px;
    letter-spacing:.6px;
    line-height:1.8;
    display:block;
  }
  .stats strong {
    font-size:44px;
  }
  .stats small {
    font-size:9px;
    line-height:1.5;
    display:block;
  }
  .section-title {
    padding:18px;
  }
  .section-title h2 {
    font-size:25px;
  }
  .session {
    padding:20px 16px;
    gap:12px;
    flex-wrap:wrap;
  }
  .session .badge {
    margin-left:auto;
  }
  .toolbar {
    gap:12px;
  }
  .toolbar label {
    flex:1;
    min-width:120px;
  }
  .toolbar .secondary {
    padding:10px 14px;
  }
  .page-footer {
    font-size:7px;
    line-height:1.7;
  }
  .page-footer span:first-child {
    max-width:175px;
  }
  .form-row {
    grid-template-columns:1fr;
    gap:0;
  }
  dialog {
    padding:24px;
  }
  .fine-print {
    margin-top:28px;
  }
  td,th {
    padding:16px;
  }
  .session-time {
    min-width:37px;
  }
}

@media(prefers-reduced-motion:reduce) {
  * {
    transition:none!important;
    scroll-behavior:auto!important;
  }
}

fieldset { border: 0; padding: 0; margin: 0; min-width: 0; }


/* Ink Manager — old school landing */
#auth {
  --landing-paper: #e9ddbf;
  --landing-ink: #201e19;
  --landing-red: #a52c28;
  --landing-muted: #555044;
  min-height: 100dvh;
  display: grid;
  grid-template-columns: minmax(0, 1fr) 448px;
  align-content: center;
  align-items: center;
  column-gap: 80px;
  padding: 32px clamp(24px, 3.9vw, 72px);
  background-color: var(--landing-paper);
  background-image: radial-gradient(#201e190c .65px, transparent .65px);
  background-size: 5px 5px;
  color: var(--landing-ink);
}
.landing-masthead {
  grid-column: 1 / -1;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding-bottom: 24px;
  border-bottom: 3px solid var(--landing-ink);
}
.landing-logo {
  font-family: 'Rye', Georgia, serif;
  font-size: 30px;
  line-height: 1.2;
  color: var(--landing-red);
  white-space: nowrap;
}
.landing-motto, .landing-access {
  font-size: 12px;
  font-weight: 700;
  letter-spacing: .12em;
}
.landing-access {
  padding: 12px 0;
  text-underline-offset: 5px;
}
.landing-access:hover { text-decoration: underline; }
#auth .auth-art {
  padding: 48px 0 40px;
  min-height: 0;
  background: none;
  color: inherit;
}
#auth .auth-message { margin: 0; }
#auth .auth-message .eyebrow {
  color: var(--landing-red);
  font-size: 12px;
  line-height: 1.7;
  letter-spacing: .15em;
  margin-bottom: 24px;
}
#auth .auth-message h1 {
  font-family: 'Rye', Georgia, serif;
  font-size: clamp(55px, 6.12vw, 102px);
  font-weight: 400;
  line-height: 1.12;
  letter-spacing: -.035em;
  color: var(--landing-red);
  margin: 0 0 32px;
}
.landing-story {
  display: flex;
  align-items: center;
  gap: 32px;
}
#auth .auth-message p {
  display: block;
  color: var(--landing-ink);
  font-size: 18px;
  line-height: 29px;
  margin-bottom: 20px;
}
.landing-signature {
  display: block;
  border-top: 1px solid #70654f;
  padding: 18px 0;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: .12em;
}
.landing-rose {
  width: clamp(110px, 13vw, 184px);
  flex-shrink: 0;
  transform: rotate(9deg);
}
.landing-rose svg { display: block; width: 100%; height: auto; }
#auth .auth-content {
  padding: 48px 0 40px;
  align-items: center;
  display: flex;
}
#auth .auth-form-wrap {
  max-width: none;
  width: 100%;
  padding: 36px;
  background: #f5ecd7;
  border: 2px solid var(--landing-ink);
  box-shadow: 7px 7px 0 var(--landing-ink);
}
#auth .auth-form-wrap .eyebrow {
  font-size: 12px;
  letter-spacing: .17em;
  color: var(--landing-red);
  margin-bottom: 14px;
}
#auth .auth-form-wrap h2 {
  font-family: 'Rye', Georgia, serif;
  font-size: 32px;
  line-height: 41px;
  letter-spacing: -.025em;
  margin: 0 0 16px;
}
#auth .muted { color: var(--landing-muted); }
#auth .auth-form-wrap > .muted {
  font-size: 15px;
  line-height: 24px;
  margin-bottom: 24px;
}
#auth label { font-size: 13px; gap: 10px; margin-bottom: 24px; }
#auth input {
  background: #fbf6ea;
  border: 1px solid #70654f;
  border-radius: 0;
  padding: 15px;
  min-height: 50px;
  font-size: 16px;
  color: var(--landing-ink);
}
#auth input::placeholder { color: var(--landing-muted); opacity: 1; }
#auth input:focus {
  outline: 2px solid var(--landing-red);
  outline-offset: 2px;
  box-shadow: none;
}
#auth .primary {
  border: 2px solid var(--landing-ink);
  border-radius: 0;
  background: var(--landing-red);
  color: #fbf6ea;
  min-height: 58px;
  font-size: 14px;
  justify-content: center;
  gap: 16px;
}
#auth .primary:hover { background: #82221f; }
#auth .auth-toggle { font-size: 13px; line-height: 24px; margin: 20px 0 0; }
#auth .auth-toggle .text-button { color: var(--landing-red); font-size: 13px; padding: 10px 0; }
#auth #registration-notice { font-size: 13px; line-height: 21px; margin: 20px 0 0; }
#auth .fine-print {
  border-top: 1px solid #b8a987;
  font-size: 12px;
  line-height: 19px;
  margin-top: 20px;
  padding-top: 18px;
  color: var(--landing-muted);
}
#auth .form-error { font-size: 14px; color: #8c201d; }
.landing-principles {
  grid-column: 1 / -1;
  display: flex;
  justify-content: space-between;
  gap: 24px;
  padding: 24px 0;
  border-top: 3px solid var(--landing-ink);
  border-bottom: 1px solid #70654f;
  font-size: 14px;
  line-height: 1.6;
  font-weight: 700;
  letter-spacing: .06em;
}
.landing-principles b { color: var(--landing-red); }
.landing-footer {
  grid-column: 1 / -1;
  display: flex;
  justify-content: space-between;
  gap: 24px;
  padding-top: 20px;
  font-size: 11px;
  line-height: 1.7;
  letter-spacing: .1em;
}
@media (min-width: 1700px) {
  #auth { padding-inline: max(72px, calc((100vw - 1560px) / 2)); }
}
@media (max-width: 1150px) {
  #auth { column-gap: 40px; grid-template-columns: minmax(0, 1fr) 380px; }
  .landing-motto { display: none; }
  #auth .auth-form-wrap { padding: 28px; }
  .landing-story { gap: 16px; }
  .landing-rose { width: 100px; }
  #auth .auth-message p { font-size: 16px; line-height: 26px; }
  .landing-principles { font-size: 12px; }
}
@media (max-width: 800px) {
  #auth { grid-template-columns: minmax(0, 1fr); padding: 24px; align-content: start; }
  .landing-logo { font-size: 24px; }
  .landing-access { font-size: 10px; letter-spacing: .04em; text-align: right; }
  .landing-masthead { gap: 14px; padding-bottom: 20px; }
  #auth .auth-art { padding: 28px 0; }
  #auth .auth-message h1 { font-size: clamp(41px, 7.5vw, 64px); line-height: 1.16; margin-bottom: 24px; }
  #auth .auth-message h1 br:last-of-type { display: initial; }
  #auth .auth-message .eyebrow { display: block; font-size: 11px; letter-spacing: .1em; margin-bottom: 20px; }
  #auth .auth-message p { font-size: 15px; line-height: 24px; margin-bottom: 0; }
  .landing-story { justify-content: space-between; }
  .landing-rose { width: 90px; transform: rotate(5deg); }
  .landing-signature { display: none; }
  #auth .auth-content { padding: 0 0 32px; }
  #auth .auth-form-wrap { max-width: 520px; padding: 24px; }
  #auth .auth-form-wrap h2 { font-size: 30px; line-height: 39px; }
  .landing-principles { flex-direction: column; gap: 12px; padding: 20px 0; }
  .landing-footer { flex-wrap: wrap; gap: 10px; }
}
@media (max-width: 370px) {
  #auth { padding: 20px; }
  .landing-logo { font-size: 21px; }
  .landing-access { font-size: 9px; }
  #auth .auth-message h1 { font-size: 38px; }
  .landing-rose { width: 70px; }
  #auth .auth-form-wrap { padding: 20px; }
}

.availability-panel { padding:24px; margin-bottom:24px; }
.availability-days { display:grid; grid-template-columns:repeat(7,minmax(0,1fr)); gap:6px; margin:16px 0; }
.availability-days button { padding:10px 4px; border:1px solid var(--line,#d8d6ca); border-radius:4px; background:#eef0e3; cursor:pointer; }
.availability-days button:disabled { background:transparent; opacity:.5; cursor:default; }
.availability-days small { display:block; font-size:10px; }
.availability-slots { display:flex; gap:8px; flex-wrap:wrap; margin:12px 0; }
.team-card { padding:20px; border:1px solid var(--line,#d8d6ca); margin:12px 0; border-radius:6px; }
.shift-row { display:grid; grid-template-columns:1.2fr 1fr 1fr auto; gap:8px; align-items:end; margin:8px 0; }
.settings-section { padding:24px; margin-bottom:24px; border:1px solid var(--line,#d8d6ca); border-radius:6px; }
@media(max-width:600px){.shift-row{grid-template-columns:1fr 1fr}.availability-days{gap:3px}.availability-panel,.settings-section{padding:14px}}

@media(max-width:700px){
  .sidebar nav { display:grid; grid-template-columns:repeat(3,minmax(0,1fr)); min-width:0; }
  .sidebar .nav-item { min-width:0; width:100%; white-space:normal; }
}


/* Marcae: additive service catalogue, booking link and confirmed receipts. */
.sr-only { position:absolute; width:1px; height:1px; padding:0; margin:-1px; overflow:hidden; clip:rect(0,0,0,0); white-space:nowrap; border:0; }
.service-setup { display:grid; grid-template-columns:minmax(0,1fr) minmax(0,1fr); gap:24px; align-items:start; }
.service-row { display:flex; align-items:center; justify-content:space-between; gap:16px; padding:18px 0; border-bottom:1px solid var(--line); }
.service-row p { margin:8px 0 0; font-size:13px; }
.checkbox-label { flex-direction:row; align-items:center; font-size:13px; line-height:1.6; }
.checkbox-label input { width:18px; height:18px; min-height:0; flex-shrink:0; }
.service-controls, .link-controls { display:flex; flex-wrap:wrap; gap:12px; align-items:center; margin:16px 0; }
.service-setup fieldset { min-width:0; }
#public-link { font-size:14px; }
.receipt-totals { display:grid; grid-template-columns:repeat(2,minmax(0,1fr)); gap:24px; padding:24px 0; border-block:1px solid var(--line); margin-bottom:24px; }
.receipt-totals strong { display:block; font-size:clamp(24px,3vw,40px); margin:10px 0; overflow-wrap:anywhere; }
.receipt-totals small { display:block; font-size:13px; line-height:1.6; }
.receipt-recorded { display:block; color:#37572e; font-size:12px; }
.appointment-service { display:block; font-size:12px; line-height:1.6; color:var(--muted); }
.row-actions { flex-wrap:wrap; }
.row-actions [data-confirm-receipt] { white-space:normal; text-align:left; max-width:180px; }
#receipt-description { overflow-wrap:anywhere; }
.public-booking { background:#e9ddbf; color:#201e19; background-image:radial-gradient(#201e190c .65px,transparent .65px); background-size:5px 5px; }
.public-shell { width: min(100% - 48px, 760px); margin:0 auto; padding:28px 0; }
.public-shell .landing-logo { color:#a52c28; font-size:32px; }
.public-shell .landing-motto { font-size:11px; max-width:220px; line-height:1.7; text-align:right; }
.public-shell .landing-masthead { border-color:#201e19; }
#public-main { padding:36px 0; }
#public-main h1 { font-family:'Rye',Georgia,serif; font-size:clamp(28px,5vw,46px); line-height:1.25; letter-spacing:-.02em; overflow-wrap:anywhere; }
#public-main h2 { font-family:'Rye',Georgia,serif; font-size:28px; line-height:1.3; }
#public-main > p { font-size:16px; line-height:1.7; }
#booking-form, .booking-confirmation { margin-top:28px; background:#f5ecd7; border:2px solid #201e19; box-shadow:6px 6px 0 #201e19; padding:28px; }
#booking-form label { font-size:14px; }
#booking-form input, #booking-form select { font-size:16px; min-height:48px; border-radius:0; background:#fbf6ea; border-color:#70654f; }
#booking-form input:focus, #booking-form select:focus { outline:2px solid #a52c28; outline-offset:2px; }
#booking-form .muted { font-size:13px; line-height:1.7; color:#555044; margin:18px 0 0; }
#booking-form .primary { background:#a52c28; color:#fbf6ea; border:2px solid #201e19; border-radius:0; min-height:54px; font-size:16px; }
#booking-form .primary:hover { background:#82221f; }
#booking-form .primary:disabled { opacity:.65; cursor:not-allowed; }
.booking-summary { padding:16px; border-left:3px solid #a52c28; background:#e9ddbf; font-size:14px; line-height:1.7; overflow-wrap:anywhere; }
#slots-status, #public-timezone { font-size:13px; line-height:1.7; }
#public-timezone { color:#555044; margin:12px 0 24px; }
#public-error, #booking-error { font-size:14px; line-height:1.7; color:#8c201d; }
#confirmation-details { display:grid; grid-template-columns:110px minmax(0,1fr); gap:12px; line-height:1.7; }
#confirmation-details dt { font-weight:700; }
#confirmation-details dd { margin:0; overflow-wrap:anywhere; }
.public-shell .landing-footer { border-top:1px solid #70654f; }
@media(max-width:700px) {
  .service-setup { grid-template-columns:minmax(0,1fr); }
  .receipt-totals { gap:16px; }
  .session { flex-wrap:wrap; }
}
@media(max-width:450px) {
  .public-shell { width:calc(100% - 40px); }
  .public-shell .landing-motto { display:none; }
  #booking-form, .booking-confirmation { padding:20px; }
  #booking-form .form-row { grid-template-columns:minmax(0,1fr); }
  .receipt-totals { grid-template-columns:minmax(0,1fr); }
  .service-row { align-items:flex-start; flex-wrap:wrap; }
}

/* Marcaê monthly analytics and scheduling controls. */
.report-kpis { display:grid; grid-template-columns:repeat(4,minmax(0,1fr)); gap:12px; margin:18px 0; }
.report-kpis article,.report-summary-grid article { min-width:0; padding:16px; background:#f5ecd7; border:1px solid var(--line); }
.report-kpis span,.report-summary-grid article>span { display:block; font-size:10px; letter-spacing:.09em; }
.report-kpis strong,.report-summary-grid strong { display:block; margin:8px 0; font-size:clamp(20px,3vw,30px); overflow-wrap:anywhere; }
.report-kpis small,.report-summary-grid small { display:block; line-height:1.6; margin-top:5px; }
.report-summary-grid { display:grid; grid-template-columns:repeat(3,minmax(0,1fr)); gap:12px; margin:18px 0; }
.report-chart-wrap,.report-ranking { margin:24px 0 0; padding:18px; border-top:1px solid var(--line); }
.report-chart { height:190px; display:flex; gap:4px; align-items:stretch; overflow-x:auto; border-bottom:1px solid var(--line); padding-top:12px; }
.report-bar { min-width:18px; flex:1; display:flex; flex-direction:column; align-items:center; justify-content:flex-end; gap:6px; }
.report-bar i { display:block; width:min(100%,24px); background:#a52c28; border:1px solid #201e19; }
.report-bar small { font-size:9px; }
#report-services ol,.report-ranking ul { list-style:none; padding:0; margin:0; }
#report-services li,.report-ranking li { display:grid; grid-template-columns:1fr auto; gap:4px 12px; padding:12px 0; border-bottom:1px solid var(--line); }
#report-services li small,.report-ranking li small { grid-column:1/-1; color:var(--muted); }
.onboarding-card { margin-top:24px; padding:22px; border:1px solid var(--line); background:#e9ddbf; }
.onboarding-card h2 { margin:8px 0; }
.attendance-actions { display:flex; flex-wrap:wrap; gap:8px; margin-top:6px; }
.attendance-recorded { display:inline-block; margin-top:6px; color:#37572e; }
.privacy-notice { padding:12px 14px; border:1px solid #70654f; margin:14px 0; line-height:1.7; }
.privacy-notice summary { cursor:pointer; font-weight:700; }
.privacy-notice p { margin-bottom:0; font-size:13px; }
.privacy-ack { margin:10px 0 18px; }
@media(max-width:800px){.report-kpis{grid-template-columns:repeat(2,minmax(0,1fr))}.report-summary-grid{grid-template-columns:minmax(0,1fr)}}
@media(max-width:500px){.report-kpis{gap:8px}.report-kpis article,.report-summary-grid article{padding:12px}.report-chart-wrap,.report-ranking{padding:12px 0}}

/* Trial offer follows the existing ink-and-paper landing palette. */
.trial-offer { margin:18px 0; padding:18px; background:#e9ddbf; border:1px solid #201e19; box-shadow:3px 3px 0 #201e19; }
.trial-price { margin:12px 0; display:grid; gap:4px; line-height:1.5; }
.trial-price strong { font-size:20px; }
.trial-price span,.trial-offer small { display:block; font-size:13px; line-height:1.6; }
.trial-offer .primary { border-radius:0; border:2px solid #201e19; background:#a52c28; color:#fbf6ea; }
.trial-offer .primary:hover { background:#82221f; }

/* Waiting list and secure offer flow */
.waitlist-panel,.offer-panel { margin:24px 0; padding:24px; background:#f5ecd7; border:2px solid #201e19; box-shadow:4px 4px 0 #201e19; }
.waitlist-panel>summary { cursor:pointer; font-family:'Rye',Georgia,serif; font-size:20px; }
.waitlist-panel form { margin-top:20px; }
.waitlist-panel fieldset { border:0; padding:0; min-width:0; }
.waitlist-panel input,.waitlist-panel select { min-height:46px; background:#fbf6ea; border:1px solid #70654f; border-radius:0; font-size:16px; }
.waitlist-panel .secondary,.offer-panel .primary { border-radius:0; border:2px solid #201e19; min-height:50px; }
.waitlist-panel .secondary { background:#46513a; color:#fbf6ea; }
.offer-panel h2 { font-family:'Rye',Georgia,serif; }
.offer-details { display:grid; grid-template-columns:minmax(90px,140px) minmax(0,1fr); gap:10px 16px; margin:20px 0; padding:18px; background:#e9ddbf; }
.offer-details dt { font-weight:700; }
.offer-details dd { margin:0; overflow-wrap:anywhere; }
.waitlist-entry p { margin:8px 0; overflow-wrap:anywhere; }
.waitlist-entry small { display:block; margin:6px 0; font-weight:700; text-transform:uppercase; letter-spacing:.06em; }
@media(max-width:600px) {
  .waitlist-panel,.offer-panel { padding:18px; }
  .offer-details { grid-template-columns:minmax(0,1fr); gap:4px; }
  .offer-details dd { margin-bottom:8px; }
}