﻿    :root {
      --bg: #efe6d7;
      --bg-soft: #f7f1e7;
      --card: rgba(255, 250, 244, 0.94);
      --card-strong: #fff8f0;
      --text: #2f261d;
      --muted: #74685a;
      --accent: #496b5b;
      --accent-soft: #dbe7de;
      --accent-warm: #d9b98f;
      --danger: #9f3a38;
      --danger-soft: #f3c6c6;
      --border: #dfd3c3;
      --shadow: 0 12px 28px rgba(89, 64, 36, 0.07);
      --radius: 16px;
      --max-width: 1100px;
    }

    * {
      box-sizing: border-box;
    }

    body {
      margin: 0;
      font-family: Arial, sans-serif;
      background:
        radial-gradient(circle at top left, rgba(217, 185, 143, 0.32), transparent 30%),
        radial-gradient(circle at top right, rgba(73, 107, 91, 0.16), transparent 26%),
        linear-gradient(180deg, #f4ebde 0%, var(--bg) 44%, var(--bg-soft) 100%);
      color: var(--text);
    }

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

    h2 {
      color: #5b4735;
    }

    .hidden {
      display: none !important;
    }

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

    #loggedOutBox,
    #loggedOutBox *,
    #loggedInBox,
    #loggedInBox *,
    .booking-row,
    .booking-row * {
      pointer-events: auto !important;
    }

    #loggedOutBox,
    #loggedInBox,
    .booking-row {
      position: relative;
      z-index: 20;
    }

    header {
      min-height: 58vh;
      background:
        linear-gradient(rgba(0, 0, 0, 0.28), rgba(0, 0, 0, 0.38)),
        url('cabin-placeholder.png') center/cover no-repeat;
      display: flex;
      align-items: end;
      padding: 32px 20px;
    }

    .hero {
      max-width: var(--max-width);
      margin: 0 auto;
      width: 100%;
      color: white;
      display: grid;
      grid-template-columns: minmax(0, 1fr) 320px;
      gap: 20px;
      align-items: end;
    }

    .hero h1 {
      margin-bottom: 10px;
      font-size: clamp(2rem, 5vw, 4rem);
    }

    .hero p {
      max-width: 650px;
      line-height: 1.5;
      color: rgba(255, 248, 240, 0.94);
    }

    .hero-weather {
      justify-self: end;
      width: 100%;
      max-width: 360px;
    }

    .hero-weather .weather-card {
      border-color: rgba(255, 255, 255, 0.14);
      background:
        radial-gradient(circle at top left, rgba(224, 162, 93, 0.32), transparent 36%),
        linear-gradient(180deg, rgba(138, 96, 60, 0.58), rgba(96, 70, 49, 0.48));
      backdrop-filter: blur(10px);
      color: white;
    }

    .hero-weather .muted,
    .hero-weather .weather-desc,
    .hero-weather .weather-meta,
    .hero-weather .weather-day-label,
    .hero-weather .weather-day-temp,
    .hero-weather .weather-day-wind {
      color: rgba(255, 248, 240, 0.92);
    }

    .hero-weather .weather-day {
      background: rgba(255, 244, 229, 0.12);
      border-color: rgba(255, 236, 214, 0.14);
    }

    .hero-weather .weather-forecast {
      grid-template-columns: repeat(2, minmax(0, 1fr));
      gap: 10px;
    }

    main {
      max-width: var(--max-width);
      margin: -34px auto 40px;
      padding: 0 16px;
    }

    .grid {
      display: grid;
      grid-template-columns: 1.18fr 0.82fr;
      gap: 20px;
    }

    .split-grid {
      display: grid;
      grid-template-columns: 1.1fr 0.9fr;
      gap: 20px;
      align-items: start;
    }

    .card {
      background: var(--card);
      border: 1px solid var(--border);
      border-radius: var(--radius);
      box-shadow: var(--shadow);
      padding: 22px;
      margin-bottom: 20px;
      backdrop-filter: blur(6px);
    }

    .summary-card {
      background: rgba(255, 250, 244, 0.92);
      border-color: rgba(223, 211, 195, 0.9);
    }

    .summary-card h2 {
      margin-bottom: 6px;
      color: #6a4e38;
    }

    .summary-top-grid {
      display: grid;
      grid-template-columns: 1.1fr 0.9fr;
      gap: 20px;
      align-items: start;
    }

    .content-grid {
      display: grid;
      grid-template-columns: 1.1fr 0.9fr;
      gap: 20px;
      align-items: start;
    }

    .section-header {
      display: flex;
      align-items: baseline;
      justify-content: space-between;
      gap: 14px;
      margin-bottom: 8px;
    }

    .section-header h2 {
      margin-bottom: 0;
    }

    .auth-strip {
      display: flex;
      align-items: flex-start;
      justify-content: space-between;
      gap: 16px;
      padding: 6px 2px 16px;
      margin-bottom: 20px;
      border-bottom: 1px solid rgba(223, 211, 195, 0.8);
    }

    .auth-strip-left {
      min-width: 0;
    }

    .auth-strip-user {
      font-weight: bold;
      color: rgba(255, 248, 240, 0.96);
      text-shadow: 0 2px 10px rgba(0, 0, 0, 0.22);
    }

    .auth-strip-actions {
      display: flex;
      gap: 14px;
      align-items: center;
      flex-wrap: wrap;
      justify-content: flex-end;
      align-self: flex-start;
    }

    .auth-link {
      appearance: none;
      border: none;
      background: transparent;
      color: rgba(255, 248, 240, 0.96);
      font: inherit;
      font-weight: bold;
      cursor: pointer;
      padding: 0;
      text-decoration: underline;
      text-underline-offset: 3px;
      text-decoration-color: rgba(255, 248, 240, 0.72);
      text-shadow: 0 2px 10px rgba(0, 0, 0, 0.22);
      width: auto;
    }

    .auth-inline-forms {
      display: grid;
      grid-template-columns: minmax(0, 760px);
      gap: 12px;
      margin: 2px 0 18px;
    }

    .auth-compact-panel {
      padding: 14px 0 16px;
      border-top: 1px solid rgba(203, 177, 148, 0.38);
      border-bottom: 1px solid rgba(203, 177, 148, 0.24);
      background: transparent;
    }

    .auth-compact-panel h3 {
      margin-bottom: 3px;
      font-size: 1rem;
      color: #6a4e38;
    }

    .auth-compact-panel .muted {
      margin-bottom: 12px;
      font-size: 0.88rem;
      line-height: 1.4;
    }

    .auth-section-block + .auth-section-block {
      margin-top: 14px;
      padding-top: 14px;
      border-top: 1px solid rgba(203, 177, 148, 0.28);
    }

    .auth-section-title {
      font-weight: bold;
      color: #6a4e38;
      margin-bottom: 8px;
    }

    .auth-inline-link {
      display: inline-flex;
      align-items: center;
      width: auto;
      padding: 0;
      border: none;
      background: transparent;
      color: var(--accent);
      font: inherit;
      font-weight: bold;
      text-decoration: underline;
      text-underline-offset: 3px;
      cursor: pointer;
    }

    .logged-out .hero-weather {
      display: none;
    }

    .logged-out-gate {
      max-width: 680px;
      margin: 0 0 20px;
      background: rgba(255, 250, 244, 0.9);
    }

    .logged-out-gate h2 {
      margin-bottom: 6px;
      color: #6a4e38;
    }

    .logged-out-gate p {
      margin-bottom: 0;
      line-height: 1.5;
    }

    .summary-panel {
      min-width: 0;
    }

    .summary-main {
      display: grid;
      grid-template-columns: 120px minmax(0, 1fr);
      gap: 12px;
      align-items: center;
    }

    .summary-line {
      font-weight: bold;
      margin-bottom: 4px;
      font-size: 1rem;
    }

    .summary-meta {
      color: var(--muted);
      font-size: 0.92rem;
      margin-bottom: 4px;
    }

    .summary-dates {
      color: var(--muted);
      font-size: 0.95rem;
    }

    .agenda-item .summary-dates {
      color: #5f4b38;
      font-weight: bold;
    }

    .agenda-list {
      display: grid;
      gap: 0;
    }

    .agenda-item {
      display: grid;
      grid-template-columns: 8px minmax(0, 1fr);
      gap: 10px;
      align-items: stretch;
      padding: 12px 0;
      border-top: 1px solid rgba(203, 177, 148, 0.38);
    }

    .agenda-marker {
      width: 8px;
      min-height: 48px;
      border-radius: 999px;
      background: var(--agenda-color, var(--accent-soft));
      box-shadow: inset 0 0 0 1px rgba(47, 38, 29, 0.08);
      opacity: 0.9;
    }

    .agenda-content {
      min-width: 0;
      display: grid;
      gap: 3px;
    }

    .agenda-item:first-child {
      border-top: none;
      padding-top: 0;
    }

    .agenda-item.primary {
      padding: 12px 0;
      border: none;
      border-radius: 0;
      background: transparent;
      box-shadow: none;
    }

    .agenda-item.primary .agenda-marker {
      width: 10px;
      min-height: 58px;
    }

    .agenda-item.primary + .agenda-item {
      padding-top: 12px;
      border-top: 1px solid rgba(203, 177, 148, 0.38);
    }

    .agenda-status {
      color: var(--muted);
      font-size: 0.9rem;
      margin-bottom: 3px;
    }

    .agenda-item.primary .agenda-status {
      color: #6b4f36;
      font-weight: bold;
      font-size: 0.95rem;
    }

    .agenda-booker {
      color: var(--muted);
      font-size: 0.88rem;
      line-height: 1.35;
    }

    .weather-card {
      height: 100%;
      border: 1px solid rgba(176, 141, 104, 0.16);
      border-radius: 16px;
      padding: 14px;
      background: rgba(255, 248, 239, 0.54);
    }

    .weather-label {
      font-weight: bold;
      margin-bottom: 8px;
      color: #6a4e38;
    }

    .weather-main {
      display: flex;
      align-items: center;
      gap: 12px;
      margin-bottom: 8px;
    }

    .weather-icon {
      font-size: 2rem;
      line-height: 1;
    }

    .weather-icon-clear,
    .weather-icon-fair {
      color: #f5b642;
    }

    .weather-icon-partly {
      color: #efb35e;
    }

    .weather-icon-cloud,
    .weather-icon-fog {
      color: #d9ddd9;
    }

    .weather-icon-rain,
    .weather-icon-sleet,
    .weather-icon-storm {
      color: #78b7d9;
    }

    .weather-icon-snow {
      color: #d8ebff;
    }

    .weather-temp {
      font-size: 1.7rem;
      font-weight: bold;
      line-height: 1;
    }

    .weather-temp.temp-above-freezing,
    .weather-day-temp.temp-above-freezing {
      color: #ff9461;
    }

    .weather-temp.temp-freezing,
    .weather-day-temp.temp-freezing {
      color: #b8d9ff;
    }

    .weather-desc {
      color: var(--muted);
      font-size: 0.94rem;
      margin-top: 4px;
    }

    .weather-meta {
      color: var(--muted);
      font-size: 0.92rem;
      line-height: 1.5;
    }

    .weather-forecast {
      display: grid;
      grid-template-columns: repeat(4, minmax(60px, 1fr));
      gap: 8px;
      margin-top: 12px;
    }

    .weather-forecast-toggle {
      display: none;
      width: auto;
      margin-top: 6px;
      padding: 0;
      border: none;
      border-radius: 0;
      background: transparent;
      color: rgba(255, 248, 240, 0.96);
      font-size: 0.72rem;
      font-weight: bold;
      text-align: left;
      text-decoration: underline;
      text-underline-offset: 3px;
      justify-content: flex-start;
    }

    .weather-day {
      border: 1px solid rgba(73, 107, 91, 0.1);
      border-radius: 12px;
      padding: 10px 8px;
      background: rgba(255, 255, 255, 0.45);
      text-align: center;
    }

    .weather-day-label {
      font-size: 0.82rem;
      color: var(--muted);
      margin-bottom: 6px;
      font-weight: bold;
      white-space: nowrap;
    }

    .weather-day-icon {
      font-size: 1.2rem;
      line-height: 1;
      margin-bottom: 6px;
    }

    .weather-day-temp {
      font-size: 0.92rem;
      font-weight: bold;
      color: var(--text);
    }

    .weather-day-wind {
      font-size: 0.76rem;
      color: #5e5448;
      font-weight: bold;
      margin-top: 4px;
      line-height: 1.2;
      white-space: nowrap;
    }

    .auth-row,
    .booking-row {
      display: grid;
      gap: 12px;
    }

    .auth-row {
      grid-template-columns: repeat(auto-fit, minmax(210px, 1fr));
      align-items: end;
    }

    .auth-row > div:not(.form-actions) {
      display: grid;
      gap: 6px;
    }

    .booking-row {
      margin: 10px 0 14px;
      padding: 14px 0 16px;
      border-top: 1px solid rgba(203, 177, 148, 0.38);
      border-bottom: 1px solid rgba(203, 177, 148, 0.24);
    }

    .booking-form-actions {
      padding-top: 2px;
    }

    .booking-form-actions button {
      min-width: 108px;
    }

    .booking-preview {
      display: none;
      margin-top: 10px;
      padding: 12px 14px;
      border-radius: 14px;
      border: 1px solid rgba(73, 107, 91, 0.14);
      background: linear-gradient(180deg, rgba(248, 243, 235, 0.94), rgba(241, 233, 222, 0.92));
    }

    .booking-preview.show {
      display: block;
    }

    .booking-preview.available {
      border-color: rgba(73, 107, 91, 0.2);
      background: linear-gradient(180deg, rgba(241, 247, 243, 0.96), rgba(232, 241, 234, 0.92));
    }

    .booking-preview.unavailable {
      border-color: rgba(159, 58, 56, 0.2);
      background: linear-gradient(180deg, rgba(250, 239, 239, 0.96), rgba(246, 229, 229, 0.92));
    }

    .booking-preview-label {
      font-size: 0.82rem;
      font-weight: bold;
      letter-spacing: 0.01em;
      color: #7b6d5e;
      margin-bottom: 4px;
      text-transform: uppercase;
    }

    .booking-preview-text {
      color: var(--text);
      font-weight: bold;
      line-height: 1.4;
    }

    .booking-preview-meta {
      margin-top: 4px;
      font-size: 0.9rem;
      line-height: 1.4;
      color: var(--muted);
    }

    .booking-preview.available .booking-preview-meta {
      color: #456556;
    }

    .booking-preview.unavailable .booking-preview-meta {
      color: #8f3533;
    }

    .auth-split {
      display: grid;
      grid-template-columns: 1fr 1fr;
      gap: 16px;
    }

    label {
      font-weight: bold;
      font-size: 0.82rem;
      letter-spacing: 0.04em;
      text-transform: uppercase;
      color: #6b5644;
    }

    input,
    select,
    textarea,
    button {
      width: 100%;
      padding: 11px 13px;
      border-radius: 10px;
      border: 1px solid var(--border);
      font-size: 1rem;
      font-family: inherit;
    }

    input,
    select,
    textarea {
      background-color: rgba(255, 255, 255, 0.76);
      border-color: rgba(203, 177, 148, 0.46);
      color: var(--text);
      transition: border-color 140ms ease, background 140ms ease, box-shadow 140ms ease;
    }

    textarea {
      min-height: 92px;
      line-height: 1.45;
      resize: vertical;
    }

    select {
      appearance: none;
      -webkit-appearance: none;
      padding-right: 40px;
      background-image:
        linear-gradient(45deg, transparent 50%, #6b5644 50%),
        linear-gradient(135deg, #6b5644 50%, transparent 50%);
      background-position:
        calc(100% - 19px) 50%,
        calc(100% - 14px) 50%;
      background-repeat: no-repeat;
      background-size: 5px 5px, 5px 5px;
    }

    input:focus,
    select:focus,
    textarea:focus {
      outline: none;
      background-color: rgba(255, 255, 255, 0.94);
      border-color: rgba(73, 107, 91, 0.42);
      box-shadow: 0 0 0 3px rgba(73, 107, 91, 0.08);
    }

    #dateRange {
      cursor: pointer;
    }

    button {
      background: var(--accent);
      color: white;
      border: none;
      cursor: pointer;
      font-weight: bold;
    }

    button.secondary {
      background: rgba(255, 248, 240, 0.9);
      color: var(--accent);
      border: 1px solid var(--accent);
    }

    button.danger {
      background: var(--danger);
    }

    button:disabled {
      opacity: 0.6;
      cursor: not-allowed;
    }

    .status {
      margin-top: 12px;
      padding: 12px 14px;
      border-radius: 12px;
      background: var(--accent-soft);
      display: none;
    }

    .status.error {
      background: #f8d7da;
      color: #6f1d1b;
    }

    .status.show {
      display: block;
    }

    .status.warning {
      background: #fff4cc;
      color: #7a5d00;
    }

    .notice-card {
      border-color: rgba(223, 211, 195, 0.9);
      background: rgba(255, 250, 244, 0.92);
    }

    .notice-card h2 {
      margin-bottom: 8px;
      color: #765433;
    }

    .notice-list {
      display: grid;
      gap: 0;
      margin-top: 12px;
    }

    .notice-item {
      border: none;
      border-top: 1px solid rgba(203, 177, 148, 0.38);
      border-radius: 0;
      padding: 14px 40px 14px 0;
      display: grid;
      grid-template-columns: minmax(0, 1fr) auto;
      gap: 14px;
      align-items: start;
      background: transparent;
      position: relative;
    }

    .notice-item:first-child {
      border-top: none;
      padding-top: 2px;
    }

    .notice-type-label {
      display: inline-flex;
      align-items: center;
      gap: 6px;
      width: fit-content;
      font-size: 0.72rem;
      font-weight: bold;
      letter-spacing: 0.08em;
      text-transform: uppercase;
      line-height: 1.2;
    }

    .notice-type-label.important {
      color: #8b5637;
      padding: 3px 7px 3px 6px;
      border: 1px solid rgba(166, 91, 52, 0.18);
      border-radius: 999px;
      background: rgba(166, 91, 52, 0.09);
    }

    .notice-type-label.important::before {
      content: '';
      width: 6px;
      height: 6px;
      border-radius: 999px;
      background: #b56b43;
      box-shadow: 0 0 0 3px rgba(181, 107, 67, 0.12);
    }

    .notice-type-label.info {
      color: #556247;
      padding: 3px 7px 3px 6px;
      border: 1px solid rgba(85, 98, 71, 0.16);
      border-radius: 999px;
      background: rgba(111, 127, 78, 0.08);
    }

    .notice-type-label.info::before {
      content: '';
      width: 6px;
      height: 6px;
      border-radius: 999px;
      background: #6f7f4e;
      box-shadow: 0 0 0 3px rgba(111, 127, 78, 0.1);
    }

    .notice-title {
      font-weight: bold;
      color: #6a4e38;
      line-height: 1.3;
    }

    .notice-body {
      color: var(--text);
      line-height: 1.5;
      font-size: 0.94rem;
    }

    .notice-meta {
      color: #8a6a11;
      font-size: 0.88rem;
      line-height: 1.4;
      display: flex;
      align-items: baseline;
      justify-content: space-between;
      gap: 12px;
      flex-wrap: wrap;
    }

    .notice-toolbar,
    .content-toolbar,
    .maintenance-toolbar {
      display: flex;
      justify-content: flex-end;
      margin-top: 12px;
    }

    .section-header .notice-toolbar,
    .section-header .content-toolbar,
    .section-header .task-toolbar,
    .section-header .maintenance-toolbar {
      margin-top: 0;
      flex-shrink: 0;
    }

    .notice-toolbar button,
    .content-toolbar button,
    .task-toolbar button,
    .maintenance-toolbar button {
      width: auto;
      min-width: 0;
      padding: 0;
      border: none;
      border-radius: 0;
      background: transparent;
      box-shadow: none;
      color: #496b5b;
      display: inline-flex;
      align-items: center;
      gap: 7px;
      font-size: 0.78rem;
      font-weight: bold;
      letter-spacing: 0.08em;
      line-height: 1.2;
      text-transform: uppercase;
      text-decoration: underline;
      text-decoration-thickness: 1px;
      text-underline-offset: 3px;
      text-decoration-color: rgba(73, 107, 91, 0.28);
    }

    .notice-toolbar button::before,
    .content-toolbar button::before,
    .task-toolbar button::before,
    .maintenance-toolbar button::before {
      content: '+';
      width: 18px;
      height: 18px;
      border-radius: 999px;
      background: rgba(73, 107, 91, 0.12);
      color: #496b5b;
      display: inline-flex;
      align-items: center;
      justify-content: center;
      font-size: 0.9rem;
      line-height: 1;
      text-decoration: none;
    }

    .notice-toolbar button:hover,
    .content-toolbar button:hover,
    .task-toolbar button:hover,
    .maintenance-toolbar button:hover {
      background: transparent;
      color: #374d3d;
      text-decoration-color: rgba(73, 107, 91, 0.46);
    }

    .notice-form,
    .maintenance-form,
    .content-edit-form,
    .task-form {
      display: grid;
      gap: 12px;
      margin: 10px 0 14px;
      padding: 14px 0 16px;
      background: transparent;
      border-top: 1px solid rgba(203, 177, 148, 0.38);
      border-bottom: 1px solid rgba(203, 177, 148, 0.24);
    }

    .notice-form > div:not(.form-actions),
    .maintenance-form > div:not(.form-actions):not(.maintenance-form-options),
    .content-edit-form > div:not(.form-actions):not(.form-help),
    .task-form > div:not(.form-actions):not(.task-form-options),
    .task-form-options > div,
    .maintenance-form-options > div {
      display: grid;
      gap: 6px;
    }

    .editable-content-list h3,
    .editable-content-list h4,
    .editable-content-list h5 {
      margin: 10px 0 5px;
      color: #6a4e38;
      line-height: 1.25;
    }

    .editable-content-list h3 {
      font-size: 1rem;
    }

    .editable-content-list h4 {
      font-size: 0.96rem;
    }

    .editable-content-list h5 {
      font-size: 0.92rem;
    }

    .editable-content-list h3:first-child,
    .editable-content-list h4:first-child,
    .editable-content-list h5:first-child {
      margin-top: 0;
    }

    .editable-content-list p {
      margin: 0 0 10px;
      color: var(--text);
      line-height: 1.62;
    }

    .editable-content-list ul,
    .editable-content-list ol {
      margin: 0;
      padding-left: 20px;
      color: var(--text);
      line-height: 1.65;
    }

    .editable-content-list ul + h3,
    .editable-content-list ol + h3,
    .editable-content-list p + h3,
    .editable-content-list ul + h4,
    .editable-content-list ol + h4,
    .editable-content-list p + h4 {
      margin-top: 12px;
    }

    .editable-content-list li + li {
      margin-top: 6px;
    }

    .editable-content-list a {
      color: #496b5b;
      font-weight: bold;
      text-decoration-color: rgba(73, 107, 91, 0.35);
      text-underline-offset: 2px;
    }

    .editable-content-list code {
      padding: 1px 5px;
      border-radius: 5px;
      background: rgba(73, 107, 91, 0.1);
      color: #496b5b;
      font-size: 0.9em;
    }

    .editable-content-meta {
      margin-top: 10px;
      color: var(--muted);
      font-size: 0.82rem;
    }

    .form-help {
      color: var(--muted);
      font-size: 0.84rem;
      line-height: 1.4;
    }

    .invite-list {
      display: grid;
      gap: 8px;
      margin-top: 8px;
    }

    .invite-item {
      display: grid;
      grid-template-columns: minmax(0, 1fr) auto;
      gap: 10px;
      align-items: center;
      position: relative;
      padding: 8px 0;
      border-top: 1px solid rgba(203, 177, 148, 0.28);
    }

    .invite-email {
      color: #5b4735;
      font-weight: bold;
      line-height: 1.25;
      overflow-wrap: anywhere;
    }

    .invite-meta {
      margin-top: 2px;
      color: var(--muted);
      font-size: 0.8rem;
      line-height: 1.3;
    }

    .invite-actions {
      display: inline-flex;
      align-items: center;
      gap: 8px;
      justify-self: end;
    }

    .invite-status {
      display: inline-flex;
      align-items: center;
      justify-content: center;
      min-width: 78px;
      padding: 4px 8px;
      border-radius: 999px;
      background: rgba(163, 127, 86, 0.12);
      color: #6a4e38;
      font-size: 0.78rem;
      font-weight: bold;
      line-height: 1.2;
    }

    .invite-status.accepted {
      background: rgba(73, 107, 91, 0.12);
      color: #496b5b;
    }

    .invite-status.revoked {
      background: rgba(159, 58, 56, 0.1);
      color: #8f3533;
    }

    .invite-actions .icon-delete-btn {
      position: static;
      flex: 0 0 auto;
    }

    .user-admin-list {
      display: grid;
      gap: 8px;
      margin-top: 8px;
    }

    .user-admin-item {
      display: grid;
      grid-template-columns: minmax(0, 1fr) auto;
      gap: 12px;
      align-items: center;
      position: relative;
      padding: 10px 0;
      border-top: 1px solid rgba(203, 177, 148, 0.28);
    }

    .user-admin-name {
      color: #5b4735;
      font-weight: bold;
      line-height: 1.25;
      overflow-wrap: anywhere;
    }

    .user-admin-email {
      margin-top: 2px;
      color: var(--muted);
      font-size: 0.82rem;
      line-height: 1.3;
      overflow-wrap: anywhere;
    }

    .user-admin-badges,
    .user-admin-actions {
      display: flex;
      align-items: center;
      flex-wrap: wrap;
      gap: 8px;
    }

    .user-admin-badges {
      margin-top: 6px;
    }

    .user-admin-actions {
      display: grid;
      grid-template-columns: repeat(2, minmax(112px, auto));
      align-items: end;
      gap: 8px 10px;
      justify-content: flex-end;
    }

    .user-admin-role,
    .user-admin-status {
      display: inline-flex;
      align-items: center;
      justify-content: center;
      padding: 4px 8px;
      border-radius: 999px;
      font-size: 0.78rem;
      font-weight: bold;
      line-height: 1.2;
    }

    .user-admin-role {
      background: rgba(73, 107, 91, 0.1);
      color: #496b5b;
    }

    .user-admin-role.current {
      background: rgba(163, 127, 86, 0.12);
      color: #6a4e38;
    }

    .user-admin-status.active {
      background: rgba(73, 107, 91, 0.12);
      color: #496b5b;
    }

    .user-admin-status.blocked {
      background: rgba(159, 58, 56, 0.1);
      color: #8f3533;
    }

    .user-admin-toggle-row {
      display: grid;
      justify-items: end;
      gap: 4px;
    }

    .user-admin-toggle-label {
      color: var(--muted);
      font-size: 0.72rem;
      font-weight: bold;
      line-height: 1;
    }

    .user-admin-toggle {
      display: inline-flex;
      width: auto;
      min-width: 104px;
      align-items: center;
      justify-content: flex-start;
      gap: 7px;
      padding: 4px 8px 4px 5px;
      border: 1px solid rgba(163, 127, 86, 0.18);
      border-radius: 999px;
      background: rgba(163, 127, 86, 0.1);
      color: #6a4e38;
      box-shadow: none;
      cursor: pointer;
      font-size: 0.76rem;
      font-weight: bold;
      line-height: 1.2;
    }

    .user-admin-toggle.is-on {
      border-color: rgba(73, 107, 91, 0.2);
      background: rgba(73, 107, 91, 0.1);
      color: #496b5b;
    }

    .user-admin-toggle.is-blocked {
      border-color: rgba(159, 58, 56, 0.22);
      background: rgba(250, 239, 239, 0.95);
      color: #8f3533;
    }

    .user-admin-toggle-track {
      position: relative;
      flex: 0 0 auto;
      width: 30px;
      height: 18px;
      border-radius: 999px;
      background: rgba(106, 78, 56, 0.25);
      transition: background-color 0.18s ease;
    }

    .user-admin-toggle.is-on .user-admin-toggle-track {
      background: #496b5b;
    }

    .user-admin-toggle.is-blocked .user-admin-toggle-track {
      background: #8f3533;
    }

    .user-admin-toggle-thumb {
      position: absolute;
      top: 3px;
      left: 3px;
      width: 12px;
      height: 12px;
      border-radius: 50%;
      background: #fffaf3;
      box-shadow: 0 1px 3px rgba(74, 58, 42, 0.24);
      transition: transform 0.18s ease;
    }

    .user-admin-toggle.is-on .user-admin-toggle-thumb {
      transform: translateX(12px);
    }

    .user-admin-toggle-text {
      white-space: nowrap;
    }

    .form-actions {
      display: flex;
      gap: 10px;
      justify-content: flex-end;
      flex-wrap: wrap;
      padding-top: 2px;
    }

    .form-actions button {
      width: auto;
      min-width: 118px;
      border-radius: 999px;
      padding: 10px 16px;
    }

    .auth-form-actions {
      grid-column: 1 / -1;
      justify-content: flex-start;
      gap: 12px;
      padding-top: 0;
    }

    .auth-form-actions button:not(.auth-inline-link) {
      min-width: 108px;
    }

    .auth-form-actions .auth-inline-link {
      width: auto;
      min-width: 0;
      padding: 0;
      border: none;
      border-radius: 0;
      background: transparent;
      box-shadow: none;
      color: var(--accent);
      font-size: 0.88rem;
      text-decoration: underline;
      text-decoration-thickness: 1px;
      text-underline-offset: 3px;
      text-decoration-color: rgba(73, 107, 91, 0.34);
    }

    .auth-form-actions .auth-inline-link:hover {
      background: transparent;
      color: #374d3d;
    }

    .compact-form-actions {
      justify-content: flex-start;
      margin-top: -2px;
    }

    .compact-form-actions button {
      min-width: 84px;
      padding: 9px 12px;
      border-radius: 999px;
      font-size: 0.92rem;
    }

    .invite-row {
      grid-template-columns: repeat(3, minmax(210px, 1fr));
    }

    .invite-row .compact-form-actions {
      align-self: end;
      grid-column: 3;
      grid-row: 1;
    }

    .invite-row .compact-form-actions button {
      min-width: 128px;
      white-space: nowrap;
    }

    .profile-color-field {
      align-self: end;
    }

    .profile-color-choices {
      display: flex;
      align-items: center;
      gap: 8px;
      flex-wrap: wrap;
      min-height: 42px;
    }

    .profile-color-swatch {
      width: 34px;
      min-width: 34px;
      height: 34px;
      padding: 0;
      border: 2px solid rgba(163, 127, 86, 0.22);
      border-radius: 999px;
      background: var(--profile-color);
      box-shadow:
        inset 0 0 0 2px rgba(255, 250, 244, 0.8),
        0 4px 10px rgba(89, 64, 36, 0.08);
    }

    .profile-color-swatch:hover,
    .profile-color-swatch:focus-visible {
      border-color: rgba(73, 107, 91, 0.42);
      box-shadow:
        inset 0 0 0 2px rgba(255, 250, 244, 0.86),
        0 0 0 3px rgba(73, 107, 91, 0.08);
    }

    .profile-color-swatch.selected {
      border-color: #496b5b;
      box-shadow:
        inset 0 0 0 2px rgba(255, 250, 244, 0.9),
        0 0 0 3px rgba(73, 107, 91, 0.16);
    }

    .secondary-btn {
      background: rgba(255, 248, 239, 0.64);
      color: #6a4e38;
      border: 1px solid rgba(163, 127, 86, 0.14);
      box-shadow: none;
    }

    .secondary-btn:hover {
      background: rgba(250, 239, 224, 0.98);
      border-color: rgba(163, 127, 86, 0.24);
    }

    .calendar-list {
      display: grid;
      gap: 0;
      margin-top: 14px;
    }

    .booking-item {
      border: none;
      border-top: 1px solid rgba(203, 177, 148, 0.38);
      border-radius: 0;
      padding: 10px 40px 10px 0;
      display: grid;
      grid-template-columns: 8px minmax(0, 1fr) auto;
      gap: 10px;
      align-items: stretch;
      background: transparent;
      position: relative;
    }

    .booking-item:first-child {
      border-top: none;
      padding-top: 2px;
    }

    .booking-main {
      display: contents;
    }

    .booking-marker {
      width: 8px;
      min-height: 42px;
      border-radius: 999px;
      background: var(--booking-color, var(--accent-soft));
      box-shadow: inset 0 0 0 1px rgba(47, 38, 29, 0.08);
      opacity: 0.9;
    }

    .booking-details {
      min-width: 0;
      align-self: center;
    }

    .booking-line {
      color: var(--text);
      font-size: 0.92rem;
      line-height: 1.32;
    }

    .booking-booker {
      color: var(--muted);
      font-size: 0.88rem;
      line-height: 1.35;
    }

    .booking-dates {
      margin-bottom: 2px;
      font-size: 0.96rem;
      color: #5f4b38;
      font-weight: bold;
      line-height: 1.28;
    }

    .booking-actions {
      width: auto;
      justify-self: end;
    }

    .booking-actions button {
      width: auto;
      min-width: 110px;
      padding: 10px 12px;
    }

    .maintenance-card {
      margin-top: 18px;
    }

    .maintenance-layout {
      display: grid;
      grid-template-columns: minmax(0, 0.92fr) minmax(0, 1.08fr);
      gap: 22px;
      align-items: start;
    }

    .maintenance-reference {
      min-width: 0;
    }

    .maintenance-history {
      min-width: 0;
      border-left: 1px solid rgba(203, 177, 148, 0.28);
      padding-left: 22px;
    }

    .maintenance-subheader {
      display: flex;
      align-items: center;
      justify-content: space-between;
      gap: 12px;
      margin-bottom: 8px;
    }

    .maintenance-subheader .content-toolbar,
    .maintenance-subheader .maintenance-toolbar {
      margin-top: 0;
      flex-shrink: 0;
    }

    .maintenance-subheader h3 {
      margin: 0;
      color: #6a4e38;
      font-size: 1rem;
      line-height: 1.25;
    }

    .maintenance-form-options {
      display: grid;
      grid-template-columns: repeat(2, minmax(0, 1fr));
      gap: 12px;
    }

    .maintenance-list {
      display: grid;
      gap: 0;
    }

    .maintenance-entry {
      position: relative;
      display: grid;
      grid-template-columns: minmax(0, 1fr) auto;
      gap: 10px;
      padding: 12px 0;
      border-top: 1px solid rgba(203, 177, 148, 0.38);
    }

    .maintenance-entry:first-child {
      border-top: none;
      padding-top: 2px;
    }

    .maintenance-entry-main {
      min-width: 0;
    }

    .maintenance-entry-top {
      display: flex;
      align-items: center;
      flex-wrap: wrap;
      gap: 8px;
      margin-bottom: 5px;
    }

    .maintenance-category-label {
      display: inline-flex;
      align-items: center;
      justify-content: center;
      padding: 4px 8px;
      border-radius: 999px;
      background: rgba(163, 127, 86, 0.12);
      color: #6a4e38;
      font-size: 0.76rem;
      font-weight: bold;
      line-height: 1.2;
    }

    .maintenance-category-label.paint,
    .maintenance-category-label.tiles {
      background: rgba(167, 139, 85, 0.14);
      color: #755d35;
    }

    .maintenance-category-label.electric,
    .maintenance-category-label.appliances {
      background: rgba(71, 113, 122, 0.12);
      color: #476772;
    }

    .maintenance-category-label.plumbing,
    .maintenance-category-label.outdoor {
      background: rgba(73, 107, 91, 0.12);
      color: #496b5b;
    }

    .maintenance-entry-date {
      color: var(--muted);
      font-size: 0.82rem;
      font-weight: bold;
    }

    .maintenance-entry-title {
      color: #5b4735;
      font-weight: bold;
      line-height: 1.3;
      overflow-wrap: anywhere;
    }

    .maintenance-details {
      margin-top: 6px;
      color: var(--text);
      font-size: 0.92rem;
      line-height: 1.42;
    }

    .maintenance-details p,
    .maintenance-details ul,
    .maintenance-details ol {
      margin-bottom: 6px;
    }

    .maintenance-meta {
      margin-top: 7px;
      color: var(--muted);
      font-size: 0.8rem;
      line-height: 1.35;
    }

    .maintenance-entry-actions {
      display: inline-flex;
      align-items: center;
      justify-content: flex-end;
      align-self: start;
      min-width: 0;
    }

    .maintenance-entry-actions .task-action-edit {
      width: auto;
      min-width: 0;
      padding: 0;
      border: none;
      border-radius: 0;
      background: transparent;
      box-shadow: none;
      color: #6b5644;
      font-size: 0.72rem;
      font-weight: bold;
      letter-spacing: 0.08em;
      line-height: 1.2;
      text-transform: uppercase;
      text-decoration: underline;
      text-decoration-thickness: 1px;
      text-underline-offset: 3px;
      text-decoration-color: rgba(154, 135, 117, 0.38);
    }

    .maintenance-entry-actions .task-action-edit:hover {
      background: transparent;
      color: #4d392b;
    }

    .icon-delete-btn {
      width: 24px;
      min-width: 24px;
      height: 24px;
      padding: 0;
      border-radius: 999px;
      border: 1px solid rgba(134, 111, 84, 0.12);
      background: rgba(134, 111, 84, 0.08);
      color: #7b6857;
      display: inline-flex;
      align-items: center;
      justify-content: center;
      font-size: 0.92rem;
      line-height: 1;
      font-weight: bold;
      box-shadow: none;
      position: absolute;
      top: 10px;
      right: 10px;
    }

    .icon-delete-btn:hover {
      background: rgba(134, 111, 84, 0.14);
      border-color: rgba(134, 111, 84, 0.2);
      color: #5f5042;
    }

    .icon-delete-btn:focus-visible {
      outline: 2px solid rgba(134, 111, 84, 0.24);
      outline-offset: 2px;
    }

    .inline-delete-confirm {
      position: absolute;
      top: 8px;
      right: 38px;
      z-index: 4;
      min-width: 172px;
      padding: 10px 10px 9px;
      border-radius: 12px;
      border: 1px solid rgba(163, 127, 86, 0.2);
      background: rgba(255, 249, 241, 0.98);
      box-shadow: 0 10px 24px rgba(89, 64, 36, 0.12);
      color: #5c4634;
    }

    .inline-delete-confirm-text {
      font-size: 0.84rem;
      font-weight: bold;
      margin-bottom: 8px;
    }

    .inline-delete-confirm-actions {
      display: flex;
      gap: 8px;
      justify-content: flex-end;
    }

    .inline-delete-confirm-btn {
      width: auto;
      min-width: 0;
      padding: 7px 10px;
      font-size: 0.8rem;
      border-radius: 999px;
    }

    .inline-delete-confirm-btn.confirm {
      background: #8d5a45;
      border-color: #8d5a45;
      color: #fff9f3;
    }

    .inline-delete-confirm-btn.cancel {
      background: rgba(255, 248, 239, 0.92);
      border-color: rgba(163, 127, 86, 0.18);
      color: #6a4e38;
    }

    .maintenance-delete-area {
      display: grid;
      gap: 8px;
      justify-items: start;
      padding-top: 2px;
    }

    .maintenance-delete-link {
      width: auto;
      min-width: 0;
      padding: 0;
      border: none;
      border-radius: 0;
      background: transparent;
      box-shadow: none;
      color: #8b5637;
      font-size: 0.74rem;
      font-weight: bold;
      letter-spacing: 0.08em;
      line-height: 1.2;
      text-transform: uppercase;
      text-decoration: underline;
      text-decoration-thickness: 1px;
      text-underline-offset: 3px;
      text-decoration-color: rgba(139, 86, 55, 0.34);
    }

    .maintenance-delete-link:hover {
      background: transparent;
      color: #6f4127;
    }

    .maintenance-delete-confirm {
      display: flex;
      align-items: center;
      flex-wrap: wrap;
      gap: 8px;
      padding: 8px 10px;
      border-radius: 10px;
      background: rgba(139, 86, 55, 0.08);
      border: 1px solid rgba(139, 86, 55, 0.14);
      color: #7b543d;
      font-size: 0.82rem;
      line-height: 1.3;
    }

    .maintenance-delete-confirm-btn {
      width: auto;
      min-width: 0;
      min-height: 28px;
      padding: 5px 9px;
      border-radius: 999px;
      border: 1px solid rgba(134, 111, 84, 0.18);
      background: rgba(255, 255, 255, 0.5);
      color: #6b5644;
      box-shadow: none;
      font-size: 0.74rem;
      font-weight: bold;
      line-height: 1.2;
    }

    .maintenance-delete-confirm-btn.danger {
      background: rgba(139, 86, 55, 0.12);
      border-color: rgba(139, 86, 55, 0.22);
      color: #7b4327;
    }

    .maintenance-delete-confirm-btn:hover {
      background: rgba(134, 111, 84, 0.12);
      color: #4d392b;
    }

    .maintenance-delete-confirm-btn.danger:hover {
      background: rgba(139, 86, 55, 0.18);
      color: #6f4127;
    }

    .empty {
      padding: 14px;
      border: 1px dashed var(--border);
      border-radius: 14px;
      color: var(--muted);
      background: rgba(255, 250, 244, 0.88);
    }

    #calendar {
      margin-top: 10px;
    }

    #calendar .calendar-nav {
      display: flex;
      align-items: center;
      justify-content: flex-end;
      gap: 12px;
      margin-bottom: 12px;
    }

    #calendar .calendar-nav-buttons {
      display: flex;
      gap: 8px;
    }

    #calendar .calendar-nav-btn {
      width: auto;
      min-width: 40px;
      padding: 6px 11px;
      border-radius: 999px;
      border: 1px solid rgba(163, 127, 86, 0.16);
      background: rgba(255, 248, 239, 0.58);
      color: #6a4e38;
      font-weight: bold;
    }

    #calendar .calendar-months {
      display: grid;
      grid-template-columns: repeat(2, minmax(0, 1fr));
      gap: 20px;
    }

    #calendar .calendar-month {
      background: transparent;
    }

    #calendar .calendar-month + .calendar-month {
      border-left: 1px solid rgba(203, 177, 148, 0.28);
      padding-left: 20px;
    }

    #calendar .calendar-month-header {
      font-weight: bold;
      color: #5b4735;
      margin-bottom: 10px;
      text-transform: capitalize;
    }

    #calendar .calendar-weekdays,
    #calendar .calendar-days {
      display: grid;
      grid-template-columns: repeat(7, minmax(0, 1fr));
      gap: 6px;
    }

    #calendar .calendar-weekdays {
      margin-bottom: 8px;
    }

    #calendar .calendar-weekday {
      text-align: center;
      font-size: 0.84rem;
      color: var(--muted);
      font-weight: bold;
      padding: 4px 0;
    }

    #calendar .calendar-cell {
      min-height: 40px;
      border-radius: 9px;
      display: flex;
      align-items: center;
      justify-content: center;
      background: rgba(255, 255, 255, 0.36);
      color: var(--text);
      font-weight: 600;
      border: 1px solid rgba(203, 177, 148, 0.62);
    }

    #calendar .calendar-cell.blank {
      background: transparent;
      border-color: transparent;
    }

    #calendar .calendar-cell.booked {
      font-weight: 700;
      border-color: transparent;
      cursor: pointer;
    }

    #calendar .calendar-cell.today {
      box-shadow: inset 0 0 0 1.5px rgba(73, 107, 91, 0.32);
    }

    #calendar .calendar-cell.booked.selected {
      box-shadow:
        inset 0 0 0 2px rgba(255, 251, 246, 0.78),
        0 0 0 2px rgba(73, 107, 91, 0.24);
    }

    #calendar .calendar-cell.booked:focus-visible {
      outline: 2px solid rgba(73, 107, 91, 0.38);
      outline-offset: 2px;
    }

    #calendar .calendar-booking-note {
      display: flex;
      align-items: center;
      gap: 9px;
      margin-top: 12px;
      padding-top: 10px;
      border-top: 1px solid rgba(203, 177, 148, 0.28);
      color: #6a4e38;
      font-size: 0.92rem;
      line-height: 1.35;
    }

    #calendar .calendar-booking-note strong {
      color: #4f3d2f;
    }

    #calendar .calendar-booking-dot {
      width: 10px;
      height: 10px;
      border-radius: 999px;
      box-shadow: 0 0 0 3px rgba(73, 57, 42, 0.08);
      flex: 0 0 auto;
    }

    .flatpickr-calendar {
      background: rgba(255, 251, 246, 0.98);
      border: 1px solid rgba(203, 177, 148, 0.46);
      border-radius: 16px;
      box-shadow: 0 16px 38px rgba(73, 57, 42, 0.12);
      padding: 10px 12px;
    }

    .flatpickr-calendar.arrowTop::before,
    .flatpickr-calendar.arrowTop::after,
    .flatpickr-calendar.arrowBottom::before,
    .flatpickr-calendar.arrowBottom::after {
      border-bottom-color: rgba(255, 251, 246, 0.98);
      border-top-color: rgba(255, 251, 246, 0.98);
    }

    .flatpickr-calendar .flatpickr-months {
      background: transparent;
      padding: 4px 0 2px;
    }

    .flatpickr-calendar .flatpickr-month {
      background: transparent;
      color: var(--text);
      fill: var(--text);
    }

    .flatpickr-calendar .flatpickr-current-month {
      color: #5b4735;
      font-weight: bold;
      font-size: 1rem;
      text-transform: capitalize;
    }

    .flatpickr-calendar .flatpickr-current-month .flatpickr-monthDropdown-months,
    .flatpickr-calendar .flatpickr-current-month input.cur-year {
      color: inherit;
      font-weight: bold;
    }

    .flatpickr-calendar .flatpickr-weekdays {
      background: transparent;
      padding: 0 0 8px;
    }

    .flatpickr-calendar span.flatpickr-weekday {
      color: var(--muted);
      font-weight: bold;
      font-size: 0.84rem;
      text-transform: none;
    }

    .flatpickr-calendar .flatpickr-days {
      padding: 0;
    }

    .flatpickr-calendar .dayContainer,
    .flatpickr-calendar .flatpickr-days {
      width: 238px;
      min-width: 238px;
      max-width: 238px;
    }

    .flatpickr-calendar .flatpickr-day {
      width: 32px;
      max-width: 32px;
      height: 35px;
      line-height: 33px;
      font-size: 0.94rem;
      border-radius: 9px;
      border: 1px solid rgba(203, 177, 148, 0.62);
      background: rgba(255, 255, 255, 0.36);
      color: var(--text);
      font-weight: 600;
      margin-right: 2px;
      margin-bottom: 3px;
    }

    .flatpickr-calendar .flatpickr-day.today {
      border-color: rgba(73, 107, 91, 0.55);
      background: rgba(255, 255, 255, 0.46);
    }

    .flatpickr-calendar .flatpickr-day.prevMonthDay,
    .flatpickr-calendar .flatpickr-day.nextMonthDay {
      color: #9f9487;
    }

    .flatpickr-calendar .flatpickr-day:hover {
      background: rgba(217, 185, 143, 0.16);
      border-color: rgba(217, 185, 143, 0.35);
    }

    .flatpickr-calendar .flatpickr-day.startRange,
    .flatpickr-calendar .flatpickr-day.endRange,
    .flatpickr-calendar .flatpickr-day.selected {
      background: var(--accent);
      border-color: var(--accent);
      color: #ffffff;
    }

    .flatpickr-calendar .flatpickr-day.inRange {
      background: rgba(73, 107, 91, 0.14);
      border-color: rgba(73, 107, 91, 0.08);
      color: var(--text);
      box-shadow: none;
    }

    .flatpickr-calendar .flatpickr-day.flatpickr-disabled,
    .flatpickr-calendar .flatpickr-day.flatpickr-disabled:hover,
    .flatpickr-calendar .flatpickr-day.disabled,
    .flatpickr-calendar .flatpickr-day.disabled:hover {
      background: rgba(221, 214, 204, 0.36);
      border-color: rgba(202, 191, 178, 0.62);
      color: #675d53;
      cursor: not-allowed;
    }

    .task-form-heading {
      font-weight: bold;
      color: #6a4e38;
      margin-bottom: 0;
    }

    .task-form-options {
      display: grid;
      grid-template-columns: repeat(3, minmax(0, 1fr));
      gap: 10px;
      align-items: end;
    }

    .task-toolbar {
      display: flex;
      justify-content: flex-end;
      margin-top: 12px;
    }

    .task-summary {
      display: grid;
      gap: 8px;
      margin: 10px 0 14px;
      padding-bottom: 4px;
    }

    .task-summary:empty {
      display: none;
    }

    .task-summary-statuses {
      display: flex;
      flex-wrap: wrap;
      gap: 8px;
    }

    .task-summary-stat {
      width: auto;
      min-width: 0;
      min-height: 30px;
      border: 1px solid rgba(163, 127, 86, 0.12);
      border-radius: 999px;
      padding: 6px 9px;
      background: rgba(255, 249, 239, 0.46);
      display: inline-flex;
      align-items: center;
      gap: 7px;
      color: inherit;
      box-shadow: none;
      cursor: pointer;
    }

    .task-summary-stat span,
    .task-summary-chip span {
      color: #756452;
      font-size: 0.72rem;
      font-weight: bold;
      letter-spacing: 0.08em;
      line-height: 1.2;
      text-transform: uppercase;
    }

    .task-summary-stat strong {
      color: #5b4735;
      font-size: 0.9rem;
      line-height: 1;
    }

    .task-summary-stat.open {
      background: rgba(219, 231, 222, 0.52);
      border-color: rgba(73, 107, 91, 0.16);
    }

    .task-summary-stat.in-progress {
      background: rgba(246, 228, 211, 0.68);
      border-color: rgba(139, 86, 55, 0.16);
    }

    .task-summary-stat.on-hold {
      background: rgba(249, 238, 204, 0.72);
      border-color: rgba(138, 106, 17, 0.14);
    }

    .task-summary-stat.done {
      background: rgba(224, 235, 216, 0.58);
      border-color: rgba(85, 114, 69, 0.16);
    }

    .task-summary-categories {
      display: flex;
      flex-wrap: wrap;
      gap: 8px;
    }

    .task-summary-chip {
      width: auto;
      min-width: 0;
      display: inline-flex;
      align-items: center;
      gap: 7px;
      min-height: 30px;
      padding: 6px 9px;
      border: 1px solid rgba(163, 127, 86, 0.1);
      border-radius: 999px;
      background: rgba(255, 251, 246, 0.48);
      color: inherit;
      box-shadow: none;
      cursor: pointer;
    }

    .task-summary-stat:hover,
    .task-summary-chip:hover {
      border-color: rgba(73, 107, 91, 0.24);
      background: rgba(255, 251, 246, 0.72);
    }

    .task-summary-stat.selected,
    .task-summary-chip.selected {
      border-color: rgba(73, 107, 91, 0.42);
      box-shadow: inset 0 0 0 1px rgba(73, 107, 91, 0.18);
      background: rgba(219, 231, 222, 0.58);
    }

    .task-filter-row {
      display: flex;
      align-items: baseline;
      gap: 10px;
      flex-wrap: wrap;
      color: #9a8775;
      font-size: 0.82rem;
      line-height: 1.3;
    }

    .task-filter-row button {
      width: auto;
      min-width: 0;
      padding: 0;
      border: none;
      border-radius: 0;
      background: transparent;
      box-shadow: none;
      color: #556247;
      font-size: 0.72rem;
      font-weight: bold;
      letter-spacing: 0.08em;
      line-height: 1.2;
      text-transform: uppercase;
      text-decoration: underline;
      text-decoration-thickness: 1px;
      text-underline-offset: 3px;
      text-decoration-color: rgba(73, 107, 91, 0.34);
    }

    .task-summary-chip strong {
      color: #5b4735;
      font-size: 0.9rem;
      line-height: 1;
    }

    .task-summary-chip.shopping span {
      color: #8b5637;
    }

    .task-summary-chip.maintenance span {
      color: #556247;
    }

    .task-summary-chip.cleaning span {
      color: #46656c;
    }

    .task-summary-chip.other span {
      color: #6b5644;
    }

    .task-item {
      border: none;
      border-top: 1px solid rgba(203, 177, 148, 0.38);
      border-radius: 0;
      padding: 18px 40px 18px 0;
      background: transparent;
      display: grid;
      grid-template-columns: minmax(0, 1fr) auto;
      gap: 18px;
      align-items: start;
      position: relative;
    }

    .calendar-list > .task-item:first-child {
      border-top: none;
      padding-top: 8px;
    }

    .task-top {
      display: grid;
      gap: 10px;
      min-width: 0;
    }

    .task-title {
      font-weight: bold;
      line-height: 1.35;
    }

    .task-header-meta {
      display: inline-flex;
      align-items: center;
      gap: 7px;
      flex-wrap: wrap;
      line-height: 1.2;
    }

    .task-category-label {
      font-size: 0.72rem;
      font-weight: bold;
      letter-spacing: 0.08em;
      text-transform: uppercase;
      line-height: 1.2;
    }

    .task-category-label.shopping {
      color: #8b5637;
    }

    .task-category-label.maintenance {
      color: #556247;
    }

    .task-category-label.cleaning {
      color: #46656c;
    }

    .task-category-label.other {
      color: #6b5644;
    }

    .task-header-separator {
      font-size: 0.72rem;
      color: #9a8775;
      transform: translateY(-0.5px);
    }

    .task-notes {
      color: var(--muted);
      line-height: 1.55;
      font-size: 0.94rem;
    }

    .task-image-field {
      display: grid;
      gap: 7px;
    }

    .task-image-field input[type="file"] {
      padding: 11px 12px;
      line-height: 1.3;
      cursor: pointer;
    }

    .task-image-selection {
      font-size: 0.82rem;
      line-height: 1.35;
    }

    .task-image-grid {
      display: flex;
      gap: 8px;
      flex-wrap: wrap;
      align-items: center;
      margin-top: 2px;
    }

    .task-image-thumb {
      width: 74px;
      height: 74px;
      border-radius: 8px;
      border: 1px solid rgba(203, 177, 148, 0.44);
      background: rgba(255, 251, 246, 0.72);
      overflow: hidden;
      position: relative;
      box-shadow: 0 8px 20px rgba(55, 39, 26, 0.08);
    }

    .task-image-thumb a {
      display: block;
      width: 100%;
      height: 100%;
    }

    .task-image-thumb img {
      display: block;
      width: 100%;
      height: 100%;
      object-fit: cover;
    }

    .task-image-thumb.missing {
      display: grid;
      place-items: center;
      color: #9a8775;
      font-size: 0.72rem;
      font-weight: bold;
      letter-spacing: 0.08em;
      text-transform: uppercase;
    }

    .task-image-delete {
      position: absolute;
      top: 4px;
      right: 4px;
      z-index: 2;
      width: 22px;
      min-width: 22px;
      height: 22px;
      padding: 0;
      border: 1px solid rgba(255, 255, 255, 0.72);
      border-radius: 999px;
      background: rgba(79, 55, 38, 0.78);
      color: #fffaf4;
      box-shadow: 0 4px 12px rgba(55, 39, 26, 0.16);
      font-size: 1rem;
      line-height: 1;
    }

    .task-image-delete:hover {
      background: rgba(126, 61, 44, 0.9);
    }

    .task-owner-line {
      display: inline-flex;
      align-items: center;
      gap: 6px;
      flex-wrap: wrap;
      font-size: 0.76rem;
      letter-spacing: 0.06em;
      text-transform: uppercase;
      line-height: 1.2;
    }

    .task-owner-label {
      color: #9a8775;
      font-weight: bold;
    }

    .task-owner-name {
      color: #6a4e38;
      font-weight: bold;
      letter-spacing: normal;
      text-transform: none;
      font-size: 0.84rem;
    }

    .task-meta-row {
      color: #9a8775;
      font-size: 0.82rem;
      line-height: 1.35;
      display: flex;
      align-items: baseline;
      justify-content: flex-start;
      gap: 12px;
      flex-wrap: wrap;
    }

    .task-meta-row .task-action-edit,
    .notice-meta .task-action-edit {
      width: auto;
      min-width: 0;
      padding: 0;
      border: none;
      border-radius: 0;
      background: transparent;
      box-shadow: none;
      color: #6b5644;
      font-size: 0.72rem;
      font-weight: bold;
      letter-spacing: 0.08em;
      line-height: 1.2;
      text-transform: uppercase;
      text-decoration: underline;
      text-decoration-thickness: 1px;
      text-underline-offset: 3px;
      text-decoration-color: rgba(154, 135, 117, 0.38);
    }

    .task-meta-row .task-action-edit:hover,
    .notice-meta .task-action-edit:hover {
      background: transparent;
      color: #4d392b;
    }

    .task-meta-actions {
      display: inline-flex;
      align-items: baseline;
      justify-content: flex-start;
      gap: 12px;
      flex-wrap: wrap;
    }

    .task-meta-actions button {
      width: auto;
      min-width: 0;
      padding: 0;
      border: none;
      border-radius: 0;
      background: transparent;
      box-shadow: none;
      font-size: 0.72rem;
      font-weight: bold;
      letter-spacing: 0.08em;
      line-height: 1.2;
      text-transform: uppercase;
      text-decoration: underline;
      text-decoration-thickness: 1px;
      text-underline-offset: 3px;
      text-decoration-color: rgba(154, 135, 117, 0.38);
    }

    .task-meta-actions button:hover {
      background: transparent;
    }

    .task-meta-actions .task-action-claim {
      color: #556247;
    }

    .task-meta-actions .task-action-claim:hover {
      color: #374d3d;
    }

    .task-meta-actions .task-action-image {
      color: #556247;
      text-decoration-color: rgba(73, 107, 91, 0.34);
    }

    .task-meta-actions .task-action-image:hover {
      color: #374d3d;
      text-decoration-color: rgba(73, 107, 91, 0.52);
    }

    .task-meta-actions .task-action-strong {
      color: #8b5637;
    }

    .task-meta-actions .task-action-strong:hover {
      color: #6f4127;
    }

    .task-secondary-actions {
      display: inline-flex;
      align-items: baseline;
      gap: 14px;
      flex-wrap: wrap;
    }

    .task-secondary-actions button {
      width: auto;
      min-width: 0;
      padding: 0;
      border: none;
      border-radius: 0;
      background: transparent;
      box-shadow: none;
      font-size: 0.72rem;
      font-weight: bold;
      letter-spacing: 0.08em;
      line-height: 1.2;
      text-transform: uppercase;
      text-decoration: underline;
      text-decoration-thickness: 1px;
      text-underline-offset: 3px;
      text-decoration-color: rgba(154, 135, 117, 0.38);
    }

    .task-secondary-actions button:hover {
      background: transparent;
    }

    .task-secondary-actions .task-action-claim {
      min-height: 28px;
      padding: 6px 10px;
      border-radius: 999px;
      background: rgba(73, 107, 91, 0.12);
      border: 1px solid rgba(73, 107, 91, 0.16);
      color: #556247;
      text-decoration: none;
    }

    .task-secondary-actions .task-action-claim:hover {
      background: rgba(73, 107, 91, 0.18);
      border-color: rgba(73, 107, 91, 0.22);
      color: #374d3d;
    }

    .task-secondary-actions .task-action-strong {
      color: #8b5637;
    }

    .task-secondary-actions .task-action-strong:hover {
      color: #6f4127;
    }

    .task-side {
      display: grid;
      justify-items: end;
      gap: 8px;
      width: auto;
    }

    .task-actions {
      display: flex;
      flex-direction: column;
      align-items: flex-end;
      gap: 8px;
      width: auto;
    }

    .task-actions button {
      width: auto;
      min-width: 0;
      padding: 0;
    }

    .task-actions .task-action-soft,
    .task-actions .task-action-strong {
      width: auto;
      min-width: 0;
      padding: 0;
      border: none;
      border-radius: 0;
      background: transparent;
      box-shadow: none;
      font-size: 0.72rem;
      font-weight: bold;
      letter-spacing: 0.08em;
      text-transform: uppercase;
      line-height: 1.2;
      text-decoration: underline;
      text-decoration-thickness: 1px;
      text-underline-offset: 3px;
      text-decoration-color: rgba(154, 135, 117, 0.38);
    }

    .task-actions .task-action-soft:hover,
    .task-actions .task-action-strong:hover {
      background: transparent;
    }

    .task-actions .task-action-edit {
      color: #6b5644;
    }

    .task-actions .task-action-edit:hover {
      color: #4d392b;
    }

    .task-actions .task-action-claim {
      color: #556247;
    }

    .task-actions .task-action-claim:hover {
      color: #374d3d;
    }

    .task-actions .task-action-strong {
      color: #8b5637;
    }

    .task-actions .task-action-strong:hover {
      color: #6f4127;
    }

    .task-actions .icon-delete-btn,
    .booking-actions .icon-delete-btn {
      min-width: 24px;
      width: 24px;
      padding: 0;
    }

    .task-status {
      display: inline-block;
      font-size: 0.72rem;
      letter-spacing: 0.08em;
      text-transform: uppercase;
      line-height: 1.2;
      font-weight: bold;
    }

    .task-status-toggle {
      width: auto;
      min-width: 0;
      padding: 0;
      border: none;
      background: transparent;
      box-shadow: none;
      cursor: pointer;
      text-align: left;
      text-decoration: underline;
      text-decoration-thickness: 1px;
      text-underline-offset: 3px;
      text-decoration-color: rgba(154, 135, 117, 0.38);
      font: inherit;
      font-size: 0.72rem;
      font-weight: bold;
      display: inline-flex;
      align-items: center;
      gap: 4px;
    }

    .task-status-caret {
      font-size: 0.62rem;
      transform: translateY(-1px);
    }

    .task-status-menu {
      position: absolute;
      top: 28px;
      left: 14px;
      z-index: 4;
      min-width: 118px;
      max-width: 160px;
      padding: 4px;
      border-radius: 8px;
      border: 1px solid rgba(163, 127, 86, 0.2);
      background: rgba(255, 252, 247, 0.98);
      box-shadow: 0 8px 18px rgba(89, 64, 36, 0.10);
      display: grid;
      gap: 2px;
    }

    .task-status-menu-btn {
      width: auto;
      min-width: 0;
      padding: 5px 7px;
      border-radius: 6px;
      border: 1px solid transparent;
      background: transparent;
      color: #6a4e38;
      box-shadow: none;
      text-align: left;
      font: inherit;
      font-size: 0.76rem;
      font-weight: bold;
      line-height: 1.2;
    }

    .task-status-menu .task-status-menu-btn {
      border: 1px solid transparent;
      width: auto;
      min-width: 0;
      padding: 5px 7px;
      border-radius: 6px;
      font: inherit;
      font-size: 0.76rem;
      font-weight: bold;
      text-transform: none;
    }

    .task-status-menu-btn:hover,
    .task-status-menu-btn.active {
      background: rgba(245, 233, 214, 0.78);
      border-color: rgba(150, 114, 78, 0.16);
      color: #4d392b;
    }

    .task-status.not_started {
      color: #5f6f89;
    }

    .task-status.in_progress {
      color: #8b5637;
    }

    .task-status.on_hold {
      color: #8a6a11;
    }

      .task-status.done {
        color: #557245;
      }

      .task-status-menu {
        top: 30px;
        left: 14px;
        right: auto;
        min-width: 112px;
        max-width: 148px;
      }

    .completed-tasks,
    .extra-tasks,
    .extra-bookings,
    .extra-maintenance {
      margin-top: 8px;
      border-top: 1px solid rgba(203, 177, 148, 0.38);
      border-radius: 0;
      background: transparent;
      overflow: visible;
    }

    .completed-tasks summary,
    .extra-tasks summary,
    .extra-bookings summary,
    .extra-maintenance summary {
      list-style: none;
      cursor: pointer;
      padding: 14px 0 10px;
      font-weight: bold;
      color: #6a4e38;
      display: flex;
      align-items: center;
      justify-content: space-between;
      gap: 10px;
    }

    .completed-tasks summary::-webkit-details-marker,
    .extra-tasks summary::-webkit-details-marker,
    .extra-bookings summary::-webkit-details-marker,
    .extra-maintenance summary::-webkit-details-marker {
      display: none;
    }

    .completed-tasks summary::after,
    .extra-tasks summary::after,
    .extra-bookings summary::after,
    .extra-maintenance summary::after {
      content: '+';
      font-size: 1rem;
      line-height: 1;
      color: #8a6a11;
    }

    .completed-tasks[open] summary,
    .extra-tasks[open] summary,
    .extra-bookings[open] summary,
    .extra-maintenance[open] summary {
      border-bottom: 1px solid rgba(203, 177, 148, 0.38);
    }

    .completed-tasks[open] summary::after,
    .extra-tasks[open] summary::after,
    .extra-bookings[open] summary::after,
    .extra-maintenance[open] summary::after {
      content: '−';
    }

    .completed-tasks-list,
    .extra-tasks-list,
    .extra-bookings-list,
    .extra-maintenance-list {
      display: grid;
      gap: 0;
      padding: 0;
    }

    .completed-tasks-list > .task-item:first-child,
    .extra-tasks-list > .task-item:first-child,
    .extra-bookings-list > .booking-item:first-child,
    .extra-maintenance-list > .maintenance-entry:first-child {
      border-top: none;
    }

    @media (max-width: 860px) {
      header {
        min-height: 46vh;
        padding: 20px 16px 16px;
        align-items: stretch;
      }

      main {
        margin: 10px auto 28px;
        padding: 0 14px;
      }

      .card {
        padding: 18px;
        margin-bottom: 16px;
      }

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

      .split-grid {
        grid-template-columns: 1fr;
      }

      .booking-lists-grid .my-bookings-card {
        order: 1;
      }

      .booking-lists-grid .all-bookings-card {
        order: 2;
      }

      .maintenance-layout {
        grid-template-columns: 1fr;
        gap: 16px;
      }

      .maintenance-history {
        border-left: 0;
        border-top: 1px solid rgba(203, 177, 148, 0.28);
        padding-left: 0;
        padding-top: 16px;
      }

      .maintenance-subheader {
        align-items: flex-start;
      }

      .maintenance-subheader .maintenance-toolbar button,
      .maintenance-subheader .content-toolbar button {
        font-size: 0.74rem;
      }

      .maintenance-form-options {
        grid-template-columns: 1fr;
      }

      .maintenance-entry {
        grid-template-columns: 1fr;
      }

      .maintenance-entry-actions {
        justify-content: flex-start;
      }

      .auth-split {
        grid-template-columns: 1fr;
      }

      .auth-inline-forms {
        grid-template-columns: 1fr;
      }

      .hero {
        grid-template-columns: 1fr;
        gap: 10px;
        align-items: end;
      }

      .hero h1 {
        margin-bottom: 6px;
      }

      .hero p {
        margin-bottom: 0;
        max-width: 28rem;
        font-size: 0.96rem;
        line-height: 1.45;
      }

      .hero-weather {
        justify-self: end;
        align-self: end;
        width: min(64vw, 232px);
        max-width: 232px;
      }

      .hero-weather .weather-card {
        padding: 8px;
      }

      .hero-weather .weather-main {
        gap: 6px;
        margin-bottom: 6px;
      }

      .hero-weather .weather-icon {
        font-size: 1.2rem;
      }

      .hero-weather .weather-temp {
        font-size: 1.05rem;
      }

      .hero-weather .weather-label {
        margin-bottom: 5px;
        font-size: 0.84rem;
      }

      .hero-weather .weather-desc,
      .hero-weather .weather-meta {
        font-size: 0.74rem;
        line-height: 1.3;
      }

      .hero-weather .weather-forecast {
        gap: 6px;
      }

      .hero-weather .weather-forecast-toggle {
        display: inline-flex;
        align-items: center;
        justify-content: center;
      }

      .hero-weather .weather-forecast {
        display: none;
      }

      .hero-weather .weather-card.mobile-forecast-open .weather-forecast {
        display: grid;
      }

      .hero-weather .weather-day {
        padding: 6px 5px;
      }

      .hero-weather .weather-day-label {
        font-size: 0.66rem;
        margin-bottom: 3px;
      }

      .hero-weather .weather-day-icon {
        font-size: 0.9rem;
        margin-bottom: 3px;
      }

      .hero-weather .weather-day-temp {
        font-size: 0.74rem;
      }

      .hero-weather .weather-day-wind {
        font-size: 0.64rem;
        margin-top: 3px;
      }

      .hero-weather .weather-temp.temp-above-freezing,
      .hero-weather .weather-day-temp.temp-above-freezing {
        color: #ff9461;
      }

      .hero-weather .weather-temp.temp-freezing,
      .hero-weather .weather-day-temp.temp-freezing {
        color: #b8d9ff;
      }

      .hero-weather .weather-meta,
      .hero-weather .weather-day-wind {
        color: rgba(255, 248, 240, 0.92);
      }

      .booking-item {
        grid-template-columns: 8px minmax(0, 1fr) auto;
      }

      .summary-main {
        grid-template-columns: 1fr;
      }

      .agenda-item {
        grid-template-columns: 8px minmax(0, 1fr);
      }

      .summary-grid {
        grid-template-columns: 1fr;
      }

      .summary-top-grid {
        grid-template-columns: 1fr;
        gap: 16px;
      }

      .content-grid {
        grid-template-columns: 1fr;
        gap: 16px;
      }

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

      .weather-forecast {
        grid-template-columns: repeat(2, minmax(0, 1fr));
      }

      .task-summary-stat {
        min-height: 30px;
      }

      .task-form-options {
        grid-template-columns: 1fr;
      }

      .task-item {
        grid-template-columns: 1fr;
        gap: 14px;
        padding-right: 28px;
      }

      .notice-item {
        grid-template-columns: 1fr;
        gap: 12px;
      }

      .task-side,
      .task-actions {
        width: 100%;
      }

      .task-side {
        justify-items: start;
      }

      .notice-item .task-side,
      .notice-item .task-actions {
        width: 100%;
      }

      .notice-item .task-side {
        justify-items: start;
      }

      .task-actions button {
        width: auto;
      }

      .task-actions .task-action-soft,
      .task-actions .task-action-strong {
        padding: 0;
      }

      .task-actions .icon-delete-btn,
      .booking-actions .icon-delete-btn {
        width: 22px;
        min-width: 22px;
        height: 22px;
        font-size: 0.82rem;
        top: 8px;
        right: 8px;
      }

      .notice-item .icon-delete-btn {
        width: 22px;
        min-width: 22px;
        height: 22px;
        font-size: 0.82rem;
        top: 8px;
        right: 8px;
      }

      #calendar .calendar-months {
        grid-template-columns: 1fr;
      }

      #calendar .calendar-month-header {
        display: none;
      }

      #calendar .calendar-month + .calendar-month {
        border-left: 0;
        border-top: 1px solid rgba(203, 177, 148, 0.28);
        padding-left: 0;
        padding-top: 16px;
      }

      .auth-strip {
        flex-direction: column;
        align-items: flex-start;
        gap: 10px;
        padding: 2px 0 12px;
        margin-bottom: 16px;
        border: 0;
        border-bottom: 1px solid rgba(255, 248, 240, 0.18);
        background: transparent;
        box-shadow: none;
        backdrop-filter: none;
      }

      .auth-strip-actions {
        justify-content: flex-start;
        gap: 12px;
      }

      .form-actions {
        justify-content: space-between;
        gap: 8px;
        flex-wrap: wrap;
      }

      .form-actions button {
        flex: 1 1 140px;
        min-width: 120px;
        padding: 10px 8px;
      }

      .auth-compact-panel h3 {
        font-size: 1.02rem;
      }

      .auth-compact-panel .muted {
        margin-bottom: 10px;
        font-size: 0.86rem;
      }

      .auth-section-block + .auth-section-block {
        margin-top: 12px;
        padding-top: 12px;
      }

      .auth-section-title {
        margin-bottom: 7px;
        font-size: 0.96rem;
      }

      .auth-compact-panel label {
        font-size: 0.86rem;
        letter-spacing: 0;
        text-transform: none;
      }

      .auth-row {
        grid-template-columns: 1fr;
        gap: 10px;
        align-items: start;
      }

      .auth-form-actions {
        justify-content: flex-start;
      }

      .auth-form-actions button:not(.auth-inline-link) {
        flex: 0 0 auto;
      }

      .auth-form-actions .auth-inline-link {
        flex: 0 0 auto;
        min-width: 0;
        padding: 0;
      }

      .compact-form-actions {
        justify-content: flex-start;
        margin-top: 0;
      }

      .compact-form-actions button {
        flex: 0 0 auto;
        width: auto;
        min-width: 0;
        padding: 9px 15px;
        font-size: 0.88rem;
      }

      .profile-color-field {
        align-self: start;
      }

      .profile-color-choices {
        min-height: 0;
        gap: 7px;
      }

      .profile-color-swatch {
        width: 31px;
        min-width: 31px;
        height: 31px;
      }

      .invite-row {
        grid-template-columns: 1fr;
      }

      .invite-row .compact-form-actions {
        grid-column: auto;
        grid-row: auto;
        align-self: start;
      }

      .invite-row .compact-form-actions button {
        width: auto;
        min-width: 132px;
      }

      .invite-item {
        grid-template-columns: 1fr;
        gap: 7px;
        align-items: stretch;
      }

      .invite-actions {
        justify-self: start;
      }

      .auth-strip-user {
        line-height: 1.35;
        color: #fff8f0;
        text-shadow:
          0 1px 2px rgba(0, 0, 0, 0.7),
          0 0 16px rgba(0, 0, 0, 0.5);
        overflow-wrap: anywhere;
      }

      .auth-link {
        color: #fff8f0;
        text-decoration-color: rgba(255, 248, 240, 0.86);
        text-shadow:
          0 1px 2px rgba(0, 0, 0, 0.7),
          0 0 16px rgba(0, 0, 0, 0.5);
      }

      .booking-actions {
        justify-self: stretch;
      }

      .user-admin-item {
        grid-template-columns: 1fr;
        gap: 9px;
        align-items: stretch;
      }

      .admin-users-block .form-help {
        max-width: 34rem;
        margin-bottom: 9px;
        font-size: 0.8rem;
        line-height: 1.35;
      }

      .user-admin-actions {
        grid-template-columns: 1fr;
        width: auto;
        gap: 7px;
        justify-content: start;
        justify-items: start;
      }

      .user-admin-toggle-row {
        grid-template-columns: 72px auto;
        align-items: center;
        justify-items: start;
        gap: 8px;
        width: auto;
      }

      .user-admin-toggle-label {
        color: #6b5644;
        font-size: 0.82rem;
        line-height: 1.2;
      }

      .user-admin-toggle {
        width: auto;
        min-width: 0;
        gap: 7px;
        justify-content: flex-start;
        padding: 0;
        border: 0;
        background: transparent;
      }

      .user-admin-toggle.is-on,
      .user-admin-toggle.is-blocked {
        border-color: transparent;
        background: transparent;
      }

      .user-admin-toggle-track {
        width: 34px;
        height: 20px;
      }

      .user-admin-toggle-thumb {
        width: 14px;
        height: 14px;
      }

      .user-admin-toggle.is-on .user-admin-toggle-thumb {
        transform: translateX(14px);
      }

      .user-admin-toggle-text {
        min-width: 44px;
        text-align: left;
        font-size: 0.82rem;
      }

      .inline-delete-confirm {
        top: 6px;
        right: 34px;
        min-width: 158px;
        padding: 9px;
      }

      .inline-delete-confirm-text {
        font-size: 0.78rem;
        margin-bottom: 7px;
      }

      .inline-delete-confirm-actions {
        gap: 6px;
      }

      .inline-delete-confirm-btn {
        padding: 6px 9px;
        font-size: 0.76rem;
      }
    }
