:root {
    --bg: #f4f6f9;
    --card: #ffffff;
    --text: #17202a;
    --muted: #687386;
    --border: #e3e8ef;

    --primary: #2156a5;
    --primary-dark: #183f7c;
    --primary-soft: #eef4ff;

    --green: #18794e;
    --green-bg: #edf9f2;

    --red: #b42318;
    --red-bg: #fff1f0;

    --amber: #a35c00;
    --amber-bg: #fff7e8;

    --grey-dot: #98a2b3;
    --grey-bg: #f5f6f7;

    --shadow: 0 10px 32px rgba(31, 50, 81, .06);
  }

  * { box-sizing: border-box; }

  body {
    margin: 0;
    background:
      linear-gradient(180deg, #f7f9fc 0, var(--bg) 240px);
    color: var(--text);
    font-family:
      Inter, system-ui, -apple-system, BlinkMacSystemFont,
      "Segoe UI", sans-serif;
  }

  html,
  body {
    width: 100%;
    max-width: 100%;
    overflow-x: hidden;
  }

  .app-shell,
  .card,
  .calendar-card,
  .calendar-toolbar,
  .weekdays,
  .calendar-grid {
    min-width: 0;
    max-width: 100%;
  }

  button, input {
    font: inherit;
  }

  button {
    cursor: pointer;
  }

  button:disabled {
    cursor: not-allowed;
    opacity: .58;
  }

  .app-shell {
    max-width: 900px;
    margin: 0 auto;
    padding: 34px 18px 56px;
  }

  .app-shell.narrow {
    max-width: 650px;
  }

  .hero {
    display: flex;
    justify-content: space-between;
    gap: 24px;
    align-items: flex-end;
    margin-bottom: 20px;
  }

  .hero-v2 {
    align-items: center;
    padding: 8px 2px;
  }

  .hero h1 {
    margin: 5px 0 7px;
    font-size: clamp(31px, 6vw, 48px);
    letter-spacing: -.04em;
    line-height: 1.04;
  }

  .hero-mark {
    width: 62px;
    height: 62px;
    flex: 0 0 62px;
    display: grid;
    place-items: center;
    border-radius: 20px;
    background: var(--primary-soft);
    color: var(--primary);
    font-size: 30px;
    font-weight: 800;
  }

  .danger-mark {
    color: var(--red);
    background: var(--red-bg);
  }


  .community-logo {
    width: 168px;
    min-height: 142px;
    flex: 0 0 168px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 4px;
    padding: 14px 12px 12px;
    border-radius: 26px;
    background: linear-gradient(145deg, #f3f7ff, #eaf2ff);
    color: var(--primary);
    border: 1px solid #e2ebf8;
  }

  .community-logo-icon {
    width: 112px;
    height: 78px;
    display: block;
  }

  .community-logo-text {
    color: var(--primary-dark);
    font-size: 15px;
    line-height: 1.15;
    font-weight: 850;
    text-align: center;
    letter-spacing: -.02em;
  }

  .subtitle,
  .muted,
  .panel-help {
    color: var(--muted);
  }

  .subtitle {
    margin: 0;
    font-size: 16px;
    line-height: 1.5;
  }

  .eyebrow {
    margin: 0;
    color: var(--primary);
    font-size: 11px;
    font-weight: 850;
    letter-spacing: .11em;
  }

  .card,
  .rules-card {
    background: var(--card);
    border: 1px solid var(--border);
    border-radius: 20px;
    box-shadow: var(--shadow);
  }

  .card {
    padding: 24px;
    margin-top: 17px;
  }

  .rules-card {
    padding: 21px;
    margin: 18px 0;
  }

  .rules-heading {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 14px;
  }

  .rules-heading h2 {
    margin: 4px 0 0;
    font-size: 20px;
  }

  .info-pill,
  .status-pill {
    display: inline-flex;
    align-items: center;
    min-height: 30px;
    border-radius: 999px;
    padding: 5px 10px;
    white-space: nowrap;
    font-size: 12px;
    font-weight: 800;
  }

  .info-pill {
    color: var(--primary);
    background: var(--primary-soft);
  }

  .rules-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 11px;
    margin-top: 17px;
  }

  .rule-item {
    display: flex;
    gap: 11px;
    align-items: center;
    min-width: 0;
    padding: 13px;
    border: 1px solid var(--border);
    border-radius: 14px;
    background: #fbfcfe;
  }

  .rule-icon {
    width: 36px;
    height: 36px;
    flex: 0 0 36px;
    display: grid;
    place-items: center;
    border-radius: 11px;
    background: var(--primary-soft);
    color: var(--primary);
    font-size: 15px;
    font-weight: 900;
  }

  .rule-item strong,
  .rule-item span {
    display: block;
  }

  .rule-item strong {
    font-size: 14px;
  }

  .rule-item div > span {
    margin-top: 2px;
    color: var(--muted);
    font-size: 12px;
    line-height: 1.35;
  }

  .rules-note {
    margin: 15px 0 0;
    padding-top: 14px;
    border-top: 1px solid var(--border);
    color: var(--muted);
    font-size: 13px;
    line-height: 1.5;
  }

  .flow-strip {
    display: grid;
    grid-template-columns: auto 1fr auto 1fr auto;
    align-items: center;
    gap: 10px;
    margin: 18px 3px 4px;
  }

  .flow-step {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    color: var(--muted);
    font-size: 12px;
    font-weight: 750;
    white-space: nowrap;
  }

  .flow-step b {
    width: 25px;
    height: 25px;
    display: grid;
    place-items: center;
    border-radius: 50%;
    background: #e9edf3;
    color: #596579;
    font-size: 11px;
  }

  .flow-step.active {
    color: var(--primary);
  }

  .flow-step.active b {
    background: var(--primary);
    color: white;
  }

  .flow-line {
    height: 1px;
    background: var(--border);
  }

  .calendar-card {
    padding: 20px;
  }

  .calendar-toolbar {
    display: grid;
    grid-template-columns: 44px minmax(0, 1fr) 44px;
    align-items: center;
    gap: 8px;
    width: 100%;
    min-width: 0;
    text-align: center;
  }

  .calendar-toolbar > div {
    min-width: 0;
  }

  .calendar-toolbar h2 {
    margin: 0;
    font-size: 23px;
  }

  .calendar-toolbar p {
    margin: 5px 0 0;
    font-size: 12px;
  }

  .icon-btn {
    width: 44px;
    height: 44px;
    border-radius: 13px;
    border: 1px solid var(--border);
    background: white;
    color: var(--text);
    font-size: 28px;
  }

  .icon-btn:hover:not(:disabled) {
    border-color: #b9c6d8;
    background: #fbfdff;
  }

  .legend {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    font-size: 13px;
    color: var(--muted);
  }

  .legend-v2 {
    justify-content: center;
    margin: 17px 0 5px;
    padding: 11px 8px;
    border-radius: 12px;
    background: #f8fafc;
  }

  .legend span {
    display: flex;
    align-items: center;
    gap: 6px;
  }

  .dot {
    width: 9px;
    height: 9px;
    border-radius: 50%;
    display: inline-block;
  }

  .dot.available,
  .mini-dot.available {
    background: var(--green);
  }

  .dot.reserved,
  .mini-dot.reserved {
    background: var(--red);
  }

  .dot.blocked,
  .mini-dot.blocked {
    background: var(--amber);
  }

  .dot.future,
  .mini-dot.future {
    background: var(--grey-dot);
  }

  .weekdays,
  .calendar-grid {
    display: grid;
    grid-template-columns: repeat(7, minmax(0, 1fr));
    gap: 7px;
    width: 100%;
    min-width: 0;
  }

  .weekdays {
    margin-top: 14px;
    color: var(--muted);
    text-align: center;
    font-size: 12px;
    font-weight: 750;
  }

  .weekdays span {
    padding: 8px 0;
  }

  .calendar-grid {
    margin-top: 4px;
  }

  .day-placeholder {
    aspect-ratio: 1/1;
  }

  .day-btn {
    position: relative;
    min-width: 0;
    width: 100%;
    max-width: 100%;
    min-height: 72px;
    border: 1px solid var(--border);
    border-radius: 14px;
    background: white;
    color: var(--text);
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    padding: 9px;
    text-align: left;
  }

  .day-btn:hover {
    border-color: #afbed1;
    background: #fcfdff;
  }

  .day-btn.selected {
    border: 2px solid var(--primary);
    padding: 8px;
    box-shadow: 0 0 0 3px rgba(33, 86, 165, .08);
  }

  .day-btn.out {
    color: #8993a2;
    background: #fafbfc;
  }

  .day-btn.has-block {
    background:
      linear-gradient(135deg, #fff 0 72%, var(--amber-bg) 72%);
  }

  .day-number {
    font-weight: 850;
  }

  .day-lock {
    position: absolute;
    top: 7px;
    right: 7px;
    font-size: 10px;
  }

  .day-state {
    position: absolute;
    left: 8px;
    bottom: 8px;
    display: flex;
    gap: 5px;
    z-index: 2;
  }

  .mini-dot {
    display: block;
    flex: 0 0 auto;
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: #d0d5dd;
    box-shadow: 0 0 0 1px rgba(255,255,255,.9);
  }

  .section-head {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 16px;
  }

  .section-head h2 {
    margin: 4px 0 0;
  }

  .panel-help {
    margin: 8px 0 0;
    font-size: 13px;
  }

  .text-btn {
    border: 0;
    background: transparent;
    color: var(--primary);
    font-weight: 800;
    padding: 10px;
  }

  .shift-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 12px;
    margin-top: 18px;
  }

  .shift-btn {
    min-height: 132px;
    border: 1px solid var(--border);
    border-radius: 16px;
    padding: 17px;
    background: white;
    text-align: left;
  }

  .shift-btn strong {
    display: block;
    font-size: 18px;
    margin-bottom: 4px;
  }

  .shift-btn .time {
    color: var(--muted);
    font-size: 13px;
  }

  .shift-btn .availability {
    display: block;
    margin-top: 14px;
    font-weight: 850;
    font-size: 13px;
  }

  .shift-btn .reason {
    display: block;
    margin-top: 5px;
    color: var(--muted);
    font-size: 12px;
    line-height: 1.35;
  }

  .shift-btn.available {
    border-color: #b8dfca;
    background: linear-gradient(180deg, #fff, var(--green-bg));
  }

  .shift-btn.available .availability {
    color: var(--green);
  }

  .shift-btn.reserved {
    background: var(--red-bg);
  }

  .shift-btn.reserved .availability {
    color: var(--red);
  }

  .shift-btn.blocked {
    background: var(--amber-bg);
  }

  .shift-btn.blocked .availability {
    color: var(--amber);
  }

  .shift-btn.future {
    background: var(--grey-bg);
    color: #727d8d;
  }

  .shift-btn.future .availability {
    color: #667085;
  }


  .reservation-owner {
    display: flex;
    flex-direction: column;
    gap: 2px;
    margin-top: 10px;
    padding: 10px 11px;
    border-radius: 11px;
    background: rgba(180, 35, 24, .06);
    border: 1px solid rgba(180, 35, 24, .12);
  }

  .reservation-owner-label {
    color: var(--muted);
    font-size: 11px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: .06em;
  }

  .reservation-owner strong {
    color: var(--red);
    font-size: 13px;
    line-height: 1.35;
  }

  .booking-card {
    border-color: #cfdaea;
  }

  .booking-summary {
    margin-top: 16px;
    padding: 13px 15px;
    border-radius: 13px;
    background: var(--primary-soft);
    color: var(--primary-dark);
    font-weight: 800;
    line-height: 1.4;
  }

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

  label {
    display: grid;
    gap: 7px;
    font-size: 13px;
    font-weight: 750;
  }

  input,
  select {
    width: 100%;
    min-height: 47px;
    border: 1px solid #cad2de;
    border-radius: 11px;
    padding: 10px 12px;
    background: white;
    color: var(--text);
    font-size: 16px;
  }

  input:focus,
  select:focus {
    outline: 3px solid rgba(33, 86, 165, .12);
    border-color: var(--primary);
  }

  select {
    appearance: auto;
    cursor: pointer;
  }

  select:disabled {
    cursor: not-allowed;
    background: #f5f6f7;
    color: var(--muted);
  }

  .booking-rules-reminder,
  .cancel-warning {
    display: flex;
    gap: 8px;
    align-items: flex-start;
    margin-top: 18px;
    padding: 12px 14px;
    border-radius: 12px;
    font-size: 13px;
    line-height: 1.45;
  }

  .booking-rules-reminder {
    background: #f8fafc;
    border: 1px solid var(--border);
  }

  .booking-rules-reminder strong,
  .cancel-warning strong {
    white-space: nowrap;
  }

  .booking-rules-reminder span,
  .cancel-warning span {
    color: var(--muted);
  }

  .check-row {
    grid-template-columns: 22px 1fr;
    align-items: start;
    gap: 10px;
    margin-top: 18px;
    font-weight: 500;
    line-height: 1.45;
  }

  .check-row input {
    width: 18px;
    min-height: 18px;
    margin-top: 2px;
  }

  .actions {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
    margin-top: 20px;
  }

  .primary-btn,
  .secondary-btn,
  .danger-btn {
    min-height: 48px;
    border-radius: 11px;
    padding: 0 18px;
    font-weight: 850;
    border: 1px solid transparent;
  }

  .primary-btn {
    background: var(--primary);
    color: white;
  }

  .primary-btn:hover {
    background: var(--primary-dark);
  }

  .secondary-btn {
    background: white;
    border-color: var(--border);
    color: var(--text);
  }

  .danger-btn {
    width: 100%;
    background: var(--red);
    color: white;
  }

  .notice {
    border-radius: 13px;
    padding: 13px 15px;
    margin: 13px 0;
    font-size: 14px;
    line-height: 1.45;
  }

  .notice.error {
    color: var(--red);
    background: var(--red-bg);
    border: 1px solid #f1c5c0;
  }

  .notice.success {
    color: var(--green);
    background: var(--green-bg);
    border: 1px solid #b8dfca;
  }

  .notice.warning {
    color: var(--amber);
    background: var(--amber-bg);
    border: 1px solid #efd29a;
  }

  .hidden {
    display: none !important;
  }

  .success-card {
    text-align: center;
    padding: 36px 24px;
  }

  .success-icon {
    width: 57px;
    height: 57px;
    border-radius: 50%;
    display: grid;
    place-items: center;
    margin: 0 auto 14px;
    background: var(--green-bg);
    color: var(--green);
    font-size: 29px;
    font-weight: 900;
  }

  .success-card h2 {
    margin: 5px 0 8px;
  }

  .success-card p {
    color: var(--muted);
  }

  .success-note {
    max-width: 500px;
    margin: 10px auto 18px;
    font-size: 13px;
    line-height: 1.45;
  }

  .loading {
    color: var(--muted);
    text-align: center;
    padding: 22px;
  }

  .cancel-policy-card {
    margin-top: 5px;
  }

  .cancel-summary-head {
    display: flex;
    justify-content: space-between;
    gap: 14px;
    align-items: flex-start;
    margin-bottom: 12px;
  }

  .cancel-summary-head h2 {
    margin: 4px 0 0;
    font-size: 20px;
  }

  .status-pill {
    background: var(--green-bg);
    color: var(--green);
  }

  .status-pill.warning {
    background: var(--amber-bg);
    color: var(--amber);
  }

  .status-pill.cancelled {
    background: var(--grey-bg);
    color: #667085;
  }

  .details-list {
    margin: 0 0 20px;
  }

  .details-list div {
    display: grid;
    grid-template-columns: 150px 1fr;
    gap: 12px;
    padding: 11px 0;
    border-bottom: 1px solid var(--border);
  }

  .details-list dt {
    color: var(--muted);
  }

  .details-list dd {
    margin: 0;
    font-weight: 750;
    text-align: right;
  }

  .cancel-warning {
    background: var(--red-bg);
    border: 1px solid #f1c5c0;
    margin-bottom: 16px;
  }

  @media (max-width: 640px) {
    .app-shell {
      padding: 22px 12px 42px;
    }

    .hero {
      align-items: center;
    }

    .hero-mark {
      width: 52px;
      height: 52px;
      flex-basis: 52px;
      border-radius: 16px;
      font-size: 24px;
    }


    .community-logo {
      width: 112px;
      min-height: 104px;
      flex-basis: 112px;
      padding: 9px 8px 8px;
      border-radius: 20px;
    }

    .community-logo-icon {
      width: 78px;
      height: 57px;
    }

    .community-logo-text {
      font-size: 11px;
    }

    .rules-heading {
      display: block;
    }

    .info-pill {
      margin-top: 10px;
    }

    .rules-grid,
    .shift-grid,
    .form-grid {
      grid-template-columns: 1fr;
    }

    .flow-strip {
      grid-template-columns: 1fr;
      gap: 7px;
    }

    .flow-line {
      display: none;
    }

    .flow-step {
      white-space: normal;
    }

    .card,
    .rules-card {
      padding: 16px;
      border-radius: 16px;
    }

    .calendar-card {
      width: 100%;
      max-width: 100%;
      padding: 10px;
      overflow: hidden;
    }

    .calendar-toolbar {
      grid-template-columns: 38px minmax(0, 1fr) 38px;
      gap: 5px;
    }

    .calendar-toolbar h2 {
      font-size: 20px;
      line-height: 1.15;
    }

    .calendar-toolbar p {
      font-size: 10px;
      line-height: 1.3;
    }

    .icon-btn {
      width: 38px;
      height: 38px;
      border-radius: 11px;
      font-size: 24px;
    }

    .weekdays,
    .calendar-grid {
      gap: 4px;
    }

    .weekdays {
      font-size: 10px;
    }

    .weekdays span {
      min-width: 0;
      padding: 6px 0;
    }

    .legend-v2 {
      justify-content: flex-start;
      gap: 9px 12px;
    }

    .day-btn {
      min-width: 0;
      min-height: 52px;
      padding: 5px;
      border-radius: 9px;
    }

    .day-btn.selected {
      padding: 4px;
    }

    .day-number {
      font-size: 12px;
    }

    .day-lock {
      top: 4px;
      right: 4px;
      font-size: 8px;
    }

    .day-state {
      left: 5px;
      bottom: 5px;
      gap: 3px;
    }

    .mini-dot {
      width: 7px;
      height: 7px;
    }

    .section-head {
      align-items: flex-start;
    }

    .details-list div {
      grid-template-columns: 1fr;
      gap: 4px;
    }

    .details-list dd {
      text-align: left;
    }

    .booking-rules-reminder,
    .cancel-warning {
      display: block;
    }

    .booking-rules-reminder strong,
    .cancel-warning strong {
      display: block;
      margin-bottom: 3px;
    }
  }


  /* ====================================================
     MIS RESERVAS
     ==================================================== */

  .my-reservations-entry {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 22px;
    margin: 16px 0;
    padding: 17px 20px;
    border: 1px solid #cfdbea;
    border-radius: 16px;
    background: linear-gradient(135deg, #ffffff, var(--primary-soft));
  }

  .my-reservations-entry strong,
  .my-reservations-entry span {
    display: block;
  }

  .my-reservations-entry strong {
    margin-top: 4px;
    font-size: 17px;
  }

  .my-reservations-entry span {
    margin-top: 4px;
    color: var(--muted);
    font-size: 13px;
    line-height: 1.4;
  }

  .my-reservations-panel {
    border-color: #cfdbea;
  }

  .my-login-form {
    margin-top: 18px;
  }

  .my-login-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 15px;
  }

  .my-account-bar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 15px;
    margin: 18px 0;
    padding: 13px 15px;
    border-radius: 13px;
    background: var(--primary-soft);
  }

  .my-account-bar span,
  .my-account-bar strong {
    display: block;
  }

  .my-account-bar span {
    color: var(--muted);
    font-size: 12px;
  }

  .my-account-bar strong {
    margin-top: 3px;
    color: var(--primary-dark);
    font-size: 18px;
  }

  .reservation-list {
    display: grid;
    gap: 13px;
  }

  .my-reservation-card {
    padding: 17px;
    border: 1px solid var(--border);
    border-radius: 15px;
    background: #fff;
  }

  .my-reservation-top {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 12px;
  }

  .my-reservation-top strong,
  .reservation-code {
    display: block;
  }

  .my-reservation-top strong {
    margin-top: 4px;
    font-size: 16px;
    text-transform: capitalize;
  }

  .reservation-code {
    color: var(--primary);
    font-size: 11px;
    font-weight: 850;
    letter-spacing: .05em;
  }

  .my-status-pill {
    display: inline-flex;
    align-items: center;
    min-height: 28px;
    padding: 5px 9px;
    border-radius: 999px;
    white-space: nowrap;
    font-size: 11px;
    font-weight: 850;
  }

  .my-status-pill.active {
    color: var(--green);
    background: var(--green-bg);
  }

  .my-status-pill.locked {
    color: var(--amber);
    background: var(--amber-bg);
  }

  .reservation-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 7px 14px;
    margin-top: 12px;
    color: var(--text);
    font-size: 13px;
  }

  .reservation-deadline,
  .reservation-help {
    margin: 10px 0 0;
    color: var(--muted);
    font-size: 12px;
    line-height: 1.45;
  }

  .danger-outline-btn {
    min-height: 40px;
    margin-top: 14px;
    padding: 0 14px;
    border: 1px solid #efb4ae;
    border-radius: 10px;
    background: white;
    color: var(--red);
    font-weight: 800;
  }

  .danger-outline-btn:hover:not(:disabled) {
    background: var(--red-bg);
  }

  .empty-reservations {
    padding: 23px 18px;
    border: 1px dashed #cbd4df;
    border-radius: 14px;
    background: #fafbfc;
    text-align: center;
  }

  .empty-reservations strong,
  .empty-reservations span {
    display: block;
  }

  .empty-reservations span {
    margin-top: 5px;
    color: var(--muted);
    font-size: 13px;
  }

  .pin-management {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 18px;
    margin-top: 20px;
    padding-top: 18px;
    border-top: 1px solid var(--border);
  }

  .pin-management strong,
  .pin-management span {
    display: block;
  }

  .pin-management span {
    max-width: 520px;
    margin-top: 4px;
    color: var(--muted);
    font-size: 12px;
    line-height: 1.45;
  }

  .pin-change-form {
    margin-top: 15px;
    padding: 16px;
    border: 1px solid #cfdbea;
    border-radius: 14px;
    background: #fbfdff;
  }

  .pin-hint {
    margin: 10px 0 0;
    color: var(--muted);
    font-size: 12px;
  }

  @media (max-width: 640px) {
    .my-reservations-entry,
    .pin-management {
      align-items: stretch;
      flex-direction: column;
    }

    .my-reservations-entry .secondary-btn,
    .pin-management .secondary-btn {
      width: 100%;
    }

    .my-login-grid {
      grid-template-columns: 1fr;
    }

    .my-reservation-top {
      display: block;
    }

    .my-status-pill {
      margin-top: 9px;
    }
  }


  @media (max-width: 380px) {
    .app-shell {
      padding-left: 8px;
      padding-right: 8px;
    }

    .calendar-card {
      padding-left: 7px;
      padding-right: 7px;
    }

    .weekdays,
    .calendar-grid {
      gap: 3px;
    }

    .day-btn {
      min-height: 48px;
      padding: 4px;
    }

    .day-btn.selected {
      padding: 3px;
    }

    .day-number {
      font-size: 11px;
    }

    .day-state {
      left: 4px;
      bottom: 4px;
    }
  }


  /* ====================================================
     V4.6.1 · LISTA DE ESPERA
     ==================================================== */

  .waitlist-inline-btn {
    width: 100%;
    min-height: 38px;
    margin-top: 12px;
    padding: 8px 10px;
    border: 1px solid #d7b15d;
    border-radius: 10px;
    background: #fffaf0;
    color: #805b10;
    font-size: 12px;
    font-weight: 850;
    text-align: center;
    cursor: pointer;
  }

  .waitlist-inline-btn:hover:not(:disabled) {
    background: #fff3d6;
  }

  .waitlist-card {
    border-color: #e2c77f;
  }

  .waitlist-note {
    margin: 14px 0 0;
    padding: 12px 14px;
    border: 1px solid #ead8aa;
    border-radius: 12px;
    background: #fffaf0;
    color: #66501d;
    font-size: 13px;
    line-height: 1.5;
  }

  .my-subsection + .my-subsection {
    margin-top: 22px;
    padding-top: 20px;
    border-top: 1px solid var(--border);
  }

  .my-subsection h3 {
    margin: 0 0 12px;
    font-size: 16px;
  }

  .waitlist-subsection .panel-help {
    margin-top: -5px;
    margin-bottom: 12px;
  }

  .waitlist-request-card {
    border-color: #ead8aa;
    background: #fffdf8;
  }

  .my-status-pill.priority {
    color: #805b10;
    background: #fff3d6;
  }


  .shift-btn[role="group"] {
    cursor: default;
    opacity: 1;
  }


  /* ====================================================
     V5.0 · ESTADO DE CARGA DEL CALENDARIO
     ==================================================== */

  .calendar-loading-state {
    grid-column: 1 / -1;
    min-height: 180px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 28px 18px;
    color: var(--muted);
    text-align: center;
  }

  .calendar-loading-state strong {
    color: var(--text);
    font-size: 16px;
  }

  .calendar-loading-state > span:last-child {
    max-width: 360px;
    font-size: 13px;
    line-height: 1.45;
  }

  .calendar-loading-spinner {
    width: 34px;
    height: 34px;
    margin-bottom: 4px;
    border: 3px solid #dfe7f2;
    border-top-color: var(--primary);
    border-radius: 50%;
    animation: calendar-spin .8s linear infinite;
  }

  .calendar-loading-error {
    min-height: 130px;
  }

  .calendar-loading-error strong {
    color: var(--red);
  }

  @keyframes calendar-spin {
    to { transform: rotate(360deg); }
  }

  @media (prefers-reduced-motion: reduce) {
    .calendar-loading-spinner {
      animation: none;
      border-top-color: #dfe7f2;
      outline: 3px solid var(--primary-soft);
    }
  }

/* ====================================================
   V5.1 · REDISEÑO VISUAL / IDENTIDAD CERRO DEL CAMPO 11
   ==================================================== */

:root {
  --brand-blue: #0e70cf;
  --brand-blue-dark: #0a5aaa;
  --brand-blue-deep: #084c91;
  --brand-blue-soft: #eaf4ff;
  --brand-blue-ultrasoft: #f5f9ff;
  --bg: #f4f8fd;
  --card: #ffffff;
  --text: #17324d;
  --muted: #65778a;
  --border: #dce7f2;
  --primary: var(--brand-blue);
  --primary-dark: var(--brand-blue-dark);
  --primary-soft: var(--brand-blue-soft);
  --shadow: 0 16px 42px rgba(29, 73, 118, .09);
  --shadow-soft: 0 8px 24px rgba(29, 73, 118, .07);
}

html {
  background: var(--bg);
}

body {
  min-height: 100vh;
  background:
    radial-gradient(circle at 90% 0%, rgba(14, 112, 207, .10), transparent 31rem),
    radial-gradient(circle at 0% 18%, rgba(14, 112, 207, .055), transparent 27rem),
    linear-gradient(180deg, #fbfdff 0, var(--bg) 260px, #f7faff 100%);
  color: var(--text);
}

.app-shell {
  max-width: 960px;
  padding-top: 26px;
}

.hero.hero-v2 {
  position: relative;
  min-height: 230px;
  padding: 30px 34px;
  overflow: hidden;
  align-items: center;
  border: 1px solid rgba(14, 112, 207, .15);
  border-radius: 28px;
  background:
    radial-gradient(circle at 87% 30%, rgba(14, 112, 207, .13), transparent 16rem),
    linear-gradient(135deg, #ffffff 0%, #f7fbff 58%, #edf6ff 100%);
  box-shadow: var(--shadow);
}

.hero.hero-v2::before {
  content: "";
  position: absolute;
  width: 260px;
  height: 260px;
  right: -105px;
  top: -120px;
  border: 34px solid rgba(14, 112, 207, .055);
  border-radius: 50%;
  pointer-events: none;
}

.hero.hero-v2 > div:first-child {
  position: relative;
  z-index: 1;
  max-width: 560px;
}

.hero h1 {
  margin-top: 8px;
  margin-bottom: 10px;
  color: #12314f;
  font-size: clamp(36px, 6vw, 54px);
  font-weight: 850;
  letter-spacing: -.045em;
}

.eyebrow {
  color: var(--brand-blue);
  font-size: 11px;
  font-weight: 900;
  letter-spacing: .13em;
}

.subtitle {
  max-width: 520px;
  font-size: 16px;
  line-height: 1.58;
}

.community-logo.brand-logo-card {
  position: relative;
  z-index: 1;
  width: 230px;
  min-height: 0;
  flex: 0 0 230px;
  padding: 0;
  border: 0;
  border-radius: 0;
  background: transparent;
  color: inherit;
  box-shadow: none;
}

.community-logo-image {
  display: block;
  width: 100%;
  height: auto;
  filter: drop-shadow(0 14px 18px rgba(13, 74, 132, .10));
}

.rules-card,
.card {
  border-color: rgba(162, 187, 213, .42);
  border-radius: 24px;
  box-shadow: var(--shadow-soft);
}

.rules-card {
  margin-top: 18px;
  padding: 24px;
  background: rgba(255,255,255,.92);
  backdrop-filter: blur(8px);
}

.rules-heading h2,
.section-head h2,
.calendar-toolbar h2 {
  color: #173a5d;
}

.info-pill {
  color: var(--brand-blue-dark);
  background: var(--brand-blue-soft);
  border: 1px solid rgba(14,112,207,.10);
}

.rules-grid {
  gap: 12px;
}

.rule-item {
  padding: 15px;
  border-color: #e1eaf4;
  border-radius: 16px;
  background: linear-gradient(180deg, #fff, #fbfdff);
}

.rule-icon {
  width: 40px;
  height: 40px;
  flex-basis: 40px;
  border-radius: 13px;
  background: var(--brand-blue-soft);
  color: var(--brand-blue);
}

.my-reservations-entry {
  position: relative;
  overflow: hidden;
  padding: 20px 22px;
  border: 1px solid rgba(14,112,207,.18);
  border-radius: 20px;
  background:
    linear-gradient(115deg, rgba(14,112,207,.09), rgba(255,255,255,.98) 46%, rgba(14,112,207,.045));
  box-shadow: 0 8px 22px rgba(29,73,118,.055);
}

.my-reservations-entry::after {
  content: "";
  position: absolute;
  right: -36px;
  top: -50px;
  width: 135px;
  height: 135px;
  border: 24px solid rgba(14,112,207,.055);
  border-radius: 50%;
  pointer-events: none;
}

.my-reservations-entry > * {
  position: relative;
  z-index: 1;
}

.secondary-btn {
  border-color: #cbdced;
  background: #fff;
  color: #234968;
}

.secondary-btn:hover:not(:disabled) {
  border-color: rgba(14,112,207,.34);
  background: var(--brand-blue-ultrasoft);
}

.primary-btn {
  border-color: var(--brand-blue);
  background: var(--brand-blue);
  box-shadow: 0 7px 16px rgba(14,112,207,.18);
}

.primary-btn:hover:not(:disabled) {
  background: var(--brand-blue-dark);
  border-color: var(--brand-blue-dark);
}

.primary-btn,
.secondary-btn,
.danger-btn {
  border-radius: 13px;
}

.flow-strip {
  margin: 20px 6px 8px;
  padding: 12px 14px;
  border: 1px solid rgba(14,112,207,.08);
  border-radius: 16px;
  background: rgba(255,255,255,.68);
}

.flow-step b {
  background: #e8eff7;
}

.flow-step.active b {
  background: var(--brand-blue);
  box-shadow: 0 4px 10px rgba(14,112,207,.18);
}

.calendar-card {
  padding: 24px;
  border-color: rgba(14,112,207,.13);
  box-shadow: 0 18px 45px rgba(29,73,118,.095);
}

.calendar-toolbar {
  padding: 2px 4px 8px;
}

.calendar-toolbar h2 {
  font-size: 25px;
  letter-spacing: -.02em;
}

.icon-btn {
  border-color: #d6e3ef;
  border-radius: 14px;
  background: #fff;
  color: var(--brand-blue-dark);
  box-shadow: 0 4px 12px rgba(29,73,118,.055);
}

.icon-btn:hover:not(:disabled) {
  border-color: rgba(14,112,207,.30);
  background: var(--brand-blue-soft);
}

.legend-v2 {
  margin-top: 16px;
  padding: 12px 14px;
  border: 1px solid #e5edf6;
  border-radius: 14px;
  background: #f8fbff;
}

.weekdays {
  color: #667d93;
  font-weight: 850;
}

.day-btn {
  min-height: 76px;
  border-color: #e1e8f0;
  border-radius: 15px;
  background: #fff;
  transition: transform .15s ease, box-shadow .15s ease, border-color .15s ease, background .15s ease;
}

.day-btn:hover:not(:disabled) {
  transform: translateY(-1px);
  border-color: rgba(14,112,207,.30);
  background: #fbfdff;
  box-shadow: 0 7px 15px rgba(29,73,118,.075);
}

.day-btn.selected {
  border-color: var(--brand-blue);
  background: linear-gradient(180deg, #fff, #f0f7ff);
  box-shadow: 0 0 0 3px rgba(14,112,207,.10), 0 8px 18px rgba(29,73,118,.08);
}

.day-number {
  color: #25435f;
}

.booking-card,
.my-reservations-panel {
  border-color: rgba(14,112,207,.16);
}

.booking-summary,
.my-account-bar {
  background: linear-gradient(135deg, #edf6ff, #f7fbff);
  border: 1px solid rgba(14,112,207,.09);
}

input,
select {
  min-height: 50px;
  border-color: #cfddea;
  border-radius: 13px;
  background: #fff;
}

input:focus,
select:focus {
  outline: 4px solid rgba(14,112,207,.10);
  border-color: var(--brand-blue);
}

.my-reservation-card,
.shift-btn {
  border-radius: 18px;
}

.my-reservation-card {
  box-shadow: 0 5px 16px rgba(29,73,118,.04);
}

.shift-btn {
  transition: transform .15s ease, box-shadow .15s ease, border-color .15s ease;
}

.shift-btn:hover:not(:disabled) {
  transform: translateY(-1px);
  box-shadow: 0 9px 20px rgba(29,73,118,.07);
}

.waitlist-inline-btn {
  border-color: #dcb866;
  border-radius: 12px;
}

.calendar-loading-state {
  min-height: 210px;
}

.calendar-loading-spinner {
  width: 38px;
  height: 38px;
  border-color: #e3edf7;
  border-top-color: var(--brand-blue);
}

.offline-shell {
  padding-top: 54px;
}

.offline-card {
  text-align: center;
  padding: 34px;
}

.offline-logo {
  width: min(280px, 82%);
  height: auto;
  margin: 0 auto 10px;
}

.cancel-hero {
  min-height: 205px !important;
}

@media (max-width: 720px) {
  .app-shell {
    padding: 14px 10px 38px;
  }

  .hero.hero-v2 {
    min-height: 0;
    padding: 22px 18px 18px;
    gap: 12px;
    border-radius: 24px;
    align-items: center;
  }

  .hero h1 {
    font-size: clamp(31px, 10vw, 42px);
  }

  .subtitle {
    font-size: 14px;
  }

  .community-logo.brand-logo-card {
    width: 132px;
    flex-basis: 132px;
  }

  .rules-card,
  .card {
    border-radius: 20px;
  }

  .rules-card {
    padding: 18px;
  }

  .calendar-card {
    padding: 12px;
  }

  .flow-strip {
    padding: 10px 12px;
  }

  .day-btn {
    min-height: 54px;
    border-radius: 11px;
  }
}

@media (max-width: 480px) {
  .hero.hero-v2 {
    display: grid;
    grid-template-columns: minmax(0,1fr) 104px;
    padding: 19px 15px 16px;
  }

  .community-logo.brand-logo-card {
    width: 104px;
    flex-basis: auto;
  }

  .hero h1 {
    font-size: 30px;
    line-height: 1.02;
  }

  .hero .eyebrow {
    font-size: 9px;
  }

  .hero .subtitle {
    font-size: 12.5px;
    line-height: 1.42;
  }

  .my-reservations-entry {
    padding: 17px;
    border-radius: 18px;
  }

  .legend-v2 {
    font-size: 11px;
  }
}


/* V5.2.1 · Contacto de soporte por WhatsApp */
.support-contact {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px;
  margin-top: 12px;
}

.whatsapp-support-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 42px;
  padding: 9px 15px;
  border-radius: 10px;
  background: #25D366;
  color: #fff;
  font-size: 0.9rem;
  font-weight: 700;
  text-decoration: none;
  box-shadow: 0 5px 14px rgba(37, 211, 102, 0.18);
  transition: transform 0.15s ease, box-shadow 0.15s ease, filter 0.15s ease;
}

.whatsapp-support-btn:hover,
.whatsapp-support-btn:focus-visible {
  color: #fff;
  filter: brightness(0.96);
  transform: translateY(-1px);
  box-shadow: 0 7px 18px rgba(37, 211, 102, 0.24);
}

@media (max-width: 560px) {
  .support-contact {
    align-items: stretch;
    flex-direction: column;
  }

  .whatsapp-support-btn {
    width: 100%;
  }
}


/* V5.3 · Modo mantenimiento */
.maintenance-screen {
  min-height: 100vh;
  min-height: 100dvh;
  display: grid;
  place-items: center;
  padding: 28px 16px;
  background:
    radial-gradient(circle at top, rgba(14,112,207,.10), transparent 40%),
    linear-gradient(180deg, #f7faff 0%, #edf3f9 100%);
}

.maintenance-screen.hidden { display: none !important; }

.maintenance-card {
  width: min(620px, 100%);
  padding: 34px 34px 30px;
  border: 1px solid #dfe8f2;
  border-radius: 28px;
  background: rgba(255,255,255,.97);
  box-shadow: 0 24px 70px rgba(34, 66, 106, .13);
  text-align: center;
}

.maintenance-logo {
  display: block;
  width: min(285px, 78%);
  height: auto;
  margin: 0 auto 18px;
}

.maintenance-badge {
  display: inline-flex;
  align-items: center;
  min-height: 30px;
  padding: 5px 11px;
  border-radius: 999px;
  background: #eef5fd;
  color: #0e70cf;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: .08em;
}

.maintenance-card h1 {
  margin: 18px auto 10px;
  max-width: 520px;
  color: #17395f;
  font-size: clamp(28px, 6vw, 40px);
  line-height: 1.08;
  letter-spacing: -.035em;
}

.maintenance-card > p {
  max-width: 500px;
  margin: 0 auto;
  color: #66758a;
  font-size: 15px;
  line-height: 1.65;
}

.maintenance-until {
  margin-top: 16px !important;
  padding: 11px 14px;
  border-radius: 13px;
  background: #f3f7fb;
  color: #31567d !important;
  font-weight: 750;
}

.maintenance-actions {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 24px;
}

.secondary-link-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 10px 16px;
  border: 1px solid #cddbeb;
  border-radius: 11px;
  background: #fff;
  color: #2156a5;
  font-weight: 750;
  text-decoration: none;
}

.secondary-link-btn:hover,
.secondary-link-btn:focus-visible {
  background: #f4f8fd;
}

.maintenance-note {
  margin-top: 22px !important;
  padding-top: 18px;
  border-top: 1px solid #e8eef5;
  font-size: 12.5px !important;
}

@media (max-width: 560px) {
  .maintenance-screen { padding: 14px 10px; }
  .maintenance-card {
    padding: 26px 18px 22px;
    border-radius: 22px;
  }
  .maintenance-actions { flex-direction: column; }
  .maintenance-actions .primary-btn,
  .maintenance-actions .secondary-link-btn { width: 100%; }
}


/* ======================================================
   V6.0 FASE 1 · MI COMUNIDAD
   ====================================================== */
.v6-shell{min-height:100vh;background:linear-gradient(180deg,#f5f9ff 0,#f8fbff 45%,#f4f7fb 100%);color:#17253a}.v6-login-screen{min-height:100vh;display:grid;place-items:center;padding:32px 18px}.v6-login-card{width:min(100%,440px);background:#fff;border:1px solid #e2ebf5;border-radius:30px;padding:30px;box-shadow:0 24px 70px rgba(20,58,95,.14);text-align:center}.v6-login-logo{width:min(100%,310px);height:auto;margin:0 auto 18px;display:block}.v6-login-card h1{font-size:2rem;margin:.2rem 0}.v6-login-lead{color:#5b6b7f;line-height:1.55;margin:0 auto 24px;max-width:330px}.v6-login-card form{display:grid;gap:15px;text-align:left}.v6-login-card label{display:grid;gap:7px;font-weight:700}.v6-login-card select,.v6-login-card input,.v6-editor-card input,.v6-editor-card textarea,.v6-editor-card select{width:100%;border:1px solid #d5e0ec;border-radius:15px;padding:13px 14px;background:#fbfdff;color:#17253a;font:inherit}.v6-login-button{width:100%;margin-top:6px}.v6-privacy-note{font-size:.78rem;color:#7a8798;margin:18px 0 0}.v6-community{min-height:100vh;padding-bottom:86px}.v6-topbar{position:sticky;top:0;z-index:30;display:flex;align-items:center;justify-content:space-between;gap:16px;padding:10px max(18px,calc((100vw - 1120px)/2));background:rgba(255,255,255,.94);backdrop-filter:blur(14px);border-bottom:1px solid #e6edf5}.v6-brand-button{appearance:none;border:0;background:none;display:flex;align-items:center;gap:10px;padding:0;cursor:pointer;text-align:left;color:inherit}.v6-brand-button img{width:42px;height:42px;border-radius:12px}.v6-brand-button span{display:grid}.v6-brand-button strong{font-size:.95rem}.v6-brand-button small{color:#7a8798}.v6-identity{display:flex;align-items:center;gap:8px;font-size:.85rem}.v6-role-badge,.v6-home-role{border-radius:999px;background:#eaf4ff;color:#075da9;font-weight:800;padding:6px 10px}.v6-role-badge.president,.v6-home-role:has(+ *){background:#fff2cc;color:#795b00}.v6-view{width:min(1120px,calc(100% - 30px));margin:0 auto;padding:28px 0}.v6-welcome-row{display:flex;align-items:flex-start;justify-content:space-between;gap:20px;margin:8px 0 24px}.v6-welcome-row h1{font-size:clamp(2rem,5vw,3.1rem);letter-spacing:-.04em;margin:.15rem 0}.v6-welcome-row p:not(.eyebrow){color:#65758a;margin:0}.v6-now-card{background:#fff;border:1px solid #e4ecf5;border-radius:26px;padding:22px;box-shadow:0 16px 48px rgba(35,73,110,.08);margin-bottom:22px}.v6-section-title{display:flex;align-items:center;justify-content:space-between;gap:15px}.v6-section-title h2{margin:.1rem 0 0}.v6-summary-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:12px;margin:18px 0}.v6-summary-item{display:flex;align-items:center;gap:12px;border-radius:18px;padding:15px;background:#f4f9ff}.v6-summary-item>span{display:grid;place-items:center;width:40px;height:40px;border-radius:13px;background:#dceeff;font-size:1.15rem}.v6-summary-item div{display:grid}.v6-summary-item strong{font-size:1.25rem}.v6-summary-item small{color:#718096}.v6-summary-item.v6-future{opacity:.7;background:#f7f7f8}.v6-recent-list{display:grid;gap:8px}.v6-recent-item{width:100%;display:grid;grid-template-columns:auto 1fr auto;align-items:center;gap:12px;text-align:left;border:0;background:#fbfcfe;border-radius:16px;padding:12px;cursor:pointer;color:inherit}.v6-recent-item:hover{background:#f1f7fd}.v6-recent-item span:nth-child(2){display:grid}.v6-recent-item small{color:#8491a3}.v6-recent-icon{display:grid;place-items:center;width:34px;height:34px;border-radius:10px;background:#e8f3ff;color:#0e70cf;font-weight:900}.v6-recent-icon.important{background:#fff0ec;color:#d3482d}.v6-empty-inline{color:#8491a3;margin:8px 0}.v6-module-grid{display:grid;grid-template-columns:repeat(2,1fr);gap:14px}.v6-module-card{position:relative;min-height:150px;border:1px solid rgba(20,80,130,.08);border-radius:24px;padding:20px;display:grid;align-content:center;justify-items:center;gap:5px;background:#fff;box-shadow:0 12px 36px rgba(30,72,110,.07);font:inherit;color:#17253a;cursor:pointer}.v6-module-card:hover:not(:disabled){transform:translateY(-2px);box-shadow:0 16px 40px rgba(30,72,110,.12)}.v6-module-card.reservations{background:linear-gradient(145deg,#eef7ff,#dfefff)}.v6-module-card.communications{background:linear-gradient(145deg,#fff5f0,#ffe9e0)}.v6-module-card.incidents{background:linear-gradient(145deg,#fff8e5,#ffefc8)}.v6-module-card.polls{background:linear-gradient(145deg,#effaf4,#dff3e7)}.v6-module-card.suggestions{background:linear-gradient(145deg,#f6f1ff,#ece4ff)}.v6-module-card.president{background:linear-gradient(145deg,#fff8df,#ffeaae)}.v6-module-card.wide{grid-column:span 2}.v6-module-card.disabled{cursor:default;filter:saturate(.65);opacity:.75}.v6-module-icon{font-size:2.1rem}.v6-module-card strong{font-size:1.12rem}.v6-module-card small{color:#68778b}.v6-card-badge{position:absolute;top:14px;right:14px;background:#d63c32;color:#fff;border-radius:999px;min-width:24px;height:24px;padding:0 7px;display:grid;place-items:center;font-size:.75rem;font-weight:900}.v6-module-header{display:grid;grid-template-columns:auto 1fr auto;align-items:center;gap:16px;margin-bottom:20px}.v6-module-header h1{margin:.1rem 0 0;font-size:2rem}.v6-back-btn{border:0;background:#fff;color:#0e70cf;border-radius:14px;padding:10px 13px;font-weight:800;box-shadow:0 5px 18px rgba(32,75,115,.09);cursor:pointer}.v6-filter-pills{display:flex;gap:8px;flex-wrap:wrap;margin:0 0 18px}.v6-filter{border:1px solid #dbe6f1;background:#fff;color:#52657a;border-radius:999px;padding:9px 14px;font-weight:800;cursor:pointer}.v6-filter.active{background:#0e70cf;color:#fff;border-color:#0e70cf}.v6-communications-list{display:grid;gap:13px}.v6-loading-list,.v6-empty-state{background:#fff;border:1px solid #e4ecf5;border-radius:22px;padding:28px;text-align:center;color:#738297}.v6-empty-state{display:grid;gap:8px;place-items:center}.v6-empty-state span{font-size:2rem}.v6-communication-card{background:#fff;border:1px solid #e3ebf4;border-radius:22px;padding:19px 20px;box-shadow:0 10px 30px rgba(30,72,110,.06)}.v6-communication-card.important{border-left:5px solid #e45237}.v6-communication-card.pinned{box-shadow:0 12px 34px rgba(14,112,207,.12)}.v6-comm-top{display:flex;justify-content:space-between;gap:14px;align-items:center}.v6-comm-top time{font-size:.78rem;color:#8491a3}.v6-comm-badges{display:flex;gap:6px;flex-wrap:wrap}.v6-type,.v6-pinned,.v6-status{border-radius:999px;padding:5px 8px;font-size:.7rem;font-weight:900;text-transform:uppercase;letter-spacing:.03em}.v6-type.info{background:#e8f3ff;color:#0e70cf}.v6-type.important{background:#fff0ec;color:#d0442b}.v6-pinned{background:#fff7d7;color:#8a6700}.v6-status.publicado{background:#e6f6eb;color:#24783f}.v6-status.borrador{background:#f0f1f4;color:#646f7e}.v6-status.retirado{background:#fbe9e9;color:#9d3131}.v6-communication-card h2{margin:12px 0 7px;font-size:1.15rem}.v6-communication-card p{margin:0;color:#4f6074;line-height:1.6}.v6-expiry{display:block;margin-top:12px;color:#8a96a5}.v6-comm-actions{display:flex;gap:8px;margin-top:15px}.v6-comm-actions button{border:1px solid #d8e4ef;background:#f8fbff;color:#0e70cf;border-radius:11px;padding:8px 11px;font-weight:800;cursor:pointer}.v6-editor-card{margin-top:20px;background:#fff;border:1px solid #dfe9f4;border-radius:24px;padding:22px;box-shadow:0 18px 50px rgba(30,72,110,.1)}.v6-editor-card form{display:grid;gap:15px}.v6-editor-card label{display:grid;gap:7px;font-weight:700}.v6-editor-grid{display:grid;grid-template-columns:repeat(2,1fr);gap:13px}.v6-pin-check{align-self:end;min-height:48px}.v6-reservation-header{width:min(1120px,100%);margin:0 auto 4px}.v6-reservation-header+ #mainAppShell{padding-top:0}.v6-identity-hidden{display:none!important}.v6-auth-shortcut .my-login-grid{display:none}.v6-bottom-nav{display:none}.v6-home-role{white-space:nowrap;background:#eef6ff;color:#0e70cf}.v6-home-role:not(:empty){display:inline-flex}.v6-home-role:empty{display:none}
@media(max-width:700px){.v6-view{width:min(100% - 22px,1120px);padding:19px 0}.v6-topbar{padding:9px 12px}.v6-brand-button small{display:none}.v6-brand-button strong{font-size:.82rem}.v6-identity{gap:5px}.v6-identity>#communityApartmentLabel{display:none}.v6-role-badge{font-size:.7rem;padding:5px 8px}.v6-welcome-row{margin-top:2px}.v6-welcome-row h1{font-size:2rem}.v6-summary-grid{grid-template-columns:1fr}.v6-module-grid{gap:10px}.v6-module-card{min-height:128px;padding:15px}.v6-module-card.wide{grid-column:span 2}.v6-module-header{grid-template-columns:auto 1fr;gap:10px}.v6-module-header>.primary-btn{grid-column:1/-1;width:100%}.v6-editor-grid{grid-template-columns:1fr}.v6-comm-top{align-items:flex-start;flex-direction:column}.v6-bottom-nav{position:fixed;bottom:0;left:0;right:0;z-index:50;display:grid;grid-template-columns:repeat(3,1fr);background:rgba(255,255,255,.96);backdrop-filter:blur(14px);border-top:1px solid #dce6f0;padding:7px max(8px,env(safe-area-inset-right)) calc(7px + env(safe-area-inset-bottom)) max(8px,env(safe-area-inset-left));box-shadow:0 -8px 30px rgba(31,69,105,.08)}.v6-bottom-nav button{border:0;background:none;color:#77869a;display:grid;place-items:center;gap:2px;font-size:.68rem;font-weight:800;padding:4px}.v6-bottom-nav button span{font-size:1.15rem}.v6-bottom-nav button.active{color:#0e70cf}.v6-community{padding-bottom:75px}.v6-login-card{border-radius:24px;padding:24px 20px}.v6-login-screen{padding:18px 13px}}
