:root {
  color-scheme: light;
  /* Nasay Gold Accent System */
  --gold: #b89459;
  --gold-dark: #8a6d3b;
  --gold-hover: #a37f46;
  --gold-soft: #fdfaf3;
  --gold-border: #e8d8b6;

  --accent: var(--gold);
  --accent-dark: var(--gold-dark);
  --accent-hover: var(--gold-hover);
  --accent-soft: var(--gold-soft);
  --accent-border: var(--gold-border);

  /* Surfaces & Backgrounds */
  --bg: #f6f3ee;
  --paper: #f6f3ee;
  --surface: #ffffff;
  --surface-alt: #faf8f5;
  --white: #ffffff;

  /* Typography & Ink */
  --ink: #1e1e1e;
  --ink-soft: #4a463e;
  --muted: #767064;
  --line: #e6e1d6;
  --line-soft: #f0ece3;

  /* Semantic Status Colors */
  --green: #15803d;
  --green-dark: #166534;
  --green-soft: #f0fdf4;
  --green-border: #bbf7d0;

  --amber: #b45309;
  --amber-soft: #fefce8;
  --amber-border: #fef08a;

  --red: #b91c1c;
  --red-dark: #991b1b;
  --red-soft: #fef2f2;
  --red-border: #fecaca;

  --blue: #1d4ed8;
  --blue-soft: #eff6ff;
  --blue-border: #bfdbfe;

  --navy: #1e293b;

  /* Geometry & Elevation */
  --radius: 12px;
  --radius-sm: 10px;
  --radius-lg: 14px;
  --radius-pill: 999px;
  --shadow: 0 6px 18px rgba(0, 0, 0, 0.05);
  --shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.04);
  --shadow-md: 0 10px 25px rgba(0, 0, 0, 0.08);

  font-family: 'Lato', system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  font-synthesis: none;
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
  background: var(--bg);
  color: var(--ink);
}

* { box-sizing: border-box; }
html { min-width: 320px; min-height: 100%; -webkit-text-size-adjust: 100%; }
body { margin: 0; min-width: 320px; min-height: 100vh; background: var(--bg); overflow-wrap: anywhere; }
button, input, select, textarea { font: inherit; color: inherit; }
button { touch-action: manipulation; }
[hidden] { display: none !important; }
button:focus-visible, a:focus-visible, input:focus-visible, select:focus-visible, textarea:focus-visible {
  outline: 3px solid var(--gold); outline-offset: 2px;
}

.auth-screen {
  min-height: 100vh; display: flex; flex-direction: column; align-items: center; justify-content: center;
  padding: 2rem 1.1rem; background:
    radial-gradient(ellipse at 80% 10%, rgba(184, 148, 89, .08), transparent 32rem),
    linear-gradient(145deg, #fdfaf5, #f6f3ee);
}
.auth-brand { display: flex; align-items: center; gap: .75rem; margin-bottom: 1.5rem; }
.auth-brand > div, .brand-copy { display: grid; gap: .12rem; }
.auth-brand strong, .brand-copy strong { font: 800 1.08rem/1.15 'Lato', system-ui, sans-serif; letter-spacing: -.025em; color: var(--ink); }
.auth-brand div > span, .brand-copy small { color: var(--muted); font-size: .78rem; }
.brand-mark {
  display: grid; place-items: center; flex: 0 0 42px; width: 42px; height: 42px; border-radius: var(--radius-sm);
  color: #fff; background: var(--gold); font: 800 1.08rem 'Lato', system-ui, sans-serif;
  box-shadow: inset 0 0 0 1px rgba(255,255,255,.22);
}
.auth-card {
  width: min(100%, 440px); padding: clamp(1.35rem, 6vw, 2.4rem); border: 1px solid var(--line);
  border-radius: var(--radius-lg); background: rgba(255,255,255,.98); box-shadow: var(--shadow);
}
.auth-card h1, .page-heading h1, .welcome-row h1 { margin: .2rem 0 .55rem; font: 800 clamp(1.65rem, 4vw, 2.25rem)/1.15 'Lato', system-ui, sans-serif; letter-spacing: -.03em; color: var(--ink); }
.auth-footer, .fine-print { color: var(--muted); font-size: .78rem; line-height: 1.5; text-align: center; }
.auth-footer { max-width: 340px; margin: 1.25rem 0 0; }
.auth-forgot-note { margin-top: 1rem; text-align: center; }
.auth-forgot-note .text-button { font-size: .78rem; color: var(--muted); }
.auth-forgot-note .text-button:hover { color: var(--gold-dark); text-decoration: underline; }
.auth-forgot-help { margin-top: .6rem; font-size: .78rem; text-align: left; padding: .75rem; border-radius: var(--radius-sm); background: var(--surface-alt); border: 1px solid var(--line); color: var(--ink-soft); }
.fine-print { margin: 1.3rem 0 0; }
.eyebrow { margin: 0 0 .48rem; color: var(--gold-dark); font-size: .67rem; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; }
.muted { color: var(--muted); font-size: .9rem; line-height: 1.55; }
.auth-card > .muted { margin: .3rem 0 1.5rem; }

.app-frame { min-height: 100vh; display: grid; grid-template-columns: 246px minmax(0, 1fr); background: var(--bg); }
.sidebar {
  position: sticky; top: 0; display: flex; flex-direction: column; min-width: 0; height: 100vh; padding: 1.55rem 1rem 1.1rem;
  color: var(--ink); background: #ffffff; border-right: 1px solid var(--line);
}
.brand { display: flex; align-items: center; gap: .7rem; min-height: 48px; margin: 0 .35rem 2.2rem; color: inherit; text-decoration: none; }
.brand-mark { color: #fff; background: var(--gold); }
.brand-copy strong { color: var(--ink); font-size: .98rem; }
.brand-copy small { color: var(--muted); font-size: .67rem; }
.side-label { margin: 0 .7rem .7rem; color: var(--muted); font-size: .62rem; font-weight: 700; letter-spacing: .13em; text-transform: uppercase; }
.navigation { display: grid; gap: .34rem; }
.nav-item {
  display: flex; align-items: center; gap: .75rem; min-width: 0; width: 100%; min-height: 46px; padding: .55rem .7rem;
  border: 0; border-radius: 10px; background: transparent; color: #524c42; text-align: left; cursor: pointer;
  font-size: .86rem; font-weight: 500;
}
.nav-item:hover { color: var(--ink); background: var(--surface-alt); }
.nav-item.is-active { color: var(--gold-dark); background: var(--gold-soft); box-shadow: inset 3px 0 var(--gold); font-weight: 700; }
.nav-icon { display: grid; place-items: center; width: 23px; flex: 0 0 23px; color: #8e887e; font-size: 1.1rem; }
.nav-item.is-active .nav-icon { color: var(--gold); }
.nav-count { display: inline-grid; place-items: center; margin-left: auto; min-width: 21px; height: 21px; padding: 0 .35rem; border-radius: 99px; color: #fff; background: var(--red); font-size: .68rem; font-weight: 700; }
.sidebar-bottom { margin-top: auto; }
.independent-note { display: flex; gap: .55rem; align-items: flex-start; margin: 0 .45rem 1rem; padding: .75rem; border: 1px solid var(--line); border-radius: 11px; background: var(--surface-alt); color: var(--ink-soft); font-size: .66rem; line-height: 1.6; }
.independent-note strong { color: var(--ink); font-size: .69rem; }
.note-dot, .status-dot { width: 7px; height: 7px; flex: 0 0 7px; margin-top: .34rem; border-radius: 50%; background: var(--gold); box-shadow: 0 0 0 3px rgba(184, 148, 89, .15); }
.profile { display: flex; align-items: center; gap: .6rem; min-width: 0; padding: .7rem .25rem 0; border-top: 1px solid var(--line); }
.avatar { display: grid; place-items: center; flex: 0 0 34px; width: 34px; height: 34px; border: 1px solid var(--gold-border); border-radius: 50%; color: var(--gold-dark); background: var(--gold-soft); font-weight: 700; }
.profile-copy { display: grid; gap: .12rem; min-width: 0; color: var(--ink); font-size: .75rem; }
.profile-copy strong { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.profile-copy small { color: var(--muted); font-size: .65rem; }
.icon-button { display: inline-grid; place-items: center; flex: 0 0 40px; width: 40px; height: 40px; padding: 0; border: 0; border-radius: 10px; color: inherit; background: transparent; cursor: pointer; font-size: 1.35rem; }
.icon-button:hover { background: var(--surface-alt); }
.profile .icon-button { margin-left: auto; color: var(--ink-soft); }

.main-column { display: flex; flex-direction: column; min-width: 0; min-height: 100vh; }
.topbar {
  position: sticky; top: 0; z-index: 5; display: flex; align-items: center; justify-content: space-between; gap: 1rem;
  min-height: 82px; padding: .8rem clamp(1rem, 3vw, 2.5rem); border-bottom: 1px solid var(--line);
  background: rgba(255,255,255,.94); backdrop-filter: blur(12px);
}
.topbar .eyebrow { margin-bottom: .33rem; font-size: .58rem; color: var(--gold-dark); }
.topbar-title { display: flex; align-items: center; gap: .52rem; font: 700 .84rem 'Lato', system-ui, sans-serif; color: var(--ink); }
.topbar-title .status-dot { margin: 0; width: 6px; height: 6px; flex-basis: 6px; }
.topbar-actions { display: flex; align-items: center; justify-content: flex-end; flex-wrap: wrap; gap: .55rem; }
.today-label { margin-right: .35rem; color: var(--muted); font-size: .76rem; white-space: nowrap; }
.content { width: 100%; max-width: 1420px; margin: 0 auto; padding: clamp(1rem, 3vw, 2.25rem) clamp(1rem, 3vw, 2.5rem) 2.5rem; flex: 1; min-width: 0; }
.app-footer { padding: .9rem 1rem calc(.9rem + env(safe-area-inset-bottom)); color: var(--muted); font-size: .7rem; text-align: center; }
.app-footer span { padding: 0 .25rem; color: var(--line); }

.welcome-row { display: flex; align-items: center; justify-content: space-between; gap: 1rem; min-height: 108px; margin: 0 0 1.05rem; }
.welcome-row h1 { margin-bottom: .35rem; font-size: clamp(1.55rem, 3vw, 2rem); }
.welcome-row .muted { margin: 0; }
.welcome-art { position: relative; display: grid; place-items: center; width: 86px; height: 76px; flex: 0 0 86px; border-radius: 25px 25px 28px 28px; color: var(--gold-dark); background: var(--gold-soft); border: 1px solid var(--gold-border); overflow: hidden; }
.welcome-art span { z-index: 1; margin-top: -14px; font-size: 1.8rem; color: var(--gold); }
.welcome-art i, .welcome-art b { position: absolute; bottom: -10px; width: 65px; height: 38px; border-radius: 50%; background: #eedfc2; transform: rotate(-20deg); }
.welcome-art b { right: -24px; bottom: -15px; width: 56px; height: 40px; background: #faeccf; transform: rotate(25deg); }

.summary-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 205px), 1fr)); gap: .8rem; margin-bottom: 1.15rem; }
.summary-card { display: flex; align-items: flex-start; justify-content: space-between; gap: .7rem; min-width: 0; min-height: 124px; padding: 1rem 1.05rem; border: 1px solid var(--line); border-radius: var(--radius); background: var(--surface); box-shadow: var(--shadow); }
.summary-card p { margin: 0; color: var(--muted); font-size: .76rem; font-weight: 600; }
.summary-card strong { display: block; margin: .5rem 0 .15rem; font: 800 1.8rem/1 'Lato', system-ui, sans-serif; letter-spacing: -.03em; color: var(--ink); }
.summary-card small { color: var(--muted); font-size: .68rem; }
.metric-icon { display: grid; place-items: center; flex: 0 0 37px; width: 37px; height: 37px; border-radius: 12px; color: var(--gold-dark); background: var(--gold-soft); border: 1px solid var(--gold-border); font-size: 1.04rem; }
.metric-warn .metric-icon { color: var(--amber); background: var(--amber-soft); border-color: var(--amber-border); }
.metric-alert .metric-icon { color: var(--red); background: var(--red-soft); border-color: var(--red-border); }
.metric-calm .metric-icon { color: var(--blue); background: var(--blue-soft); border-color: var(--blue-border); }
.dashboard-grid { display: grid; grid-template-columns: minmax(0, 1.35fr) minmax(280px, .85fr); gap: 1rem; margin-bottom: 1rem; }
.panel { min-width: 0; padding: 1.15rem; border: 1px solid var(--line); border-radius: var(--radius); background: var(--surface); box-shadow: var(--shadow); }
.panel-heading { display: flex; align-items: center; justify-content: space-between; gap: .6rem; min-width: 0; margin-bottom: .8rem; }
.panel-heading .eyebrow { margin-bottom: .25rem; font-size: .59rem; }
.panel-heading h2 { margin: 0; font: 700 1.03rem 'Lato', system-ui, sans-serif; letter-spacing: -.03em; color: var(--ink); }
.text-button { display: inline-flex; align-items: center; gap: .35rem; min-height: 40px; padding: .3rem; border: 0; color: var(--gold-dark); background: transparent; cursor: pointer; font-size: .75rem; font-weight: 700; white-space: nowrap; }
.text-button:hover { color: var(--gold-hover); text-decoration: underline; }
.compact-list { display: grid; }
.compact-row { display: flex; align-items: center; gap: .75rem; min-width: 0; padding: .72rem .1rem; border-top: 1px solid var(--line-soft); }
.compact-date { display: grid; place-items: center; flex: 0 0 43px; min-height: 44px; padding: .25rem; border-radius: 10px; color: var(--gold-dark); background: var(--gold-soft); border: 1px solid var(--gold-border); text-align: center; font-size: .61rem; line-height: 1.2; }
.compact-date strong { font-size: .95rem; }
.compact-copy { min-width: 0; flex: 1; }
.compact-copy strong, .compact-copy small { display: block; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.compact-copy strong { font-size: .79rem; }
.compact-copy small { margin-top: .2rem; color: var(--muted); font-size: .69rem; }
.compact-empty { padding: 1rem .1rem; color: var(--muted); font-size: .81rem; }
.compact-priority { width: 7px; height: 7px; flex: 0 0 7px; border-radius: 50%; background: #bdc8c0; }
.compact-priority.high, .compact-priority.urgent { background: var(--red); }
.area-chips { display: flex; flex-wrap: wrap; gap: .5rem; }
.area-chip { display: inline-flex; align-items: center; gap: .45rem; padding: .5rem .7rem; border: 1px solid var(--line); border-radius: 99px; color: var(--ink-soft); background: var(--surface-alt); font-size: .73rem; }
.area-chip::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: var(--gold); }

.page-heading { display: flex; align-items: center; justify-content: space-between; gap: 1rem; margin: 0 0 1.2rem; }
.page-heading h1 { margin-bottom: .3rem; font-size: clamp(1.55rem, 3vw, 2rem); }
.page-heading .muted { margin: 0; max-width: 650px; }
.button {
  display: inline-flex; align-items: center; justify-content: center; gap: .45rem; min-height: 42px; min-width: 44px; padding: .55rem .9rem;
  border: 1px solid transparent; border-radius: 10px; cursor: pointer; text-decoration: none; font-size: .77rem; font-weight: 700;
  transition: background .15s ease, border-color .15s ease, transform .15s ease;
}
.button:hover { transform: translateY(-1px); }
.button:disabled { opacity: .55; cursor: wait; transform: none; }
.button-primary { color: #fff; background: var(--gold); border-color: transparent; box-shadow: 0 3px 8px rgba(184, 148, 89, 0.22); }
.button-primary:hover { background: var(--gold-hover); }
.button-outline { border-color: var(--line); color: var(--gold-dark); background: #fff; }
.button-outline:hover { border-color: var(--gold); background: var(--gold-soft); }
.button-danger { border-color: #fecaca; color: var(--red); background: var(--red-soft); }
.button-danger:hover { border-color: var(--red); background: #fee2e2; }
.button-wide { width: 100%; min-height: 48px; margin-top: .2rem; }
.toolbar { display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: .7rem; margin: 0 0 1rem; }
.plan-subnav-bar {
  display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: .75rem;
  margin: 0 0 1rem; padding: .65rem .85rem; border: 1px solid var(--line); border-radius: 14px;
  background: #fff; box-shadow: 0 2px 7px rgba(0, 0, 0, 0.04);
}
.plan-mode-icon { margin-right: .3rem; font-size: .85rem; }
.plan-date-nav { display: flex; align-items: center; gap: .35rem; }
.plan-nav-btn { min-height: 36px !important; padding: .35rem .65rem !important; font-size: .75rem !important; }
.plan-date-input { min-height: 36px !important; padding: .3rem .5rem !important; font-size: .75rem !important; }

/* Vista 1: Plan de Jornada por Limpiadora / Empleada */
.plan-schedule-header {
  margin-bottom: 1.1rem; padding: .75rem 1rem; border-radius: 12px;
  background: var(--surface-alt); border: 1px solid var(--line); border-left: 4px solid var(--gold);
  display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: .5rem;
}
.plan-schedule-title-box { display: flex; align-items: center; gap: .75rem; flex-wrap: wrap; }
.plan-schedule-date-badge {
  font: 700 .92rem/1.2 'Lato', system-ui, sans-serif; color: var(--gold-dark); text-transform: capitalize;
}
.plan-schedule-date-badge.is-today { color: var(--gold); }
.plan-schedule-summary-tag {
  padding: .2rem .55rem; border-radius: 99px; background: #fff;
  border: 1px solid var(--line); font-size: .68rem; font-weight: 600; color: var(--ink-soft);
}

.plan-cleaners-board {
  display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 330px), 1fr));
  gap: 1.15rem; align-items: start; min-width: 0;
}
.cleaner-column {
  display: flex; flex-direction: column; min-width: 0;
  border: 1px solid var(--line); border-radius: 15px; background: #fafbfa;
  box-shadow: 0 3px 9px rgba(0, 0, 0, .03); overflow: hidden;
}
.cleaner-column.is-me { border-color: var(--gold-border); background: var(--gold-soft); box-shadow: 0 4px 14px rgba(184, 148, 89, .12); }
.cleaner-column.is-unassigned { border-style: dashed; border-color: var(--amber); background: #fffdfa; }
.cleaner-column-header {
  display: flex; align-items: center; gap: .7rem; padding: .85rem 1rem;
  background: #fff; border-bottom: 1px solid var(--line-soft);
}
.cleaner-avatar-box {
  display: grid; place-items: center; flex: 0 0 36px; width: 36px; height: 36px;
  border-radius: 10px; font-weight: 700; font-size: .95rem; color: #fff;
}
.cleaner-avatar-box.role-staff { background: var(--green); }
.cleaner-avatar-box.role-admin { background: var(--gold-dark); }
.cleaner-avatar-box.role-unassigned { background: var(--amber); }
.cleaner-meta { flex: 1 1 auto; min-width: 0; }
.cleaner-name-row { display: flex; align-items: center; gap: .35rem; }
.cleaner-name { margin: 0; font: 700 .9rem/1.2 'Lato', system-ui, sans-serif; letter-spacing: -.02em; color: var(--ink); }
.cleaner-sub { margin: .15rem 0 0; color: var(--muted); font-size: .68rem; }
.cleaner-task-stack {
  display: flex; flex-direction: column; gap: .75rem; padding: .85rem;
}
.cleaner-empty-lane {
  padding: 1.5rem 1rem; text-align: center; border: 1px dashed #dce5de; border-radius: 10px; background: #fff;
}

/* Vista 2: Tareas agrupadas por Área Común */
.plan-areas-board { display: flex; flex-direction: column; gap: 1.25rem; }
.area-tasks-section {
  border: 1px solid var(--line); border-radius: 16px; background: #fff;
  padding: 1.1rem; box-shadow: 0 3px 10px rgba(27,54,43,.025);
}
.area-tasks-section.is-inactive { opacity: .75; background: #fcfdfc; }
.area-tasks-header {
  display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: .7rem;
  padding-bottom: .85rem; margin-bottom: .95rem; border-bottom: 1px solid var(--line-soft);
}
.area-tasks-title-group { display: flex; align-items: center; gap: .7rem; }
.area-symbol-mini { width: 34px !important; height: 34px !important; font-size: .95rem !important; margin-bottom: 0 !important; }
.area-tasks-name { margin: 0; font: 700 1rem/1.25 'Lato', system-ui, sans-serif; letter-spacing: -.02em; color: var(--ink); }
.area-tasks-sub { margin: .15rem 0 0; color: var(--muted); font-size: .71rem; }
.area-tasks-kpi { display: flex; align-items: center; gap: .35rem; }
.area-tasks-grid {
  display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 360px), 1fr)); gap: .75rem;
}
.area-empty-box {
  grid-column: 1 / -1; padding: 1.2rem; text-align: center; border: 1px dashed var(--line);
  border-radius: 11px; background: var(--surface-alt);
}

.filter-tabs { display: flex; align-items: center; flex-wrap: wrap; gap: .3rem; padding: .25rem; border: 1px solid var(--line); border-radius: 11px; background: var(--surface-alt); }
.filter-tab { min-height: 36px; padding: .45rem .7rem; border: 0; border-radius: 8px; color: var(--muted); background: transparent; cursor: pointer; font-size: .72rem; font-weight: 600; }
.filter-tab.is-active { color: var(--gold-dark); background: #fff; box-shadow: 0 1px 3px rgba(0, 0, 0, .08); font-weight: 700; }
.select-compact { min-height: 42px; max-width: 100%; padding: .4rem 2rem .4rem .7rem; border: 1px solid var(--line); border-radius: 9px; background: #fff; font-size: .74rem; }

.task-list, .incident-list, .entity-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 390px), 1fr)); gap: .75rem; min-width: 0; }
.people-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(250px, 1fr)); gap: .65rem; min-width: 0; }
.user-card-compact {
  display: flex; flex-direction: column; justify-content: space-between;
  min-width: 0; padding: .75rem .85rem; border: 1px solid var(--line); border-radius: 12px;
  background: var(--surface); box-shadow: var(--shadow-sm);
  transition: transform .12s ease, box-shadow .12s ease;
}
.user-card-compact:hover { transform: translateY(-1px); box-shadow: var(--shadow-md); }
.user-card-compact.role-admin { border-left: 4px solid var(--gold-dark); }
.user-card-compact.role-cleaning-admin { border-left: 4px solid #0d9488; }
.user-card-compact.role-staff { border-left: 4px solid var(--green); }
.user-card-compact.is-inactive { opacity: .6; border-left-color: #94a3b8; }
.user-compact-header { display: flex; align-items: center; gap: .55rem; min-width: 0; }
.user-avatar-mini {
  display: grid; place-items: center; flex: 0 0 32px; width: 32px; height: 32px;
  border-radius: 8px; font-weight: 700; font-size: .82rem; color: #fff;
}
.user-avatar-mini.role-admin { background: var(--gold-dark); }
.user-avatar-mini.role-cleaning-admin { background: #0d9488; }
.user-avatar-mini.role-staff { background: var(--green); }
.user-compact-info { display: grid; gap: .05rem; min-width: 0; flex: 1 1 auto; }
.user-compact-name-row { display: flex; align-items: center; gap: .35rem; min-width: 0; }
.user-compact-name { margin: 0; font: 700 .86rem/1.2 'Lato', system-ui, sans-serif; letter-spacing: -.02em; color: var(--ink); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.user-compact-username { color: var(--muted); font-size: .67rem; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.user-compact-status { flex: 0 0 auto; }
.user-compact-role-row { margin: .55rem 0 .45rem; display: flex; align-items: center; gap: .3rem; }
.badge-role-admin { color: var(--gold-dark); background: var(--gold-soft); border: 1px solid var(--gold-border); font-size: .63rem; font-weight: 700; }
.badge-role-cleaning { color: #0f766e; background: #ccfbf1; border: 1px solid #99f6e4; font-size: .63rem; font-weight: 700; }
.badge-role-staff { color: var(--green); background: var(--green-soft); border: 1px solid var(--green-border); font-size: .63rem; font-weight: 700; }
.badge-self { color: var(--gold-dark); background: var(--gold-soft); border: 1px solid var(--gold-border); font-size: .58rem; padding: .1rem .35rem; }
.user-compact-actions {
  display: flex; align-items: center; gap: .3rem; margin-top: auto; padding-top: .55rem;
  border-top: 1px solid var(--line-soft);
}
.button-compact { min-height: 28px !important; padding: .25rem .5rem !important; font-size: .66rem !important; flex: 1 1 auto; text-align: center; }
.task-card, .incident-card, .entity-card {
  min-width: 0; padding: 1rem 1.05rem; border: 1px solid var(--line); border-radius: var(--radius); background: var(--surface); box-shadow: var(--shadow);
}
.task-card.is-overdue { border-color: #efcfcb; }
.task-card.is-done, .incident-card.is-resolved, .entity-card.is-inactive { opacity: .68; }
.card-topline { display: flex; align-items: flex-start; justify-content: space-between; gap: .8rem; }
.card-title { margin: .05rem 0 .25rem; font: 700 .93rem/1.35 'Lato', system-ui, sans-serif; letter-spacing: -.02em; color: var(--ink); }
.card-subtitle { margin: 0; color: var(--muted); font-size: .72rem; line-height: 1.5; }
.card-description { margin: .7rem 0 0; color: #58685f; font-size: .77rem; line-height: 1.55; white-space: pre-line; }
.overdue-note { color: #a84238; font-weight: 700; }
.completion-note { margin-top: .65rem; }
.account-note { margin-top: .7rem; }
.task-date { flex: 0 0 auto; padding: .36rem .55rem; border-radius: 8px; color: var(--ink-soft); background: var(--surface-alt); border: 1px solid var(--line); font-size: .69rem; font-weight: 700; white-space: nowrap; }
.badges { display: flex; flex-wrap: wrap; gap: .35rem; margin-top: .7rem; }
.badges-tight { margin-top: 0; margin-bottom: .35rem; }
.badge { display: inline-flex; align-items: center; min-height: 24px; padding: .22rem .55rem; border-radius: var(--radius-pill); color: var(--ink-soft); background: var(--surface-alt); border: 1px solid var(--line); font-size: .65rem; font-weight: 700; }
.badge-green { color: var(--green); background: var(--green-soft); border-color: var(--green-border); }
.badge-red { color: var(--red); background: var(--red-soft); border-color: var(--red-border); }
.badge-amber { color: var(--amber); background: var(--amber-soft); border-color: var(--amber-border); }
.badge-blue { color: var(--blue); background: var(--blue-soft); border-color: var(--blue-border); }
.checklist { display: grid; gap: .24rem; margin: .85rem 0 .1rem; padding: .65rem .7rem; border-radius: 10px; background: var(--surface-alt); border: 1px solid var(--line-soft); }
.checklist-heading { margin: 0 0 .18rem; color: var(--muted); font-size: .64rem; font-weight: 700; }
.check-item { display: flex; align-items: flex-start; gap: .48rem; padding: .24rem .05rem; color: var(--ink-soft); font-size: .72rem; line-height: 1.4; cursor: pointer; }
.check-item input { width: 17px; height: 17px; flex: 0 0 17px; margin: 0; accent-color: var(--gold); }
.check-item.is-done span { color: var(--muted); text-decoration: line-through; }
.schedule-note { margin-top: .55rem; }
.task-photos { display: flex; flex-wrap: wrap; gap: .45rem; margin-top: .75rem; }
.task-photos a { display: block; width: clamp(68px, 18vw, 104px); aspect-ratio: 1; overflow: hidden; border: 1px solid var(--line); border-radius: 10px; background: var(--surface-alt); }
.task-photos img { display: block; width: 100%; height: 100%; object-fit: cover; }
.card-actions { display: flex; flex-wrap: wrap; gap: .45rem; margin-top: .8rem; padding-top: .75rem; border-top: 1px solid var(--line-soft); }
.card-actions .button { min-height: 36px; padding: .4rem .65rem; font-size: .69rem; }
.card-action-spacer { flex: 1 1 auto; }
.inline-control { display: grid; gap: .22rem; margin-top: .65rem; }
.inline-control label { color: var(--muted); font-size: .64rem; font-weight: 700; }
.inline-control select, .inline-control textarea { width: 100%; min-height: 37px; padding: .42rem .6rem; border: 1px solid var(--line); border-radius: 8px; background: #fff; font-size: .72rem; }
.inline-control textarea { min-height: 62px; resize: vertical; }
.empty-state { grid-column: 1 / -1; padding: 2.3rem 1rem; border: 1px dashed var(--line); border-radius: var(--radius); color: var(--muted); background: var(--surface-alt); text-align: center; }
.empty-state strong { display: block; margin-bottom: .35rem; color: var(--ink); font: 700 .92rem 'Lato', system-ui, sans-serif; }
.empty-state p { max-width: 380px; margin: 0 auto; font-size: .76rem; line-height: 1.55; }
.entity-card { display: flex; flex-direction: column; }
.entity-card .card-actions { margin-top: auto; padding-top: .85rem; }
.entity-symbol { display: grid; place-items: center; width: 38px; height: 38px; margin-bottom: .65rem; border-radius: 12px; color: var(--gold-dark); background: var(--gold-soft); border: 1px solid var(--gold-border); font-size: 1.05rem; }
.notice { margin: 0 0 1rem; padding: .8rem 1rem; border: 1px solid var(--amber-border); border-radius: 11px; color: var(--amber); background: var(--amber-soft); font-size: .76rem; line-height: 1.5; }

.form-stack { display: grid; gap: .85rem; }
.field { display: grid; gap: .38rem; min-width: 0; }
.field label { color: var(--ink-soft); font-size: .74rem; font-weight: 700; }
.field input, .field select, .field textarea {
  width: 100%; min-width: 0; min-height: 43px; padding: .62rem .72rem; border: 1px solid var(--line); border-radius: 9px;
  background: #fff; font-size: .8rem; transition: border-color .15s, box-shadow .15s;
}
.field input:focus, .field select:focus, .field textarea:focus { border-color: var(--gold); outline: 0; box-shadow: 0 0 0 3px rgba(184, 148, 89, .15); }
.field textarea { min-height: 76px; resize: vertical; line-height: 1.45; }
.field-help, .optional { color: var(--muted); font-size: .66rem; font-weight: 400; }
.form-row { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: .75rem; }
.incident-admin-fields { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.form-error { min-height: 1.05rem; margin: 0; color: #a84238; font-size: .72rem; font-weight: 600; }
.form-error:empty { min-height: 0; }
.dialog {
  width: min(100% - 1.25rem, 560px); max-width: 560px; max-height: min(92dvh, 850px); padding: 0; border: 1px solid var(--line);
  border-radius: var(--radius-lg); background: #fff; color: var(--ink); box-shadow: var(--shadow-md);
}
.dialog::backdrop { background: rgba(30, 30, 30, .45); backdrop-filter: blur(4px); }
.dialog-form { display: grid; gap: .85rem; max-height: inherit; overflow-y: auto; padding: clamp(1rem, 4vw, 1.5rem); }
.dialog-heading { display: flex; align-items: center; justify-content: space-between; gap: .5rem; margin-bottom: .2rem; }
.dialog-heading .eyebrow { margin-bottom: .22rem; font-size: .6rem; color: var(--gold-dark); }
.dialog-heading h2 { margin: 0; font: 700 1.15rem 'Lato', system-ui, sans-serif; letter-spacing: -.03em; color: var(--ink); }
.dialog-heading .icon-button { flex: 0 0 40px; width: 40px; height: 40px; font-size: 1.6rem; }
.dialog-actions { display: flex; justify-content: flex-end; flex-wrap: wrap; gap: .5rem; margin-top: .1rem; padding-top: .8rem; border-top: 1px solid var(--line-soft); }
.toast {
  position: fixed; right: max(1rem, env(safe-area-inset-right)); bottom: max(1rem, env(safe-area-inset-bottom)); z-index: 20;
  max-width: min(420px, calc(100vw - 2rem)); padding: .82rem 1rem; border-radius: 11px; color: #fff; background: #2b251e;
  border: 1px solid var(--gold-dark); box-shadow: 0 10px 35px rgba(0, 0, 0, .2); font-size: .78rem; line-height: 1.45;
}
.toast.is-error { background: var(--red-dark); border-color: var(--red); }

@media (max-width: 1050px) {
  .app-frame { grid-template-columns: 218px minmax(0, 1fr); }
  .dashboard-grid { grid-template-columns: minmax(0, 1fr); }
}
@media (max-width: 760px) {
  .app-frame { display: flex; flex-direction: column; }
  .sidebar { position: sticky; top: 0; z-index: 10; height: auto; padding: .6rem .75rem .3rem; box-shadow: 0 4px 14px rgba(20,60,50,.12); }
  .brand { min-height: 36px; margin: 0 .25rem .45rem; }
  .brand .brand-mark { flex-basis: 32px; width: 32px; height: 32px; border-radius: 10px; font-size: .88rem; }
  .brand-copy { gap: 0; }
  .brand-copy strong { font-size: .84rem; }
  .brand-copy small { font-size: .6rem; }
  .side-label, .sidebar-bottom { display: none; }
  .navigation { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 112px), 1fr)); gap: .25rem; padding-bottom: .15rem; }
  .nav-item { flex: none; width: 100%; min-width: 0; min-height: 42px; justify-content: center; gap: .35rem; padding: .4rem .5rem; font-size: .68rem; white-space: nowrap; }
  .nav-item.is-active { box-shadow: inset 0 -2px #d4bc84; }
  .nav-icon { width: auto; flex: 0 0 auto; font-size: .95rem; }
  .nav-count { min-width: 17px; height: 17px; margin-left: 0; padding: 0 .22rem; font-size: .58rem; }
  .topbar { position: relative; min-height: auto; padding: .75rem 1rem; }
  .topbar .eyebrow { font-size: .53rem; }
  .topbar-title { font-size: .72rem; }
  .today-label { display: none; }
  .topbar-actions { gap: .35rem; }
  .topbar-actions .button { min-height: 38px; padding: .42rem .55rem; font-size: .65rem; }
  .content { padding: 1.1rem .9rem 1.5rem; }
  .welcome-row { min-height: 90px; }
  .welcome-art { width: 64px; height: 59px; flex-basis: 64px; border-radius: 19px; }
  .welcome-art span { font-size: 1.45rem; }
  .summary-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: .55rem; }
  .summary-card { min-height: 105px; padding: .75rem; }
  .summary-card strong { font-size: 1.5rem; }
  .summary-card p { font-size: .67rem; }
  .summary-card small { font-size: .61rem; }
  .metric-icon { width: 30px; height: 30px; flex-basis: 30px; border-radius: 9px; font-size: .85rem; }
  .panel { padding: .9rem; }
  .page-heading { align-items: flex-start; flex-direction: column; }
  .page-heading > .button { align-self: stretch; }
  .task-list, .incident-list, .entity-grid { grid-template-columns: minmax(0, 1fr); }
  .toolbar { align-items: stretch; flex-direction: column; }
  .filter-tabs { width: max-content; max-width: 100%; overflow-x: auto; }
  .filter-tab { flex: 0 0 auto; }
  .select-compact { width: 100%; }
  .form-row { grid-template-columns: minmax(0, 1fr); gap: .65rem; }
}
@media (max-width: 390px) {
  .sidebar { padding-right: .45rem; padding-left: .45rem; }
  .nav-item { gap: .28rem; padding-right: .45rem; padding-left: .45rem; }
  .topbar { gap: .5rem; padding-right: .7rem; padding-left: .7rem; }
  .topbar-title { max-width: 125px; font-size: .65rem; }
  .topbar-actions .button { font-size: .6rem; }
  .content { padding-right: .65rem; padding-left: .65rem; }
  .task-card, .incident-card, .entity-card { padding: .85rem; }
  .card-topline { gap: .5rem; }
  .task-date { max-width: 105px; white-space: normal; text-align: center; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { scroll-behavior: auto !important; transition-duration: .01ms !important; animation-duration: .01ms !important; }
}

.skip-link {
  position: fixed; z-index: 100; top: .5rem; left: .5rem; padding: .7rem 1rem; border-radius: 9px;
  color: #fff; background: var(--gold-dark); transform: translateY(-160%); transition: transform .15s ease;
}
.skip-link:focus { transform: translateY(0); }
.auth-screen {
  background:
    radial-gradient(ellipse at 76% 15%, rgba(184, 148, 89, .08), transparent 34rem),
    radial-gradient(ellipse at 15% 85%, rgba(230, 225, 214, .35), transparent 34rem),
    var(--bg);
}
.auth-brand { margin-bottom: 1.8rem; }
.auth-brand .brand-mark svg, .brand .brand-mark svg {
  width: 22px; height: 22px; fill: none; stroke: currentColor; stroke-width: 1.7;
  stroke-linecap: round; stroke-linejoin: round;
}
.auth-card { border: 1px solid var(--line); border-radius: var(--radius-lg); box-shadow: var(--shadow); }
.auth-card h1 { font-size: clamp(1.8rem, 5vw, 2.35rem); font-family: 'Lato', system-ui, sans-serif; letter-spacing: -.03em; color: var(--ink); }
.app-frame { background: var(--bg); }
.sidebar {
  background: #ffffff;
  border-right: 1px solid var(--line);
  box-shadow: none;
}
.brand { min-height: 52px; }
.brand-mark { box-shadow: inset 0 0 0 1px rgba(255,255,255,.34), 0 4px 10px rgba(184, 148, 89, .2); }
.topbar {
  min-height: 78px; border-bottom: 1px solid var(--line); background: rgba(255,255,255,.94);
  box-shadow: 0 2px 10px rgba(0, 0, 0, .02);
}
.topbar .eyebrow { color: var(--gold-dark); letter-spacing: .13em; }
.topbar-title { font-size: .9rem; }
.today-chip {
  display: inline-flex; align-items: center; gap: .48rem; min-height: 38px; padding: .35rem .72rem;
  border: 1px solid var(--line); border-radius: 999px; background: var(--surface-alt);
}
.today-chip-dot { width: 7px; height: 7px; border-radius: 50%; background: var(--gold); }
.today-label { margin: 0; color: var(--ink-soft); font-size: .74rem; font-weight: 650; }
.logout-button { min-width: 40px; }
.content { max-width: 1540px; padding-top: clamp(1.5rem, 3.4vw, 2.8rem); }
.welcome-row {
  position: relative; min-height: 128px; padding: .5rem 0 1.2rem; overflow: hidden;
}
.welcome-row h1 { font-size: clamp(1.8rem, 3.4vw, 2.55rem); font-family: 'Lato', system-ui, sans-serif; }
.welcome-row .eyebrow { letter-spacing: .15em; color: var(--gold-dark); }
.welcome-art { width: 100px; height: 88px; flex-basis: 100px; border: 1px solid var(--gold-border); background: var(--gold-soft); color: var(--gold-dark); }
.summary-grid { gap: .95rem; }
.summary-card {
  position: relative; min-height: 132px; padding: 1.15rem 1.2rem; border-color: var(--line);
  border-radius: var(--radius); box-shadow: var(--shadow); transition: transform .16s ease, box-shadow .16s ease;
}
.summary-card::before { position: absolute; top: 0; left: 1.2rem; right: 1.2rem; height: 2px; content: ""; border-radius: 0 0 2px 2px; background: var(--gold-border); }
.metric-warn::before { background: var(--amber-border); }
.metric-alert::before { background: var(--red-border); }
.metric-calm::before { background: var(--blue-border); }
.summary-card:hover { transform: translateY(-2px); box-shadow: var(--shadow-md); }
.summary-card p { font-size: .78rem; }
.summary-card strong { font-size: 2rem; font-family: 'Lato', system-ui, sans-serif; }
.metric-icon { width: 42px; height: 42px; flex-basis: 42px; border-radius: 14px; }
.dashboard-grid { gap: 1rem; }
.panel {
  padding: 1.3rem; border-color: var(--line); border-radius: var(--radius);
  box-shadow: var(--shadow);
}
.panel-heading { margin-bottom: 1rem; }
.panel-heading h2 { font-size: 1.08rem; font-family: 'Lato', system-ui, sans-serif; }
.compact-row { padding: .8rem .15rem; }
.compact-copy strong { font-size: .82rem; }
.area-chip { padding: .55rem .78rem; border-color: var(--line); background: var(--surface-alt); }
.page-heading { margin-bottom: 1.45rem; }
.page-heading h1 { font-size: clamp(1.8rem, 3.4vw, 2.45rem); font-family: 'Lato', system-ui, sans-serif; }
.page-heading .eyebrow { letter-spacing: .14em; color: var(--gold-dark); }
.button { min-height: 44px; border-radius: 11px; font-size: .78rem; }
.button-primary { box-shadow: 0 3px 8px rgba(184, 148, 89, .22); }
.button-outline { border-color: var(--line); }
.toolbar { margin-bottom: 1.1rem; }
.task-list, .incident-list, .entity-grid { gap: .9rem; }
.task-card, .incident-card, .entity-card {
  padding: 1.15rem; border-color: var(--line); border-radius: var(--radius);
  box-shadow: var(--shadow);
  transition: transform .16s ease, box-shadow .16s ease, border-color .16s ease;
}
.task-card:hover, .incident-card:hover, .entity-card:hover {
  transform: translateY(-2px); border-color: var(--gold-border); box-shadow: var(--shadow-md);
}
.task-card.is-overdue { border-left: 3px solid var(--red); }
.task-card.is-done, .incident-card.is-resolved, .entity-card.is-inactive { opacity: .78; }
.card-title { font-size: .98rem; font-family: 'Lato', system-ui, sans-serif; }
.card-subtitle { font-size: .75rem; }
.badge { min-height: 25px; padding-inline: .55rem; font-size: .65rem; }
.checklist { padding: .8rem; border: 1px solid var(--line-soft); }
.check-item { min-height: 32px; align-items: center; font-size: .76rem; }
.check-item input { width: 19px; height: 19px; flex-basis: 19px; }
.card-actions { gap: .5rem; }
.card-actions .button { min-height: 39px; font-size: .72rem; }
.empty-state { padding: 2.7rem 1rem; border-color: var(--line); background: var(--surface-alt); }
.notice { padding: .9rem 1rem; font-size: .8rem; }
.app-footer { padding-top: 1.1rem; }

@media (max-width: 760px) {
  .sidebar { padding: .62rem .85rem .45rem; background: #ffffff; border-bottom: 1px solid var(--line); box-shadow: 0 2px 10px rgba(0,0,0,0.04); }
  .brand { min-height: 39px; margin: 0 .15rem .5rem; }
  .navigation {
    position: fixed; z-index: 15; right: 0; bottom: 0; left: 0;
    grid-template-columns: repeat(auto-fit, minmax(0, 1fr)); gap: .15rem; padding: .4rem .35rem calc(.4rem + env(safe-area-inset-bottom));
    border-top: 1px solid var(--line); background: rgba(255,255,255,.98); box-shadow: 0 -4px 20px rgba(0, 0, 0, .06);
    backdrop-filter: blur(14px);
  }
  .nav-item {
    position: relative; display: flex; flex-direction: column; justify-content: center; gap: .14rem; min-height: 53px;
    padding: .32rem .1rem; border-radius: 10px; color: var(--ink-soft); font-size: .59rem; font-weight: 650;
  }
  .nav-item:hover { color: var(--gold-dark); background: var(--surface-alt); }
  .nav-item.is-active { color: var(--gold-dark); background: var(--gold-soft); box-shadow: none; font-weight: 700; }
  .nav-icon { color: inherit; font-size: 1.06rem; }
  .nav-count { position: absolute; margin: -1.55rem 0 0 1.25rem; min-width: 16px; height: 16px; font-size: .54rem; }
  .topbar { align-items: flex-start; padding: .75rem .9rem; }
  .topbar-actions { align-items: center; }
  .today-chip { display: none; }
  .logout-button { min-width: 40px; padding-inline: .55rem; }
  .content { padding: 1.35rem .9rem calc(6.8rem + env(safe-area-inset-bottom)); }
  .welcome-row { min-height: 100px; padding-top: .15rem; }
  .welcome-art { width: 72px; height: 64px; flex-basis: 72px; }
  .summary-card { min-height: 110px; padding: .85rem; }
  .summary-card::before { left: .85rem; right: .85rem; }
  .summary-card strong { font-size: 1.65rem; }
  .panel { padding: 1rem; }
  .task-card, .incident-card, .entity-card { padding: 1rem; }
  .task-card:hover, .incident-card:hover, .entity-card:hover, .summary-card:hover { transform: none; }
}
@media (max-width: 390px) {
  .navigation { padding-right: .2rem; padding-left: .2rem; }
  .nav-item { font-size: .55rem; }
  .topbar-actions .button { min-height: 40px; }
  .logout-label { display: none; }
  .content { padding-right: .7rem; padding-left: .7rem; }
  .summary-grid { gap: .45rem; }
  .summary-card { padding: .7rem; }
  .summary-card::before { left: .7rem; right: .7rem; }
  .metric-icon { width: 28px; height: 28px; flex-basis: 28px; font-size: .8rem; }
  .card-topline { flex-direction: column; }
  .task-date { max-width: none; align-self: flex-start; }
}

/* R1 Field Usability & Operational Filters */
.checklist-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: .5rem;
  margin-bottom: .25rem;
}
.check-all-btn {
  font-size: .68rem;
  font-weight: 700;
  color: var(--gold-dark);
  background: none;
  border: 0;
  padding: .2rem .45rem;
  border-radius: 6px;
  cursor: pointer;
  transition: background .15s ease;
}
.check-all-btn:hover {
  background: var(--gold-soft);
}
.my-today-toggle {
  display: inline-flex;
  align-items: center;
  gap: .42rem;
}
.toggle-star {
  color: var(--gold);
  font-size: .92rem;
  line-height: 1;
}
.my-today-toggle.button-primary {
  background: var(--gold);
  color: #fff;
  border-color: var(--gold-dark);
}
.my-today-toggle.button-primary .toggle-star {
  color: #fff;
}
.my-today-toggle.button-primary .badge {
  background: rgba(255, 255, 255, .25);
  color: #fff;
}

/* Community Reports View */
.field-inline {
  display: flex;
  align-items: center;
  gap: .5rem;
  font-size: .78rem;
  font-weight: 600;
  color: #354940;
}
.field-inline label {
  white-space: nowrap;
}
.field-inline input[type="date"],
.field-inline select {
  min-height: 40px;
  padding: .35rem .6rem;
  border: 1px solid var(--line);
  border-radius: 9px;
  background: #fff;
  font-size: .75rem;
}
.report-actions {
  display: flex;
  align-items: center;
  gap: .6rem;
  flex-wrap: wrap;
}
.report-sheet {
  margin-top: 1.2rem;
  padding: clamp(1.2rem, 3vw, 1.8rem);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #fff;
  box-shadow: 0 4px 16px rgba(27, 54, 43, .04);
}
.report-header {
  margin-bottom: 1.4rem;
  padding-bottom: 1.1rem;
  border-bottom: 1px solid var(--line);
}
.report-brand-row {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 1.2rem;
  flex-wrap: wrap;
}
.report-brand-row h2 {
  margin: .2rem 0 0;
  font: 800 1.35rem/1.2 "Manrope", sans-serif;
  letter-spacing: -.03em;
  color: var(--ink);
}
.report-meta-box {
  text-align: right;
  font-size: .78rem;
  color: #4a5c53;
}
.report-meta-box p {
  margin: .15rem 0;
}
.report-kpis {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
  gap: .8rem;
  margin-bottom: 1.8rem;
}
.report-kpi {
  padding: .9rem 1.05rem;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: #fbfcfb;
}
.report-kpi p {
  margin: 0;
  font-size: .72rem;
  color: var(--muted);
  font-weight: 600;
}
.report-kpi strong {
  display: block;
  margin: .35rem 0 .15rem;
  font: 800 1.55rem/1.1 "Manrope", sans-serif;
  letter-spacing: -.04em;
  color: var(--ink);
}
.report-kpi small {
  font-size: .68rem;
  color: var(--muted);
}
.report-section {
  margin-top: 1.6rem;
}
.report-section-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: .65rem;
}
.report-section-header h3 {
  margin: 0;
  font: 700 1.05rem "Manrope", sans-serif;
  letter-spacing: -.02em;
  color: var(--ink);
}
.report-table {
  width: 100%;
  border-collapse: collapse;
  font-size: .77rem;
}
.report-table th,
.report-table td {
  padding: .6rem .75rem;
  border: 1px solid var(--line);
  text-align: left;
  vertical-align: top;
}
.report-table th {
  background: #f4f7f4;
  font-weight: 700;
  color: #2e4337;
  font-size: .71rem;
  text-transform: uppercase;
  letter-spacing: .04em;
}
.report-table tbody tr:hover {
  background: #fbfdfb;
}
.report-empty {
  padding: 1.8rem 1rem;
  text-align: center;
  color: var(--muted);
  font-size: .8rem;
  border: 1px dashed var(--line);
  border-radius: 10px;
  margin: .4rem 0;
}
.cell-nowrap {
  white-space: nowrap;
}

@media (max-width: 760px) {
  .report-meta-box {
    text-align: left;
    margin-top: .4rem;
  }
  .report-actions {
    width: 100%;
  }
  .report-actions .button {
    flex: 1 1 auto;
  }
  .report-toolbar {
    flex-direction: column;
    align-items: stretch;
  }
  .field-inline {
    width: 100%;
    justify-content: space-between;
  }
  .field-inline input,
  .field-inline select {
    flex: 1 1 auto;
    max-width: 65%;
  }
  .report-table {
    display: block;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
  }
}

/* ==========================================================================
   Milestone R1: Admin Operational Dashboard, Supervision & Inspection Modal
   ========================================================================== */

/* Admin KPI Dashboard Bar */
.admin-kpi-bar {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: .85rem;
  margin-bottom: 1.25rem;
}

.kpi-card {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: .9rem 1.1rem;
  box-shadow: var(--shadow-sm);
  cursor: pointer;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  transition: transform .15s ease, border-color .15s ease, box-shadow .15s ease;
  user-select: none;
}

.kpi-card:hover,
.kpi-card:focus-visible {
  border-color: var(--gold);
  box-shadow: var(--shadow-md);
  transform: translateY(-2px);
  outline: none;
}

.kpi-card.is-selected {
  border-color: var(--gold);
  background: var(--gold-soft);
  box-shadow: 0 0 0 2px rgba(184, 148, 89, .25);
}

.kpi-card.is-warning {
  border-color: #f59e0b;
}

.kpi-card.is-warning.is-selected {
  border-color: #d97706;
  background: #fffbeb;
  box-shadow: 0 0 0 2px rgba(217, 119, 6, .25);
}

.kpi-card-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: .35rem;
}

.kpi-title {
  font-size: .75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .04em;
  color: var(--muted);
}

.kpi-icon {
  font-size: 1.1rem;
}

.kpi-value-row {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: .5rem;
  margin: .25rem 0;
}

.kpi-value {
  font-size: 1.75rem;
  font-weight: 800;
  color: var(--ink);
  font-family: 'Lato', system-ui, sans-serif;
  line-height: 1.1;
}

.kpi-sub {
  font-size: .75rem;
  color: var(--muted);
  margin: 0;
  line-height: 1.3;
}

/* Agile Inline Task Reassignment */
.task-reassign-row {
  margin: .35rem 0 .45rem 0;
  display: flex;
  align-items: center;
}

.quick-reassign-label {
  display: inline-flex;
  align-items: center;
  gap: .4rem;
  font-size: .78rem;
  color: var(--muted);
  font-weight: 600;
  width: 100%;
}

.quick-reassign-tag {
  white-space: nowrap;
}

.quick-reassign-select {
  padding: .25rem .5rem;
  font-size: .78rem;
  border: 1px solid var(--line);
  border-radius: 6px;
  background: #fff;
  cursor: pointer;
  flex: 1 1 auto;
  max-width: 260px;
}

.quick-reassign-select:hover,
.quick-reassign-select:focus {
  border-color: var(--gold);
  outline: none;
}

/* In-Place Visual Inspection Modal */
#inspection-dialog.dialog-wide {
  max-width: 860px;
  width: 95%;
  max-height: 90vh;
  border-radius: 16px;
  padding: 0;
  overflow: hidden;
}

#inspection-dialog .dialog-form {
  padding: 1.5rem;
  max-height: 90vh;
  display: flex;
  flex-direction: column;
}

.inspection-body {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
  overflow-y: auto;
  padding-right: .35rem;
  max-height: 72vh;
  margin: .75rem 0 1rem 0;
}

.inspection-meta-section {
  background: var(--surface-alt);
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 1rem 1.15rem;
}

.inspection-badges-row {
  display: flex;
  gap: .5rem;
  flex-wrap: wrap;
  margin-bottom: .85rem;
}

.inspection-meta-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: .75rem;
}

.inspection-meta-item strong {
  display: block;
  font-size: .7rem;
  text-transform: uppercase;
  letter-spacing: .03em;
  color: var(--muted);
  margin-bottom: .2rem;
}

.inspection-meta-item span {
  font-size: .88rem;
  font-weight: 600;
  color: var(--ink);
}

.inspection-description {
  margin-top: .85rem;
  padding-top: .65rem;
  border-top: 1px solid var(--line);
  font-size: .82rem;
  color: var(--ink-soft);
  line-height: 1.45;
}

.inspection-section {
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 1.1rem;
  background: #fff;
}

.inspection-section-title {
  font-size: .88rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: .04em;
  margin: 0 0 .75rem 0;
  color: var(--gold-dark);
}

/* Inspection Checklist */
.inspection-checklist {
  display: flex;
  flex-direction: column;
  gap: .5rem;
}

.inspection-checklist-header {
  font-size: .8rem;
  color: var(--muted);
  margin-bottom: .25rem;
}

.inspection-checklist-items {
  display: flex;
  flex-direction: column;
  gap: .4rem;
}

.inspection-check-item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: .55rem .75rem;
  border: 1px solid var(--line);
  border-radius: 8px;
  font-size: .84rem;
  background: var(--surface-alt);
}

.inspection-check-item.is-done {
  background: #f0fdf4;
  border-color: #bbf7d0;
  border-left: 4px solid var(--green, #22c55e);
}

.inspection-check-icon {
  margin-right: .5rem;
  font-weight: 700;
  color: var(--green, #22c55e);
}

.inspection-check-item.is-pending .inspection-check-icon {
  color: var(--muted);
}

.inspection-check-label {
  flex: 1 1 auto;
}

/* Inspection Photo Gallery & Zoom */
.inspection-gallery-header h4 {
  margin: 0 0 .2rem 0;
  font-size: .95rem;
  color: var(--ink);
  font-family: 'Lato', system-ui, sans-serif;
}

.inspection-thumbs-grid {
  display: flex;
  gap: .6rem;
  flex-wrap: wrap;
  margin: .65rem 0;
}

.inspection-thumb-btn {
  width: 72px;
  height: 72px;
  padding: 2px;
  border-radius: 8px;
  border: 2px solid transparent;
  background: transparent;
  cursor: pointer;
  overflow: hidden;
  transition: border-color .15s ease, transform .15s ease;
}

.inspection-thumb-btn:hover {
  transform: scale(1.05);
}

.inspection-thumb-btn.is-active {
  border-color: var(--gold);
  box-shadow: 0 0 0 2px rgba(184, 148, 89, .25);
}

.inspection-thumb-btn img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 6px;
  display: block;
}

.inspection-zoom-container {
  background: #0f172a;
  border-radius: 12px;
  padding: .85rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: .6rem;
}

.inspection-zoom-wrapper {
  width: 100%;
  max-height: 420px;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: auto;
  border-radius: 8px;
  background: #020617;
}

.inspection-zoom-img {
  max-width: 100%;
  max-height: 400px;
  object-fit: contain;
  border-radius: 6px;
  transition: transform .2s ease;
  cursor: zoom-in;
}

.inspection-zoom-img.is-magnified {
  max-width: none;
  max-height: none;
  width: auto;
  cursor: zoom-out;
}

.inspection-zoom-toolbar {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  color: #94a3b8;
  font-size: .78rem;
  padding-top: .2rem;
}

.inspection-zoom-toolbar .zoom-actions {
  display: flex;
  gap: .4rem;
}

.inspection-zoom-toolbar .button {
  background: #1e293b;
  border-color: #334155;
  color: #f1f5f9;
}

.inspection-zoom-toolbar .button:hover {
  background: #334155;
}

.inspection-empty-photos {
  padding: 1.5rem;
  text-align: center;
  background: #f8fafc;
  border-radius: 8px;
  border: 1px dashed var(--line);
}

/* Mobile & Tablet Responsiveness for Admin Ergonomics */
@media (max-width: 760px) {
  .admin-kpi-bar {
    grid-template-columns: repeat(2, 1fr);
    gap: .6rem;
  }
  .kpi-card {
    padding: .75rem .85rem;
  }
  .kpi-value {
    font-size: 1.45rem;
  }
  .inspection-zoom-wrapper {
    max-height: 280px;
  }
  .inspection-meta-grid {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 480px) {
  .admin-kpi-bar {
    grid-template-columns: 1fr;
  }
  .inspection-meta-grid {
    grid-template-columns: 1fr;
  }
  .inspection-thumb-btn {
    width: 60px;
    height: 60px;
  }
  .quick-reassign-select {
    max-width: 180px;
  }
}

/* Print Stylesheet for Community Reports */
@media print {
  body {
    background: #fff !important;
    color: #000 !important;
    font-size: 8.5pt !important;
  }
  .skip-link,
  .sidebar,
  .topbar,
  .app-footer,
  .toolbar,
  .block-cluster-bar,
  .quick-incident-fab,
  .report-actions,
  .button,
  .dialog,
  #toast,
  .card-actions,
  [hidden] {
    display: none !important;
  }
  .app-frame,
  .main-column,
  .content {
    display: block !important;
    margin: 0 !important;
    padding: 0 !important;
    width: 100% !important;
    max-width: 100% !important;
    background: transparent !important;
  }
  #view-reports {
    display: block !important;
  }
  .report-controls-header,
  .report-toolbar {
    display: none !important;
  }
  .report-sheet {
    display: block !important;
    margin: 0 !important;
    padding: 0 !important;
    border: 0 !important;
    box-shadow: none !important;
  }
  .report-header {
    border-bottom: 2px solid var(--gold) !important;
    padding-bottom: .6rem !important;
    margin-bottom: .8rem !important;
  }
  .report-brand-row h2 {
    font-size: 1.4rem !important;
    color: var(--gold-dark) !important;
    margin: 0 0 .2rem !important;
  }
  .report-kpis {
    display: grid !important;
    grid-template-columns: repeat(4, 1fr) !important;
    gap: .5rem !important;
    margin-bottom: 1rem !important;
  }
  .report-kpi {
    border: 1px solid #ccc !important;
    border-radius: 6px !important;
    padding: .4rem .6rem !important;
    background: #f8faf8 !important;
    -webkit-print-color-adjust: exact;
    print-color-adjust: exact;
  }
  .report-kpi strong {
    font-size: 1.25rem !important;
  }
  .report-section {
    margin-top: 1rem !important;
    break-inside: avoid;
    page-break-inside: avoid;
  }
  .report-section-header h3 {
    font-size: 1rem !important;
    margin: 0 0 .3rem !important;
  }
  .report-table {
    width: 100% !important;
    border-collapse: collapse !important;
    font-size: 7.5pt !important;
    display: table !important;
  }
  .report-table th,
  .report-table td {
    border: 1px solid #ccc !important;
    padding: 4px 6px !important;
    text-align: left !important;
    vertical-align: top !important;
  }
  .report-table th {
    background: #edf2ee !important;
    color: #111 !important;
    -webkit-print-color-adjust: exact;
    print-color-adjust: exact;
  }
  .report-table tr {
    break-inside: avoid;
    page-break-inside: avoid;
  }
  .report-empty {
    border: 1px dashed #ccc !important;
    padding: 1rem !important;
  }
}

/* ==========================================================================
   Milestone R2: Mobile Cleaning View & Tactile Field Ergonomics
   ========================================================================== */

.touch-action-btn,
.card-actions .button {
  min-height: 48px;
  min-width: 48px;
  padding: .65rem 1.15rem;
  font-size: .84rem;
  font-weight: 700;
  border-radius: 12px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: .5rem;
  touch-action: manipulation;
  -webkit-tap-highlight-color: transparent;
}

.touch-action-start {
  color: #15803d;
  border-color: #86efac;
  background: #f0fdf4;
}

.touch-action-start:hover {
  background: #dcfce7;
}

.touch-action-complete {
  background: var(--gold);
  color: #fff;
  box-shadow: 0 4px 14px rgba(184, 148, 89, .24);
}

.touch-action-complete:hover {
  background: var(--gold-dark);
}

.touch-action-photo {
  color: #1d4ed8;
  border-color: #bfdbfe;
  background: #eff6ff;
}

.touch-action-photo:hover {
  background: #dbeafe;
}

/* Tactile Checklist Items (>= 48px touch target area) */
.check-item,
.tactile-check-item {
  display: flex;
  align-items: center;
  gap: .8rem;
  min-height: 48px;
  padding: .65rem .95rem;
  margin-bottom: .45rem;
  border: 1px solid var(--line);
  border-radius: 11px;
  background: #fff;
  color: var(--ink);
  font-size: .88rem;
  line-height: 1.35;
  cursor: pointer;
  user-select: none;
  -webkit-user-select: none;
  touch-action: manipulation;
  transition: background .15s ease, border-color .15s ease, transform .08s ease;
}

.check-item:active,
.tactile-check-item:active {
  transform: scale(0.99);
}

.check-item.is-done,
.tactile-check-item.is-done {
  background: var(--surface-alt);
  border-color: var(--line);
}

.check-item.is-done span,
.tactile-check-item.is-done span {
  color: var(--muted);
  text-decoration: line-through;
}

.check-item input[type="checkbox"],
.tactile-checkbox {
  width: 26px;
  height: 26px;
  flex: 0 0 26px;
  margin: 0;
  accent-color: var(--gold);
  cursor: pointer;
}

/* "Marcar todos" / "Desmarcar todos" prominent action button */
.check-all-btn,
.touch-check-all {
  min-height: 40px;
  padding: .45rem 1rem;
  font-size: .78rem;
  font-weight: 700;
  color: var(--gold-dark);
  background: var(--gold-soft);
  border: 1px solid var(--gold-border);
  border-radius: 9px;
  cursor: pointer;
  transition: background .15s ease, transform .08s ease;
  display: inline-flex;
  align-items: center;
  gap: .4rem;
  touch-action: manipulation;
}

.check-all-btn:hover,
.touch-check-all:hover {
  background: #f5eedf;
}

.check-all-btn:active,
.touch-check-all:active {
  transform: scale(0.97);
}

/* Cleaner Shift Header Card */
.cleaner-shift-card {
  margin-bottom: 1.25rem;
  padding: 1.2rem 1.4rem;
  border-radius: 16px;
  background: linear-gradient(135deg, #2b251e 0%, #44392e 50%, #352b21 100%);
  border: 1px solid var(--gold-dark);
  color: #fff;
  box-shadow: 0 6px 22px rgba(43, 37, 30, 0.18);
}

.cleaner-shift-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: .75rem;
  flex-wrap: wrap;
}

.cleaner-shift-badge {
  display: inline-flex;
  align-items: center;
  gap: .4rem;
  padding: .3rem .75rem;
  border-radius: 99px;
  background: rgba(184, 148, 89, 0.28);
  border: 1px solid var(--gold);
  color: #fff;
  font-size: .72rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .03em;
}

.cleaner-shift-progress {
  font-size: .86rem;
  font-weight: 600;
  color: #fdfaf3;
}

.cleaner-shift-title {
  margin: .5rem 0 .2rem;
  font: 800 1.35rem/1.2 'Lato', system-ui, sans-serif;
  color: #fff;
}

.cleaner-shift-sub {
  margin: 0;
  font-size: .82rem;
  color: #e8d8b6;
}

.shift-completion-banner {
  margin-bottom: 1.2rem;
  padding: 1.2rem 1.4rem;
  border-radius: 14px;
  background: #f0fdf4;
  border: 1px solid #bbf7d0;
  color: #15803d;
  text-align: center;
  font-size: .95rem;
  font-weight: 700;
  box-shadow: 0 4px 14px rgba(21, 128, 61, .12);
}

/* Mobile Cleaner View Adaptation */
body.is-staff-cleaner .plan-subnav-bar {
  display: none !important;
}

/* ==========================================================================
   Milestone R3: Maintenance Breakdown Tickets & Technical Repair Sheet
   ========================================================================== */

.incident-card.is-urgent-breakdown {
  border-left: 5px solid var(--red) !important;
  box-shadow: 0 4px 18px rgba(199, 92, 80, 0.16) !important;
  background: linear-gradient(to right, #fff8f7 0%, #ffffff 40%);
}

.badge-breakdown {
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: .03em;
}

.badge-plumbing {
  background: #e0f2fe;
  color: #0369a1;
}

.badge-electricity {
  background: #fef3c7;
  color: #b45309;
}

.badge-pool {
  background: #ccfbf1;
  color: #0f766e;
}

.badge-locks {
  background: #fce7f3;
  color: #be185d;
}

.repair-sheet-block {
  margin-top: .85rem;
  padding: .85rem 1rem;
  border-radius: 12px;
  background: var(--surface-alt);
  border: 1px solid var(--line);
}

.repair-sheet-heading {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: .5rem;
  margin-bottom: .6rem;
  font-size: .74rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: .04em;
  color: var(--gold-dark);
}

.repair-meta-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: .6rem;
  font-size: .78rem;
  color: var(--ink-soft);
}

.repair-meta-item strong {
  display: block;
  font-size: .68rem;
  color: var(--muted);
  text-transform: uppercase;
  margin-bottom: .15rem;
}

.repair-resolution-text {
  margin-top: .5rem;
  padding-top: .5rem;
  border-top: 1px solid var(--line-soft);
  font-size: .8rem;
  line-height: 1.45;
  color: var(--ink);
}

/* ==========================================================================
   Milestone R2: Enhanced Macro-Block Navigation, Cleaner Focus & Repair Ergonomics
   ========================================================================== */

/* Macro-Block Cluster Selector */
.block-cluster-bar {
  display: flex;
  align-items: center;
  gap: .5rem;
  overflow-x: auto;
  padding: .35rem 0 .75rem;
  margin-bottom: .85rem;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: thin;
}

.block-pill {
  flex: 0 0 auto;
  min-height: 38px;
  padding: .4rem .95rem;
  border-radius: var(--radius-pill);
  background: var(--surface);
  border: 1px solid var(--line);
  color: var(--ink-soft);
  font-size: .8rem;
  font-weight: 600;
  cursor: pointer;
  transition: all .15s ease;
  white-space: nowrap;
  touch-action: manipulation;
}

.block-pill:hover {
  background: var(--gold-soft);
  border-color: var(--gold-border);
  color: var(--gold-dark);
}

.block-pill.is-active {
  background: var(--gold);
  border-color: var(--gold-dark);
  color: #ffffff;
  font-weight: 700;
  box-shadow: 0 2px 8px rgba(184, 148, 89, 0.28);
}

/* Plan Date Navigation Buttons */
.plan-nav-btn {
  min-height: 38px;
  padding: .35rem .75rem;
  font-size: .82rem;
  font-weight: 600;
}

/* Floating Action Button (FAB) for Quick Incidents */
.quick-incident-fab {
  position: fixed;
  bottom: 24px;
  right: 20px;
  z-index: 99;
  min-height: 52px;
  padding: .75rem 1.25rem;
  border-radius: var(--radius-pill);
  background: var(--red);
  color: #ffffff;
  border: none;
  box-shadow: 0 8px 24px rgba(199, 92, 80, 0.38);
  display: inline-flex;
  align-items: center;
  gap: .55rem;
  font-weight: 700;
  font-size: .88rem;
  cursor: pointer;
  touch-action: manipulation;
  -webkit-tap-highlight-color: transparent;
  transition: transform .15s ease, box-shadow .15s ease, background-color .15s ease;
}

.quick-incident-fab:hover {
  background: #a83d32;
  box-shadow: 0 10px 28px rgba(199, 92, 80, 0.48);
  transform: translateY(-2px);
}

.quick-incident-fab:active {
  transform: scale(0.96);
}

.quick-incident-fab .fab-icon {
  font-size: 1.15rem;
}

/* Distraction-Free Mobile Cleaner View */
body.is-staff-cleaner .task-filters-toolbar,
body.is-staff-cleaner .plan-agenda-info-toolbar,
body.is-staff-cleaner .block-cluster-bar {
  display: none !important;
}

/* Quick Cause Suggestion Chips */
.repair-cause-chips {
  display: flex;
  flex-wrap: wrap;
  gap: .4rem;
  margin-bottom: .6rem;
}

.chip-button {
  padding: .32rem .7rem;
  border-radius: var(--radius-pill);
  border: 1px solid var(--line);
  background: var(--surface-alt);
  color: var(--ink-soft);
  font-size: .76rem;
  font-weight: 600;
  cursor: pointer;
  transition: all .15s ease;
  touch-action: manipulation;
}

.chip-button:hover {
  background: var(--gold-soft);
  border-color: var(--gold-border);
  color: var(--gold-dark);
}

.chip-button:active {
  transform: scale(0.97);
}

/* Technical Hours Stepper */
.hours-stepper-wrap {
  display: inline-flex;
  align-items: center;
  gap: .5rem;
}

.stepper-btn {
  min-width: 44px;
  min-height: 44px;
  font-size: 1.25rem;
  font-weight: 700;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  touch-action: manipulation;
  padding: 0;
  border-radius: 10px;
}

.stepper-input {
  width: 90px !important;
  text-align: center;
  font-weight: 700;
  font-size: 1.05rem;
}

/* Operative Staff KPI styling */
.badge-gold {
  background: var(--gold-soft);
  color: var(--gold-dark);
  border: 1px solid var(--gold-border);
  font-weight: 700;
}

.metric-gold::before {
  background: var(--gold) !important;
}



/* Franja del entorno de desarrollo (desazc.residencialveraplaya.es) */
.env-ribbon { position: sticky; top: 0; z-index: 1000; padding: 4px 12px; background: #b45309; color: #fff; font-size: 0.8rem; font-weight: 700; letter-spacing: 0.04em; text-align: center; }
