@import "https://fonts.googleapis.com/css2?family=Manrope:wght@400;500;600;700;800&family=Sora:wght@500;600;700;800&display=swap";

/* src/styles.css */
*,
::before,
::after {
  --tw-border-spacing-x: 0;
  --tw-border-spacing-y: 0;
  --tw-translate-x: 0;
  --tw-translate-y: 0;
  --tw-rotate: 0;
  --tw-skew-x: 0;
  --tw-skew-y: 0;
  --tw-scale-x: 1;
  --tw-scale-y: 1;
  --tw-pan-x: ;
  --tw-pan-y: ;
  --tw-pinch-zoom: ;
  --tw-scroll-snap-strictness: proximity;
  --tw-gradient-from-position: ;
  --tw-gradient-via-position: ;
  --tw-gradient-to-position: ;
  --tw-ordinal: ;
  --tw-slashed-zero: ;
  --tw-numeric-figure: ;
  --tw-numeric-spacing: ;
  --tw-numeric-fraction: ;
  --tw-ring-inset: ;
  --tw-ring-offset-width: 0px;
  --tw-ring-offset-color: #fff;
  --tw-ring-color: rgb(59 130 246 / 0.5);
  --tw-ring-offset-shadow: 0 0 #0000;
  --tw-ring-shadow: 0 0 #0000;
  --tw-shadow: 0 0 #0000;
  --tw-shadow-colored: 0 0 #0000;
  --tw-blur: ;
  --tw-brightness: ;
  --tw-contrast: ;
  --tw-grayscale: ;
  --tw-hue-rotate: ;
  --tw-invert: ;
  --tw-saturate: ;
  --tw-sepia: ;
  --tw-drop-shadow: ;
  --tw-backdrop-blur: ;
  --tw-backdrop-brightness: ;
  --tw-backdrop-contrast: ;
  --tw-backdrop-grayscale: ;
  --tw-backdrop-hue-rotate: ;
  --tw-backdrop-invert: ;
  --tw-backdrop-opacity: ;
  --tw-backdrop-saturate: ;
  --tw-backdrop-sepia: ;
  --tw-contain-size: ;
  --tw-contain-layout: ;
  --tw-contain-paint: ;
  --tw-contain-style: ;
}
::backdrop {
  --tw-border-spacing-x: 0;
  --tw-border-spacing-y: 0;
  --tw-translate-x: 0;
  --tw-translate-y: 0;
  --tw-rotate: 0;
  --tw-skew-x: 0;
  --tw-skew-y: 0;
  --tw-scale-x: 1;
  --tw-scale-y: 1;
  --tw-pan-x: ;
  --tw-pan-y: ;
  --tw-pinch-zoom: ;
  --tw-scroll-snap-strictness: proximity;
  --tw-gradient-from-position: ;
  --tw-gradient-via-position: ;
  --tw-gradient-to-position: ;
  --tw-ordinal: ;
  --tw-slashed-zero: ;
  --tw-numeric-figure: ;
  --tw-numeric-spacing: ;
  --tw-numeric-fraction: ;
  --tw-ring-inset: ;
  --tw-ring-offset-width: 0px;
  --tw-ring-offset-color: #fff;
  --tw-ring-color: rgb(59 130 246 / 0.5);
  --tw-ring-offset-shadow: 0 0 #0000;
  --tw-ring-shadow: 0 0 #0000;
  --tw-shadow: 0 0 #0000;
  --tw-shadow-colored: 0 0 #0000;
  --tw-blur: ;
  --tw-brightness: ;
  --tw-contrast: ;
  --tw-grayscale: ;
  --tw-hue-rotate: ;
  --tw-invert: ;
  --tw-saturate: ;
  --tw-sepia: ;
  --tw-drop-shadow: ;
  --tw-backdrop-blur: ;
  --tw-backdrop-brightness: ;
  --tw-backdrop-contrast: ;
  --tw-backdrop-grayscale: ;
  --tw-backdrop-hue-rotate: ;
  --tw-backdrop-invert: ;
  --tw-backdrop-opacity: ;
  --tw-backdrop-saturate: ;
  --tw-backdrop-sepia: ;
  --tw-contain-size: ;
  --tw-contain-layout: ;
  --tw-contain-paint: ;
  --tw-contain-style: ;
}
*,
::before,
::after {
  box-sizing: border-box;
  border-width: 0;
  border-style: solid;
  border-color: #e5e7eb;
}
::before,
::after {
  --tw-content: "";
}
html,
:host {
  line-height: 1.5;
  -webkit-text-size-adjust: 100%;
  -moz-tab-size: 4;
  tab-size: 4;
  font-family:
    ui-sans-serif,
    system-ui,
    sans-serif,
    "Apple Color Emoji",
    "Segoe UI Emoji",
    "Segoe UI Symbol",
    "Noto Color Emoji";
  font-feature-settings: normal;
  font-variation-settings: normal;
  -webkit-tap-highlight-color: transparent;
}
body {
  margin: 0;
  line-height: inherit;
}
hr {
  height: 0;
  color: inherit;
  border-top-width: 1px;
}
abbr:where([title]) {
  text-decoration: underline dotted;
}
h1,
h2,
h3,
h4,
h5,
h6 {
  font-size: inherit;
  font-weight: inherit;
}
a {
  color: inherit;
  text-decoration: inherit;
}
b,
strong {
  font-weight: bolder;
}
code,
kbd,
samp,
pre {
  font-family:
    ui-monospace,
    SFMono-Regular,
    Menlo,
    Monaco,
    Consolas,
    "Liberation Mono",
    "Courier New",
    monospace;
  font-feature-settings: normal;
  font-variation-settings: normal;
  font-size: 1em;
}
small {
  font-size: 80%;
}
sub,
sup {
  font-size: 75%;
  line-height: 0;
  position: relative;
  vertical-align: baseline;
}
sub {
  bottom: -0.25em;
}
sup {
  top: -0.5em;
}
table {
  text-indent: 0;
  border-color: inherit;
  border-collapse: collapse;
}
button,
input,
optgroup,
select,
textarea {
  font-family: inherit;
  font-feature-settings: inherit;
  font-variation-settings: inherit;
  font-size: 100%;
  font-weight: inherit;
  line-height: inherit;
  letter-spacing: inherit;
  color: inherit;
  margin: 0;
  padding: 0;
}
button,
select {
  text-transform: none;
}
button,
input:where([type=button]),
input:where([type=reset]),
input:where([type=submit]) {
  -webkit-appearance: button;
  background-color: transparent;
  background-image: none;
}
:-moz-focusring {
  outline: auto;
}
:-moz-ui-invalid {
  box-shadow: none;
}
progress {
  vertical-align: baseline;
}
::-webkit-inner-spin-button,
::-webkit-outer-spin-button {
  height: auto;
}
[type=search] {
  -webkit-appearance: textfield;
  outline-offset: -2px;
}
::-webkit-search-decoration {
  -webkit-appearance: none;
}
::-webkit-file-upload-button {
  -webkit-appearance: button;
  font: inherit;
}
summary {
  display: list-item;
}
blockquote,
dl,
dd,
h1,
h2,
h3,
h4,
h5,
h6,
hr,
figure,
p,
pre {
  margin: 0;
}
fieldset {
  margin: 0;
  padding: 0;
}
legend {
  padding: 0;
}
ol,
ul,
menu {
  list-style: none;
  margin: 0;
  padding: 0;
}
dialog {
  padding: 0;
}
textarea {
  resize: vertical;
}
input::placeholder,
textarea::placeholder {
  opacity: 1;
  color: #9ca3af;
}
button,
[role=button] {
  cursor: pointer;
}
:disabled {
  cursor: default;
}
img,
svg,
video,
canvas,
audio,
iframe,
embed,
object {
  display: block;
  vertical-align: middle;
}
img,
video {
  max-width: 100%;
  height: auto;
}
[hidden]:where(:not([hidden=until-found])) {
  display: none;
}
.visible {
  visibility: visible;
}
.absolute {
  position: absolute;
}
.relative {
  position: relative;
}
.sticky {
  position: sticky;
}
.block {
  display: block;
}
.flex {
  display: flex;
}
.table {
  display: table;
}
.grid {
  display: grid;
}
.transform {
  transform: translate(var(--tw-translate-x), var(--tw-translate-y)) rotate(var(--tw-rotate)) skewX(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y));
}
.flex-wrap {
  flex-wrap: wrap;
}
.border {
  border-width: 1px;
}
.uppercase {
  text-transform: uppercase;
}
.outline {
  outline-style: solid;
}
.blur {
  --tw-blur: blur(8px);
  filter: var(--tw-blur) var(--tw-brightness) var(--tw-contrast) var(--tw-grayscale) var(--tw-hue-rotate) var(--tw-invert) var(--tw-saturate) var(--tw-sepia) var(--tw-drop-shadow);
}
.filter {
  filter: var(--tw-blur) var(--tw-brightness) var(--tw-contrast) var(--tw-grayscale) var(--tw-hue-rotate) var(--tw-invert) var(--tw-saturate) var(--tw-sepia) var(--tw-drop-shadow);
}
.backdrop-filter {
  -webkit-backdrop-filter: var(--tw-backdrop-blur) var(--tw-backdrop-brightness) var(--tw-backdrop-contrast) var(--tw-backdrop-grayscale) var(--tw-backdrop-hue-rotate) var(--tw-backdrop-invert) var(--tw-backdrop-opacity) var(--tw-backdrop-saturate) var(--tw-backdrop-sepia);
  backdrop-filter: var(--tw-backdrop-blur) var(--tw-backdrop-brightness) var(--tw-backdrop-contrast) var(--tw-backdrop-grayscale) var(--tw-backdrop-hue-rotate) var(--tw-backdrop-invert) var(--tw-backdrop-opacity) var(--tw-backdrop-saturate) var(--tw-backdrop-sepia);
}
.transition {
  transition-property:
    color,
    background-color,
    border-color,
    text-decoration-color,
    fill,
    stroke,
    opacity,
    box-shadow,
    transform,
    filter,
    backdrop-filter;
  transition-timing-function: cubic-bezier(0.4, 0, 0.2, 1);
  transition-duration: 150ms;
}
:root {
  color-scheme: light;
  --font-display:
    "Sora",
    "Trebuchet MS",
    sans-serif;
  --font-ui:
    "Manrope",
    "Segoe UI",
    sans-serif;
  --bg-main: #f8f9fd;
  --bg-panel: #ffffff;
  --bg-navy: #2f3298;
  --bg-navy-soft: #4b4fc7;
  --line-soft: #e4e7f0;
  --text-main: #172044;
  --text-soft: #66708b;
  --brand-blue: #4c67d8;
  --brand-blue-strong: #30359f;
  --brand-mint: #7d9af2;
  --brand-red: #e86d93;
  --shadow-soft: 0 16px 44px -26px rgba(48, 53, 159, 0.26);
}
html {
  scroll-behavior: smooth;
}
body {
  margin: 0;
  background:
    radial-gradient(
      circle at 12% 8%,
      #edf2ff 0%,
      transparent 24%),
    radial-gradient(
      circle at 88% 12%,
      #fcecf3 0%,
      transparent 30%),
    var(--bg-main);
  color: var(--text-main);
  font-family: var(--font-ui);
}
h1,
h2,
h3 {
  font-family: var(--font-display);
  letter-spacing: -0.02em;
}
* {
  box-sizing: border-box;
}
.app-shell {
  display: grid;
  grid-template-columns: 268px 1fr;
  min-height: 100vh;
  gap: 14px;
  padding: 12px;
}
.portal-sidebar {
  border-radius: 22px;
  background:
    linear-gradient(
      172deg,
      var(--bg-navy) 0%,
      var(--bg-navy-soft) 100%);
  color: #dce5f8;
  padding: 18px 14px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  box-shadow: var(--shadow-soft);
}
.brand-block {
  display: flex;
  align-items: center;
  gap: 10px;
}
.brand-dot {
  width: 11px;
  height: 11px;
  border-radius: 999px;
  background: var(--brand-mint);
  box-shadow: 0 0 18px rgba(91, 231, 178, 0.75);
}
.brand-name {
  font-family: var(--font-display);
  font-size: 1.15rem;
  margin: 0;
}
.brand-sub {
  margin: 2px 0 0;
  color: #c4caf5;
  font-size: 0.74rem;
}
.side-nav {
  margin-top: 18px;
  display: grid;
  gap: 6px;
}
.side-nav a,
.side-nav button {
  border: 0;
  display: flex;
  align-items: center;
  gap: 8px;
  text-align: left;
  border-radius: 11px;
  padding: 10px 11px;
  color: #e0e4ff;
  background: transparent;
  font-weight: 600;
  font-size: 0.87rem;
  transition:
    background-color 0.2s ease,
    color 0.2s ease,
    transform 0.2s ease;
}
.side-nav a:hover,
.side-nav button:hover,
.side-nav .is-active {
  background: rgba(76, 103, 216, 0.92);
  color: #ffffff;
}
.side-nav a:hover,
.side-nav button:hover {
  transform: translateX(2px);
}
.nav-entry-icon {
  width: 22px;
  height: 22px;
  border-radius: 7px;
  display: grid;
  place-items: center;
  background: rgba(201, 211, 255, 0.22);
  flex: 0 0 auto;
}
.nav-entry-icon svg {
  width: 13px;
  height: 13px;
  fill: currentColor;
}
.sos-card {
  border: 1px solid rgba(207, 213, 255, 0.3);
  background: rgba(35, 37, 123, 0.45);
  border-radius: 14px;
  padding: 12px;
  font-size: 0.78rem;
  line-height: 1.45;
}
.sos-title {
  color: #f3f4ff;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  margin: 0 0 6px;
}
.main-stage {
  display: grid;
  grid-template-rows: auto 1fr;
  min-width: 0;
}
.top-toolbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  background: rgba(255, 255, 255, 0.74);
  border: 1px solid rgba(224, 230, 246, 0.95);
  -webkit-backdrop-filter: blur(5px);
  backdrop-filter: blur(5px);
  border-radius: 18px;
  padding: 10px 14px;
  box-shadow: var(--shadow-soft);
}
.search-wrap {
  display: flex;
  align-items: center;
  gap: 8px;
  border: 1px solid var(--line-soft);
  background: #ffffff;
  border-radius: 11px;
  padding: 0 10px;
  width: min(480px, 100%);
}
.search-wrap svg {
  width: 16px;
  height: 16px;
  fill: #6f7ea1;
}
.top-toolbar input {
  border: 0;
  border-radius: 11px;
  padding: 9px 0;
  width: 100%;
  font-size: 0.9rem;
}
.top-toolbar input:focus {
  outline: none;
}
.search-wrap:focus-within {
  outline: 2px solid rgba(76, 103, 216, 0.25);
  border-color: var(--brand-blue);
}
.toolbar-actions {
  display: flex;
  align-items: center;
  gap: 8px;
}
.chip-btn,
.sos-btn {
  border: 0;
  border-radius: 999px;
  padding: 8px 14px;
  font-weight: 700;
  font-size: 0.77rem;
}
.chip-btn {
  background: #eef2ff;
  color: #384b9f;
}
.sos-btn {
  background: #fff0f4;
  color: #c64f75;
}
.profile-pill {
  width: 34px;
  height: 34px;
  border-radius: 999px;
  display: grid;
  place-items: center;
  font-weight: 800;
  color: #22314f;
  background:
    linear-gradient(
      140deg,
      #edf2ff 0%,
      #fff4f8 100%);
  border: 1px solid #dfe5fb;
}
.icon-btn {
  width: 34px;
  height: 34px;
  border-radius: 999px;
  border: 1px solid #d4ddf5;
  background: #f4f7ff;
  display: grid;
  place-items: center;
}
.icon-btn svg {
  width: 16px;
  height: 16px;
  fill: #5269c6;
}
.profile-block {
  display: flex;
  align-items: center;
  gap: 8px;
}
.profile-name {
  margin: 0;
  font-weight: 800;
  font-size: 0.78rem;
  color: #303c91;
}
.profile-role {
  margin: 1px 0 0;
  font-size: 0.69rem;
  color: #6d78a3;
}
.workspace-view {
  margin-top: 12px;
  border-radius: 20px;
  background:
    linear-gradient(
      180deg,
      rgba(255, 255, 255, 0.82),
      rgba(251, 253, 255, 0.82));
  border: 1px solid rgba(224, 230, 246, 0.95);
  box-shadow: var(--shadow-soft);
  padding: 16px;
  overflow: auto;
}
.workspace-view > * {
  opacity: 0;
  transform: translateY(10px);
  animation: section-in 0.42s ease forwards;
}
.workspace-view > *:nth-child(2) {
  animation-delay: 0.05s;
}
.workspace-view > *:nth-child(3) {
  animation-delay: 0.09s;
}
.workspace-view > *:nth-child(4) {
  animation-delay: 0.13s;
}
.workspace-view > *:nth-child(5) {
  animation-delay: 0.17s;
}
@keyframes section-in {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}
.hero-panel {
  border-radius: 18px;
  padding: 16px;
  background:
    linear-gradient(
      145deg,
      #eaf0ff 0%,
      #dfe8ff 44%,
      #f7eaf1 100%);
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
}
.status-pill {
  display: inline-block;
  margin: 0 0 8px;
  border-radius: 999px;
  padding: 5px 10px;
  font-size: 0.72rem;
  font-weight: 700;
  color: #435fc4;
  background: #e8edff;
}
.hero-panel h1 {
  margin: 0;
  font-size: clamp(1.35rem, 2.2vw, 2rem);
}
.hero-meta {
  margin: 6px 0 0;
  color: #385172;
  font-size: 0.84rem;
}
.hero-kpi-row {
  margin-top: 11px;
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
}
.hero-kpi {
  border: 1px solid rgba(163, 180, 224, 0.56);
  background: rgba(255, 255, 255, 0.77);
  border-radius: 10px;
  padding: 6px 9px;
}
.hero-kpi p {
  margin: 0;
  font-size: 0.68rem;
  color: #5d7197;
  text-transform: uppercase;
  letter-spacing: 0.03em;
  font-weight: 700;
}
.hero-kpi strong {
  font-size: 0.79rem;
  color: #28447a;
}
.resident-badge {
  min-width: 196px;
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.9);
  border: 1px solid #ced8f1;
  padding: 10px;
  text-transform: uppercase;
  font-size: 0.72rem;
  font-weight: 800;
  color: #2e4270;
}
.resident-badge-title,
.resident-badge-code,
.resident-badge-state {
  margin: 0;
}
.resident-badge-title {
  font-size: 0.64rem;
  letter-spacing: 0.05em;
}
.resident-badge-code {
  margin-top: 4px;
  font-size: 0.86rem;
  color: #213c74;
}
.resident-badge-state {
  margin-top: 5px;
  font-size: 0.69rem;
  color: #4e658f;
}
.notice-strip {
  margin-top: 12px;
  border-radius: 14px;
  background: #ffffff;
  border: 1px solid var(--line-soft);
  padding: 11px 13px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 10px;
}
.notice-title {
  margin: 0;
  font-weight: 800;
}
.notice-time {
  margin: 0;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  border-radius: 999px;
  background: #eef2ff;
  color: #5067c4;
  padding: 5px 10px;
  font-size: 0.72rem;
  font-weight: 700;
}
.pulse-dot {
  width: 7px;
  height: 7px;
  border-radius: 999px;
  background: var(--brand-red);
  box-shadow: 0 0 0 0 rgba(232, 109, 147, 0.35);
  animation: dot-pulse 1.8s infinite;
}
@keyframes dot-pulse {
  0% {
    box-shadow: 0 0 0 0 rgba(232, 109, 147, 0.35);
  }
  70% {
    box-shadow: 0 0 0 8px rgba(232, 109, 147, 0);
  }
  100% {
    box-shadow: 0 0 0 0 rgba(232, 109, 147, 0);
  }
}
.notice-sub {
  margin: 2px 0 0;
  color: var(--text-soft);
  font-size: 0.84rem;
}
.notice-actions {
  display: flex;
  gap: 8px;
}
.quick-grid,
.split-grid {
  margin-top: 12px;
  display: grid;
  gap: 12px;
}
.quick-grid {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}
.split-grid {
  grid-template-columns: 1.35fr 1fr;
}
.quick-card,
.panel-card,
.qr-card {
  border-radius: 16px;
  border: 1px solid var(--line-soft);
  background: var(--bg-panel);
  padding: 13px;
  transition:
    transform 0.2s ease,
    box-shadow 0.2s ease,
    border-color 0.2s ease;
}
.quick-card:hover,
.panel-card:hover,
.qr-card:hover {
  transform: translateY(-2px);
  border-color: #cfd9f4;
  box-shadow: 0 15px 24px -21px rgba(32, 48, 77, 0.6);
}
.quick-card h3,
.panel-card h3,
.qr-card h3 {
  margin: 4px 0;
  font-size: 1rem;
}
.quick-card p,
.panel-card p,
.qr-card p {
  margin: 0;
  color: var(--text-soft);
  font-size: 0.85rem;
}
.quick-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
}
.quick-icon {
  width: 32px;
  height: 32px;
  border-radius: 10px;
  display: grid;
  place-items: center;
  font-size: 0.7rem;
  font-weight: 800;
  color: #2b3f67;
  background:
    linear-gradient(
      160deg,
      #d7e4ff 0%,
      #ebf2ff 100%);
}
.quick-icon svg {
  width: 17px;
  height: 17px;
  fill: #334f84;
}
.quick-card-highlight {
  background:
    linear-gradient(
      150deg,
      #eef3ff 0%,
      #f9ecf2 100%);
  border-color: #d9e1fb;
}
.card-chip {
  display: inline-block;
  border-radius: 999px;
  padding: 4px 9px;
  font-size: 0.7rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.03em;
  color: #2c4472;
  background: #edf2ff;
}
.primary-btn,
.ghost-btn {
  margin-top: 10px;
  border: 0;
  border-radius: 10px;
  padding: 8px 12px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 0.78rem;
  text-decoration: none;
  transition:
    transform 0.2s ease,
    filter 0.2s ease,
    box-shadow 0.2s ease;
}
.primary-btn {
  background:
    linear-gradient(
      160deg,
      var(--brand-blue) 0%,
      var(--brand-blue-strong) 100%);
  color: #ffffff;
}
.primary-btn:hover {
  transform: translateY(-1px);
  filter: brightness(1.02);
  box-shadow: 0 10px 17px -10px rgba(48, 53, 159, 0.45);
}
.ghost-btn:hover {
  transform: translateY(-1px);
  filter: brightness(0.99);
}
.ghost-btn {
  background: #f4f7ff;
  color: #2d4168;
  border: 1px solid #d4ddf7;
}
.panel-sub {
  margin-top: 2px;
  margin-bottom: 8px;
}
.reservation-photo {
  margin-top: 8px;
  border-radius: 13px;
  height: 170px;
  background:
    linear-gradient(
      145deg,
      rgba(44, 69, 115, 0.9),
      rgba(26, 38, 67, 0.78)),
    radial-gradient(
      circle at 22% 32%,
      rgba(242, 177, 96, 0.85) 0%,
      transparent 34%),
    linear-gradient(
      180deg,
      #8ab5f4 0%,
      #33517c 70%,
      #1f2f4e 100%);
}
.reservation-info {
  margin-top: 10px;
  display: grid;
  gap: 4px;
}
.reservation-main {
  color: #243f75;
  font-weight: 700;
}
.reservation-tags {
  margin-top: 11px;
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}
.reservation-tags span {
  border-radius: 999px;
  border: 1px solid #d5dff6;
  background: #f5f8ff;
  color: #415786;
  padding: 4px 9px;
  font-size: 0.72rem;
  font-weight: 700;
}
.reservation-tags .is-danger {
  color: #b43f49;
  border-color: #f2c8cf;
  background: #fff0f2;
}
.qr-card {
  background:
    linear-gradient(
      166deg,
      #f7f8ff 0%,
      #f1f5ff 100%);
}
.qr-mock {
  margin-top: 12px;
  width: 170px;
  height: 170px;
  border-radius: 10px;
  border: 8px solid #ffffff;
  background:
    conic-gradient(
      from 90deg at 25% 25%,
      #15294a 0 25%,
      #fff 0 50%,
      #15294a 0 75%,
      #fff 0) 0 0 / 24px 24px,
    #fff;
}
.qr-actions {
  margin-top: 10px;
  display: flex;
  gap: 8px;
}
.qr-footnote {
  margin-top: 10px;
  font-size: 0.74rem;
  color: #516690;
}
.qr-person-meta {
  margin-top: 8px;
}
.qr-person-meta p {
  margin: 0;
  color: #243f74;
  font-weight: 800;
}
.qr-person-meta small {
  color: #5a6d93;
}
.vote-panel {
  background:
    linear-gradient(
      180deg,
      #ffffff 0%,
      #f8faff 100%);
}
.vote-head {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 8px;
}
.vote-head span {
  color: #425787;
  font-size: 0.8rem;
  font-weight: 700;
}
.vote-live-pill {
  margin-top: 6px;
  margin-bottom: 0;
  border-radius: 999px;
  display: inline-block;
  padding: 4px 9px;
  background: #ffe9ea;
  color: #b83f4a;
  font-size: 0.71rem;
  font-weight: 700;
}
.vote-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
}
.vote-row strong {
  color: #36508b;
}
.vote-bars {
  margin-top: 10px;
  display: grid;
  gap: 8px;
}
.bar {
  height: 9px;
  border-radius: 999px;
  overflow: hidden;
  background: #e7ecfa;
  margin-top: 4px;
}
.bar span {
  height: 100%;
  display: block;
  background:
    linear-gradient(
      90deg,
      var(--brand-blue) 0%,
      #7893ef 100%);
}
.news-list {
  margin-top: 10px;
  display: grid;
  gap: 8px;
}
.news-list > div {
  border: 1px solid var(--line-soft);
  border-radius: 11px;
  padding: 9px;
  background: #fbfcff;
}
.news-list p {
  margin: 0;
  color: #1c2f55;
  font-weight: 700;
}
.news-list small {
  color: #5f6f91;
}
.news-meta {
  margin-top: 5px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 8px;
}
.news-meta span {
  border-radius: 999px;
  background: #eef3ff;
  border: 1px solid #d6dff5;
  color: #425d93;
  font-size: 0.68rem;
  font-weight: 700;
  padding: 3px 8px;
}
.access-shell {
  display: grid;
  gap: 12px;
}
.access-hero {
  border-radius: 16px;
  border: 1px solid #d8e1f6;
  padding: 14px;
  background:
    linear-gradient(
      155deg,
      #ffffff 0%,
      #f4f7ff 100%);
  display: flex;
  justify-content: space-between;
  gap: 10px;
}
.access-hero h2 {
  margin: 2px 0;
  font-size: clamp(1.35rem, 2vw, 2.1rem);
}
.access-hero-actions {
  display: flex;
  align-items: flex-start;
  gap: 8px;
  flex-wrap: wrap;
  justify-content: flex-end;
}
.access-clock {
  border-radius: 999px;
  background: #e8eefc;
  color: #455f97;
  border: 1px solid #d5def6;
  font-size: 0.7rem;
  font-weight: 800;
  padding: 6px 10px;
}
.access-metrics-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 10px;
}
.access-metric-card {
  border: 1px solid #dde5f8;
  background: #ffffff;
  border-radius: 14px;
  padding: 11px;
}
.access-metric-title {
  margin: 0;
  color: #556b96;
  font-size: 0.76rem;
  font-weight: 700;
}
.access-metric-value {
  margin: 5px 0;
  color: #1a315a;
  font-weight: 800;
  font-size: 2rem;
  line-height: 1;
}
.access-metric-subline {
  display: flex;
  justify-content: space-between;
  gap: 6px;
  font-size: 0.71rem;
  color: #5d6f91;
  font-weight: 700;
}
.access-metric-track {
  margin-top: 9px;
  height: 6px;
  border-radius: 999px;
  background: #e7ecfa;
  overflow: hidden;
}
.access-metric-track span {
  display: block;
  height: 100%;
  background:
    linear-gradient(
      90deg,
      var(--brand-blue) 0%,
      #829df2 100%);
}
.access-ops-grid {
  display: grid;
  gap: 12px;
  grid-template-columns: 1.05fr 1fr;
}
.access-terminal-card,
.access-pass-card,
.access-log-card {
  border: 1px solid #dde5f8;
  background: #ffffff;
  border-radius: 14px;
  padding: 12px;
}
.access-panel-head {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 8px;
}
.access-panel-head h3,
.access-log-head h3 {
  margin: 0;
  font-size: 1.04rem;
}
.access-panel-head span {
  background: #ebeefe;
  border: 1px solid #d7ddf8;
  color: #465d95;
  border-radius: 999px;
  font-size: 0.68rem;
  font-weight: 700;
  padding: 4px 8px;
}
.access-copy {
  margin: 8px 0;
  color: #5e7093;
  font-size: 0.83rem;
}
.access-input-wrap {
  display: grid;
  gap: 5px;
  color: #3d5380;
  font-size: 0.75rem;
  font-weight: 700;
}
.access-input-row {
  display: flex;
  gap: 8px;
}
.access-input-row input {
  flex: 1;
  border: 1px solid #cfdbf3;
  background: #fbfdff;
  color: #1d335a;
  border-radius: 10px;
  padding: 9px 11px;
  font-size: 0.87rem;
  font-family: var(--font-ui);
}
.access-input-row input:focus {
  outline: 2px solid rgba(76, 103, 216, 0.22);
  border-color: #7893ef;
}
.camera-mock {
  margin-top: 10px;
  border-radius: 12px;
  border: 1px dashed #82c8b2;
  background:
    linear-gradient(
      160deg,
      #17324a 0%,
      #223f63 100%);
  padding: 12px;
  color: #c9ecde;
  display: grid;
  gap: 8px;
}
.camera-mock p,
.camera-mock small {
  margin: 0;
  font-size: 0.74rem;
}
.terminal-shortcuts {
  margin-top: 10px;
  display: grid;
  gap: 8px;
  grid-template-columns: repeat(3, minmax(0, 1fr));
}
.terminal-shortcuts button {
  border: 1px solid #d8e1f6;
  border-radius: 10px;
  background: #f5f8ff;
  color: #3f5788;
  font-size: 0.78rem;
  font-weight: 700;
  padding: 8px;
}
.access-foot {
  margin: 10px 0 0;
  color: #64779a;
  font-size: 0.75rem;
}
.pass-approval-banner {
  border-radius: 12px;
  background:
    linear-gradient(
      150deg,
      #0e8f63 0%,
      #18764d 100%);
  color: #dcffef;
  padding: 10px;
}
.pass-approval-banner p,
.pass-approval-banner strong {
  margin: 0;
}
.pass-approval-banner p {
  text-transform: uppercase;
  font-size: 0.68rem;
  letter-spacing: 0.04em;
  font-weight: 700;
}
.pass-identity-block {
  margin-top: 10px;
  display: flex;
  gap: 9px;
  align-items: center;
}
.pass-avatar {
  width: 48px;
  height: 48px;
  border-radius: 12px;
  background:
    linear-gradient(
      145deg,
      #f1f6ff 0%,
      #dbe8ff 100%);
  border: 1px solid #c8d7f6;
  display: grid;
  place-items: center;
  color: #2d4c83;
  font-weight: 800;
}
.pass-identity-block h3 {
  margin: 0;
  font-size: 1.02rem;
}
.pass-identity-block p {
  margin: 2px 0 0;
  color: #5f7195;
  font-size: 0.78rem;
}
.pass-grid {
  margin-top: 10px;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 8px;
}
.pass-grid > div {
  border: 1px solid #dce4f7;
  border-radius: 11px;
  background: #fafdff;
  padding: 8px;
}
.pass-grid p,
.pass-grid strong,
.pass-grid small {
  margin: 0;
  display: block;
}
.pass-grid p {
  color: #5d7096;
  font-size: 0.69rem;
  text-transform: uppercase;
  font-weight: 800;
  letter-spacing: 0.03em;
}
.pass-grid strong {
  margin-top: 3px;
  color: #1f3762;
  font-size: 0.9rem;
}
.pass-grid small {
  margin-top: 3px;
  color: #607398;
  font-size: 0.72rem;
}
.pass-grid .parking-block {
  background:
    linear-gradient(
      155deg,
      #e8fff4 0%,
      #dbf9ec 100%);
  border-color: #bfe8d5;
}
.pass-note {
  margin: 10px 0 0;
  border: 1px solid #dce4f7;
  border-radius: 10px;
  background: #f7faff;
  padding: 8px;
  color: #5f7298;
  font-size: 0.78rem;
}
.pass-actions {
  margin-top: 10px;
  display: grid;
  grid-template-columns: 1fr 0.8fr 1.1fr;
  gap: 8px;
}
.access-danger-btn,
.access-success-btn {
  border: 0;
  border-radius: 10px;
  padding: 9px 10px;
  font-size: 0.78rem;
  font-weight: 800;
}
.access-danger-btn {
  background: #ffebed;
  color: #b33e44;
  border: 1px solid #f3ccd0;
}
.access-success-btn {
  background:
    linear-gradient(
      150deg,
      #10855a 0%,
      #0f724d 100%);
  color: #ecfff6;
}
.access-log-head {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 8px;
}
.access-log-head p {
  margin: 3px 0 0;
  color: #607398;
  font-size: 0.78rem;
}
.access-log-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}
.access-log-chips span {
  border-radius: 999px;
  background: #eef3ff;
  border: 1px solid #d6dff5;
  color: #425d93;
  font-size: 0.68rem;
  font-weight: 700;
  padding: 4px 9px;
}
.access-log-table-wrap {
  margin-top: 10px;
  overflow: auto;
}
.access-log-table {
  width: 100%;
  border-collapse: collapse;
  min-width: 820px;
}
.access-log-table th,
.access-log-table td {
  text-align: left;
  border-bottom: 1px solid #e7ecfa;
  padding: 9px 8px;
  font-size: 0.76rem;
}
.access-log-table th {
  color: #5e7196;
  font-size: 0.67rem;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}
.access-log-table td {
  color: #253e6e;
  font-weight: 600;
}
.log-state {
  display: inline-block;
  border-radius: 999px;
  font-size: 0.68rem;
  font-weight: 700;
  padding: 3px 8px;
  border: 1px solid transparent;
}
.log-state.is-ok {
  color: #1d7c56;
  border-color: #bfe8d5;
  background: #e9fbf2;
}
.log-state.is-denied {
  color: #b33e44;
  border-color: #f3ccd0;
  background: #ffebed;
}
.log-state.is-neutral {
  color: #5b6f96;
  border-color: #d8e0f5;
  background: #f2f6ff;
}
.feature-shell {
  display: grid;
  gap: 12px;
}
.feature-hero {
  border-radius: 16px;
  border: 1px solid #d8e1f6;
  padding: 14px;
  background:
    linear-gradient(
      155deg,
      #ffffff 0%,
      #f4f7ff 100%);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
}
.feature-hero h2 {
  margin: 2px 0;
  font-size: clamp(1.15rem, 1.75vw, 1.45rem);
}
.feature-kicker {
  margin: 0;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  font-size: 0.69rem;
  color: #4f6393;
  font-weight: 800;
}
.feature-copy {
  margin: 0;
  color: #5d6f91;
  font-size: 0.84rem;
}
.feature-chip-stack {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  justify-content: flex-end;
}
.feature-chip {
  border-radius: 999px;
  border: 1px solid #d6dff6;
  background: #eef3ff;
  color: #334b78;
  padding: 4px 9px;
  font-size: 0.72rem;
  font-weight: 700;
}
.feature-grid {
  display: grid;
  grid-template-columns: 1.35fr 0.85fr;
  gap: 12px;
}
.feature-form-card,
.feature-side-card {
  border-radius: 16px;
  border: 1px solid #dce4f7;
  background: #ffffff;
  padding: 14px;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}
.feature-form-card:hover,
.feature-side-card:hover {
  transform: translateY(-2px);
  box-shadow: 0 15px 24px -21px rgba(32, 48, 77, 0.6);
}
.feature-form-card {
  display: grid;
  gap: 10px;
  align-content: start;
  align-self: start;
}
.form-section-title {
  margin-top: 4px;
  font-size: 0.82rem;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  color: #465e8c;
  font-weight: 800;
}
.feature-form-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 9px;
}
.feature-field {
  display: grid;
  gap: 4px;
  color: #334a76;
  font-size: 0.78rem;
  font-weight: 700;
}
.feature-field-wide {
  grid-column: 1 / -1;
}
.feature-input {
  border: 1px solid #cfdbf3;
  background: #fbfdff;
  color: #1d335a;
  border-radius: 10px;
  padding: 9px 11px;
  font-size: 0.87rem;
  font-family: var(--font-ui);
}
.feature-input:focus {
  outline: 2px solid rgba(76, 103, 216, 0.22);
  border-color: #7893ef;
}
.feature-actions {
  margin-top: 2px;
  display: flex;
  align-items: center;
  gap: 10px;
}
.feature-error {
  margin: 0;
  color: #b33e44;
  font-size: 0.79rem;
  font-weight: 700;
}
.feature-success {
  margin: 0;
  color: #435fc4;
  font-size: 0.79rem;
  font-weight: 700;
}
.unit-toolbar {
  display: grid;
  grid-template-columns: 1fr 1fr auto;
  gap: 9px;
  align-items: end;
  margin-bottom: 10px;
}
.unit-check {
  display: flex;
  align-items: center;
  gap: 6px;
  padding-bottom: 9px;
  color: #334a76;
  font-size: 0.78rem;
  font-weight: 700;
  white-space: nowrap;
}
.unit-scope {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 9px;
  margin-bottom: 10px;
}
.resident-form {
  display: grid;
  gap: 9px;
  margin: 10px 0;
  padding: 12px;
  border: 1px solid #dfe6f7;
  border-radius: 12px;
}
.sb-dialog {
  width: min(680px, 92vw);
  max-height: 90vh;
  padding: 20px;
  border: 0;
  border-radius: 16px;
  background: var(--bg-panel);
  color: var(--text-main);
  box-shadow: 0 30px 80px -30px rgba(23, 32, 68, 0.5);
}
.sb-dialog::backdrop {
  background: rgba(23, 32, 68, 0.45);
}
.sb-dialog .resident-form {
  margin: 0;
  padding: 0;
  border: 0;
}
.registry-tabs {
  margin-bottom: 14px;
}
.registry-tabs .chip-btn {
  text-decoration: none;
}
.access-log-table.unit-table {
  min-width: 520px;
}
.unit-empty {
  text-align: center;
  color: var(--text-soft);
}
.table-link-btn {
  border: 0;
  background: transparent;
  padding: 2px 6px;
  color: var(--brand-blue);
  font-size: 0.74rem;
  font-weight: 800;
  cursor: pointer;
}
.table-link-btn:hover {
  text-decoration: underline;
}
.table-link-btn.is-danger {
  color: #c64f75;
}
.auth-shell {
  min-height: 100vh;
  display: grid;
  place-items: center;
  padding: 24px;
}
.auth-card {
  width: min(440px, 100%);
  display: grid;
  gap: 14px;
  padding: 28px;
  border-radius: 20px;
  border: 1px solid var(--line-soft);
  background: var(--bg-panel);
  box-shadow: var(--shadow-soft);
}
.auth-card h1 {
  margin: 0;
  font-size: 1.4rem;
}
.auth-card .feature-copy {
  margin: 2px 0 0;
}
.auth-form {
  display: grid;
  gap: 12px;
}
.auth-brand {
  display: flex;
  align-items: center;
  gap: 12px;
}
.auth-submit {
  margin-top: 4px;
  padding: 11px 14px;
  font-size: 0.86rem;
}
.invite-toolbar {
  grid-template-columns: minmax(0, 240px);
}
.invite-column {
  display: grid;
  gap: 12px;
  align-content: start;
}
.invite-result h3 {
  word-break: break-all;
}
.invite-link {
  display: block;
  padding: 9px 11px;
  border-radius: 10px;
  border: 1px solid #d5e0f8;
  background: #f5f8ff;
  color: #152b54;
  font-size: 0.78rem;
  word-break: break-all;
}
.kpi-grid {
  margin-top: 12px;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 12px;
}
.kpi-grid-compact {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}
.kpi-card {
  height: 100%;
  border-radius: 14px;
  padding: 16px 18px;
  color: #ffffff;
  box-shadow: 0 14px 26px -18px rgba(48, 53, 159, 0.6);
}
.kpi-indigo {
  background:
    linear-gradient(
      135deg,
      #2f3298 0%,
      #4046b8 100%);
}
.kpi-sky {
  background:
    linear-gradient(
      135deg,
      #8aa7f8 0%,
      #6d8def 100%);
}
.kpi-pink {
  background:
    linear-gradient(
      135deg,
      #f08aa8 0%,
      #e86d93 100%);
}
.kpi-violet {
  background:
    linear-gradient(
      135deg,
      #4a58d6 0%,
      #6b6fe6 100%);
}
.kpi-label {
  margin: 0;
  font-size: 0.78rem;
  opacity: 0.92;
}
.kpi-value {
  margin: 6px 0 2px;
  font-family: var(--font-display);
  font-size: 1.75rem;
  font-weight: 700;
  line-height: 1.1;
}
.kpi-hint {
  margin: 0;
  font-size: 0.72rem;
  opacity: 0.88;
}
.dash-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  align-items: center;
}
.dash-actions .primary-btn,
.dash-actions .ghost-btn {
  margin-top: 0;
}
.dash-panel {
  margin-top: 12px;
}
.dash-error {
  margin-top: 12px;
}
.dash-select {
  margin-top: 10px;
  max-width: 280px;
}
.dash-muted {
  color: var(--text-soft);
  font-size: 0.72rem;
}
.dash-chip-alert {
  background: #fff0f4 !important;
  border-color: #f6cbd8 !important;
  color: #c64f75 !important;
}
.zone-tabs {
  display: flex;
  flex-wrap: wrap;
  align-items: end;
  justify-content: space-between;
  gap: 12px;
}
.zone-complex {
  min-width: 260px;
}
.zone-tab-buttons {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}
.zone-tab-buttons .chip-btn {
  border: 1px solid transparent;
  cursor: pointer;
}
.zone-tab-buttons .chip-btn.is-selected {
  background: var(--brand-blue);
  color: #ffffff;
}
.tab-badge {
  margin-left: 6px;
  padding: 1px 7px;
  border-radius: 999px;
  background: var(--brand-red);
  color: #ffffff;
  font-size: 0.68rem;
}
.zone-row-selected td {
  background: #f1f4ff;
}
.slot-form {
  margin-top: 12px;
  display: grid;
  grid-template-columns: 1.2fr 1fr 1fr auto;
  gap: 9px;
  align-items: end;
}
.slot-form .primary-btn {
  margin-top: 0;
}
.zone-card {
  cursor: pointer;
}
.qr-box {
  display: grid;
  justify-items: center;
  gap: 6px;
  padding: 12px;
  border-radius: 12px;
  border: 1px solid #d5e0f8;
  background: #fff;
}
.qr-box img {
  max-width: 100%;
  height: auto;
}
.qr-url {
  word-break: break-all;
  text-align: center;
  font-size: 0.78rem;
}
.availability-box {
  border-radius: 12px;
  border: 1px solid #d5e0f8;
  background: #f5f8ff;
  padding: 10px 12px;
}
.availability-box p {
  margin: 4px 0 0;
}
.availability-busy {
  font-weight: 600;
}
.request-actions {
  white-space: nowrap;
}
.feature-side-card h3 {
  margin-top: 3px;
  margin-bottom: 10px;
  font-size: 1rem;
}
.feature-side-card-empty {
  background:
    linear-gradient(
      166deg,
      #fafbff 0%,
      #f2f6ff 100%);
}
.token-block {
  border-radius: 12px;
  border: 1px solid #d5e0f8;
  background: #f5f8ff;
  padding: 10px;
}
.token-block p {
  margin: 0;
  color: #506492;
  font-size: 0.72rem;
  font-weight: 700;
}
.token-block code {
  display: block;
  margin-top: 5px;
  font-size: 0.8rem;
  color: #152b54;
  word-break: break-all;
}
.detail-list {
  margin: 12px 0 0;
  display: grid;
  gap: 7px;
}
.detail-list div {
  border-radius: 10px;
  border: 1px solid #dbe3f7;
  background: #fbfcff;
  padding: 8px 9px;
  display: grid;
  gap: 3px;
}
.detail-list dt {
  color: #5d7096;
  font-size: 0.7rem;
  font-weight: 800;
  text-transform: uppercase;
}
.detail-list dd {
  margin: 0;
  color: #1a3159;
  font-size: 0.81rem;
  font-weight: 700;
  word-break: break-word;
}
.ghost-qr {
  margin-top: 11px;
  width: 150px;
  height: 150px;
  border-radius: 10px;
  border: 8px solid #ffffff;
  background:
    linear-gradient(
      90deg,
      rgba(85, 104, 151, 0.28) 30%,
      transparent 30%),
    linear-gradient(rgba(85, 104, 151, 0.28) 30%, transparent 30%),
    #eef3ff;
  background-size: 16px 16px;
}
.ghost-meter {
  margin-top: 12px;
  height: 10px;
  border-radius: 999px;
  overflow: hidden;
  background: #e3e9f8;
}
.ghost-meter span {
  height: 100%;
  display: block;
  background:
    linear-gradient(
      90deg,
      #5873df 0%,
      #89a2f4 100%);
}
.market-shell {
  display: grid;
  gap: 12px;
}
.market-hero {
  border-radius: 16px;
  border: 1px solid #29456f;
  padding: 16px;
  background:
    radial-gradient(
      circle at 12% 10%,
      rgba(102, 187, 255, 0.22),
      transparent 33%),
    linear-gradient(
      118deg,
      #526ddc 0%,
      #3d4eb4 42%,
      #30359f 100%);
  color: #eaf0ff;
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 10px;
}
.market-hero h2 {
  margin: 4px 0;
  font-size: clamp(1.8rem, 2.6vw, 2.45rem);
  color: #f4f7ff;
}
.market-copy {
  margin: 0;
  color: #d4ddfb;
  max-width: 70ch;
  font-size: 0.9rem;
}
.market-badge {
  margin: 0;
  display: inline-block;
  border: 1px solid rgba(166, 192, 255, 0.55);
  border-radius: 999px;
  background: rgba(20, 35, 64, 0.38);
  color: #d8e5ff;
  font-size: 0.72rem;
  font-weight: 800;
  padding: 5px 10px;
}
.market-cta-btn {
  border: 0;
  border-radius: 12px;
  background: #ffffff;
  color: #2e3f70;
  font-weight: 800;
  font-size: 0.82rem;
  padding: 10px 14px;
  align-self: start;
  min-width: 188px;
}
.market-hero-strip {
  grid-column: 1 / -1;
  margin-top: 6px;
  border-radius: 12px;
  border: 1px solid rgba(132, 160, 235, 0.52);
  background: rgba(25, 37, 74, 0.42);
  padding: 8px 10px;
  display: flex;
  justify-content: space-between;
  gap: 10px;
  flex-wrap: wrap;
}
.market-hero-strip span {
  color: #d8e4ff;
  font-size: 0.75rem;
  font-weight: 700;
}
.market-controls {
  border-radius: 14px;
  border: 1px solid #dce5f7;
  background: #fdfefe;
  padding: 10px;
}
.market-search-row {
  display: grid;
  grid-template-columns: 1fr auto auto;
  gap: 8px;
  align-items: center;
}
.market-search-wrap {
  border: 1px solid #d1dcf3;
  background: #ffffff;
  border-radius: 10px;
  padding: 0 10px;
  display: flex;
  align-items: center;
  gap: 7px;
}
.market-search-wrap svg {
  width: 16px;
  height: 16px;
  fill: #6f7ea1;
}
.market-search-wrap input {
  border: 0;
  width: 100%;
  padding: 9px 0;
  font-size: 0.86rem;
}
.market-search-wrap input:focus {
  outline: none;
}
.market-search-wrap:focus-within {
  outline: 2px solid rgba(76, 103, 216, 0.22);
  border-color: #7893ef;
}
.market-live-chip {
  border-radius: 999px;
  background: #ebf8f1;
  color: #1f7f59;
  border: 1px solid #ccead9;
  font-size: 0.73rem;
  font-weight: 800;
  padding: 6px 9px;
}
.market-sort-wrap {
  display: flex;
  align-items: center;
  gap: 8px;
  color: #5d7197;
  font-size: 0.74rem;
  font-weight: 700;
}
.market-sort-wrap select {
  border: 1px solid #d1dcf3;
  border-radius: 10px;
  background: #ffffff;
  color: #2a4271;
  font-size: 0.78rem;
  font-weight: 700;
  padding: 7px 10px;
}
.market-categories {
  margin-top: 9px;
  display: flex;
  gap: 7px;
  overflow-x: auto;
  padding-bottom: 2px;
}
.market-categories button {
  flex: 0 0 auto;
  border: 1px solid #d6dff5;
  border-radius: 999px;
  background: #f4f7ff;
  color: #425d93;
  font-size: 0.72rem;
  font-weight: 700;
  padding: 5px 10px;
}
.market-categories button.is-active {
  border-color: #4c67d8;
  background:
    linear-gradient(
      130deg,
      #5b76df 0%,
      #3946a8 100%);
  color: #f4f6ff;
}
.market-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
}
.market-item-card {
  border: 1px solid #dde5f8;
  background: #ffffff;
  border-radius: 14px;
  padding: 9px;
  display: grid;
  gap: 8px;
  transition:
    transform 0.2s ease,
    box-shadow 0.2s ease,
    border-color 0.2s ease;
}
.market-item-card:hover {
  transform: translateY(-2px);
  border-color: #cfd9f4;
  box-shadow: 0 15px 24px -21px rgba(32, 48, 77, 0.6);
}
.market-item-meta {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 7px;
}
.market-rating {
  border-radius: 999px;
  border: 1px solid #f5dcb3;
  background: #fff8eb;
  color: #946322;
  font-size: 0.67rem;
  font-weight: 800;
  padding: 4px 7px;
}
.market-service-badge {
  border-radius: 999px;
  border: 1px solid #d0e9d8;
  background: #ecfaf1;
  color: #25714d;
  font-size: 0.66rem;
  font-weight: 800;
  padding: 4px 7px;
}
.market-item-photo {
  border-radius: 12px;
  height: 128px;
  border: 1px solid #dbe3f6;
}
.market-item-photo.photo-lasagna {
  background:
    linear-gradient(
      160deg,
      rgba(34, 24, 15, 0.26),
      rgba(25, 16, 11, 0.48)),
    radial-gradient(
      circle at 28% 64%,
      #f8ad5d 0%,
      transparent 46%),
    linear-gradient(
      180deg,
      #f9d18a 0%,
      #8f4f31 100%);
}
.market-item-photo.photo-dog {
  background:
    linear-gradient(
      160deg,
      rgba(18, 32, 48, 0.18),
      rgba(16, 28, 44, 0.48)),
    radial-gradient(
      circle at 65% 40%,
      #8fd7a4 0%,
      transparent 42%),
    linear-gradient(
      180deg,
      #9bd1f5 0%,
      #3b7f5a 100%);
}
.market-item-photo.photo-bread {
  background:
    linear-gradient(
      160deg,
      rgba(37, 24, 16, 0.2),
      rgba(31, 21, 15, 0.5)),
    radial-gradient(
      circle at 42% 58%,
      #f3c487 0%,
      transparent 44%),
    linear-gradient(
      180deg,
      #f2d6ad 0%,
      #9a663b 100%);
}
.market-item-photo.photo-yoga {
  background:
    linear-gradient(
      160deg,
      rgba(18, 28, 49, 0.18),
      rgba(18, 29, 51, 0.48)),
    radial-gradient(
      circle at 36% 32%,
      #f1b5a0 0%,
      transparent 39%),
    linear-gradient(
      180deg,
      #93c2ff 0%,
      #376998 100%);
}
.market-item-photo.photo-tech {
  background:
    linear-gradient(
      160deg,
      rgba(22, 36, 58, 0.22),
      rgba(17, 29, 48, 0.55)),
    radial-gradient(
      circle at 68% 48%,
      #93cdf9 0%,
      transparent 42%),
    linear-gradient(
      180deg,
      #d3deef 0%,
      #72839f 100%);
}
.market-item-photo.photo-plants {
  background:
    linear-gradient(
      160deg,
      rgba(23, 42, 29, 0.18),
      rgba(18, 33, 24, 0.56)),
    radial-gradient(
      circle at 58% 36%,
      #8dd6a7 0%,
      transparent 44%),
    linear-gradient(
      180deg,
      #c9edda 0%,
      #477055 100%);
}
.market-item-seller {
  display: flex;
  align-items: center;
  gap: 7px;
}
.seller-avatar {
  width: 25px;
  height: 25px;
  border-radius: 999px;
  background: #e8eeff;
  border: 1px solid #d2ddf8;
  color: #425b8d;
  font-size: 0.66rem;
  font-weight: 800;
  display: grid;
  place-items: center;
}
.market-item-seller p,
.market-item-seller small {
  margin: 0;
}
.market-item-seller p {
  color: #243f6f;
  font-size: 0.74rem;
  font-weight: 700;
}
.market-item-seller small {
  color: #63769b;
  font-size: 0.69rem;
}
.market-item-card h3 {
  margin: 0;
  color: #1e3a69;
  font-size: 1.02rem;
  line-height: 1.2;
}
.market-item-card p {
  margin: 0;
  color: #607398;
  font-size: 0.81rem;
}
.market-price-row {
  margin-top: 2px;
  display: flex;
  justify-content: space-between;
  align-items: end;
  gap: 8px;
}
.market-price-row span,
.market-price-row small {
  display: block;
  color: #62749a;
  font-size: 0.68rem;
  text-transform: uppercase;
  letter-spacing: 0.03em;
  font-weight: 700;
}
.market-price-row strong {
  display: block;
  margin-top: 2px;
  color: #173763;
  font-size: 1.2rem;
  line-height: 1;
}
.market-whatsapp-btn {
  border: 1px solid #1f9c68;
  border-radius: 999px;
  background: #1f9c68;
  color: #effff6;
  font-size: 0.72rem;
  font-weight: 800;
  padding: 6px 11px;
  text-decoration: none;
}
.market-card-actions {
  display: flex;
  align-items: center;
  gap: 6px;
}
.market-remove-btn {
  border: 1px solid #e2b9bc;
  border-radius: 999px;
  background: #fff5f5;
  color: #b33e44;
  font-size: 0.72rem;
  font-weight: 800;
  padding: 6px 11px;
}
.market-form-card {
  display: grid;
  gap: 10px;
}
.market-form-card h3 {
  margin: 0;
}
.market-item-photo-real {
  overflow: hidden;
  background: #eef2fb;
}
.market-item-photo-real img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.market-thumbs {
  display: flex;
  gap: 6px;
  flex-wrap: wrap;
}
.market-thumb-wrap {
  position: relative;
}
.market-thumb,
.market-thumb-preview {
  width: 52px;
  height: 52px;
  border-radius: 8px;
  border: 2px solid #dbe3f6;
  padding: 0;
  background: #eef2fb;
  overflow: hidden;
  display: block;
}
.market-thumb.is-active {
  border-color: #4c67d8;
}
.market-thumb img,
.market-thumb-preview {
  object-fit: cover;
}
.market-thumb img {
  width: 100%;
  height: 100%;
  display: block;
}
.market-thumb-remove {
  position: absolute;
  top: -6px;
  right: -6px;
  width: 18px;
  height: 18px;
  border-radius: 999px;
  border: 1px solid #e2b9bc;
  background: #fff5f5;
  color: #b33e44;
  font-size: 0.66rem;
  font-weight: 800;
  line-height: 1;
  padding: 0;
}
.market-empty {
  grid-column: 1 / -1;
}
.market-trust-panel {
  border: 1px solid #dce5f7;
  border-radius: 14px;
  background: #f5f8ff;
  padding: 12px;
  display: grid;
  grid-template-columns: 1.2fr repeat(3, 1fr);
  gap: 8px;
}
.market-trust-main {
  border: 1px solid #d9e2f6;
  border-radius: 12px;
  background: #f9fbff;
  padding: 10px;
}
.market-trust-main p,
.market-trust-main h3,
.market-trust-main span {
  margin: 0;
}
.market-trust-main p {
  color: #4c638f;
  font-size: 0.67rem;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  font-weight: 800;
}
.market-trust-main h3 {
  margin-top: 4px;
  color: #1e3a69;
  font-size: 1.6rem;
  line-height: 1.16;
}
.market-trust-main span {
  margin-top: 5px;
  display: block;
  color: #5f7398;
  font-size: 0.79rem;
}
.market-trust-mini {
  border: 1px solid #d9e2f6;
  border-radius: 12px;
  background: #ffffff;
  padding: 10px;
}
.market-trust-mini h4,
.market-trust-mini p {
  margin: 0;
}
.market-trust-mini h4 {
  color: #1f3a68;
  font-size: 0.9rem;
}
.market-trust-mini p {
  margin-top: 5px;
  color: #5e7297;
  font-size: 0.75rem;
}
@media (max-width: 1200px) {
  .kpi-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .kpi-grid-compact {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
  .quick-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .split-grid {
    grid-template-columns: 1fr;
  }
  .access-metrics-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .access-ops-grid {
    grid-template-columns: 1fr;
  }
  .market-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .market-trust-panel {
    grid-template-columns: 1fr;
  }
  .feature-grid {
    grid-template-columns: 1fr;
  }
}
@media (max-width: 980px) {
  .app-shell {
    grid-template-columns: 1fr;
    padding: 8px;
  }
  .portal-sidebar {
    border-radius: 16px;
    padding: 14px;
  }
  .top-toolbar {
    flex-direction: column;
    align-items: stretch;
  }
  .toolbar-actions {
    justify-content: space-between;
    flex-wrap: wrap;
  }
  .profile-block {
    margin-left: auto;
  }
}
@media (max-width: 760px) {
  .slot-form {
    grid-template-columns: 1fr;
  }
  .kpi-grid,
  .kpi-grid-compact {
    grid-template-columns: 1fr;
  }
  .workspace-view {
    padding: 12px;
  }
  .access-hero {
    flex-direction: column;
  }
  .access-hero-actions {
    justify-content: flex-start;
  }
  .access-metrics-grid {
    grid-template-columns: 1fr;
  }
  .pass-grid,
  .pass-actions,
  .terminal-shortcuts {
    grid-template-columns: 1fr;
  }
  .market-hero {
    grid-template-columns: 1fr;
  }
  .market-search-row {
    grid-template-columns: 1fr;
  }
  .market-grid {
    grid-template-columns: 1fr;
  }
  .feature-hero {
    flex-direction: column;
    align-items: flex-start;
  }
  .feature-chip-stack {
    justify-content: flex-start;
  }
  .feature-form-grid {
    grid-template-columns: 1fr;
  }
  .hero-panel,
  .notice-strip {
    flex-direction: column;
    align-items: flex-start;
  }
  .hero-kpi-row {
    width: 100%;
  }
  .profile-role {
    display: none;
  }
  .quick-grid {
    grid-template-columns: 1fr;
  }
  .notice-actions,
  .qr-actions {
    width: 100%;
  }
  .notice-actions .ghost-btn,
  .notice-actions .primary-btn,
  .qr-actions .ghost-btn,
  .qr-actions .primary-btn {
    flex: 1;
  }
}
@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation: none !important;
    transition: none !important;
  }
}

/* angular:styles/global:styles */
/*# sourceMappingURL=styles.css.map */
