/* Karin's pastel surfaces, rounded controls and bold rounded type. */
:root {
  --page: #fff8f1;
  --ink: #24213e;
  --muted: #625675;
  --line: #e4d8ec;
  --pastel-pink: #ffdce9;
  --pastel-blue: #d7f3fb;
  --pastel-gold: #fff1c6;
  --pastel-purple: #e7dcff;
}
body { font-size: 14px; font-weight: 700; line-height: 1.6; }
strong, b { font-weight: 900; }
p, small, label, input, select, textarea, button, option, th, td, time {
  font-family: 'Nunito', sans-serif;
  font-weight: 700;
}
input::placeholder, textarea::placeholder { font-family: 'Nunito', sans-serif; font-weight: 700; color: #766987; opacity: 1; }
.button { border-radius: 999px; font-size: 13px; font-weight: 900; min-height: 44px; padding: 12px 20px; gap: 12px; }
.button.primary, .button.dark { border: 2px solid var(--night); box-shadow: 3px 3px 0 #090c2f25; }
.button.secondary { background: #fff9fd; border: 2px solid #cdbbde; }
.login-screen { background-image: linear-gradient(90deg,#090c2f65,#090c2fa0),url('stars.svg'),url('space.webp'); background-size: cover,cover,cover; }
.login-story p { color: #e5dcef; font-size: 16px; }
.login-story h1 { font-size: 48px; }
.back-to-site { font-size: 13px; font-weight: 800; color: #f4e4f0; }
.login-card { background: #ffe8f0; border: 2px solid #fff3df; border-radius: 30px; box-shadow: 7px 7px 0 #090c2f50; }
.login-kicker { font-size: 12px; letter-spacing: .08em; color: #852c59; font-weight: 900; }
.login-card h2 { font-size: 32px; }
.login-card > p, .login-card label { font-size: 14px; color: #51415d; }
.login-card input { border: 2px solid #dfbdd1; border-radius: 15px; padding: 13px; background: #fffafc; color: var(--ink); font-weight: 800; }
.login-card .button { font-family: 'Lilita One','Nunito',sans-serif; font-weight: 400; font-size: 20px; }
.login-demo-note { background: var(--pastel-purple); border: 2px solid #d3bfea; border-radius: 18px; }
.login-demo-note strong { font-size: 13px; color: #594073; }
.login-demo-note p { font-size: 12px; color: #594b6c; }
.login-foot { font-size: 12px; font-weight: 900; color: #77516d; }
.dashboard { grid-template-columns: 235px minmax(0,1fr); background: radial-gradient(ellipse at 0 0,#ffe8f0 0,transparent 40%),var(--page); }
.sidebar { background-image: linear-gradient(#090c2f70,#090c2fb0),url('stars.svg'),url('space.webp'); background-size: cover,460px auto,cover; background-position: center; padding: 30px 18px 20px; }
.panel-brand { width: 160px; margin-bottom: 30px; }
.panel-brand img { width: 160px; height: auto; }
.sidebar-label { color: #c5b9df; font-size: 11px; letter-spacing: .08em; font-weight: 900; }
.sidebar nav { gap: 10px; }
.side-button { border: 2px solid transparent; border-radius: 18px; padding: 12px; font-size: 13px; font-weight: 900; color: #eee3f5; gap: 10px; }
.side-button > span { color: #dbc8f2; }
.side-button.active { background: var(--pastel-pink); color: var(--night); border-color: #fff3df; box-shadow: 3px 3px 0 #0002; }
.side-button.active > span { color: #922a60; }
.side-button:hover { background: #2d254c; }
.side-button.active:hover { background: #ffcbdf; }
.side-button b { border-radius: 999px; min-width: 21px; height: 21px; font-size: 11px; padding-top: 1px; }
.sidebar-user strong { font-size: 12px; color: #fff3df; }
.sidebar-user small { font-size: 11px; color: #c5b9df; }
.user-avatar { border-radius: 50%; width: 35px; height: 35px; background: var(--pastel-purple); color: #513575; border: 2px solid #fff3df; font-size: 16px; }
.logout-button { color: #d9c9ed; font-size: 12px; font-weight: 800; padding: 10px 7px; }
.panel-header { min-height: 76px; border-color: var(--line); }
.breadcrumb { font-size: 11px; font-weight: 800; letter-spacing: .03em; color: #6b567e; flex-wrap: wrap; }
.breadcrumb > span { color: #936c92; }
.breadcrumb strong { color: #5a356e; }
.demo-edition { background: var(--pastel-blue); color: #315669; border: 2px solid #b9dfe9; border-radius: 999px; padding: 6px 13px; font-size: 11px; font-weight: 900; }
.demo-banner { background: var(--pastel-purple); border: 2px solid #d8c5ef; border-radius: 20px; padding: 14px 18px; color: #58406e; font-size: 12px; }
.demo-banner > span { color: #7c429d; font-size: 25px; }
.demo-banner button { color: #71365e; font-size: 12px; font-weight: 900; white-space: normal; }
.panel-title { margin: 30px 0 25px; }
.panel-title small { color: #765275; font-size: 11px; letter-spacing: .07em; font-weight: 900; }
.panel-title h1 { font-size: clamp(34px,3.2vw,46px); }
.panel-title p { color: #625675; font-size: 14px; }
.metrics { gap: 16px; }
.metric { position: relative; border: 2px solid #ffffffb0; border-radius: 25px; padding: 21px 19px; box-shadow: 0 7px 22px #3d17400a; }
.metric:nth-child(1) { background: var(--pastel-pink); }
.metric:nth-child(2) { background: var(--pastel-blue); }
.metric:nth-child(3) { background: var(--pastel-gold); }
.metric:nth-child(4) { background: var(--pastel-purple); }
.metric > small { min-height: 30px; color: #594b6b; font-size: 11px; font-weight: 900; letter-spacing: .02em; line-height: 1.35; align-items: flex-start; }
.metric-dot { flex-shrink: 0; width: 8px; height: 8px; margin-top: 3px; }
.metric > strong { color: var(--night); font-size: clamp(25px,2.3vw,34px); font-weight: 900; font-variant-numeric: tabular-nums; letter-spacing: -.025em; }
.metric > strong > span { color: #58486a; font-size: 12px; font-weight: 800; white-space: normal; }
.metric p { color: #625373; font-size: 12px; }
.workspace-toolbar { flex-wrap: wrap; }
.view-tabs { background: #eadff4; border-radius: 999px; padding: 6px; gap: 5px; }
.view-tabs button { border-radius: 999px; color: #655074; font-weight: 900; font-size: 13px; padding: 11px 17px; min-height: 42px; }
.view-tabs button.selected { color: var(--night); background: var(--pastel-pink); box-shadow: 2px 2px 0 #090c2f14; }
.save-status { font-size: 11px; color: #645771; font-weight: 800; }
.filters { display: grid; grid-template-columns: minmax(220px,1.7fr) repeat(3,minmax(145px,1fr)); gap: 10px; }
.filters input, .filters select, #ledger-filter { border: 2px solid #e1cfe7; border-radius: 15px; background: #fffafd; padding: 11px; color: #51445f; font-size: 13px; font-weight: 800; min-height: 44px; }
.filters select { max-width: none; width: 100%; }
.search-field input { padding-left: 40px; }
.search-field > span { color: #815575; top: 5px; }
.workspace-grid { grid-template-columns: minmax(0,1fr) 320px; gap: 20px; }
.map-card, .table-card, .summary-card, .stand-details { background: #fffcfa; border: 2px solid #e6d6ed; border-radius: 26px; box-shadow: 0 7px 25px #30154308; }
.card-heading { background: #f2eaff; padding: 21px; border-color: #dfcde9; gap: 15px; }
.card-heading h2 { font-size: 22px; color: #3f2b58; }
.card-heading p { font-size: 12px; color: #655474; }
.zoom-controls { border: 2px solid #cdb9df; border-radius: 999px; }
.zoom-controls button { height: 35px; min-width: 34px; color: #5d3979; font-size: 21px; background: #fff8fe; border-color: #e0cce9; font-weight: 900; }
.zoom-controls button:nth-child(2) { font-size: 12px; padding-inline: 12px; }
.map-scroll { background: #fffdf9; padding: 15px; }
.map-scroll svg { min-width: 600px; }
.map-id { font-family: 'Nunito',sans-serif; font-size: 20px; font-weight: 900; }
.map-label { font-family: 'Nunito',sans-serif; font-size: 12px; font-weight: 800; letter-spacing: 0; }
.map-meta, .map-zone, .map-small, .map-common { font-family: 'Nunito',sans-serif; font-weight: 800; fill: #665574; }
.map-meta { font-size: 11px; letter-spacing: .5px; }
.map-zone { font-size: 11px; letter-spacing: .4px; }
.map-small { font-size: 10px; letter-spacing: .25px; }
.map-common { font-size: 12px; }
.map-stage { font-family: 'Lilita One','Nunito',sans-serif; font-weight: 400; font-size: 19px; letter-spacing: .3px; fill: #563a75; }
.map-stand rect { rx: 13px; stroke-width: 2; }
.map-stand.disponible rect { fill: #dcf3e6; stroke: #83b89b; }
.map-stand.disponible text { fill: #285746; }
.map-stand.apartado rect { fill: #fff1c6; stroke: #d5b56a; }
.map-stand.apartado text { fill: #705215; }
.map-stand.confirmado rect { fill: #d7f3fb; stroke: #87c2d4; }
.map-stand.confirmado text { fill: #24566e; }
.map-stand.selected rect { stroke: var(--pink); stroke-width: 4; }
.map-stand.selected .map-id { fill: #a02c60; }
.map-bottom { background: #fff4e3; padding: 18px 21px; border-color: #ead8c9; }
.legend { color: #625271; font-size: 12px; font-weight: 800; gap: 14px; }
.legend i { width: 9px; height: 9px; border-radius: 50%; }
.map-bottom > small { color: #705970; font-size: 10px; letter-spacing: .02em; }
.detail-top { background: var(--pastel-pink); border-color: #e6c1d7; padding: 23px 21px; }
.detail-top > small { color: #80546f; font-size: 11px; font-weight: 900; letter-spacing: .06em; }
.detail-top h2 { font-size: 39px; color: #37213f; }
.detail-top p { color: #6d506c; font-size: 13px; }
.detail-price { font-size: 12px; color: #685470; padding: 20px 21px 0; }
.detail-price strong { font-size: 19px; font-weight: 900; }
.badge { border-radius: 999px; padding: 6px 10px; font-size: 11px; font-weight: 900; }
.badge.disponible, .badge.payment-confirmed { background: #dcf3e6; color: #285746; }
.badge.apartado, .badge.payment-pending { background: #fff1c6; color: #705215; }
.badge.confirmado { background: #d7f3fb; color: #24566e; }
.badge.payment-rejected { background: #ffdce9; color: #843b60; }
.detail-form { padding: 18px 21px 22px; gap: 16px; }
.detail-form label { color: #63516f; font-size: 12px; font-weight: 800; }
.detail-form input, .detail-form select, .detail-form textarea { font-size: 13px; font-weight: 800; padding: 11px; background: #fff9fc; border: 2px solid #e3d0e7; border-radius: 13px; color: #3f3654; }
.detail-form .button { font-size: 13px; min-height: 44px; }
.payment-detail { border-color: #e3d0e7; background: #f9f4ff; padding: 21px; }
.payment-detail h3 { font-size: 18px; flex-wrap: wrap; }
.payment-text { font-family: 'Nunito',sans-serif; font-size: 11px; font-weight: 900; }
.payment-text.partial { color: #765619; }
.payment-text.settled { color: #2a634b; }
.payment-text.unpaid { color: #873357; }
.muted { color: #75657e; }
.payment-progress { height: 9px; background: #e7ddef; margin-top: 17px; }
.payment-progress > span { background: #5aabc5; }
.detail-amounts small { color: #685673; font-size: 12px; }
.detail-amounts strong { font-size: 20px; font-weight: 900; }
.pending-note { font-size: 12px; color: #765619; }
.payment-detail > .button { font-size: 13px; min-height: 44px; }
.payment-form { background: #fff1c6; border-color: #e4d19b; border-radius: 18px; padding: 15px; }
.detail-movements h4 { color: #685673; font-size: 13px; font-weight: 900; }
.detail-movements h4 > span { color: #685673; }
.mini-movement { gap: 8px; border-color: #e4d5ec; }
.mini-movement strong { font-size: 14px; font-weight: 900; }
.mini-movement small { color: #715e7c; font-size: 11px; }
.mini-status { color: #285746; font-size: 10px; font-weight: 900; }
.mini-status.pending { color: #765619; }
.mini-status.rejected { color: #873357; }
.detail-movements > p { color: #715e7c; font-size: 12px; }
.release-button { color: #843b60; font-size: 12px; font-weight: 900; }
.available-note { background: var(--pastel-blue); color: #315669; border-color: #c1dee7; font-size: 24px; }
.available-note p { color: #315669; font-size: 13px; }
th { background: #fff1c6; color: #695126; font-size: 12px; font-weight: 900; padding: 15px; letter-spacing: 0; }
td { padding: 17px 15px; font-size: 13px; color: #554760; border-color: #eee1ed; }
td strong { color: #3d3150; font-size: 13px; font-weight: 900; }
td small { color: #73617d; font-size: 11px; }
tr.selected-row { background: #fff0f7; }
.row-button { background: #e7dcff; border: 2px solid #cfbae5; border-radius: 50%; color: #5a3978; width: 35px; height: 35px; font-weight: 900; }
.empty-state { color: #715c7c; font-size: 14px; }
.currency-note { color: #6c5878; font-size: 10px; font-weight: 900; }
.occupancy-label { color: #695476; font-size: 13px; align-items: center; flex-wrap: wrap; }
.occupancy-label strong { color: #4d325e; font-size: 26px; font-weight: 900; }
.occupancy-label strong > span { color: #695476; font-size: 13px; font-weight: 800; }
.occupancy-bar { height: 17px; }
.total-row { background: #e7dcff; }
.total-row td { color: #4a3564; font-weight: 900; }
.summary-totals { background: #fff4e3; border-color: #ead8c9; }
.summary-totals small { color: #705670; font-size: 11px; font-weight: 900; letter-spacing: 0; }
.summary-totals strong { color: #45314f; font-size: 27px; font-weight: 900; }
.summary-totals strong span { color: #695476; font-size: 13px; font-weight: 800; }
.summary-note { color: #715d79; font-size: 12px; }
.stand-link { font-size: 13px; color: #24566e; font-weight: 900; }
.review-actions button { background: #dcf3e6; border: 2px solid #aacdb9; color: #285746; border-radius: 999px; padding: 8px 12px; font-size: 12px; font-weight: 900; }
.review-actions button:last-child { background: #ffdce9; border-color: #e4b9ce; color: #843b60; }
.activity-list article { border-color: #e5d7eb; padding-block: 22px; }
.activity-dot { width: 10px; height: 10px; background: var(--pink); }
.activity-list strong { color: #4b365e; font-size: 14px; font-weight: 900; }
.activity-list p, .activity-list time { color: #705c7a; font-size: 12px; }
.panel-footer { color: #725e7a; font-size: 11px; font-weight: 800; }
.toast { border-radius: 999px; font-size: 13px; font-weight: 800; padding: 15px 24px; }
.reset-dialog { background: #ffe8f0; border: 2px solid #edd0df; border-radius: 28px; width: 450px; }
.reset-dialog h2 { font-size: 29px; }
.reset-dialog p { color: #66506e; font-size: 14px; }
@media (min-width:1600px) {
  .workspace-grid { grid-template-columns: minmax(0,1fr) 340px; }
  .metric > strong { font-size: 35px; }
}
@media (max-width:1280px) {
  .dashboard { grid-template-columns: 220px minmax(0,1fr); }
  .sidebar { padding-inline: 14px; }
  .side-button { font-size: 12px; padding-inline: 10px; gap: 8px; }
  .panel-main { padding-inline: 24px; }
  .metric { padding: 19px 16px; }
  .metric > strong { font-size: 27px; }
  .metric > strong > span { font-size: 11px; }
}
@media (max-width:1180px) {
  .workspace-grid { grid-template-columns: 1fr; }
  .detail-form { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
  .detail-form > .button { align-self: end; }
  .payment-form { display: flex; }
  .detail-amounts { max-width: 480px; }
  .mini-movement { max-width: 650px; }
  .stand-details .detail-top > div { justify-content: flex-start; gap: 18px; }
}
@media (max-width:1100px) {
  .filters { grid-template-columns: repeat(3,minmax(0,1fr)); }
  .search-field { grid-column: 1/-1; }
  .metrics { grid-template-columns: repeat(2,minmax(0,1fr)); }
  .view-tabs { width: 100%; display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); border-radius: 24px; }
  .view-tabs button { padding-inline: 8px; white-space: normal; }
  .login-layout { gap: 42px; }
  .login-story h1 { font-size: 40px; }
}
@media (max-width:680px) {
  .dashboard { display: block; }
  .sidebar { position: static; height: auto; display: flex; flex-direction: column; align-items: stretch; padding: 17px 16px; gap: 14px; }
  .panel-brand { width: 120px; margin: 0; }
  .panel-brand img { width: 120px; height: auto; }
  .sidebar nav { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: 6px; }
  .side-button { justify-content: center; text-align: center; font-size: 12px; line-height: 1.3; padding: 11px 7px; border-radius: 16px; white-space: normal; gap: 5px; min-height: 46px; }
  .side-button b { min-width: 18px; height: 18px; font-size: 10px; }
  .panel-main { padding-inline: 16px; }
  .panel-header { min-height: 65px; gap: 10px; }
  .breadcrumb { font-size: 10px; gap: 6px; }
  .demo-edition { font-size: 10px; padding: 5px 9px; white-space: nowrap; }
  .demo-banner { padding: 13px; font-size: 12px; }
  .demo-banner button { font-size: 12px; }
  .panel-title { align-items: flex-start; flex-wrap: wrap; margin-block: 24px; }
  .panel-title h1 { font-size: 36px; }
  .panel-title p { font-size: 13px; max-width: none; }
  .panel-title small { font-size: 10px; }
  .panel-title > .button { font-size: 12px; padding: 10px 16px; min-height: 42px; }
  .metrics { gap: 12px; }
  .metric { padding: 17px 13px; border-radius: 22px; }
  .metric > small { font-size: 10px; min-height: 30px; }
  .metric > strong { font-size: 26px; }
  .metric > strong > span { font-size: 11px; }
  .metric p { font-size: 11px; }
  .view-tabs button { font-size: 12px; min-height: 48px; border-radius: 18px; }
  .save-status { font-size: 11px; }
  .filters { grid-template-columns: repeat(2,minmax(0,1fr)); gap: 9px; }
  #payment-filter { grid-column: 1/-1; }
  .filters input, .filters select { font-size: 14px; min-height: 46px; padding-block: 12px; }
  .filters input { padding-left: 40px; }
  .card-heading { padding: 18px 15px; flex-wrap: wrap; }
  .card-heading h2 { font-size: 21px; }
  .card-heading p { font-size: 12px; }
  .legend { font-size: 11px; gap: 12px; }
  .map-bottom > small { font-size: 10px; }
  .detail-form { display: flex; }
  .detail-form label { font-size: 13px; }
  .detail-form input, .detail-form select, .detail-form textarea { font-size: 16px; }
  .summary-totals { gap: 20px; }
  .summary-totals small { font-size: 11px; }
  .summary-totals strong { font-size: 25px; }
  .currency-note { font-size: 10px; }
  .card-heading > .currency-note { font-size: 10px; }
  .panel-footer { font-size: 11px; gap: 5px; }
  .login-story h1 { font-size: 34px; }
  .login-story p { font-size: 14px; }
  .login-card { padding: 28px 23px; }
  .login-card h2 { font-size: 30px; }
  .login-card input { font-size: 16px; }
  .back-to-site { font-size: 13px; }
}
