:root {
  --hully-bg: #f6f7f9;
  --hully-panel: #ffffff;
  --hully-panel-soft: #f9fafb;
  --hully-text: #111827;
  --hully-muted: #667085;
  --hully-border: #e5e7eb;
  --hully-border-strong: #d1d5db;
  --hully-primary: #1f2937;
  --hully-primary-hover: #111827;
  --hully-accent: #475569;
  --hully-ok: #0f766e;
  --hully-warn: #92400e;
  --hully-danger: #991b1b;
  --hully-shadow: 0 18px 45px rgba(15, 23, 42, .08);
  --hully-radius: 20px;
}

body.toplevel_page_hully-agenda #wpcontent {
  padding-left: 0;
  background: var(--hully-bg);
}

body.toplevel_page_hully-agenda #wpbody-content {
  padding-bottom: 0;
}

.hully-app, .hully-app * {
  box-sizing: border-box;
}

.hully-app {
  min-height: calc(100vh - 32px);
  display: flex;
  color: var(--hully-text);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

.hully-sidebar {
  width: 286px;
  min-height: calc(100vh - 32px);
  background: #111827;
  color: #fff;
  padding: 24px 18px;
  display: flex;
  flex-direction: column;
  position: sticky;
  top: 32px;
}

.hully-brand {
  display: flex;
  align-items: center;
  gap: 13px;
  margin-bottom: 28px;
  padding: 8px;
}

.hully-brand-mark {
  width: 46px;
  height: 46px;
  border-radius: 16px;
  display: grid;
  place-items: center;
  background: linear-gradient(135deg, #ffffff 0%, #e5e7eb 100%);
  color: #111827;
  font-weight: 800;
  letter-spacing: -.04em;
}

.hully-brand strong {
  display: block;
  color: #fff;
  font-size: 15px;
}

.hully-brand span, .hully-sidebar-footer span {
  display: block;
  color: rgba(255,255,255,.58);
  font-size: 12px;
  margin-top: 2px;
}

.hully-nav {
  display: grid;
  gap: 7px;
}

.hully-nav button {
  width: 100%;
  border: 0;
  border-radius: 14px;
  padding: 13px 14px;
  display: flex;
  align-items: center;
  gap: 10px;
  color: rgba(255,255,255,.72);
  background: transparent;
  cursor: pointer;
  font-weight: 650;
  text-align: left;
  transition: .18s ease;
}

.hully-nav button:hover,
.hully-nav button.is-active {
  background: rgba(255,255,255,.10);
  color: #fff;
}

.hully-nav .dashicons {
  opacity: .9;
}

.hully-sidebar-footer {
  margin-top: auto;
  padding: 18px 10px 0;
}

.hully-main {
  flex: 1;
  padding: 32px;
  max-width: 1480px;
}

.hully-topbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  margin-bottom: 24px;
}

.hully-eyebrow {
  margin: 0 0 4px;
  color: var(--hully-muted);
  font-size: 12px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: .08em;
}

.hully-topbar h1 {
  margin: 0;
  font-size: 31px;
  line-height: 1.1;
  color: var(--hully-text);
  letter-spacing: -.045em;
}

.hully-actions,
.hully-card-head,
.hully-calendar-controls,
.hully-form-actions,
.hully-google-state {
  display: flex;
  align-items: center;
  gap: 10px;
}

.hully-actions {
  flex-wrap: wrap;
  justify-content: flex-end;
}

.hully-view {
  display: none;
}

.hully-view.is-active {
  display: block;
}

.hully-grid {
  display: grid;
  gap: 18px;
  margin-bottom: 18px;
}

.hully-grid-4 {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.hully-two-col {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: 18px;
}

.hully-card,
.hully-stat,
.hully-modal-card {
  background: var(--hully-panel);
  border: 1px solid var(--hully-border);
  box-shadow: var(--hully-shadow);
  border-radius: var(--hully-radius);
}

.hully-card {
  padding: 22px;
}

.hully-stat {
  padding: 19px;
  min-height: 118px;
  position: relative;
  overflow: hidden;
}

.hully-stat::after {
  content: "";
  position: absolute;
  width: 110px;
  height: 110px;
  border-radius: 999px;
  background: rgba(17,24,39,.05);
  right: -38px;
  bottom: -46px;
}

.hully-stat span {
  display: block;
  color: var(--hully-muted);
  font-size: 13px;
  font-weight: 650;
}

.hully-stat strong {
  display: block;
  font-size: 36px;
  margin-top: 12px;
  letter-spacing: -.06em;
}

.hully-card-head {
  justify-content: space-between;
  margin-bottom: 18px;
}

.hully-card-head h2 {
  margin: 0;
  font-size: 19px;
  color: var(--hully-text);
  letter-spacing: -.025em;
}

.hully-card-head p {
  margin: 5px 0 0;
  color: var(--hully-muted);
  font-size: 13px;
}

.hully-btn,
.hully-link {
  border: 0;
  border-radius: 999px;
  padding: 10px 15px;
  cursor: pointer;
  font-weight: 760;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  transition: .18s ease;
  min-height: 40px;
  font-size: 13px;
}

.hully-btn-primary {
  color: #fff;
  background: var(--hully-primary);
  box-shadow: 0 10px 24px rgba(17, 24, 39, .18);
}

.hully-btn-primary:hover {
  color: #fff;
  background: var(--hully-primary-hover);
  transform: translateY(-1px);
}

.hully-btn-soft {
  color: var(--hully-text);
  background: #eef0f3;
}

.hully-btn-soft:hover {
  color: var(--hully-text);
  background: #e1e5ea;
}

.hully-btn-danger {
  color: #fff;
  background: var(--hully-danger);
}

.hully-btn-danger:hover {
  color: #fff;
  background: #7f1d1d;
}

.hully-link {
  color: var(--hully-accent);
  background: transparent;
  padding: 6px 4px;
  min-height: auto;
}

.hully-alert {
  padding: 13px 16px;
  border-radius: 15px;
  background: #fef3c7;
  color: #713f12;
  border: 1px solid #fde68a;
  margin-bottom: 18px;
  font-weight: 650;
}

.hully-list {
  display: grid;
  gap: 10px;
}

.hully-empty {
  padding: 20px;
  border-radius: 16px;
  border: 1px dashed var(--hully-border-strong);
  color: var(--hully-muted);
  background: var(--hully-panel-soft);
  text-align: center;
}

.hully-session-card,
.hully-patient-row,
.hully-recurrence-card {
  border: 1px solid var(--hully-border);
  border-radius: 17px;
  padding: 14px;
  background: #fff;
}

.hully-session-card {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 12px;
  align-items: center;
}

.hully-session-title {
  display: flex;
  align-items: center;
  gap: 9px;
  flex-wrap: wrap;
  margin-bottom: 6px;
}

.hully-session-title strong {
  font-size: 15px;
}

.hully-session-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 14px;
  color: var(--hully-muted);
  font-size: 13px;
}

.hully-session-actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 8px;
}

.hully-pill {
  display: inline-flex;
  align-items: center;
  min-height: 28px;
  padding: 5px 10px;
  border-radius: 999px;
  font-size: 12px;
  font-weight: 800;
  background: #f3f4f6;
  color: #374151;
  white-space: nowrap;
}

.hully-pill.is-ok,
.hully-pill.status-confirmed,
.hully-pill.status-done {
  background: #ccfbf1;
  color: #115e59;
}

.hully-pill.status-scheduled {
  background: #e0e7ff;
  color: #3730a3;
}

.hully-pill.status-canceled,
.hully-pill.status-missed {
  background: #fee2e2;
  color: #991b1b;
}

.hully-pill.format-online {
  background: #dbeafe;
  color: #1e3a8a;
}

.hully-pill.format-presential {
  background: #fef3c7;
  color: #92400e;
}

.hully-toolbar {
  display: flex;
  gap: 10px;
  margin-bottom: 16px;
}

.hully-toolbar-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.hully-toolbar input,
.hully-toolbar select,
.hully-form input,
.hully-form select,
.hully-form textarea {
  width: 100%;
  border: 1px solid var(--hully-border-strong);
  border-radius: 14px;
  background: #fff;
  color: var(--hully-text);
  padding: 11px 12px;
  min-height: 42px;
  outline: none;
  box-shadow: none;
}

.hully-toolbar input:focus,
.hully-toolbar select:focus,
.hully-form input:focus,
.hully-form select:focus,
.hully-form textarea:focus {
  border-color: #6b7280;
  box-shadow: 0 0 0 3px rgba(107,114,128,.12);
}

.hully-table-wrap {
  overflow-x: auto;
  border: 1px solid var(--hully-border);
  border-radius: 16px;
}

.hully-table {
  width: 100%;
  border-collapse: collapse;
  background: #fff;
}

.hully-table th,
.hully-table td {
  padding: 14px;
  border-bottom: 1px solid var(--hully-border);
  text-align: left;
  vertical-align: middle;
}

.hully-table th {
  background: #f9fafb;
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: .06em;
  color: var(--hully-muted);
}

.hully-table tr:last-child td {
  border-bottom: 0;
}

.hully-calendar-head {
  align-items: flex-start;
}

.hully-calendar-controls strong {
  min-width: 190px;
  text-align: center;
  font-size: 15px;
}

.hully-calendar {
  display: grid;
  grid-template-columns: repeat(7, minmax(0, 1fr));
  border: 1px solid var(--hully-border);
  border-radius: 18px;
  overflow: hidden;
  background: #fff;
}

.hully-weekday {
  padding: 12px;
  background: #f9fafb;
  color: var(--hully-muted);
  font-size: 12px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: .06em;
  border-right: 1px solid var(--hully-border);
  border-bottom: 1px solid var(--hully-border);
}

.hully-weekday:nth-child(7n) {
  border-right: 0;
}

.hully-day {
  min-height: 132px;
  padding: 10px;
  border-right: 1px solid var(--hully-border);
  border-bottom: 1px solid var(--hully-border);
  background: #fff;
}

.hully-day:nth-child(7n) {
  border-right: 0;
}

.hully-day.is-other {
  background: #fafafa;
  color: #9ca3af;
}

.hully-day.is-today {
  background: #f8fafc;
  box-shadow: inset 0 0 0 2px #111827;
}

.hully-day-number {
  font-weight: 800;
  font-size: 13px;
  margin-bottom: 8px;
}

.hully-event-chip {
  display: block;
  width: 100%;
  padding: 7px 8px;
  border: 0;
  border-radius: 10px;
  background: #eef0f3;
  color: #111827;
  font-size: 12px;
  line-height: 1.25;
  text-align: left;
  cursor: pointer;
  margin-bottom: 6px;
  overflow: hidden;
  text-overflow: ellipsis;
}

.hully-event-chip:hover {
  background: #e5e7eb;
}

.hully-modal {
  position: fixed;
  inset: 0;
  z-index: 100000;
  display: grid;
  place-items: center;
  padding: 28px;
  background: rgba(17,24,39,.48);
  backdrop-filter: blur(8px);
}

.hully-modal[hidden] {
  display: none !important;
}

.hully-modal-card {
  width: min(640px, 96vw);
  max-height: 92vh;
  overflow: auto;
  padding: 26px;
  position: relative;
}

.hully-modal-large {
  width: min(860px, 96vw);
}

.hully-modal-card h2 {
  margin: 0 0 18px;
  font-size: 23px;
  letter-spacing: -.03em;
}

.hully-modal-close {
  position: absolute;
  right: 16px;
  top: 14px;
  border: 0;
  background: #f3f4f6;
  border-radius: 999px;
  width: 34px;
  height: 34px;
  cursor: pointer;
  font-size: 24px;
  line-height: 1;
}

.hully-form {
  display: grid;
  gap: 14px;
}

.hully-form-grid,
.hully-settings-grid {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.hully-form label {
  display: grid;
  gap: 7px;
  color: var(--hully-text);
  font-weight: 720;
  font-size: 13px;
}

.hully-form textarea {
  resize: vertical;
}

.hully-span-2,
.hully-form-actions {
  grid-column: 1 / -1;
}

.hully-form-actions {
  justify-content: flex-end;
  margin-top: 6px;
}

.hully-check {
  display: flex !important;
  grid-template-columns: auto 1fr;
  align-items: center;
  gap: 9px !important;
}

.hully-check input[type="checkbox"] {
  width: 17px;
  min-height: 17px;
  height: 17px;
}

.hully-form-section {
  border: 1px solid var(--hully-border);
  border-radius: 18px;
  padding: 17px;
  background: #fff;
  display: grid;
  gap: 13px;
}

.hully-form-section h3 {
  margin: 0 0 2px;
  font-size: 16px;
}

.hully-muted-box {
  border: 1px dashed var(--hully-border-strong);
  border-radius: 15px;
  padding: 12px;
  background: #f9fafb;
  color: var(--hully-muted);
  line-height: 1.45;
}

.hully-muted-box code {
  display: block;
  overflow-wrap: anywhere;
  margin-top: 6px;
  color: #111827;
}

@media (max-width: 1180px) {
  .hully-grid-4,
  .hully-two-col,
  .hully-form-grid,
  .hully-settings-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 860px) {
  body.toplevel_page_hully-agenda #wpcontent {
    padding-left: 0;
  }
  .hully-app {
    display: block;
  }
  .hully-sidebar {
    width: 100%;
    min-height: auto;
    position: static;
    border-radius: 0 0 22px 22px;
  }
  .hully-nav {
    grid-template-columns: repeat(2, minmax(0,1fr));
  }
  .hully-main {
    padding: 18px;
  }
  .hully-topbar,
  .hully-card-head,
  .hully-session-card,
  .hully-toolbar-grid,
  .hully-form-grid,
  .hully-settings-grid,
  .hully-two-col,
  .hully-grid-4 {
    grid-template-columns: 1fr;
    display: grid;
  }
  .hully-actions,
  .hully-card-head,
  .hully-calendar-controls,
  .hully-session-actions {
    justify-content: flex-start;
  }
  .hully-calendar {
    display: block;
    border: 0;
    background: transparent;
  }
  .hully-weekday {
    display: none;
  }
  .hully-day {
    min-height: auto;
    margin-bottom: 10px;
    border: 1px solid var(--hully-border);
    border-radius: 16px;
  }
  .hully-day.is-other {
    display: none;
  }
}

/* Experiência soberana fora do wp-admin */
html:has(body.hully-standalone-app),
html:has(body.hully-login-page) {
  margin-top: 0 !important;
}

body.hully-standalone-app,
body.hully-login-page {
  margin: 0 !important;
  min-height: 100vh;
  background: var(--hully-bg);
  color: var(--hully-text);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

body.hully-standalone-app #wpadminbar,
body.hully-login-page #wpadminbar {
  display: none !important;
}

body.hully-standalone-app .hully-app {
  min-height: 100vh;
  width: 100%;
}

body.hully-standalone-app .hully-sidebar {
  min-height: 100vh;
  top: 0;
}

body.hully-standalone-app .hully-main {
  max-width: none;
  min-width: 0;
}

.hully-sidebar-user {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 14px 10px;
  margin: 0 0 9px;
  border-top: 1px solid rgba(255,255,255,.10);
}

.hully-sidebar-avatar {
  width: 34px;
  height: 34px;
  border-radius: 12px;
  display: grid !important;
  place-items: center;
  flex: 0 0 auto;
  margin: 0 !important;
  background: rgba(255,255,255,.12);
  color: #fff !important;
  font-size: 13px !important;
  font-weight: 800;
}

.hully-sidebar-user strong {
  display: block;
  max-width: 170px;
  overflow: hidden;
  color: #fff;
  font-size: 13px;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.hully-sidebar-user div span {
  margin-top: 1px;
}

.hully-sidebar-logout {
  display: flex;
  align-items: center;
  gap: 8px;
  width: 100%;
  padding: 10px;
  border-radius: 12px;
  color: rgba(255,255,255,.70);
  text-decoration: none;
  font-size: 13px;
  font-weight: 700;
  transition: .18s ease;
}

.hully-sidebar-logout:hover {
  background: rgba(255,255,255,.08);
  color: #fff;
}

.hully-sidebar-logout .dashicons {
  width: 18px;
  height: 18px;
  font-size: 18px;
}

.hully-sidebar-footer .hully-version {
  margin: 13px 10px 0;
  font-size: 11px;
}

/* Login personalizado */
body.hully-login-page {
  overflow-x: hidden;
  background:
    radial-gradient(circle at 88% 10%, rgba(148,163,184,.18), transparent 31%),
    #f4f5f7;
}

.hully-login-shell {
  min-height: 100vh;
  display: grid;
  grid-template-columns: minmax(380px, 1.08fr) minmax(440px, .92fr);
}

.hully-login-intro {
  min-height: 100vh;
  padding: clamp(34px, 5vw, 72px);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  position: relative;
  overflow: hidden;
  color: #fff;
  background: #171b22;
}

.hully-login-intro::before,
.hully-login-intro::after {
  content: "";
  position: absolute;
  border-radius: 999px;
  pointer-events: none;
}

.hully-login-intro::before {
  width: 460px;
  height: 460px;
  right: -180px;
  top: -160px;
  border: 1px solid rgba(255,255,255,.10);
  box-shadow: 0 0 0 74px rgba(255,255,255,.025), 0 0 0 148px rgba(255,255,255,.018);
}

.hully-login-intro::after {
  width: 280px;
  height: 280px;
  left: -150px;
  bottom: -130px;
  background: rgba(255,255,255,.025);
}

.hully-login-brand,
.hully-login-mobile-brand {
  display: flex;
  align-items: center;
  gap: 13px;
  position: relative;
  z-index: 1;
}

.hully-login-mark {
  width: 48px;
  height: 48px;
  border-radius: 16px;
  display: grid;
  place-items: center;
  flex: 0 0 auto;
  background: #fff;
  color: #171b22;
  font-size: 15px;
  font-weight: 850;
  letter-spacing: -.05em;
  box-shadow: 0 12px 30px rgba(0,0,0,.18);
}

.hully-login-brand strong,
.hully-login-brand span {
  display: block;
}

.hully-login-brand strong {
  font-size: 15px;
}

.hully-login-brand span {
  margin-top: 3px;
  color: rgba(255,255,255,.55);
  font-size: 12px;
}

.hully-login-copy {
  max-width: 620px;
  position: relative;
  z-index: 1;
}

.hully-login-kicker {
  display: block;
  margin-bottom: 13px;
  color: #6b7280;
  font-size: 11px;
  font-weight: 850;
  letter-spacing: .16em;
  text-transform: uppercase;
}

.hully-login-intro .hully-login-kicker {
  color: rgba(255,255,255,.52);
}

.hully-login-copy h1 {
  max-width: 590px;
  margin: 0;
  color: #fff;
  font-size: clamp(39px, 5vw, 68px);
  line-height: .99;
  letter-spacing: -.065em;
}

.hully-login-copy p {
  max-width: 530px;
  margin: 25px 0 0;
  color: rgba(255,255,255,.60);
  font-size: 16px;
  line-height: 1.7;
}

.hully-login-detail {
  display: flex;
  align-items: center;
  gap: 9px;
  position: relative;
  z-index: 1;
  color: rgba(255,255,255,.48);
  font-size: 12px;
  font-weight: 650;
}

.hully-login-detail span {
  width: 7px;
  height: 7px;
  border-radius: 999px;
  background: #a7f3d0;
  box-shadow: 0 0 0 5px rgba(167,243,208,.08);
}

.hully-login-panel {
  min-height: 100vh;
  padding: 42px;
  display: grid;
  place-items: center;
}

.hully-login-card {
  width: min(440px, 100%);
  padding: clamp(30px, 4vw, 48px);
  border: 1px solid rgba(209,213,219,.78);
  border-radius: 28px;
  background: rgba(255,255,255,.88);
  box-shadow: 0 30px 75px rgba(15,23,42,.10);
  backdrop-filter: blur(18px);
}

.hully-login-mobile-brand {
  display: none;
  margin-bottom: 35px;
}

.hully-login-mobile-brand .hully-login-mark {
  width: 42px;
  height: 42px;
  border: 1px solid var(--hully-border);
  box-shadow: none;
}

.hully-login-card h2 {
  margin: 0;
  color: #151922;
  font-size: 32px;
  line-height: 1.1;
  letter-spacing: -.045em;
}

.hully-login-subtitle {
  margin: 10px 0 27px;
  color: #6b7280;
  font-size: 14px;
  line-height: 1.55;
}

.hully-login-alert {
  margin: 0 0 18px;
  padding: 12px 14px;
  border: 1px solid #fecaca;
  border-radius: 13px;
  background: #fff5f5;
  color: #991b1b;
  font-size: 13px;
  line-height: 1.45;
}

.hully-login-form {
  display: grid;
  gap: 9px;
}

.hully-login-form > label {
  margin-top: 8px;
  color: #343a46;
  font-size: 12px;
  font-weight: 780;
}

.hully-login-form input[type="text"],
.hully-login-form input[type="password"] {
  width: 100%;
  min-height: 50px;
  margin: 0;
  padding: 0 15px;
  border: 1px solid #d8dce3;
  border-radius: 14px;
  outline: none;
  background: rgba(255,255,255,.82);
  color: #171b22;
  font: inherit;
  box-shadow: 0 1px 2px rgba(15,23,42,.02);
  transition: border-color .18s ease, box-shadow .18s ease, background .18s ease;
}

.hully-login-form input:focus {
  border-color: #6b7280;
  background: #fff;
  box-shadow: 0 0 0 4px rgba(107,114,128,.10);
}

.hully-password-field {
  position: relative;
}

.hully-password-field input {
  padding-right: 83px !important;
}

.hully-password-toggle {
  position: absolute;
  right: 8px;
  top: 50%;
  padding: 8px 9px;
  border: 0;
  border-radius: 10px;
  background: transparent;
  color: #6b7280;
  font-size: 11px;
  font-weight: 800;
  cursor: pointer;
  transform: translateY(-50%);
}

.hully-password-toggle:hover {
  background: #f3f4f6;
  color: #111827;
}

.hully-login-options {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin: 9px 0 11px;
  color: #6b7280;
  font-size: 12px;
}

.hully-login-options a {
  color: #343a46;
  font-weight: 750;
  text-decoration: none;
}

.hully-login-options a:hover {
  text-decoration: underline;
}

.hully-login-remember {
  display: flex;
  align-items: center;
  gap: 7px;
  cursor: pointer;
}

.hully-login-remember input {
  width: 16px;
  height: 16px;
  accent-color: #171b22;
}

.hully-login-submit {
  min-height: 52px;
  display: grid;
  place-items: center;
  padding: 0 18px;
  border: 0;
  border-radius: 14px;
  background: #171b22;
  color: #fff;
  font-size: 13px;
  font-weight: 820;
  text-decoration: none;
  cursor: pointer;
  box-shadow: 0 13px 26px rgba(23,27,34,.18);
  transition: transform .18s ease, background .18s ease, box-shadow .18s ease;
}

.hully-login-submit:hover {
  background: #090b0f;
  color: #fff;
  transform: translateY(-1px);
  box-shadow: 0 16px 30px rgba(23,27,34,.22);
}

.hully-login-security {
  margin: 21px 0 0;
  color: #9ca3af;
  font-size: 11px;
  line-height: 1.5;
  text-align: center;
}

.hully-access-denied {
  min-height: 100vh;
  padding: 24px;
  display: grid;
  place-items: center;
}

.hully-access-denied .hully-login-card {
  text-align: center;
}

.hully-access-denied .hully-login-mark {
  margin: 0 auto 22px;
  border: 1px solid var(--hully-border);
  box-shadow: none;
}

.hully-access-denied h1 {
  margin: 0 0 10px;
  font-size: 28px;
  letter-spacing: -.04em;
}

.hully-access-denied p {
  margin: 0 0 24px;
  color: #6b7280;
  line-height: 1.6;
}

@media (max-width: 980px) {
  .hully-login-shell {
    grid-template-columns: 1fr;
  }
  .hully-login-intro {
    display: none;
  }
  .hully-login-panel {
    min-height: 100vh;
    padding: 24px;
  }
  .hully-login-mobile-brand {
    display: flex;
  }
}

@media (max-width: 520px) {
  .hully-login-panel {
    align-items: stretch;
    padding: 0;
  }
  .hully-login-card {
    width: 100%;
    min-height: 100vh;
    padding: 34px 22px;
    border: 0;
    border-radius: 0;
    background: #fff;
    box-shadow: none;
  }
  .hully-login-options {
    align-items: flex-start;
    flex-direction: column;
    gap: 10px;
  }
  body.hully-standalone-app .hully-sidebar {
    min-height: auto;
  }
}

.hully-google-state {
  flex-wrap: wrap;
}

.hully-help {
  margin: 0;
  color: var(--hully-muted);
  font-size: 13px;
  line-height: 1.45;
}

.hully-muted-box p {
  margin: 7px 0 0;
}
