:root {
  --ink: #182230;
  --muted: #667085;
  --line: #e8ecf2;
  --surface: #ffffff;
  --canvas: #f5f7fb;
  --primary: #2769e8;
  --primary-dark: #1854c7;
  --green: #149766;
  --green-soft: #eaf8f2;
  --red: #df4c56;
  --red-soft: #fff0f1;
  --blue-soft: #edf4ff;
  --orange: #b96a16;
  --orange-soft: #fff5e8;
  --purple: #805ad5;
  --shadow: 0 1px 2px rgba(16, 24, 40, .03), 0 10px 28px rgba(16, 24, 40, .04);
}

* { box-sizing: border-box; }
html { font-family: "DM Sans", sans-serif; color: var(--ink); background: var(--canvas); }
body { margin: 0; min-width: 320px; }
button, input { font: inherit; }
button { color: inherit; }

.app-shell[hidden], .auth-screen[hidden], .marketing-site[hidden] { display: none; }

html { scroll-behavior: smooth; }
.marketing-site { min-height: 100vh; overflow: hidden; background: #fff; color: #182230; }
.marketing-header { position: sticky; top: 0; z-index: 40; width: 100%; height: 76px; display: grid; grid-template-columns: auto 1fr auto; align-items: center; gap: 36px; padding: 0 max(28px, calc((100vw - 1180px) / 2)); border-bottom: 1px solid rgba(224,229,237,.82); background: rgba(255,255,255,.92); backdrop-filter: blur(16px); }
.marketing-brand { display: flex; align-items: center; gap: 10px; color: inherit; text-decoration: none; }.marketing-brand-mark { width: 37px; height: 37px; display: grid; place-items: center; border-radius: 11px; background: linear-gradient(145deg, #3478ef, #195dcc); box-shadow: 0 7px 16px rgba(39,105,232,.2); }.marketing-brand-mark svg { width: 21px; fill: none; stroke: #fff; stroke-width: 2.1; stroke-linecap: round; stroke-linejoin: round; }.marketing-brand strong, .marketing-brand small { display: block; }.marketing-brand strong { font: 800 19px Manrope, sans-serif; }.marketing-brand small { margin-top: 2px; color: #8490a1; font-size: 14px; }
.marketing-nav { justify-self: center; display: flex; align-items: center; gap: 31px; }.marketing-nav a { color: #59677a; text-decoration: none; font-size: 17px; font-weight: 600; }.marketing-nav a:hover { color: var(--primary); }
.marketing-header-actions { display: flex; align-items: center; gap: 9px; }.marketing-login, .marketing-primary { height: 40px; border-radius: 8px; padding: 0 16px; font-size: 16px; font-weight: 800; cursor: pointer; }.marketing-login { border: 1px solid #dce2eb; background: #fff; color: #344054; }.marketing-primary { border: 0; background: var(--primary); color: #fff; box-shadow: 0 5px 13px rgba(39,105,232,.2); }.marketing-login:hover { background: #f8fafc; }.marketing-primary:hover { background: var(--primary-dark); transform: translateY(-1px); }.marketing-primary.large { height: 49px; padding: 0 22px; font-size: 18px; }
.marketing-hero { position: relative; width: min(1180px, calc(100% - 56px)); min-height: 675px; display: grid; grid-template-columns: .88fr 1.12fr; align-items: center; gap: clamp(45px, 6vw, 90px); margin: 0 auto; padding: 80px 0 94px; }.marketing-hero::before { content: ""; position: absolute; z-index: 0; width: 520px; height: 520px; right: -220px; top: -220px; border-radius: 50%; background: radial-gradient(circle, rgba(77,137,243,.13), rgba(77,137,243,0) 70%); pointer-events: none; }.marketing-hero-copy, .product-preview { position: relative; z-index: 1; }
.marketing-eyebrow, .marketing-section-heading > span, .solution-feature > span, .solution-feature > div > span { color: var(--primary); font-size: 15.5px; font-weight: 800; letter-spacing: 1.2px; }.marketing-hero h1 { margin: 17px 0 21px; font: 800 clamp(42px, 5vw, 65px)/1.04 Manrope, sans-serif; letter-spacing: -2.6px; }.marketing-hero-copy > p { max-width: 580px; margin: 0; color: #5f6e81; font-size: 20px; line-height: 1.68; }.marketing-hero-actions { display: flex; align-items: center; gap: 21px; margin-top: 31px; }.marketing-demo-link { color: #344054; text-decoration: none; border-bottom: 1px solid #acb7c6; padding: 7px 1px; font-size: 18px; font-weight: 800; }.marketing-demo-link:hover { color: var(--primary); border-color: var(--primary); }.marketing-hero-notes { display: flex; flex-wrap: wrap; gap: 16px; margin-top: 19px; color: #7a8798; font-size: 16px; }.marketing-hero-notes span::first-letter { color: var(--green); }
.product-preview { transform: perspective(1200px) rotateY(-2deg) rotateX(1deg); border: 1px solid #dfe6ef; border-radius: 17px; background: #fff; box-shadow: 0 36px 80px rgba(32,66,118,.18), 0 4px 12px rgba(16,24,40,.05); overflow: hidden; }.preview-window-bar { height: 38px; display: flex; align-items: center; gap: 6px; padding: 0 13px; border-bottom: 1px solid #e5eaf1; background: #fafbfd; }.preview-window-bar > span { width: 7px; height: 7px; border-radius: 50%; background: #d9e0e9; }.preview-window-bar > span:first-child { background: #f18c8c; }.preview-window-bar > span:nth-child(2) { background: #f5c765; }.preview-window-bar > span:nth-child(3) { background: #68c994; }.preview-window-bar p { margin: 0 auto; padding-right: 37px; color: #8d98a8; font-size: 8px; }.preview-shell { min-height: 386px; display: grid; grid-template-columns: 52px 1fr; background: #f5f7fb; }.preview-shell aside { display: grid; grid-auto-rows: 28px; justify-items: center; align-content: start; gap: 14px; padding-top: 18px; border-right: 1px solid #e4e8ef; background: #fff; }.preview-mini-brand { width: 27px; height: 27px; display: grid; place-items: center; margin-bottom: 7px; border-radius: 8px; background: var(--primary); color: #fff; font-size: 7px; font-weight: 800; }.preview-shell aside i { width: 20px; height: 20px; border-radius: 6px; background: #eef1f5; }.preview-shell aside i.active { background: #dbe8ff; border: 1px solid #bdd2fa; }.preview-content { padding: 25px 24px; }.preview-heading { display: flex; align-items: center; justify-content: space-between; gap: 15px; }.preview-heading small, .preview-heading strong { display: block; }.preview-heading small { color: #98a2b3; font-size: 6px; letter-spacing: .7px; }.preview-heading strong { margin-top: 4px; font: 800 14px Manrope, sans-serif; }.preview-heading button { height: 29px; border: 0; border-radius: 6px; padding: 0 10px; background: var(--primary); color: #fff; font-size: 7px; font-weight: 700; }.preview-metrics { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; margin: 18px 0 15px; }.preview-metrics article { padding: 12px; border: 1px solid #e2e7ee; border-radius: 8px; background: #fff; }.preview-metrics span, .preview-metrics strong, .preview-metrics small { display: block; }.preview-metrics span { color: #798699; font-size: 6.5px; }.preview-metrics strong { margin: 4px 0; font: 800 12px Manrope, sans-serif; }.preview-metrics small { color: #9aa4b2; font-size: 6px; }.preview-metrics small.green { color: var(--green); }.preview-table { overflow: hidden; border: 1px solid #e2e7ee; border-radius: 8px; background: #fff; }.preview-table > div { min-height: 50px; display: grid; grid-template-columns: .8fr 1fr 1.45fr .75fr; align-items: center; gap: 7px; padding: 0 12px; border-top: 1px solid #edf0f4; font-size: 7px; }.preview-table > div > b { text-align: right; }.preview-table .preview-table-head { min-height: 27px; border: 0; background: #f9fafc; color: #929dab; font-size: 5.5px; font-weight: 800; letter-spacing: .4px; }.preview-table em { width: max-content; padding: 4px 6px; border-radius: 99px; font-style: normal; font-weight: 800; }.preview-table em.paid { color: var(--green); background: var(--green-soft); }.preview-table em.pending { color: var(--primary); background: var(--blue-soft); }.preview-table em.late { color: var(--red); background: var(--red-soft); }
.marketing-trust { padding: 26px max(28px, calc((100vw - 1180px) / 2)); border-top: 1px solid #edf0f5; border-bottom: 1px solid #edf0f5; background: #fafcff; text-align: center; }.marketing-trust p { margin: 0 0 18px; color: #7d8999; font-size: 16px; }.marketing-trust div { display: flex; justify-content: center; flex-wrap: wrap; gap: clamp(28px, 6vw, 72px); color: #9aa4b2; font-size: 15px; font-weight: 800; letter-spacing: 1.3px; }
.marketing-section { width: min(1180px, calc(100% - 56px)); margin: 0 auto; padding: 108px 0; }.marketing-section-heading { max-width: 700px; margin: 0 auto 47px; text-align: center; }.marketing-section-heading.align-left { max-width: none; margin-left: 0; text-align: left; }.marketing-section-heading h2, .solution-intro h2, .demo-section h2 { margin: 13px 0 14px; font: 800 clamp(31px, 4vw, 46px)/1.13 Manrope, sans-serif; letter-spacing: -1.35px; }.marketing-section-heading p, .solution-intro p, .demo-section > div > p { margin: 0; color: #667085; font-size: 19.5px; line-height: 1.62; }
.problem-section { width: 100%; padding-left: max(28px, calc((100vw - 1180px) / 2)); padding-right: max(28px, calc((100vw - 1180px) / 2)); background: #f7f9fc; }.problem-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 13px; }.problem-grid article { min-height: 205px; padding: 25px; border: 1px solid #e4e9f0; border-radius: 13px; background: #fff; }.problem-grid article > span { width: 33px; height: 33px; display: grid; place-items: center; border-radius: 9px; background: #edf4ff; color: var(--primary); font-size: 15px; font-weight: 800; }.problem-grid h3 { margin: 29px 0 9px; font: 800 20px Manrope, sans-serif; }.problem-grid p { margin: 0; color: #697689; font-size: 17px; line-height: 1.55; }
.solution-section { display: grid; grid-template-columns: .75fr 1.25fr; gap: 70px; align-items: start; }.solution-intro { position: sticky; top: 115px; }.solution-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 13px; }.solution-feature { min-height: 270px; padding: 26px; border: 1px solid #e2e7ee; border-radius: 14px; background: #fff; box-shadow: 0 12px 34px rgba(25,50,86,.045); }.solution-feature.featured { grid-column: 1 / -1; min-height: 330px; display: grid; grid-template-columns: auto 1fr 1fr; align-items: start; gap: 18px; background: linear-gradient(145deg, #f7faff, #fff); }.feature-icon { width: 39px; height: 39px; display: grid; place-items: center; margin-bottom: 28px; border-radius: 10px; background: #edf4ff; color: var(--primary); font-size: 21px; font-weight: 800; }.solution-feature.featured .feature-icon { margin: 0; }.solution-feature h3 { margin: 10px 0 10px; font: 800 22.5px/1.25 Manrope, sans-serif; letter-spacing: -.35px; }.solution-feature p { margin: 0; color: #697689; font-size: 17px; line-height: 1.6; }.account-example { align-self: stretch; padding: 18px; border: 1px solid #dce6f6; border-radius: 11px; background: #fff; box-shadow: 0 10px 26px rgba(29,69,129,.07); }.account-example > div { display: flex; justify-content: space-between; gap: 12px; padding: 13px 0; border-bottom: 1px solid #edf0f4; color: #647185; font-size: 15.5px; }.account-example > div:last-child { border: 0; }.account-example strong { color: #344054; }.account-example strong.green { color: var(--green); }.account-example .total { margin-top: 6px; padding-top: 17px; color: #344054; font-weight: 800; }.account-example .total strong { color: var(--primary); font-size: 19px; }
.steps-section { width: 100%; padding-left: max(28px, calc((100vw - 1180px) / 2)); padding-right: max(28px, calc((100vw - 1180px) / 2)); background: #102348; color: #fff; }.steps-section .marketing-section-heading p { color: #aebbd0; }.steps-section .marketing-section-heading > span { color: #7eb0ff; }.steps-list { max-width: 920px; margin: 0 auto; border-top: 1px solid rgba(255,255,255,.14); }.steps-list article { display: grid; grid-template-columns: 105px 1fr; gap: 25px; padding: 29px 0; border-bottom: 1px solid rgba(255,255,255,.14); }.steps-list article > strong { color: #73a9ff; font: 800 31px Manrope, sans-serif; }.steps-list h3 { margin: 0 0 7px; font: 800 21px Manrope, sans-serif; }.steps-list p { max-width: 700px; margin: 0; color: #aebbd0; font-size: 18px; line-height: 1.6; }
.experiences-section { padding-top: 90px; padding-bottom: 90px; }.experiences-layout { display: grid; grid-template-columns: 1.12fr .88fr; gap: 18px; max-width: 1000px; margin: 0 auto; }.pilot-card, .experiences-promise { border: 1px solid #dfe6ef; border-radius: 18px; background: #fff; }.pilot-card { display: flex; min-height: 330px; flex-direction: column; justify-content: space-between; padding: 38px; box-shadow: 0 18px 60px rgba(31,54,88,.08); }.pilot-status { display: flex; align-items: center; gap: 9px; color: #68778b; font-size: 15px; font-weight: 800; letter-spacing: 1px; }.pilot-status span { width: 9px; height: 9px; border-radius: 50%; background: #f5ad2f; box-shadow: 0 0 0 5px #fff4dc; }.pilot-placeholder { max-width: 600px; margin: 45px 0; color: #23344c; font: 700 clamp(22px, 3vw, 31px)/1.35 Manrope, sans-serif; letter-spacing: -.55px; }.pilot-card footer { display: flex; align-items: center; gap: 13px; }.pilot-logo { display: grid; place-items: center; width: 48px; height: 48px; border-radius: 13px; background: #102348; color: #fff; font: 800 18px Manrope, sans-serif; }.pilot-card footer p { display: grid; gap: 2px; margin: 0; }.pilot-card footer strong { color: #24354c; font-size: 18px; }.pilot-card footer small { color: #8995a5; font-size: 15.5px; }.experiences-promise { padding: 36px; background: #f4f8ff; border-color: #dbe7fa; }.experiences-promise > span { color: var(--primary); font-size: 15px; font-weight: 800; letter-spacing: 1px; }.experiences-promise h3 { margin: 15px 0 10px; color: #1c2e49; font: 800 23.5px/1.3 Manrope, sans-serif; }.experiences-promise > p { margin: 0; color: #64738a; font-size: 17px; line-height: 1.65; }.experiences-promise ul { display: grid; gap: 12px; margin: 25px 0 30px; padding: 0; list-style: none; }.experiences-promise li { position: relative; padding-left: 25px; color: #43536a; font-size: 16px; font-weight: 600; }.experiences-promise li::before { content: "✓"; position: absolute; left: 0; color: var(--green); font-weight: 800; }.experiences-promise .marketing-primary { width: 100%; }
.pricing-section { padding-bottom: 70px; }.marketing-plans { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 12px; align-items: stretch; }.marketing-plans article { position: relative; display: flex; flex-direction: column; padding: 27px 20px 23px; border: 1px solid #dfe5ed; border-radius: 15px; background: #fff; }.marketing-plans article.free-plan { border-color: #bcd9c9; background: linear-gradient(180deg,#f6fcf8,#fff 44%); }.marketing-plans article.recommended { border: 2px solid var(--primary); box-shadow: 0 20px 50px rgba(39,105,232,.12); }.plan-badge { position: absolute; top: -13px; left: 50%; transform: translateX(-50%); padding: 6px 11px; border-radius: 99px; background: var(--primary); color: #fff; font-size: 14px; font-weight: 800; letter-spacing: .6px; white-space: nowrap; }.marketing-plans article > span { color: var(--primary); font-size: 15px; font-weight: 800; letter-spacing: 1.1px; }.marketing-plans h3 { margin: 14px 0 6px; font: 800 27.5px Manrope, sans-serif; }.marketing-plans h3 small { color: #7d8999; font: 500 16px DM Sans, sans-serif; }.marketing-plans p { min-height: 58px; margin: 0; color: #697689; font-size: 17px; line-height: 1.45; }.marketing-plans ul { flex: 1; min-height: 225px; margin: 23px 0; padding: 20px 0 0; border-top: 1px solid #e8edf4; list-style: none; }.marketing-plans li { position: relative; margin: 11px 0; padding-left: 21px; color: #4f5d70; font-size: 16px; line-height: 1.35; }.marketing-plans li::before { content: "✓"; position: absolute; left: 0; color: var(--green); font-weight: 800; }.marketing-plans li strong { color: #26364b; }.marketing-plans li.plan-inherits { color: var(--primary); font-weight: 700; }.marketing-plans li.plan-inherits::before { content: "+"; }.marketing-plans li.plan-limit { color: #8b95a5; }.marketing-plans li.plan-limit::before { content: "—"; color: #a5adba; }.marketing-plans button { width: 100%; height: 44px; border: 1px solid #ccd9ed; border-radius: 8px; background: #f5f9ff; color: var(--primary); font-size: 17px; font-weight: 800; cursor: pointer; }.marketing-plans .recommended button { border-color: var(--primary); background: var(--primary); color: #fff; }.marketing-plans .free-plan button { border-color: #a9d6bd; background: #eaf8f0; color: #16734a; }
.faq-section { display: grid; grid-template-columns: .75fr 1.25fr; gap: 80px; }.faq-list { border-top: 1px solid #dfe5ed; }.faq-list details { border-bottom: 1px solid #dfe5ed; }.faq-list summary { position: relative; padding: 22px 42px 22px 0; list-style: none; color: #344054; font-size: 19px; font-weight: 800; cursor: pointer; }.faq-list summary::-webkit-details-marker { display: none; }.faq-list summary::after { content: "+"; position: absolute; right: 5px; top: 17px; width: 28px; height: 28px; display: grid; place-items: center; border-radius: 50%; background: #f1f4f8; color: #667085; font-size: 21px; }.faq-list details[open] summary::after { content: "−"; color: var(--primary); background: #edf4ff; }.faq-list details p { margin: -6px 45px 22px 0; color: #697689; font-size: 17px; line-height: 1.65; }
.demo-section { width: min(1180px, calc(100% - 56px)); display: grid; grid-template-columns: .9fr 1.1fr; gap: 75px; padding: 65px; border-radius: 22px; background: linear-gradient(145deg, #133878, #2769e8); color: #fff; }.demo-section .marketing-eyebrow { color: #bcd4ff; }.demo-section > div > p { color: #cfddf5; }.demo-alternative { margin-top: 28px; color: #d7e2f4; font-size: 17px; }.demo-alternative button { border: 0; border-bottom: 1px solid #fff; padding: 0 0 3px; background: transparent; color: #fff; font-size: inherit; font-weight: 800; cursor: pointer; }.demo-section form { display: grid; grid-template-columns: 1fr 1fr; gap: 13px; padding: 23px; border: 1px solid rgba(255,255,255,.18); border-radius: 14px; background: rgba(255,255,255,.1); backdrop-filter: blur(12px); }.demo-section label { color: #e3ecfa; font-size: 15.5px; font-weight: 700; }.demo-section input, .demo-section select { width: 100%; height: 43px; display: block; margin-top: 6px; border: 1px solid rgba(255,255,255,.22); border-radius: 8px; padding: 0 11px; outline: 0; background: rgba(255,255,255,.96); color: #26364d; font-size: 16px; }.demo-section form > button { grid-column: 1 / -1; height: 46px; margin-top: 4px; border: 0; border-radius: 8px; background: #fff; color: var(--primary); font-size: 17px; font-weight: 800; cursor: pointer; }.demo-section form > p { grid-column: 1 / -1; margin: 0; padding: 10px; border-radius: 7px; background: rgba(255,255,255,.12); color: #fff; font-size: 15.5px; line-height: 1.4; }.demo-section form > p[hidden] { display: none; }
.marketing-footer { width: min(1180px, calc(100% - 56px)); display: grid; grid-template-columns: auto 1fr auto; align-items: center; gap: 35px; margin: 86px auto 0; padding: 35px 0; border-top: 1px solid #e4e9f0; }.marketing-footer > p { margin: 0; color: #8591a2; font-size: 16px; }.marketing-footer > div:last-child { display: flex; align-items: center; gap: 22px; }.marketing-footer a, .marketing-footer button { border: 0; padding: 0; background: transparent; color: #667085; text-decoration: none; font-size: 16px; font-weight: 700; cursor: pointer; }.marketing-footer a:hover, .marketing-footer button:hover { color: var(--primary); }
.auth-back { border: 0; margin: 0 0 24px; padding: 0; background: transparent; color: #667085; font-size: 17px; font-weight: 700; cursor: pointer; }.auth-back:hover { color: var(--primary); }

@media (max-width: 1050px) {
  .experiences-layout { grid-template-columns: 1fr; }
  .marketing-nav { display: none; }.marketing-header { grid-template-columns: 1fr auto; }
  .marketing-hero { grid-template-columns: 1fr; padding-top: 65px; }.marketing-hero-copy { max-width: 760px; }.product-preview { width: min(760px, 100%); margin: 0 auto; transform: none; }
  .problem-grid { grid-template-columns: 1fr 1fr; }.solution-section, .faq-section { grid-template-columns: 1fr; gap: 35px; }.solution-intro { position: static; max-width: 760px; }.marketing-plans { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 22px 14px; }.marketing-plans p, .marketing-plans ul { min-height: 0; }.demo-section { gap: 40px; padding: 45px; }
}
@media (max-width: 760px) {
  .marketing-header { height: 66px; padding: 0 18px; }.marketing-brand small { display: none; }.marketing-header-actions .marketing-login { display: none; }.marketing-header-actions .marketing-primary { height: 38px; padding: 0 12px; font-size: 15.5px; }
  .marketing-hero, .marketing-section, .marketing-footer { width: min(100% - 36px, 1180px); }.marketing-hero { min-height: 0; padding: 60px 0 70px; gap: 45px; }.marketing-hero h1 { font-size: clamp(38px, 12vw, 52px); letter-spacing: -1.7px; }.marketing-hero-copy > p { font-size: 19px; }.marketing-hero-notes { gap: 10px; font-size: 15px; }
  .product-preview { border-radius: 12px; }.preview-shell { min-height: 300px; grid-template-columns: 37px 1fr; }.preview-shell aside { gap: 9px; }.preview-content { padding: 16px 12px; }.preview-metrics article { padding: 8px; }.preview-table > div { padding: 0 7px; grid-template-columns: .8fr 1fr 1.2fr .8fr; }
  .marketing-section { padding-top: 78px; padding-bottom: 78px; }.marketing-section-heading h2, .solution-intro h2, .demo-section h2 { font-size: 32px; }.marketing-section-heading p, .solution-intro p, .demo-section > div > p { font-size: 18px; }.problem-section, .steps-section { padding-left: 18px; padding-right: 18px; }.problem-grid { grid-template-columns: 1fr; }.problem-grid article { min-height: 0; }
  .solution-grid { grid-template-columns: 1fr; }.solution-feature.featured { grid-column: auto; grid-template-columns: 1fr; }.solution-feature.featured .feature-icon { margin-bottom: 8px; }.solution-feature { min-height: 0; }.steps-list article { grid-template-columns: 60px 1fr; gap: 15px; }.experiences-section { padding-top: 66px; padding-bottom: 66px; }.pilot-card, .experiences-promise { padding: 24px; }.pilot-card { min-height: 285px; }.pilot-placeholder { margin: 35px 0; }
  .marketing-plans { grid-template-columns: 1fr; gap: 23px; }.marketing-plans ul { min-height: 0; }.faq-section { gap: 10px; }.demo-section { width: min(100% - 24px, 1180px); grid-template-columns: 1fr; padding: 35px 22px; border-radius: 16px; }.demo-section form { grid-template-columns: 1fr; }.demo-section form > button, .demo-section form > p { grid-column: auto; }
  .marketing-footer { grid-template-columns: 1fr; gap: 18px; margin-top: 60px; }.marketing-footer > div:last-child { flex-wrap: wrap; gap: 16px; }
}
@media (max-width: 480px) {
  .marketing-hero-actions { align-items: flex-start; flex-direction: column; gap: 11px; }.marketing-primary.large { width: 100%; }.preview-metrics article:last-child { display: none; }.preview-metrics { grid-template-columns: 1fr 1fr; }.preview-table > div { grid-template-columns: .9fr 1fr 1fr; }.preview-table > div > :nth-child(3) { display: none; }
}

.auth-screen { min-height: 100vh; display: grid; grid-template-columns: minmax(390px, .92fr) minmax(510px, 1.08fr); background: #fff; }
.auth-showcase { position: relative; min-height: 100vh; display: flex; flex-direction: column; overflow: hidden; padding: clamp(32px, 5vw, 70px); color: #fff; background: radial-gradient(circle at 80% 18%, rgba(104,156,255,.38), transparent 28%), linear-gradient(145deg, #0e3f9f 0%, #1f63dc 55%, #3581f2 100%); }
.auth-showcase::before { content: ""; position: absolute; width: 480px; height: 480px; right: -260px; bottom: -220px; border: 1px solid rgba(255,255,255,.18); border-radius: 50%; box-shadow: 0 0 0 74px rgba(255,255,255,.035), 0 0 0 148px rgba(255,255,255,.025); pointer-events: none; }
.auth-showcase-brand { position: relative; display: flex; align-items: center; gap: 12px; }
.auth-brand-mark { width: 43px; height: 43px; display: grid; place-items: center; border: 1px solid rgba(255,255,255,.28); border-radius: 13px; background: rgba(255,255,255,.14); box-shadow: inset 0 1px rgba(255,255,255,.18); backdrop-filter: blur(8px); }
.auth-brand-mark svg { width: 24px; fill: none; stroke: #fff; stroke-width: 2.1; stroke-linecap: round; stroke-linejoin: round; }
.auth-showcase-brand strong, .auth-showcase-brand small { display: block; }.auth-showcase-brand strong { font: 800 20px Manrope, sans-serif; }.auth-showcase-brand small { margin-top: 2px; color: rgba(255,255,255,.68); font-size: 15.5px; }
.auth-showcase-copy { position: relative; width: min(590px, 100%); margin: auto 0; padding: 64px 0; }
.auth-kicker { color: #cfe0ff; font-size: 16px; font-weight: 800; letter-spacing: 1.35px; }
.auth-showcase-copy h1 { max-width: 560px; margin: 17px 0 17px; font: 800 clamp(34px, 4vw, 53px)/1.08 Manrope, sans-serif; letter-spacing: -1.8px; }
.auth-showcase-copy > p { max-width: 530px; margin: 0; color: rgba(255,255,255,.78); font-size: 20px; line-height: 1.65; }
.auth-feature-list { display: grid; gap: 18px; margin-top: 41px; }
.auth-feature-list > div { display: grid; grid-template-columns: auto 1fr; gap: 12px; align-items: start; }
.auth-feature-list > div > span { width: 25px; height: 25px; display: grid; place-items: center; margin-top: 1px; border-radius: 50%; background: rgba(255,255,255,.16); color: #fff; font-size: 16px; font-weight: 800; }
.auth-feature-list p { margin: 0; }.auth-feature-list strong, .auth-feature-list small { display: block; }.auth-feature-list strong { font-size: 19px; }.auth-feature-list small { margin-top: 4px; color: rgba(255,255,255,.66); font-size: 17px; line-height: 1.4; }
.auth-showcase-foot { position: relative; margin: 0; color: rgba(255,255,255,.6); font-size: 16px; }
.auth-access { display: grid; place-items: center; padding: 48px clamp(28px, 7vw, 105px); background: linear-gradient(180deg, #fff, #fbfcff); }
.auth-card { width: min(440px, 100%); }
.prototype-badge { width: max-content; display: flex; align-items: center; gap: 7px; margin-bottom: 28px; padding: 7px 10px; border: 1px solid #dbe6f8; border-radius: 999px; background: #f6f9ff; color: #59708f; font-size: 16px; font-weight: 700; }
.prototype-badge span { width: 7px; height: 7px; border-radius: 50%; background: #f5a524; box-shadow: 0 0 0 3px #fff2d8; }
.auth-card-heading h2 { margin: 0; color: #182230; font: 800 30px/1.2 Manrope, sans-serif; letter-spacing: -.7px; }.auth-card-heading p { margin: 9px 0 0; color: var(--muted); font-size: 19px; line-height: 1.5; }
.auth-mode-switch { display: grid; grid-template-columns: 1fr 1fr; gap: 4px; margin: 29px 0 24px; padding: 4px; border-radius: 11px; background: #f0f3f8; }.auth-mode-switch[hidden] { display: none; }
.auth-mode-switch button { height: 42px; border: 0; border-radius: 8px; background: transparent; color: #667085; font-size: 18px; font-weight: 700; cursor: pointer; }.auth-mode-switch button.active { color: var(--primary); background: #fff; box-shadow: 0 2px 8px rgba(16,24,40,.08); }
.auth-form { display: grid; gap: 17px; }.auth-form[hidden] { display: none; }.auth-form label { display: grid; gap: 7px; color: #344054; font-size: 18px; font-weight: 700; }
.auth-form input { width: 100%; height: 48px; border: 1px solid #d9e0ea; border-radius: 9px; padding: 0 13px; outline: 0; background: #fff; color: #182230; font-size: 19px; }.auth-form input:focus { border-color: #8fb5f7; box-shadow: 0 0 0 4px #edf4ff; }
.auth-register-fields { display: grid; gap: 17px; }.auth-register-fields[hidden] { display: none; }
.auth-password-field { position: relative; display: block; }.auth-password-field input { padding-right: 58px; }.auth-password-field button { position: absolute; right: 8px; top: 7px; height: 34px; border: 0; border-radius: 7px; padding: 0 9px; background: #f4f6f9; color: #667085; font-size: 16px; font-weight: 700; cursor: pointer; }
.auth-forgot { justify-self: end; margin-top: -7px; border: 0; padding: 0; background: transparent; color: var(--primary); font-size: 17px; font-weight: 700; cursor: pointer; }
.auth-form-notice { margin: -3px 0 0; padding: 10px 12px; border-radius: 8px; background: #edf4ff; color: #315c9f; font-size: 17px; line-height: 1.45; }.auth-form-notice[hidden] { display: none; }
.auth-submit { height: 50px; border: 0; border-radius: 9px; background: var(--primary); color: #fff; box-shadow: 0 8px 18px rgba(39,105,232,.22); font-size: 19px; font-weight: 800; cursor: pointer; transition: .18s ease; }.auth-submit:hover { background: var(--primary-dark); transform: translateY(-1px); }
.google-auth-section { display: grid; gap: 10px; margin-top: 18px; }.google-auth-section[hidden] { display: none; }
.google-auth-divider { display: flex; align-items: center; gap: 12px; color: #98a2b3; font-size: 16px; font-weight: 700; text-transform: uppercase; letter-spacing: .06em; }.google-auth-divider::before,.google-auth-divider::after { content: ""; flex: 1; height: 1px; background: #e4e7ec; }.google-auth-divider span { white-space: nowrap; }
.google-auth-button { min-height: 44px; display: flex; justify-content: center; }.google-auth-button > div { width: 100% !important; }
.google-auth-placeholder { width: 100%; height: 44px; border: 1px solid #d0d5dd; border-radius: 7px; background: #fff; color: #344054; display: flex; align-items: center; justify-content: center; gap: 11px; font-size: 18px; font-weight: 700; }.google-auth-placeholder:disabled { cursor: not-allowed; color: #667085; background: #f8fafc; }.google-auth-placeholder svg { width: 19px; height: 19px; }
.google-auth-section small { min-height: 18px; color: #667085; font-size: 16px; line-height: 1.45; text-align: center; }
.auth-secondary-action { justify-self: center; border: 0; padding: 4px; background: transparent; color: var(--primary); font-size: 17px; font-weight: 750; cursor: pointer; }
.auth-dev-reset-link { display: inline-block; margin-top: 7px; color: var(--primary); font-weight: 800; }
.auth-prototype-note { margin: 22px 0 0; padding-top: 20px; border-top: 1px solid var(--line); color: #7b8798; font-size: 16px; line-height: 1.55; text-align: center; }

.platform-nav-item { margin-top: 9px; border-top: 1px solid var(--line) !important; border-radius: 0 0 9px 9px !important; padding-top: 17px !important; }.platform-nav-item[hidden] { display: none; }.platform-only-badge { margin-left: auto; padding: 3px 6px; border-radius: 5px; background: #e9efff; color: #315c9f; font-size: 13px; font-weight: 900; letter-spacing: .6px; }
.platform-view { padding-bottom: 55px; }.platform-heading { align-items: end; }.platform-kpi-grid { display: grid; grid-template-columns: repeat(4, minmax(0,1fr)); gap: 14px; margin-bottom: 20px; }.platform-kpi-grid article { padding: 20px; border: 1px solid var(--line); border-radius: 13px; background: #fff; box-shadow: var(--shadow-soft); }.platform-kpi-grid span,.platform-kpi-grid small { display: block; color: var(--muted); }.platform-kpi-grid span { font-size: 16px; font-weight: 800; text-transform: uppercase; letter-spacing: .35px; }.platform-kpi-grid strong { display: block; margin: 9px 0 4px; color: #172235; font: 800 29.5px/1 Manrope,sans-serif; }.platform-kpi-grid small { font-size: 16px; }.platform-kpi-grid .warning strong { color: #dc6803; }
.platform-list-card { border: 1px solid var(--line); border-radius: 14px; background: #fff; box-shadow: var(--shadow-soft); overflow: hidden; }.platform-toolbar { display: flex; align-items: end; justify-content: space-between; gap: 20px; padding: 18px 20px; border-bottom: 1px solid var(--line); }.platform-toolbar label { display: grid; gap: 6px; width: min(420px,100%); color: #475467; font-size: 16px; font-weight: 800; }.platform-toolbar input { height: 42px; border: 1px solid #d9e0ea; border-radius: 8px; padding: 0 12px; font-size: 18px; }.platform-toolbar p { margin: 0 0 10px; color: var(--muted); font-size: 16px; }.platform-table-wrap { overflow-x: auto; }.platform-table { width: 100%; border-collapse: collapse; min-width: 1050px; }.platform-table th { padding: 12px 14px; background: #f8fafc; color: #667085; font-size: 15.5px; text-align: left; text-transform: uppercase; letter-spacing: .3px; }.platform-table td { padding: 14px; border-top: 1px solid #eef1f5; color: #344054; font-size: 17px; vertical-align: middle; }.platform-table td strong,.platform-table td small { display: block; }.platform-table td small { margin-top: 3px; color: var(--muted); }.platform-table select { height: 35px; border: 1px solid #d9e0ea; border-radius: 7px; background: #fff; padding: 0 7px; color: #344054; font-weight: 700; }.platform-status { display: inline-flex; align-items: center; gap: 6px; padding: 5px 8px; border-radius: 99px; background: #eaf8ef; color: #18864b; font-size: 15.5px; font-weight: 800; }.platform-status.suspended { background: #fff0f0; color: #d92d20; }.platform-status.expired { background: #fff6e7; color: #b54708; }.platform-actions { display: flex; gap: 6px; white-space: nowrap; }.platform-actions button { height: 32px; border: 1px solid #d9e0ea; border-radius: 7px; padding: 0 9px; background: #fff; color: #344054; font-size: 15.5px; font-weight: 800; cursor: pointer; }.platform-actions button.danger { border-color: #f3c5c2; color: #d92d20; }.platform-actions button.success { border-color: #a9dfbe; color: #18864b; }
@media (max-width: 1050px) { .platform-kpi-grid { grid-template-columns: repeat(2,minmax(0,1fr)); } }
@media (max-width: 620px) { .platform-kpi-grid { grid-template-columns: 1fr; }.platform-toolbar { align-items: stretch; flex-direction: column; }.platform-toolbar p { margin: 0; } }

@media (max-width: 900px) {
  .auth-screen { grid-template-columns: 1fr; background: #fff; }
  .auth-showcase { min-height: auto; padding: 27px 28px 31px; }
  .auth-showcase-copy { margin: 38px 0 0; padding: 0; }.auth-showcase-copy h1 { max-width: 620px; font-size: clamp(29px, 7vw, 42px); }.auth-showcase-copy > p { font-size: 19px; }
  .auth-feature-list, .auth-showcase-foot { display: none; }
  .auth-access { padding: 38px 24px 50px; place-items: start center; }
}
@media (max-width: 520px) {
  .auth-showcase { padding: 22px 20px 25px; }.auth-showcase-copy { margin-top: 30px; }.auth-showcase-copy h1 { margin: 12px 0; font-size: 28.5px; letter-spacing: -.9px; }.auth-showcase-copy > p { font-size: 18px; line-height: 1.5; }
  .auth-access { padding: 30px 20px 42px; }.auth-card-heading h2 { font-size: 26px; }.prototype-badge { margin-bottom: 21px; }
}

.app-shell { display: grid; grid-template-columns: 248px minmax(0, 1fr); min-height: 100vh; }
.sidebar { position: sticky; top: 0; height: 100vh; background: #fff; border-right: 1px solid var(--line); padding: 25px 18px 18px; display: flex; flex-direction: column; z-index: 10; }
.brand { display: flex; align-items: center; gap: 11px; padding: 0 8px 27px; }
.brand-mark { width: 38px; height: 38px; border-radius: 11px; background: linear-gradient(145deg, #3478ef, #195dcc); display: grid; place-items: center; box-shadow: 0 7px 16px rgba(39, 105, 232, .22); }
.brand-mark svg { width: 22px; fill: none; stroke: #fff; stroke-width: 2.1; stroke-linecap: round; stroke-linejoin: round; }
.brand strong { display: block; font: 800 19.5px/1.2 Manrope, sans-serif; letter-spacing: -.3px; }
.brand span { display: block; color: #98a2b3; font-size: 15px; margin-top: 3px; }
.nav { display: grid; gap: 5px; }
.nav-item { border: 0; background: transparent; width: 100%; height: 45px; border-radius: 9px; display: grid; grid-template-columns: 27px 1fr auto; align-items: center; text-align: left; padding: 0 12px; color: #5e6b7d; font-weight: 600; font-size: 17px; cursor: pointer; transition: .18s ease; }
.nav-item:hover { background: #f6f8fc; color: var(--ink); }
.nav-item.active { background: #edf4ff; color: var(--primary); }
.nav-icon { width: 21px; height: 21px; display: grid; place-items: center; color: currentColor; }
.nav-icon svg { width: 19px; height: 19px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.nav-count { background: #dfeaff; color: var(--primary); border-radius: 99px; min-width: 22px; padding: 2px 6px; font-size: 15px; text-align: center; }
.sidebar-footer { margin-top: auto; }
.help-card { background: linear-gradient(150deg, #f2f6ff, #eef3ff); border: 1px solid #e4ebfb; border-radius: 13px; padding: 16px; margin: 0 3px 16px; }
.help-icon { width: 26px; height: 26px; display: grid; place-items: center; color: var(--primary); background: #fff; border: 1px solid #d9e5fb; border-radius: 8px; margin-bottom: 10px; font-weight: 700; }
.help-card strong { display: block; font-size: 16px; }
.help-card p { color: var(--muted); font-size: 15px; line-height: 1.45; margin: 5px 0 10px; }
.help-card button { border: 0; background: none; color: var(--primary); padding: 0; font-weight: 700; font-size: 15px; cursor: pointer; }
.support-options { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.support-options article { display: grid; grid-template-columns: 42px 1fr; align-items: start; gap: 12px; min-height: 170px; padding: 18px; border: 1px solid var(--line); border-radius: 11px; background: #fbfcfe; }
.support-options strong { display: block; margin: 2px 0 5px; font: 800 15.5px Manrope, sans-serif; }
.support-options p { min-height: 50px; margin: 0 0 16px; color: var(--muted); font-size: 13px; line-height: 1.55; }
.support-option-icon { display: grid; place-items: center; width: 38px; height: 38px; border-radius: 10px; background: var(--blue-soft); color: var(--primary); font-size: 19.5px; font-weight: 800; }
.support-option-icon.whatsapp { background: #e9f9ef; color: #168b4b; }
.support-option-icon svg { width: 20px; height: 20px; fill: currentColor; }
.support-options button { width: auto; }
.support-contact-button { background: #168b4b; }
.support-contact-button:hover { background: #11783f; }
@media (max-width: 760px) { .support-options { grid-template-columns: 1fr; } }
.profile { border: 0; border-top: 1px solid var(--line); background: none; width: 100%; display: grid; grid-template-columns: auto 1fr auto; align-items: center; gap: 9px; text-align: left; padding: 15px 8px 1px; cursor: pointer; }
.avatar { width: 33px; height: 33px; display: grid; place-items: center; border-radius: 50%; background: #e9f0fe; color: var(--primary); font-weight: 700; font-size: 15.5px; }
.profile strong, .profile small { display: block; }
.profile strong { font-size: 15.5px; }.profile small { font-size: 14.5px; color: #98a2b3; margin-top: 2px; }.chevron { color: #98a2b3; }
.profile-control { position: relative; }.profile-menu { position: absolute; left: -3px; right: -3px; bottom: 51px; overflow: hidden; border: 1px solid var(--line); border-radius: 12px; background: #fff; box-shadow: 0 16px 40px rgba(16,24,40,.16); z-index: 20; }.profile-menu[hidden] { display: none; }.profile-menu > div { display: flex; align-items: center; gap: 9px; padding: 12px; border-bottom: 1px solid var(--line); background: #fafcff; }.avatar.small { width: 29px; height: 29px; font-size: 14px; }.profile-menu p { margin: 0; }.profile-menu p strong, .profile-menu p small { display: block; }.profile-menu p strong { font-size: 14px; }.profile-menu p small { margin-top: 2px; color: var(--muted); font-size: 12px; }.profile-menu > button { width: 100%; display: grid; grid-template-columns: 24px 1fr; align-items: center; gap: 6px; border: 0; border-bottom: 1px solid #f0f2f5; background: #fff; padding: 10px 12px; text-align: left; cursor: pointer; }.profile-menu > button:hover { background: #f7faff; }.profile-menu > button > span { color: #667085; font-size: 17px; }.profile-menu > button.logout { border: 0; }.profile-menu > button.logout strong, .profile-menu > button.logout > span { color: var(--red); }

.main { min-width: 0; padding: 31px clamp(24px, 3vw, 48px) 50px; max-width: 1600px; width: 100%; margin: 0 auto; }
.support-mode-banner { position: sticky; top: 10px; z-index: 9; display: flex; align-items: center; justify-content: space-between; gap: 20px; margin: -17px 0 20px; padding: 11px 14px; border: 1px solid #f5c677; border-radius: 11px; background: #fff8e8; box-shadow: 0 8px 24px rgba(181,113,0,.12); color: #7a4b00; }.support-mode-banner[hidden] { display: none; }.support-mode-banner div { display: flex; align-items: baseline; flex-wrap: wrap; gap: 6px 10px; }.support-mode-banner span { font-size: 14px; font-weight: 900; letter-spacing: .7px; }.support-mode-banner strong { font-size: 17px; }.support-mode-banner small { color: #986a20; font-size: 15.5px; }.support-mode-banner button { height: 33px; border: 1px solid #e7ad4f; border-radius: 7px; padding: 0 11px; background: #fff; color: #7a4b00; font-size: 15.5px; font-weight: 800; cursor: pointer; white-space: nowrap; }
.topbar { display: flex; align-items: center; justify-content: space-between; gap: 18px; margin-bottom: 31px; }
.greeting h1 { font: 800 23.5px/1.2 Manrope, sans-serif; letter-spacing: -.55px; margin: 0 0 5px; }.greeting h1 span { font-size: 21px; }.greeting p { margin: 0; color: var(--muted); font-size: 16px; }
.top-actions { display: flex; align-items: center; gap: 11px; }.icon-button { position: relative; width: 39px; height: 39px; border-radius: 9px; border: 1px solid var(--line); background: #fff; cursor: pointer; }.notification-dot { position: absolute; width: 7px; height: 7px; border-radius: 50%; background: #f04438; right: 8px; top: 7px; border: 1.5px solid #fff; }
.primary-button, .secondary-button { border-radius: 8px; height: 39px; border: 0; padding: 0 15px; font-size: 15.5px; font-weight: 700; cursor: pointer; transition: .18s ease; white-space: nowrap; }
.primary-button { background: var(--primary); color: #fff; box-shadow: 0 3px 8px rgba(39, 105, 232, .16); }.primary-button:hover { background: var(--primary-dark); transform: translateY(-1px); }.primary-button span { font-size: 20px; vertical-align: -1px; margin-right: 3px; }.secondary-button { background: #fff; border: 1px solid var(--line); color: #475467; }.secondary-button:hover { background: #f8fafc; }.primary-button.soft { background: #edf4ff; color: var(--primary); box-shadow: none; }.primary-button.soft:hover { background: #dfeaff; }
.mobile-menu { display: none; }

.month-row { display: grid; grid-template-columns: minmax(220px, 1fr) minmax(360px, 430px); align-items: center; gap: 24px; margin-bottom: 22px; }
.eyebrow { color: #98a2b3; font-size: 13.5px; font-weight: 700; letter-spacing: .9px; }
.month-selector { display: flex; align-items: center; gap: 9px; margin-top: 4px; }.month-selector h2 { margin: 0; font: 800 21px Manrope, sans-serif; letter-spacing: -.4px; }.month-selector button { border: 0; background: none; color: #98a2b3; font-size: 23px; padding: 0 3px; cursor: pointer; }.month-selector button:hover { color: var(--primary); }
.month-financial-card { display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(135px, .85fr); align-items: center; gap: 16px; padding: 12px 14px; border: 1px solid var(--line); border-radius: 12px; background: #fff; box-shadow: 0 2px 8px rgba(16,24,40,.04); }
.collection-summary { min-width: 0; text-align: left; }.collection-summary > span, .collection-summary small { display: block; color: var(--muted); font-size: 14.5px; }.collection-summary strong { display: block; font: 800 21.5px Manrope, sans-serif; letter-spacing: -.45px; margin: 2px 0; }.collection-summary small { color: #98a2b3; font-size: 14px; }.collection-summary small span { display: inline; }
.home-collection-track { height: 4px; margin-top: 8px; overflow: hidden; border-radius: 99px; background: #e8edf4; }.home-collection-track i { display: block; width: 0; height: 100%; border-radius: inherit; background: var(--primary); transition: width .25s ease; }
.progress-ring { --size: 48px; width: var(--size); height: var(--size); border-radius: 50%; display: grid; place-items: center; background: conic-gradient(var(--primary) calc(var(--progress) * 1%), #e7ecf3 0); position: relative; }.progress-ring::before { content: ""; position: absolute; width: 37px; height: 37px; background: var(--canvas); border-radius: 50%; }.progress-ring span { position: relative; font-size: 14px; font-weight: 700; color: var(--primary); }

.status-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; margin-bottom: 17px; }
.status-card { min-width: 0; border: 1px solid var(--line); background: #fff; border-radius: 12px; padding: 15px 14px; display: grid; grid-template-columns: auto 1fr auto; align-items: center; text-align: left; box-shadow: 0 1px 2px rgba(16,24,40,.02); cursor: pointer; transition: .2s ease; }.status-card:hover { transform: translateY(-2px); box-shadow: var(--shadow); border-color: #d8e0eb; }.status-icon { width: 38px; height: 38px; border-radius: 10px; display: grid; place-items: center; margin-right: 12px; }.status-icon svg { width: 20px; height: 20px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }.neutral .status-icon { color: var(--orange); background: var(--orange-soft); }.info .status-icon { color: var(--primary); background: var(--blue-soft); }.success .status-icon { color: var(--green); background: var(--green-soft); }.danger .status-icon { color: var(--red); background: var(--red-soft); }.status-copy { min-width: 0; }.status-copy small { display: block; color: var(--muted); font-size: 14.5px; }.status-copy strong { font: 800 23.5px Manrope, sans-serif; letter-spacing: -.5px; margin-right: 6px; }.status-copy em { font-style: normal; color: #98a2b3; font-size: 13.5px; }.status-arrow { color: #b0b8c4; }

.workspace-card, .attention-card, .activity-card { background: #fff; border: 1px solid var(--line); border-radius: 13px; box-shadow: var(--shadow); }
.workspace-header { padding: 19px 20px 15px; display: flex; justify-content: space-between; align-items: center; gap: 20px; }.workspace-header h3, .section-title h3 { font: 800 18px Manrope, sans-serif; letter-spacing: -.25px; margin: 0 0 4px; }.workspace-header p { color: var(--muted); font-size: 14.5px; margin: 0; }.workspace-actions { display: flex; align-items: center; gap: 7px; }.search-box { height: 36px; width: min(235px, 19vw); border: 1px solid var(--line); border-radius: 8px; display: flex; align-items: center; gap: 7px; padding: 0 10px; color: #98a2b3; }.search-box input { width: 100%; border: 0; outline: 0; font-size: 15px; color: var(--ink); }.search-box input::placeholder { color: #98a2b3; }.workspace-actions .secondary-button, .workspace-actions .primary-button { height: 36px; font-size: 14.5px; padding: 0 11px; }
.filter-panel { border-top: 1px solid var(--line); padding: 11px 20px; display: flex; align-items: center; gap: 7px; background: #fbfcfe; }.filter-panel[hidden] { display: none; }.filter-panel span { color: var(--muted); font-size: 15px; margin-right: 4px; }.filter-chip { border: 1px solid var(--line); background: #fff; border-radius: 99px; padding: 5px 10px; font-size: 14px; color: var(--muted); cursor: pointer; }.filter-chip.active { color: var(--primary); border-color: #bcd1fa; background: #edf4ff; font-weight: 700; }#activeFilterBadge:not(:empty) { display: inline-grid; place-items: center; margin-left: 4px; border-radius: 50%; width: 15px; height: 15px; background: var(--primary); color: #fff; font-size: 13px; }
.table-wrap { overflow-x: auto; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }table { width: 100%; border-collapse: collapse; min-width: 900px; }th { background: #fbfcfe; color: #8b96a7; font-size: 12.5px; letter-spacing: .45px; font-weight: 700; text-align: left; height: 34px; padding: 0 13px; white-space: nowrap; }th:first-child, td:first-child { padding-left: 20px; }td { height: 58px; border-top: 1px solid #f0f2f5; padding: 0 13px; font-size: 14.5px; color: #475467; white-space: nowrap; }tbody tr { transition: background .15s ease; }tbody tr:hover { background: #fafcff; }.status-pill { border-radius: 99px; display: inline-flex; align-items: center; gap: 5px; padding: 5px 8px; font-size: 13px; font-weight: 700; }.status-pill::before { content: ""; width: 5px; height: 5px; border-radius: 50%; background: currentColor; }.status-pill.a-notificar { color: var(--orange); background: var(--orange-soft); }.status-pill.notificado { color: var(--primary); background: var(--blue-soft); }.status-pill.pagado { color: var(--green); background: var(--green-soft); }.status-pill.vencido { color: var(--red); background: var(--red-soft); }.tenant-cell { display: flex; align-items: center; gap: 8px; }.tenant-avatar { width: 28px; height: 28px; display: grid; place-items: center; border-radius: 50%; font-weight: 700; font-size: 13px; color: #506079; background: #eef1f6; }.tenant-cell strong, .property-cell strong { display: block; font-size: 14.5px; color: #344054; }.tenant-cell small, .property-cell small { display: block; color: #98a2b3; font-size: 13px; margin-top: 2px; }.amount { color: #344054; font-weight: 700; }.overdue-date { color: var(--red); font-weight: 600; }.activity-note { color: #7b8798; font-size: 13.5px; }.row-actions { display: flex; justify-content: flex-end; align-items: center; gap: 6px; }.contract-row-actions { min-width: 174px; }.contract-quick-channel { width: 28px; height: 28px; display: grid; place-items: center; border: 1px solid transparent; border-radius: 7px; background: #fff; color: #7b8798; font-size: 15.5px; font-weight: 800; cursor: pointer; transition: .15s ease; }.contract-quick-channel.whatsapp { color: #168c55; background: #f3fbf7; border-color: #d9f1e4; }.contract-quick-channel.email { color: var(--primary); background: #f6f9ff; border-color: #d9e7ff; }.contract-quick-channel.copy, .contract-quick-channel.receipt { border-color: #e3e8ef; }.contract-quick-channel.menu { border-color: transparent; background: #f5f7fa; font-size: 19px; }.contract-quick-channel:hover { filter: brightness(.96); transform: translateY(-1px); }.contract-quick-menu { position: fixed; z-index: 80; width: 145px; padding: 5px; border: 1px solid var(--line); border-radius: 9px; background: #fff; box-shadow: 0 12px 28px rgba(16,24,40,.16); }.contract-quick-menu button { width: 100%; display: flex; align-items: center; gap: 8px; padding: 9px 10px; border: 0; border-radius: 6px; background: transparent; color: #344054; font: 700 13.5px Manrope, sans-serif; text-align: left; cursor: pointer; }.contract-quick-menu button:hover { background: #f5f7fa; }.contract-quick-menu span { width: 16px; color: var(--primary); text-align: center; }.row-button { min-width: 66px; border: 1px solid var(--line); background: #fff; color: #475467; height: 27px; padding: 0 8px; border-radius: 6px; font-size: 13.5px; font-weight: 700; cursor: pointer; }.row-button.primary { color: var(--primary); background: var(--blue-soft); border-color: #d9e7ff; }.row-button.danger { color: var(--red); background: var(--red-soft); border-color: #f9d9dc; }.row-button:hover { filter: brightness(.97); }.more-button { width: 26px; border: 0; background: none; color: #98a2b3; cursor: pointer; }.empty-state { padding: 45px; text-align: center; }.empty-state span { display: block; font-size: 25px; color: #98a2b3; }.empty-state strong { display: block; font-size: 17px; margin: 8px 0 3px; }.empty-state p { margin: 0; color: var(--muted); font-size: 15px; }
.table-footer { padding: 11px 20px; display: flex; justify-content: space-between; align-items: center; color: #98a2b3; font-size: 13.5px; }.pagination { display: flex; gap: 3px; }.pagination button { min-width: 24px; height: 24px; padding: 0 5px; border: 1px solid transparent; border-radius: 6px; background: transparent; color: #667085; font-size: 13.5px; cursor: pointer; }.pagination button.active { border-color: #c9d9f7; background: #edf4ff; color: var(--primary); font-weight: 700; }.pagination button:disabled { opacity: .35; }

.bottom-grid { display: grid; grid-template-columns: 1.35fr 1fr; gap: 15px; margin-top: 17px; }.attention-card, .activity-card { padding: 17px 19px 4px; }.section-title { display: flex; justify-content: space-between; align-items: center; margin-bottom: 9px; }.section-title > div { display: flex; align-items: center; gap: 8px; }.section-title h3 { margin: 0; }.section-title > button { border: 0; background: none; color: var(--primary); font-size: 13.5px; font-weight: 700; cursor: pointer; }.mini-icon { width: 26px; height: 26px; display: grid; place-items: center; border-radius: 7px; font-size: 16px; }.mini-icon.purple { background: #f1edff; color: var(--purple); }.mini-icon.blue { background: var(--blue-soft); color: var(--primary); }.adjustment-item { display: grid; grid-template-columns: auto minmax(140px, 1fr) auto auto; align-items: center; gap: 11px; border-top: 1px solid #f0f2f5; padding: 11px 0; }.date-box { width: 36px; height: 39px; border-radius: 8px; background: #f5f2ff; color: var(--purple); display: grid; place-content: center; text-align: center; }.date-box strong { font: 800 17px/1 Manrope, sans-serif; }.date-box span { font-size: 12px; font-weight: 700; margin-top: 2px; }.adjustment-copy strong, .adjustment-copy span { display: block; }.adjustment-copy strong { font-size: 14px; }.adjustment-copy span { color: #98a2b3; font-size: 13px; margin-top: 3px; }.amount-change { text-align: right; }.amount-change span { color: #98a2b3; text-decoration: line-through; font-size: 12.5px; }.amount-change strong { display: block; font-size: 14px; margin: 1px 0; }.amount-change em { font-style: normal; color: var(--green); font-size: 12.5px; font-weight: 700; }.amount-change em.waiting { color: var(--orange); }.review-button { border: 1px solid var(--line); background: #fff; border-radius: 6px; height: 27px; padding: 0 9px; color: #5c697a; font-size: 13px; font-weight: 700; cursor: pointer; }.activity-item { display: grid; grid-template-columns: auto 1fr auto; align-items: center; gap: 9px; border-top: 1px solid #f0f2f5; padding: 10px 0; }.activity-icon { width: 28px; height: 28px; display: grid; place-items: center; border-radius: 50%; font-size: 14px; font-weight: 700; }.activity-icon.success { background: var(--green-soft); color: var(--green); }.activity-icon.info { background: var(--blue-soft); color: var(--primary); }.activity-icon.purple { background: #f1edff; color: var(--purple); }.activity-item strong { font-size: 14px; }.activity-item p { color: #98a2b3; font-size: 13px; margin: 2px 0 0; }.activity-item time { color: #98a2b3; font-size: 12.5px; }

.modal-backdrop { position: fixed; inset: 0; background: rgba(12, 22, 37, .46); backdrop-filter: blur(3px); display: grid; place-items: center; padding: 20px; z-index: 50; }.modal-backdrop[hidden] { display: none; }.modal { width: min(440px, 100%); position: relative; background: #fff; border-radius: 17px; padding: 27px; box-shadow: 0 24px 70px rgba(18, 34, 57, .24); }.modal-close { position: absolute; right: 15px; top: 14px; border: 0; background: transparent; color: #98a2b3; font-size: 23.5px; cursor: pointer; }.modal-icon { width: 42px; height: 42px; display: grid; place-items: center; border-radius: 11px; background: var(--blue-soft); color: var(--primary); font-size: 21px; }.modal h2 { font: 800 21.5px Manrope, sans-serif; margin: 16px 0 5px; }.modal > p { color: var(--muted); font-size: 15.5px; line-height: 1.5; margin: 0; }.upload-zone { position: relative; margin: 20px 0; border: 1.5px dashed #cbd6e5; border-radius: 12px; padding: 26px; display: grid; justify-items: center; background: #fafcff; cursor: pointer; }.upload-zone:hover { border-color: var(--primary); background: #f5f9ff; }.upload-zone > span { font-size: 24.5px; color: var(--primary); }.upload-zone strong { font-size: 15.5px; margin: 8px 0 3px; }.upload-zone small { color: #98a2b3; font-size: 14px; }.upload-zone input { position: absolute; inset: 0; opacity: 0; cursor: pointer; }.modal-actions { display: flex; justify-content: flex-end; gap: 8px; }.toast { position: fixed; right: 25px; bottom: 25px; display: grid; grid-template-columns: auto 1fr; gap: 10px; align-items: center; min-width: 280px; padding: 13px 16px; background: #152536; color: #fff; border-radius: 11px; box-shadow: 0 16px 40px rgba(0,0,0,.2); transform: translateY(130%); opacity: 0; transition: .3s ease; z-index: 80; }.toast.show { transform: translateY(0); opacity: 1; }.toast > span { width: 27px; height: 27px; display: grid; place-items: center; background: var(--green); border-radius: 50%; font-size: 15.5px; }.toast strong { font-size: 15px; }.toast p { color: #b8c2cf; font-size: 13.5px; margin: 2px 0 0; }

@media (max-width: 1120px) { .status-grid { grid-template-columns: repeat(2, 1fr); }.bottom-grid { grid-template-columns: 1fr; }.workspace-header { align-items: flex-start; flex-direction: column; }.workspace-actions { width: 100%; }.search-box { width: 100%; flex: 1; } }
@media (max-width: 760px) { .app-shell { display: block; }.sidebar { position: fixed; transform: translateX(-102%); transition: .25s ease; width: 248px; box-shadow: 15px 0 40px rgba(16,24,40,.14); }.sidebar.open { transform: translateX(0); }.main { padding: 22px 16px 40px; }.mobile-menu { display: grid; place-items: center; width: 38px; height: 38px; border: 1px solid var(--line); background: #fff; border-radius: 9px; }.greeting { margin-right: auto; }.greeting h1 { font-size: 20px; }.greeting p { display: none; }.top-actions .icon-button { display: none; }.top-actions .primary-button { font-size: 0; width: 39px; padding: 0; }.top-actions .primary-button span { font-size: 22.5px; margin: 0; }.month-row { grid-template-columns: 1fr; }.month-financial-card { display: none; }.status-grid { grid-template-columns: 1fr 1fr; gap: 8px; }.status-card { padding: 12px 10px; }.status-icon { width: 32px; height: 32px; margin-right: 8px; }.status-copy strong { font-size: 21px; }.status-copy em, .status-arrow { display: none; }.workspace-actions { display: grid; grid-template-columns: 1fr auto; }.search-box { grid-column: 1 / -1; width: 100%; }.primary-button.soft { grid-column: 1 / -1; }.table-footer { flex-direction: column; gap: 10px; }.adjustment-item { grid-template-columns: auto 1fr auto; }.amount-change { display: none; } }
@media (max-width: 760px) { .support-mode-banner { align-items: stretch; flex-direction: column; margin-top: -8px; }.support-mode-banner button { width: 100%; } }
@media (max-width: 430px) { .status-grid { grid-template-columns: 1fr; }.filter-panel { overflow-x: auto; }.adjustment-item { grid-template-columns: auto 1fr; }.review-button { display: none; } }

/* Navegación móvil y métricas económicas */
.sidebar-close { display: none; margin-left: auto; width: 31px; height: 31px; border: 1px solid var(--line); border-radius: 8px; background: #f8fafc; color: #667085; font-size: 19.5px; cursor: pointer; }
.sidebar-overlay { display: none; position: fixed; inset: 0; border: 0; background: rgba(16, 24, 40, .34); backdrop-filter: blur(2px); z-index: 9; }
.new-contract-control { position: relative; }
.new-contract-menu { position: absolute; right: 0; top: calc(100% + 8px); width: 235px; padding: 6px; border: 1px solid var(--line); border-radius: 11px; background: #fff; box-shadow: 0 16px 38px rgba(25, 39, 61, .16); z-index: 30; animation: menuIn .16s ease; }
.new-contract-menu[hidden] { display: none; }
.new-contract-menu button { width: 100%; border: 0; border-radius: 8px; background: #fff; padding: 10px; display: grid; grid-template-columns: auto 1fr auto; gap: 9px; align-items: center; text-align: left; cursor: pointer; }
.new-contract-menu button:hover { background: #f4f7fc; }
.new-contract-menu button > span { width: 30px; height: 30px; display: grid; place-items: center; border-radius: 8px; background: var(--blue-soft); color: var(--primary); }
.new-contract-menu strong, .new-contract-menu small { display: block; }.new-contract-menu strong { font-size: 14.5px; }.new-contract-menu small { margin-top: 2px; color: #98a2b3; font-size: 13px; }.new-contract-menu em { color: #98a2b3; font-style: normal; }
@keyframes menuIn { from { opacity: 0; transform: translateY(-4px); } to { opacity: 1; transform: none; } }
.new-contract-control > .primary-button::after { content: attr(data-tooltip); position: absolute; right: 0; top: calc(100% + 7px); width: max-content; padding: 6px 8px; border-radius: 6px; background: #182230; color: #fff; font-size: 13px; font-weight: 600; pointer-events: none; opacity: 0; transform: translateY(-3px); transition: .15s ease; z-index: 29; }
.new-contract-control > .primary-button:hover::after { opacity: 1; transform: none; }
.new-contract-control:has(.new-contract-menu:not([hidden])) > .primary-button::after { display: none; }
.month-row { grid-template-columns: minmax(220px, 1fr) minmax(360px, 430px); }
.fee-summary { min-width: 0; border-left: 1px solid var(--line); padding-left: 16px; }
.fee-summary span, .fee-summary small { display: block; color: var(--muted); font-size: 14.5px; }
.fee-summary strong { display: block; font: 800 20px Manrope, sans-serif; letter-spacing: -.35px; margin: 3px 0; color: var(--green); }
.fee-summary small { color: #98a2b3; font-size: 14px; }
.progress-wrap { display: grid; justify-items: center; gap: 4px; }
.progress-wrap small { font-size: 12.5px; color: #98a2b3; white-space: nowrap; }

/* Asistente de carga de contratos */
.contract-modal { width: min(760px, calc(100vw - 32px)); max-height: min(850px, calc(100vh - 34px)); overflow-y: auto; padding: 26px 29px 22px; }
.wizard-heading { display: flex; gap: 13px; align-items: flex-start; padding-right: 32px; }
.wizard-heading .modal-icon { flex: 0 0 auto; }
.wizard-heading h2 { margin: 3px 0 3px; }
.wizard-heading p { margin: 0; color: var(--muted); font-size: 15px; }
.wizard-progress { position: relative; display: grid; grid-template-columns: repeat(4, 1fr); margin: 24px 4px 26px; }
.wizard-progress-line { position: absolute; height: 2px; top: 13px; left: 12.5%; right: 12.5%; background: #e6eaf0; }
.wizard-progress-line span { display: block; height: 100%; width: 0; background: var(--primary); transition: width .25s ease; }
.wizard-marker { position: relative; display: grid; justify-items: center; gap: 5px; border: 0; padding: 0; background: none; color: #98a2b3; font-size: 13px; z-index: 1; cursor: default; }
.wizard-marker > span { width: 27px; height: 27px; border-radius: 50%; display: grid; place-items: center; background: #fff; border: 1.5px solid #dfe4eb; font-size: 14px; font-weight: 700; transition: .2s ease; }
.wizard-marker.active, .wizard-marker.complete { color: var(--primary); font-weight: 700; }
.wizard-marker.active > span { border-color: var(--primary); color: #fff; background: var(--primary); box-shadow: 0 0 0 4px #edf4ff; }
.wizard-marker.complete > span { border-color: var(--primary); color: var(--primary); background: #edf4ff; }
.wizard-step { display: none; min-height: 310px; }
.wizard-step.active { display: block; animation: stepIn .22s ease; }
.inline-create-note { display: flex; gap: 10px; align-items: flex-start; margin: 0 0 12px; padding: 10px 12px; border: 1px solid #cfe0fb; border-radius: 10px; background: #f4f8ff; color: #48617f; }
.inline-create-note > span { display: grid; place-items: center; flex: 0 0 24px; height: 24px; border-radius: 7px; background: #dceaff; color: #1874d1; font-weight: 800; }
.inline-create-note p { margin: 0; font-size: 14px; line-height: 1.45; }
.inline-create-note strong { display: block; color: #183b63; font-size: 14.5px; }
.field-label-row { display: flex; align-items: center; justify-content: space-between; gap: 10px; }
.field-label-row button { border: 0; padding: 0; background: transparent; color: #1677d2; font: inherit; font-weight: 750; cursor: pointer; }
.quick-property-fields { padding: 12px; border: 1px solid #cfe0fb; border-radius: 11px; background: #f8fbff; }
.quick-property-heading { display: flex; align-items: flex-start; justify-content: space-between; gap: 12px; margin-bottom: 9px; }
.quick-property-heading strong, .quick-property-heading small { display: block; }
.quick-property-heading strong { color: #183b63; font-size: 15px; }
.quick-property-heading small { margin-top: 2px; color: #718198; font-size: 13px; }
.quick-property-heading button { border: 0; background: transparent; color: #667085; font-size: 13px; font-weight: 750; cursor: pointer; }
.completion-badge { display: inline-flex; margin-top: 4px; padding: 3px 6px; border-radius: 99px; background: #fff4e7; color: #b45f06; font-size: 12px; font-weight: 750; }
@keyframes stepIn { from { opacity: 0; transform: translateX(7px); } to { opacity: 1; transform: none; } }
.method-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.method-card { position: relative; border: 1.5px solid var(--line); border-radius: 12px; background: #fff; text-align: left; padding: 17px; cursor: pointer; transition: .18s ease; }
.method-card:hover { border-color: #b8cdf6; transform: translateY(-1px); }
.method-card.selected { border-color: var(--primary); background: #f7faff; box-shadow: 0 0 0 3px #edf4ff; }
.method-icon { width: 34px; height: 34px; border-radius: 9px; display: grid; place-items: center; font-size: 19px; margin-bottom: 11px; }
.method-icon.ai { color: var(--purple); background: #f2edff; }.method-icon.manual { color: var(--primary); background: var(--blue-soft); }
.method-card strong { display: block; font-size: 15.5px; }.method-card p { margin: 5px 0 12px; color: var(--muted); font-size: 14px; line-height: 1.4; }.method-card em { color: var(--primary); background: var(--blue-soft); border-radius: 99px; padding: 4px 7px; font-style: normal; font-size: 12.5px; font-weight: 700; }
.contract-modal .upload-zone { padding: 20px; margin: 15px 0 11px; }
.contract-modal .upload-zone[hidden], .contract-modal .ai-note[hidden] { display: none; }
.ai-note, .calculation-note { display: flex; align-items: flex-start; gap: 9px; border-radius: 9px; background: #f6f2ff; color: #5d4a87; padding: 10px 12px; }
.ai-note > span, .calculation-note > span { width: 20px; height: 20px; flex: 0 0 auto; border-radius: 6px; background: #fff; display: grid; place-items: center; color: var(--purple); font-size: 14px; }
.ai-note p, .calculation-note p { margin: 0; font-size: 13.5px; line-height: 1.45; }
.step-intro { display: flex; justify-content: space-between; align-items: flex-start; margin-bottom: 14px; }.step-intro h3 { margin: 0 0 3px; font: 800 18px Manrope, sans-serif; }.step-intro p { margin: 0; color: var(--muted); font-size: 14px; }.ai-complete { padding: 5px 8px; border-radius: 99px; background: #f2edff; color: var(--purple); font-size: 12.5px; font-weight: 700; }
.form-section { border: 1px solid var(--line); border-radius: 11px; padding: 15px; margin-bottom: 11px; }
.existing-contract-toggle { display: flex; align-items: flex-start; gap: 10px; margin-bottom: 11px; padding: 12px 14px; border: 1px solid #d7e4f8; border-radius: 10px; background: #f7faff; cursor: pointer; }.existing-contract-toggle input { margin-top: 2px; accent-color: var(--primary); }.existing-contract-toggle span, .existing-contract-toggle strong, .existing-contract-toggle small { display: block; }.existing-contract-toggle strong { color: #344054; font-size: 14px; }.existing-contract-toggle small { margin-top: 3px; color: #667085; font-size: 12.5px; line-height: 1.4; }.existing-contract-fields { margin-top: 15px; padding-top: 14px; border-top: 1px dashed #d8e1ed; }.existing-contract-heading { display: flex; align-items: baseline; justify-content: space-between; gap: 12px; margin-bottom: 10px; }.existing-contract-heading strong { color: #344054; font-size: 14px; }.existing-contract-heading span { color: #7b8798; font-size: 12.5px; }
.form-section-title { display: flex; align-items: center; gap: 8px; margin-bottom: 12px; }.form-section-title strong { font-size: 15px; }.form-section-title button { margin-left: auto; border: 0; background: none; color: var(--red); font-size: 13px; cursor: pointer; }.person-number { width: 21px; height: 21px; border-radius: 6px; display: grid; place-items: center; background: var(--blue-soft); color: var(--primary); font-size: 13px; font-weight: 700; }
.person-number.owner { background: #f2edff; color: var(--purple); }
.form-grid { display: grid; grid-template-columns: 1fr 1fr 1fr; gap: 10px; }.form-grid label, .fee-fields label { color: #475467; font-size: 13px; font-weight: 700; }.form-grid label.wide { grid-column: span 2; }.form-grid label.full { grid-column: 1 / -1; }
.form-grid > .full { grid-column: 1 / -1; }.contract-property-field label { color: #475467; font-size: 13px; font-weight: 700; }.contract-property-field > input { width: 100%; height: 35px; margin-top: 5px; border: 1px solid #dfe4eb; border-radius: 7px; outline: 0; padding: 0 10px; background: #fff; color: var(--ink); font-size: 14.5px; font-weight: 500; }.contract-property-field > input:focus { border-color: var(--primary); box-shadow: 0 0 0 3px #edf4ff; }
.form-grid input, .form-grid select, .fee-fields input, .fee-fields select { width: 100%; height: 35px; margin-top: 5px; border: 1px solid #dfe4eb; border-radius: 7px; outline: 0; padding: 0 10px; background: #fff; color: var(--ink); font-size: 14.5px; font-weight: 500; transition: border-color .15s ease, box-shadow .15s ease; }
.form-grid input:focus, .form-grid select:focus, .fee-fields input:focus, .fee-fields select:focus { border-color: var(--primary); box-shadow: 0 0 0 3px #edf4ff; }
.add-person-button { border: 0; background: none; color: var(--primary); font-size: 13.5px; font-weight: 700; padding: 1px 0 13px; cursor: pointer; }.optional-person[hidden] { display: none; }
.compact-file-section { display: flex; align-items: center; justify-content: space-between; gap: 15px; }.compact-file-section > div strong { font-size: 14px; }.compact-file-section > div p { color: var(--muted); font-size: 13px; margin: 3px 0 0; }.compact-file { position: relative; flex: 0 0 auto; }.compact-file input { position: absolute; opacity: 0; inset: 0; cursor: pointer; }.compact-file span { height: 31px; display: flex; align-items: center; padding: 0 10px; border: 1px solid #d8e0eb; border-radius: 7px; color: var(--primary); background: #f8fbff; font-size: 13px; font-weight: 700; cursor: pointer; }
.subsection-heading { display: flex; justify-content: space-between; align-items: center; margin: 14px 0 8px; }.subsection-heading h4 { margin: 0 0 2px; font-size: 15px; }.subsection-heading p { margin: 0; font-size: 13px; color: var(--muted); }.subsection-heading button { height: 27px; border: 1px solid #cfe0fd; border-radius: 6px; background: var(--blue-soft); color: var(--primary); font-size: 13px; font-weight: 700; cursor: pointer; }
.contract-subheading { margin-top: 17px; }.penalty-section { background: #fffdf9; border-color: #f1e7d6; }
.guarantor-card { display: grid; grid-template-columns: 1fr .6fr .8fr auto; gap: 8px; align-items: end; border-top: 1px solid #eef1f5; padding: 10px 0; }.guarantor-card label { font-size: 12.5px; font-weight: 700; color: #667085; }.guarantor-card input { display: block; width: 100%; height: 32px; margin-top: 4px; border: 1px solid #dfe4eb; border-radius: 7px; padding: 0 9px; font-size: 14px; outline: none; }.guarantor-card button { width: 29px; height: 29px; border: 0; border-radius: 7px; color: var(--red); background: var(--red-soft); cursor: pointer; }
.input-prefix, .input-suffix { position: relative; }.input-prefix > span { position: absolute; left: 10px; top: 15px; color: #98a2b3; font-size: 14px; z-index: 1; }.input-prefix input { padding-left: 22px; }.calculation-note { background: #eef6ff; color: #40628e; margin-top: 12px; }.calculation-note > span { color: var(--primary); border-radius: 50%; }
.fee-toggle-card { display: flex; justify-content: space-between; align-items: center; border: 1px solid var(--line); border-radius: 11px; padding: 13px 15px; }.fee-toggle-card > div { display: flex; align-items: center; gap: 10px; }.fee-icon { width: 34px; height: 34px; display: grid; place-items: center; border-radius: 9px; background: var(--green-soft); color: var(--green); font-weight: 800; }.fee-toggle-card strong { font-size: 15px; }.fee-toggle-card p { font-size: 13px; color: var(--muted); margin: 3px 0 0; }.switch { position: relative; }.switch input { position: absolute; opacity: 0; }.switch span { width: 37px; height: 21px; display: block; border-radius: 99px; background: #cfd5df; cursor: pointer; transition: .2s; }.switch span::after { content: ""; display: block; width: 17px; height: 17px; margin: 2px; border-radius: 50%; background: #fff; box-shadow: 0 1px 3px rgba(0,0,0,.16); transition: .2s; }.switch input:checked + span { background: var(--primary); }.switch input:checked + span::after { transform: translateX(16px); }
.fee-fields { display: grid; grid-template-columns: 1fr 1fr; gap: 11px; margin: 13px 0; }.input-suffix span { position: absolute; right: 11px; top: 15px; font-size: 14px; color: #667085; }.input-suffix input { padding-right: 25px; }.fee-fields.disabled { opacity: .45; pointer-events: none; }
.fee-preview { display: grid; grid-template-columns: 1fr auto 1fr auto 1.35fr; align-items: center; gap: 10px; padding: 13px 15px; border: 1px solid #d7e4fb; border-radius: 11px; background: #f7faff; }.fee-preview div span, .fee-preview div small { display: block; color: var(--muted); font-size: 12.5px; }.fee-preview div strong { display: block; font: 800 16px Manrope, sans-serif; margin-top: 3px; }.preview-operator { color: #98a2b3; }.fee-preview .preview-result { border-left: 1px solid #dbe6f7; padding-left: 13px; }.fee-preview .preview-result strong { color: var(--green); font-size: 15px; }.contract-summary { margin-top: 13px; padding-top: 13px; border-top: 1px solid var(--line); }.contract-summary h4 { margin: 0 0 9px; font-size: 14px; }.contract-summary > div { display: grid; grid-template-columns: 1fr 1.5fr 1fr; gap: 10px; }.contract-summary span { color: var(--muted); font-size: 12.5px; }.contract-summary strong { display: block; color: #344054; font-size: 13.5px; margin-top: 3px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.split-payment-note { display: grid; grid-template-columns: auto 1fr auto; align-items: center; gap: 9px; margin-top: 11px; padding: 10px 12px; border: 1px solid #dce8f9; border-radius: 9px; background: #fbfdff; }.split-payment-note > span { width: 27px; height: 27px; display: grid; place-items: center; border-radius: 7px; color: var(--primary); background: var(--blue-soft); }.split-payment-note strong { font-size: 13.5px; }.split-payment-note p { margin: 2px 0 0; color: var(--muted); font-size: 12.5px; }.split-payment-note button { border: 0; background: none; color: var(--primary); font-size: 12.5px; font-weight: 700; cursor: pointer; }.contract-summary > div { grid-template-columns: 1fr 1fr 1.4fr 1fr; }
.wizard-actions { margin-top: 20px; padding-top: 16px; border-top: 1px solid var(--line); justify-content: space-between; }.wizard-actions > div { display: flex; gap: 7px; }.wizard-actions button[hidden] { display: none; }.wizard-actions .primary-button:disabled { opacity: .45; cursor: not-allowed; transform: none; }

@media (max-width: 1120px) { .month-row { grid-template-columns: minmax(180px, 1fr) minmax(340px, 390px); } }
@media (max-width: 760px) {
  .sidebar-close { display: grid; place-items: center; }.sidebar-overlay:not([hidden]) { display: block; }.brand { padding-right: 0; }
  .month-row { grid-template-columns: 1fr; }.progress-wrap small { display: block; }.contract-modal { padding: 23px 18px 17px; max-height: calc(100vh - 18px); width: calc(100vw - 18px); }.wizard-progress { margin-left: -7px; margin-right: -7px; }.wizard-marker small { font-size: 12px; }.method-grid { grid-template-columns: 1fr; }.form-grid { grid-template-columns: 1fr 1fr; }.form-grid label.wide { grid-column: span 1; }.guarantor-card { grid-template-columns: 1fr 1fr auto; }.guarantor-card label:first-child { grid-column: 1 / -1; }.fee-preview { grid-template-columns: 1fr auto 1fr; }.fee-preview .preview-result { grid-column: 1 / -1; border-left: 0; border-top: 1px solid #dbe6f7; padding: 9px 0 0; }.fee-preview > .preview-operator:nth-of-type(2) { display: none; }.contract-summary > div { grid-template-columns: 1fr; }.wizard-step { min-height: 0; }
}
@media (max-width: 430px) { .form-grid, .fee-fields { grid-template-columns: 1fr; }.form-grid label.wide { grid-column: auto; }.wizard-heading .modal-icon { display: none; }.wizard-heading { padding-right: 20px; }.wizard-marker small { max-width: 58px; text-align: center; } }

/* Vistas de contratos y estadísticas */
.view-page[hidden] { display: none; }
.page-heading-row { display: flex; justify-content: space-between; align-items: flex-end; gap: 20px; margin: 6px 0 22px; }
.page-heading-row h2 { margin: 4px 0 4px; font: 800 25px Manrope, sans-serif; letter-spacing: -.6px; }.page-heading-row p { margin: 0; color: var(--muted); font-size: 15px; }
.contracts-workspace .workspace-header { padding: 20px; }.contracts-search { width: 250px; }.contracts-table { min-width: 950px; }.contracts-table td:first-child { padding-left: 20px; }.contract-main strong, .contract-main small { display: block; }.contract-main strong { font-size: 14.5px; color: #344054; }.contract-main small { color: #98a2b3; font-size: 13px; margin-top: 2px; }.contract-adjustment { display: inline-flex; padding: 4px 7px; border-radius: 99px; color: var(--purple); background: #f2edff; font-size: 13px; font-weight: 700; }.contract-fee { color: var(--green); font-weight: 700; }
.contracts-table tbody tr[data-contract-row] { cursor: pointer; }.contracts-table tbody tr[data-contract-row]:hover { background: #f4f8ff; }.contracts-table tbody tr[data-contract-row]:focus-visible { outline: 2px solid var(--primary); outline-offset: -2px; background: #f4f8ff; }
.month-selector.compact { border: 1px solid var(--line); border-radius: 9px; background: #fff; padding: 7px 9px; margin: 0; }.month-selector.compact h2 { font-size: 16px; min-width: 92px; text-align: center; }
.metric-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; margin-bottom: 14px; }.metric-grid article { position: relative; overflow: hidden; min-height: 100px; padding: 17px; border: 1px solid var(--line); border-radius: 12px; background: #fff; box-shadow: var(--shadow); }.metric-grid article::after { content: ""; position: absolute; width: 62px; height: 62px; border-radius: 50%; right: -22px; top: -22px; background: #edf4ff; }.metric-grid article.positive::after { background: var(--green-soft); }.metric-grid article.warning::after { background: var(--orange-soft); }.metric-grid article.purple::after { background: #f2edff; }.metric-grid span, .metric-grid small { display: block; color: var(--muted); font-size: 13.5px; }.metric-grid strong { display: block; margin: 8px 0 4px; font: 800 21px Manrope, sans-serif; letter-spacing: -.35px; }.metric-grid small { color: #98a2b3; font-size: 13px; }.metric-grid .positive strong { color: var(--green); }.metric-grid .warning strong { color: var(--orange); }.metric-grid .purple strong { color: var(--purple); }
.money-explanation { display: flex; align-items: center; gap: 8px; margin: -3px 0 14px; padding: 9px 12px; border: 1px solid #dfe8f7; border-radius: 9px; background: #f8fbff; color: #53627a; }.money-explanation > span { width: 19px; height: 19px; flex: 0 0 auto; display: grid; place-items: center; border-radius: 50%; background: var(--blue-soft); color: var(--primary); font-size: 13px; font-weight: 700; }.money-explanation p { margin: 0; font-size: 13px; line-height: 1.4; }
.statistics-grid { display: grid; grid-template-columns: .85fr 1.15fr; gap: 14px; margin-bottom: 14px; }.statistics-grid.lower { grid-template-columns: 1.25fr .75fr; }.chart-card { min-width: 0; padding: 18px; border: 1px solid var(--line); border-radius: 13px; background: #fff; box-shadow: var(--shadow); }.chart-heading { display: flex; align-items: flex-start; justify-content: space-between; gap: 15px; }.chart-heading h3 { margin: 0 0 3px; font: 800 16px Manrope, sans-serif; }.chart-heading p { margin: 0; color: var(--muted); font-size: 13px; }.chart-heading > button { border: 0; background: none; color: #98a2b3; cursor: pointer; }.trend-badge { padding: 5px 7px; border-radius: 99px; background: var(--green-soft); color: var(--green); font-size: 13px; font-weight: 700; }
.donut-layout { display: grid; grid-template-columns: 145px 1fr; align-items: center; gap: 25px; min-height: 220px; }.donut-chart { width: 140px; height: 140px; border-radius: 50%; display: grid; place-items: center; background: conic-gradient(var(--green) 0 45%, var(--primary) 45% 74%, #eaaa45 74% 93%, var(--red) 93% 100%); position: relative; }.donut-chart::before { content: ""; position: absolute; width: 92px; height: 92px; border-radius: 50%; background: #fff; }.donut-chart div { position: relative; text-align: center; }.donut-chart strong, .donut-chart span { display: block; }.donut-chart strong { font: 800 25px Manrope, sans-serif; }.donut-chart span { color: var(--muted); font-size: 13px; }.chart-legend { display: grid; }.chart-legend > div { display: grid; grid-template-columns: auto 1fr auto; align-items: center; gap: 8px; padding: 9px 0; border-bottom: 1px solid #f0f2f5; }.chart-legend > div:last-child { border: 0; }.legend-dot { width: 8px; height: 8px; border-radius: 50%; }.legend-dot.paid { background: var(--green); }.legend-dot.notified { background: var(--primary); }.legend-dot.pending { background: #eaaa45; }.legend-dot.overdue { background: var(--red); }.chart-legend p { margin: 0; font-size: 13.5px; font-weight: 700; }.chart-legend p small { display: block; color: #98a2b3; font-size: 12px; font-weight: 400; margin-top: 2px; }.chart-legend > div > strong { font-size: 14px; }
.bar-chart { height: 188px; display: flex; align-items: flex-end; justify-content: space-around; gap: 12px; padding: 25px 12px 0; border-bottom: 1px solid var(--line); background: repeating-linear-gradient(to bottom, #fff 0, #fff 45px, #f2f4f7 46px); }.bar-chart > div { height: 100%; flex: 1; display: grid; grid-template-rows: 16px 1fr 20px; align-items: end; text-align: center; }.bar-chart span { opacity: 0; color: var(--primary); font-size: 12px; font-weight: 700; transition: .18s; }.bar-chart i { display: block; width: min(30px, 70%); height: calc(var(--bar) * .01 * 135px); margin: 0 auto; border-radius: 5px 5px 0 0; background: #dce8fb; transition: .18s; }.bar-chart div:hover i, .bar-chart div.current i { background: var(--primary); }.bar-chart div:hover span, .bar-chart div.current span { opacity: 1; }.bar-chart small { align-self: center; color: #98a2b3; font-size: 12px; }.chart-footnote { display: flex; justify-content: space-between; padding-top: 11px; color: var(--muted); font-size: 12.5px; }.chart-footnote strong { color: #475467; }.chart-total { font: 800 18px Manrope, sans-serif; color: var(--primary); }
.sparkline { padding-top: 20px; }.sparkline svg { width: 100%; height: 105px; overflow: visible; }.sparkline path.area { fill: url(#area); }.sparkline path.line { fill: none; stroke: var(--primary); stroke-width: 3; stroke-linecap: round; }.sparkline > div { display: flex; justify-content: space-between; color: #98a2b3; font-size: 12px; padding: 0 3px; }.overdue-big { display: flex; align-items: baseline; gap: 8px; padding: 19px 0 13px; }.overdue-big strong { font: 800 29.5px Manrope, sans-serif; color: var(--red); }.overdue-big span { color: var(--muted); font-size: 13px; }.overdue-stats { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; margin-bottom: 14px; }.overdue-stats span { padding: 9px; border-radius: 8px; background: #fafbfc; color: var(--muted); font-size: 12px; }.overdue-stats strong { display: block; color: #344054; font-size: 14px; margin-bottom: 3px; }.overdue-summary > button { width: 100%; }
.comparison-legend { display: flex; gap: 10px; color: var(--muted); font-size: 12px; }.comparison-legend span { display: flex; align-items: center; gap: 4px; }.comparison-legend i { width: 8px; height: 8px; border-radius: 2px; }.comparison-legend i.expected { background: #e5eaf1; }.comparison-legend i.collected { background: var(--primary); }.horizontal-scale { display: grid; grid-template-columns: repeat(4, 1fr); margin: 19px 88px 5px 36px; color: #98a2b3; font-size: 12px; }.horizontal-scale span:last-child { text-align: right; }.horizontal-bars { display: grid; gap: 10px; padding: 4px 0; background: linear-gradient(to right, transparent 0, transparent 24.8%, #eef1f5 25%, transparent 25.2%, transparent 49.8%, #eef1f5 50%, transparent 50.2%, transparent 74.8%, #eef1f5 75%, transparent 75.2%); }.horizontal-row { display: grid; grid-template-columns: 27px minmax(130px, 1fr) 78px; align-items: center; gap: 9px; min-height: 20px; }.horizontal-row > strong { font-size: 12.5px; color: #667085; }.horizontal-row > span { text-align: right; font-size: 12.5px; font-weight: 700; color: #344054; }.horizontal-row > span small { color: #98a2b3; font-size: 12px; font-weight: 400; }.horizontal-track { position: relative; height: 14px; }.horizontal-track i { position: absolute; display: block; left: 0; border-radius: 3px; }.horizontal-track i.expected { top: 2px; height: 10px; background: #e4e9f0; }.horizontal-track i.collected { top: 4px; height: 6px; background: var(--primary); }.horizontal-row.current > strong { color: var(--primary); }.horizontal-row.current .horizontal-track i.collected { background: #4d87ed; box-shadow: 0 0 0 2px #e8f0ff; }
.point-chart { display: grid; grid-template-columns: 40px 1fr; gap: 7px; margin-top: 18px; }.point-y-axis { height: 160px; display: flex; flex-direction: column; justify-content: space-between; text-align: right; padding-bottom: 2px; color: #98a2b3; font-size: 12px; }.point-plot { position: relative; height: 195px; }.grid-line { position: absolute; left: 0; right: 0; height: 1px; background: #e9edf3; }.grid-line.g1 { top: 0; }.grid-line.g2 { top: 53px; }.grid-line.g3 { top: 106px; }.grid-line.g4 { top: 159px; }.point-plot svg { position: relative; width: 100%; height: 160px; overflow: visible; z-index: 1; }.point-plot polyline { fill: none; stroke: var(--primary); stroke-width: 3; vector-effect: non-scaling-stroke; stroke-linejoin: round; }.point-plot circle { fill: #fff; stroke: var(--primary); stroke-width: 3; vector-effect: non-scaling-stroke; }.point-plot circle.current-point { fill: var(--primary); stroke: #dbe8ff; stroke-width: 6; }.point-values, .point-months { position: absolute; left: 0; right: 0; display: grid; grid-template-columns: repeat(6, 1fr); text-align: center; }.point-values { top: 4px; color: #53627a; font-size: 12px; font-weight: 700; }.point-values span:nth-child(1) { transform: translateY(121px); }.point-values span:nth-child(2) { transform: translateY(87px); }.point-values span:nth-child(3) { transform: translateY(103px); }.point-values span:nth-child(4) { transform: translateY(61px); }.point-values span:nth-child(5) { transform: translateY(40px); }.point-values span:nth-child(6) { transform: translateY(13px); color: var(--primary); }.point-months { top: 174px; color: #98a2b3; font-size: 12px; }
@media (max-width: 1050px) { .statistics-grid, .statistics-grid.lower { grid-template-columns: 1fr; }.metric-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 760px) { .page-heading-row { align-items: flex-start; }.statistics-heading { flex-direction: column; }.metric-grid { grid-template-columns: 1fr 1fr; gap: 8px; }.metric-grid article { min-height: 90px; padding: 13px; }.metric-grid strong { font-size: 18px; }.donut-layout { grid-template-columns: 1fr; justify-items: center; gap: 8px; }.chart-legend { width: 100%; }.contracts-search { width: 100%; }.page-heading-row > .primary-button { font-size: 14px; width: auto; }.contract-summary > div { grid-template-columns: 1fr; } }
@media (max-width: 430px) { .metric-grid { grid-template-columns: 1fr; }.bar-chart { gap: 4px; padding-left: 2px; padding-right: 2px; }.donut-chart { width: 125px; height: 125px; }.donut-chart::before { width: 82px; height: 82px; } }

/* Ficha del contrato y circuito de cobro */
.contract-detail-view { padding-bottom: 35px; }
.contract-detail-heading { margin: 2px 0 16px; }.detail-back { border: 0; background: none; padding: 0; color: var(--primary); font-size: 14px; font-weight: 700; cursor: pointer; }.detail-title-row { display: flex; align-items: flex-end; justify-content: space-between; gap: 20px; margin-top: 12px; }.detail-title-row h2 { margin: 4px 0 8px; font: 800 24.5px Manrope, sans-serif; letter-spacing: -.5px; }.detail-title-row p { display: flex; align-items: center; gap: 9px; margin: 0; color: var(--muted); font-size: 14px; }.detail-title-row .status-pill { padding: 4px 7px; }.detail-heading-actions { display: flex; gap: 8px; }.detail-heading-actions button { height: 36px; }
.contract-time-progress { margin: -3px 0 13px; padding: 11px 14px 10px; border: 1px solid #dbe6f5; border-radius: 10px; background: #f9fbff; }.contract-time-heading, .contract-time-dates { display: flex; align-items: center; justify-content: space-between; gap: 14px; }.contract-time-heading > div { display: flex; align-items: center; gap: 10px; }.contract-time-heading span { color: #7c899c; font-size: 12px; font-weight: 800; letter-spacing: .5px; }.contract-time-heading strong { color: #344054; font-size: 14px; }.contract-time-heading > strong { color: var(--primary); font: 800 15.5px Manrope, sans-serif; }.contract-time-track { height: 6px; margin: 9px 0 7px; overflow: hidden; border-radius: 99px; background: #e5ebf3; }.contract-time-track i { display: block; width: 0; height: 100%; border-radius: inherit; background: linear-gradient(90deg, #2769e8, #5b8ff0); transition: width .25s ease; }.contract-time-dates span { color: #8b96a7; font-size: 12px; }
.contract-tabs { display: flex; gap: 3px; overflow-x: auto; margin: 0 -28px 16px; padding: 0 28px; border-bottom: 1px solid var(--line); background: #fff; }.contract-tabs button { flex: 0 0 auto; border: 0; border-bottom: 2px solid transparent; background: none; padding: 12px 15px 11px; color: #667085; font-size: 14px; font-weight: 700; cursor: pointer; }.contract-tabs button.active { color: var(--primary); border-bottom-color: var(--primary); }.contract-tab-panel { display: none; }.contract-tab-panel.active { display: block; }
.detail-summary-strip { display: grid; grid-template-columns: repeat(4, 1fr); margin-bottom: 13px; border: 1px solid var(--line); border-radius: 12px; background: #fff; box-shadow: var(--shadow); }.detail-summary-strip > div { padding: 14px 16px; border-right: 1px solid var(--line); }.detail-summary-strip > div:last-child { border: 0; }.detail-summary-strip span, .detail-summary-strip small { display: block; color: var(--muted); font-size: 12.5px; }.detail-summary-strip strong { display: block; margin: 5px 0 2px; color: #344054; font-size: 15px; }.detail-summary-strip small b { color: #667085; }
.detail-main-grid { display: grid; grid-template-columns: minmax(0, 1fr) 250px; gap: 13px; }.money-flow-card, .balance-card, .detail-list-card, .receipt-card { border: 1px solid var(--line); border-radius: 12px; background: #fff; box-shadow: var(--shadow); }.money-flow-card { padding: 18px; }.detail-card-heading { display: flex; align-items: flex-start; justify-content: space-between; gap: 14px; }.detail-card-heading > div { display: flex; align-items: center; gap: 9px; }.detail-card-heading h3 { margin: 0 0 3px; font: 800 16px Manrope, sans-serif; }.detail-card-heading p { margin: 0; color: var(--muted); font-size: 13px; }.collection-state { padding: 5px 8px; border-radius: 99px; font-size: 13px; font-weight: 700; }.collection-state.pending { color: var(--orange); background: var(--orange-soft); }.collection-state.paid { color: var(--green); background: var(--green-soft); }.collection-state.settled { color: var(--primary); background: var(--blue-soft); }
.account-heading-actions { display: flex; align-items: center; gap: 7px; }.add-concept-button { height: 27px; border: 1px solid #d8e5f9; border-radius: 7px; background: #f7faff; color: var(--primary); padding: 0 9px; font-size: 12.5px; font-weight: 700; cursor: pointer; }.add-concept-button:hover { background: #edf4ff; }.add-concept-button:disabled { color: #98a2b3; background: #f7f8fa; border-color: var(--line); cursor: not-allowed; }
.money-flow { display: grid; grid-template-columns: .75fr 25px 1.25fr; align-items: center; gap: 11px; margin: 18px 0 13px; }.money-flow-party { display: flex; align-items: center; gap: 10px; padding: 14px; border-radius: 10px; background: #f7faff; }.money-flow-party > span { width: 25px; height: 25px; display: grid; place-items: center; border-radius: 50%; background: var(--primary); color: #fff; font-size: 13px; font-weight: 800; }.money-flow-party small, .money-flow-split span, .money-flow-split small { display: block; color: #98a2b3; font-size: 12px; font-weight: 700; }.money-flow-party strong { display: block; margin: 4px 0 2px; font: 800 19px Manrope, sans-serif; }.money-flow-party p { margin: 0; color: var(--muted); font-size: 12.5px; }.money-flow-arrow { color: #98a2b3; text-align: center; }.money-flow-split { display: grid; grid-template-columns: 1fr 1fr; border: 1px solid #e5e9ef; border-radius: 10px; overflow: hidden; }.money-flow-split > div { padding: 13px; }.money-flow-split > div:first-child { background: #f5fbf8; border-right: 1px solid #e1eee7; }.money-flow-split > div:last-child { background: #fbfcfe; }.money-flow-split strong { display: block; margin: 5px 0 2px; font: 800 17px Manrope, sans-serif; }.money-flow-split > div:first-child strong { color: var(--green); }
.clarity-note { display: flex; gap: 8px; padding: 9px 11px; border: 1px solid #dce8f9; border-radius: 8px; background: #f8fbff; }.clarity-note > span { flex: 0 0 auto; width: 18px; height: 18px; display: grid; place-items: center; border-radius: 50%; background: var(--blue-soft); color: var(--primary); font-size: 12px; font-weight: 700; }.clarity-note p { margin: 0; color: #53627a; font-size: 12.5px; line-height: 1.45; }.detail-breakdown { margin-top: 14px; border-top: 1px solid var(--line); }.detail-breakdown > div { display: flex; justify-content: space-between; gap: 15px; padding: 9px 1px; color: #667085; font-size: 13.5px; }.detail-breakdown .deduction strong { color: var(--green); }.detail-breakdown .total { border-top: 1px solid var(--line); padding-top: 12px; color: #344054; font-weight: 800; }.detail-breakdown .total strong { font: 800 18px Manrope, sans-serif; }
.monthly-concepts { margin-top: 12px; overflow: hidden; border: 1px solid #f0dfc3; border-radius: 9px; background: #fffcf6; }.monthly-concepts[hidden] { display: none; }.monthly-concepts-title { display: flex; justify-content: space-between; padding: 9px 11px; border-bottom: 1px solid #f0dfc3; }.monthly-concepts-title strong { font-size: 13px; }.monthly-concepts-title span { color: var(--muted); font-size: 12px; }.monthly-concept-row { display: grid; grid-template-columns: auto 1fr auto auto; align-items: center; gap: 8px; padding: 9px 11px; }.monthly-concept-row + .monthly-concept-row { border-top: 1px solid #f4ead9; }.concept-symbol { width: 20px; height: 20px; display: grid; place-items: center; border-radius: 6px; background: var(--orange-soft); color: var(--orange); font-weight: 800; }.monthly-concept-row div strong, .monthly-concept-row div small { display: block; }.monthly-concept-row div strong { font-size: 13px; }.monthly-concept-row div small { margin-top: 2px; color: var(--muted); font-size: 12px; }.monthly-concept-row > strong { color: var(--red); font-size: 13.5px; }.monthly-concept-row button { border: 0; background: none; color: #98a2b3; cursor: pointer; }.detail-breakdown #monthlyConceptBreakdown { display: block; padding: 0; }.concept-breakdown { display: flex; justify-content: space-between; gap: 12px; padding: 8px 1px; color: #667085; font-size: 13.5px; }.concept-breakdown strong { color: var(--red); }.concept-breakdown small { color: #98a2b3; }.detail-breakdown .tenant-payable { margin: 2px -7px; padding: 9px 8px; border-radius: 7px; background: #f7faff; color: #344054; font-weight: 700; }.detail-breakdown .tenant-payable strong { color: var(--primary); }
.detail-side-stack { display: grid; gap: 13px; }.balance-card { padding: 15px; }.balance-card-title { display: flex; justify-content: space-between; align-items: center; }.balance-card-title > span:first-child { color: #98a2b3; font-size: 12px; font-weight: 800; letter-spacing: .5px; }.balance-card > strong { display: block; margin: 13px 0 2px; font: 800 22.5px Manrope, sans-serif; }.balance-card > p { margin: 0 0 13px; color: var(--muted); font-size: 13px; }.balance-card > button { width: 100%; height: 32px; }.balance-card .text-button { margin-top: 4px; }.balance-card button:disabled { opacity: .45; cursor: not-allowed; }.text-button { border: 0; background: none; color: var(--primary); font-size: 13px; font-weight: 700; cursor: pointer; }
.receipt-card { display: flex; align-items: center; gap: 11px; margin-top: 13px; padding: 13px 16px; border-color: #cfe9da; background: #fbfffc; }.receipt-card[hidden] { display: none; }.receipt-icon { width: 29px; height: 29px; display: grid; place-items: center; border-radius: 50%; background: var(--green-soft); color: var(--green); font-weight: 800; }.receipt-card div { flex: 1; }.receipt-card strong { font-size: 14px; }.receipt-card p { margin: 3px 0 0; color: var(--muted); font-size: 12.5px; }.receipt-card button { height: 29px; font-size: 13px; }
.detail-list-card { padding: 19px; min-height: 330px; }.movement-table { margin-top: 16px; border-top: 1px solid var(--line); }.movement-row { display: grid; grid-template-columns: 95px 1fr 120px 100px; align-items: center; gap: 10px; min-height: 55px; border-bottom: 1px solid var(--line); font-size: 13px; }.movement-row > span { color: var(--muted); }.movement-row div strong, .movement-row div small { display: block; }.movement-row div small { color: var(--muted); margin-top: 3px; }.movement-row > strong { text-align: right; font-size: 14px; }.movement-row .positive { color: var(--green); }.movement-row .negative { color: var(--red); }.movement-empty { padding: 50px 0; text-align: center; color: var(--muted); font-size: 14px; }
.update-period { display: grid; grid-template-columns: 1fr 130px 120px; align-items: center; gap: 12px; padding: 14px 5px; border-bottom: 1px solid var(--line); }.update-period:first-of-type { margin-top: 15px; border-top: 1px solid var(--line); }.update-period div span, .update-period div strong { display: block; }.update-period div span { color: var(--muted); font-size: 13px; }.update-period div strong { margin-top: 3px; font-size: 14px; }.update-period > strong { text-align: right; font-size: 15px; }.communication-list { margin-top: 15px; border-top: 1px solid var(--line); }.communication-list > div { display: grid; grid-template-columns: 130px 1fr 150px; gap: 10px; align-items: center; padding: 14px 3px; border-bottom: 1px solid var(--line); font-size: 13.5px; }.communication-list span, .communication-list small { color: var(--muted); }.communication-list small { text-align: right; }.contract-data-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 0 22px; margin-top: 16px; border-top: 1px solid var(--line); }.contract-data-grid > div { padding: 15px 2px; border-bottom: 1px solid var(--line); }.contract-data-grid span, .contract-data-grid strong { display: block; }.contract-data-grid span { color: var(--muted); font-size: 12.5px; }.contract-data-grid strong { margin-top: 5px; color: #344054; font-size: 14px; }.detail-dropzone { height: 150px; margin-top: 16px; border: 1px dashed #cbd5e1; border-radius: 10px; display: flex; flex-direction: column; justify-content: center; align-items: center; gap: 5px; color: #667085; cursor: pointer; }.detail-dropzone input { display: none; }.detail-dropzone > span { font-size: 23.5px; color: #98a2b3; }.detail-dropzone strong { font-size: 14px; }.detail-dropzone small { font-size: 12.5px; color: #98a2b3; }.stored-file { display: grid; grid-template-columns: auto 1fr auto; align-items: center; gap: 10px; margin-top: 13px; padding: 10px; border: 1px solid var(--line); border-radius: 8px; }.stored-file > span { padding: 6px; border-radius: 5px; background: var(--red-soft); color: var(--red); font-size: 12px; font-weight: 800; }.stored-file strong, .stored-file small { display: block; font-size: 13px; }.stored-file small { margin-top: 2px; color: var(--muted); font-size: 12px; }
.contract-update-timeline { display: grid; gap: 9px; margin-top: 15px; }.update-period-card { overflow: hidden; border: 1px solid var(--line); border-radius: 10px; background: #fff; }.update-period-card.current { border-color: #d7e4f8; }.update-period-summary { width: 100%; display: grid; grid-template-columns: minmax(160px, 1fr) 110px 120px 18px; align-items: center; gap: 12px; padding: 13px 14px; border: 0; background: transparent; text-align: left; cursor: pointer; }.update-period-summary > span:first-child small, .update-period-summary > span:first-child strong { display: block; }.update-period-summary > span:first-child small { color: var(--muted); font-size: 12px; }.update-period-summary > span:first-child strong { margin-top: 3px; color: #344054; font-size: 14px; }.update-period-summary > strong { text-align: right; color: #344054; font: 800 15.5px Manrope, sans-serif; }.update-period-summary > em { color: #98a2b3; font-style: normal; transition: transform .18s; }.update-period-card.open .update-period-summary > em { transform: rotate(180deg); }.update-period-detail { padding: 0 14px 12px; border-top: 1px solid #edf0f4; background: #fbfcfe; }.update-period-detail[hidden] { display: none; }.update-month-row { display: grid; grid-template-columns: 1fr 110px 80px; align-items: center; gap: 10px; min-height: 38px; border-bottom: 1px solid #edf0f4; font-size: 13px; }.update-month-row:last-child { border-bottom: 0; }.update-month-row > span { text-transform: capitalize; color: #475467; }.update-month-row > strong { text-align: right; }.update-month-row > em { justify-self: end; padding: 4px 7px; border-radius: 99px; font-style: normal; font-weight: 700; }.update-month-row > em.paid { color: var(--green); background: var(--green-soft); }.update-month-row > em.pending { color: var(--orange); background: var(--orange-soft); }.update-month-row > em.future { color: #7b8798; background: #eef1f5; }.adjustment-editor { padding-top: 13px; }.suggested-adjustment { display: flex; align-items: center; justify-content: space-between; margin-bottom: 11px; padding: 10px 11px; border-radius: 8px; background: #eef5ff; }.suggested-adjustment span { color: #53627a; font-size: 13px; }.suggested-adjustment strong { color: var(--primary); font-size: 15px; }.adjustment-editor label { color: #475467; font-size: 13px; font-weight: 700; }.adjustment-editor input { width: 100%; height: 35px; margin-top: 5px; border: 1px solid #dfe4eb; border-radius: 7px; padding: 0 10px 0 22px; background: #fff; }.adjustment-editor p { margin: 9px 0 12px; color: #7b8798; font-size: 12.5px; line-height: 1.45; }.adjustment-editor .primary-button { height: 32px; }.person-detail-actions { display: flex; gap: 8px; }.archive-person-button { color: #667085; }.archive-person-button.restore { color: var(--green); border-color: #cfe9da; background: #f7fcf9; }
.payment-modal { width: min(540px, calc(100vw - 28px)); padding: 22px; }.payment-modal-heading { display: flex; gap: 11px; align-items: center; margin-bottom: 18px; }.payment-modal-heading h2 { margin: 3px 0 3px; font: 800 21px Manrope, sans-serif; }.payment-modal-heading p { margin: 0; color: var(--muted); font-size: 13px; }.payment-form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 11px; }.payment-form-grid label { color: #475467; font-size: 13px; font-weight: 700; }.payment-form-grid label.full { grid-column: 1 / -1; }.payment-form-grid input, .payment-form-grid select { width: 100%; height: 36px; margin-top: 5px; border: 1px solid #dfe4eb; border-radius: 7px; padding: 0 10px; color: var(--ink); font-size: 14px; outline: 0; }.payment-form-grid .input-prefix > span { top: 16px; }.payment-preview { display: grid; grid-template-columns: 1fr auto 1fr auto 1.2fr; align-items: center; gap: 8px; margin: 15px 0 12px; padding: 13px; border-radius: 9px; background: #f7faff; }.payment-preview div span, .payment-preview div strong { display: block; }.payment-preview div span { color: var(--muted); font-size: 12px; }.payment-preview div strong { margin-top: 4px; font: 800 15.5px Manrope, sans-serif; }.payment-preview > span { color: #98a2b3; }.payment-preview .net { border-left: 1px solid #dce6f5; padding-left: 11px; }.payment-preview .net strong { color: var(--primary); }.receipt-check { display: flex; align-items: center; gap: 8px; color: #475467; font-size: 13px; }.receipt-check input { accent-color: var(--primary); }.payment-modal .modal-actions { margin-top: 18px; padding-top: 14px; border-top: 1px solid var(--line); }
.concept-modal { width: min(520px, calc(100vw - 28px)); padding: 22px; }.modal-icon.concept { background: var(--orange-soft); color: var(--orange); }.concept-kind-card { display: flex; gap: 10px; margin-bottom: 14px; padding: 11px; border: 1px solid #f0dfc3; border-radius: 9px; background: #fffcf6; }.concept-kind-card > span { flex: 0 0 auto; width: 27px; height: 27px; display: grid; place-items: center; border-radius: 7px; background: var(--orange-soft); color: var(--orange); }.concept-kind-card strong { font-size: 13.5px; }.concept-kind-card p { margin: 3px 0 0; color: var(--muted); font-size: 12.5px; line-height: 1.4; }.concept-effect { display: flex; gap: 8px; margin-top: 13px; padding: 9px 10px; border-radius: 8px; background: #f7faff; color: #53627a; }.concept-effect > span { font-weight: 800; color: var(--primary); }.concept-effect p { margin: 0; font-size: 12.5px; line-height: 1.4; }.concept-modal .modal-actions { margin-top: 16px; padding-top: 14px; border-top: 1px solid var(--line); }
.concept-fee-check[hidden], .late-fee-editor[hidden] { display: none; }.concept-fee-check { margin-top: 12px; }.late-fee-editor { display: grid; grid-template-columns: 1fr 150px; align-items: center; gap: 12px; margin: 13px 0; padding: 11px; border: 1px solid #f1d99e; border-radius: 9px; background: #fffaf0; }.late-fee-editor > label { display: flex; align-items: flex-start; gap: 8px; }.late-fee-editor label span, .late-fee-editor label strong, .late-fee-editor label small { display: block; }.late-fee-editor label strong { color: #704c00; font-size: 13.5px; }.late-fee-editor label small { margin-top: 3px; color: #8a6a24; font-size: 12px; }.late-fee-editor .input-prefix { background: #fff; }

/* Flujo mensual del contrato */
.contract-contact-bar { display: flex; align-items: center; justify-content: space-between; gap: 14px; margin-bottom: 12px; padding: 11px 14px; border: 1px solid var(--line); border-radius: 11px; background: #fff; box-shadow: var(--shadow); }.contract-contact-bar > div:first-child { display: flex; align-items: center; gap: 9px; }.contract-contact-bar p { margin: 0; }.contract-contact-bar p small, .contract-contact-bar p strong, .contract-contact-bar p em { display: block; }.contract-contact-bar p small { color: #98a2b3; font-size: 12px; font-weight: 800; }.contract-contact-bar p strong { margin: 2px 0; font-size: 14px; }.contract-contact-bar p em { color: var(--muted); font-size: 12px; font-style: normal; }.contract-contact-actions { display: flex; gap: 6px; }.contract-contact-actions button { height: 30px; padding: 0 10px; border: 1px solid #d8e5f9; border-radius: 7px; background: #f8fbff; color: var(--primary); font-size: 13px; font-weight: 700; cursor: pointer; }.contract-contact-actions button:hover { background: #edf4ff; }
.monthly-workflow { display: grid; gap: 0; }.workflow-card { padding: 18px; border: 1px solid var(--line); border-radius: 12px; background: #fff; box-shadow: var(--shadow); }.workflow-heading { display: grid; grid-template-columns: auto 1fr auto; align-items: center; gap: 11px; padding-bottom: 13px; border-bottom: 1px solid var(--line); }.workflow-heading-actions { display: flex; align-items: center; gap: 8px; }.workflow-heading h3 { margin: 2px 0; font: 800 17px Manrope, sans-serif; }.workflow-heading p { margin: 0; color: var(--muted); font-size: 12.5px; }.workflow-number { width: 31px; height: 31px; display: grid; place-items: center; border-radius: 9px; background: var(--blue-soft); color: var(--primary); font-size: 16px; font-weight: 800; }.workflow-number.green { background: var(--green-soft); color: var(--green); }.workflow-person-row { display: grid; grid-template-columns: 1fr 1fr 1fr; gap: 0; margin-top: 13px; border: 1px solid #e7ebf1; border-radius: 9px; background: #fbfcfe; }.workflow-person-row > div { min-height: 72px; padding: 12px; border-right: 1px solid #e7ebf1; }.workflow-person-row > div:last-child { border: 0; }.workflow-person-row span, .workflow-person-row strong, .workflow-person-row small { display: block; }.workflow-person-row span, .workflow-person-row small { color: var(--muted); font-size: 12px; }.workflow-person-row strong { margin: 5px 0 3px; font-size: 15.5px; }.workflow-person-row .status-pill { display: inline-flex; margin-top: 3px; }.tenant-account-lines, .owner-account-lines { margin-top: 13px; border-top: 1px solid var(--line); }.tenant-account-lines > div, .owner-account-lines > div { display: flex; align-items: center; justify-content: space-between; gap: 15px; min-height: 38px; padding: 7px 2px; border-bottom: 1px solid var(--line); color: #667085; font-size: 13.5px; }.tenant-account-lines strong, .owner-account-lines strong { color: #344054; font-size: 14px; }.tenant-account-lines .tenant-payable, .owner-account-lines .owner-total { margin: 7px -7px 0; padding: 10px 9px; border: 0; border-radius: 8px; background: #edf4ff; color: #344054; font-weight: 800; }.tenant-account-lines .tenant-payable strong { color: var(--primary); font-size: 16px; }.owner-account-lines .owner-total { background: #ecf8f1; }.owner-account-lines .owner-total strong { color: var(--green); font-size: 16px; }.workflow-actions { display: grid; grid-template-columns: auto 1fr auto auto; align-items: center; gap: 8px; margin-top: 14px; padding-top: 12px; border-top: 1px solid var(--line); }.tenant-actions { grid-template-columns: 1fr auto auto; }.workflow-transfer { display: flex; align-items: center; justify-content: center; gap: 9px; min-height: 58px; }.workflow-transfer > span { width: 28px; height: 28px; display: grid; place-items: center; border-radius: 50%; background: #e9f7ef; color: var(--green); font-size: 19px; font-weight: 800; }.workflow-transfer p { margin: 0; }.workflow-transfer strong, .workflow-transfer small { display: block; }.workflow-transfer strong { font-size: 13px; }.workflow-transfer small { margin-top: 2px; color: var(--muted); font-size: 12px; }.owner-step { border-color: #cfe9da; }.owner-split-cards { display: grid; grid-template-columns: 1fr 1fr; gap: 9px; margin-top: 12px; }.owner-split-cards > div { position: relative; padding: 11px; border-radius: 9px; background: #f8fafc; }.owner-split-cards small, .owner-split-cards strong, .owner-split-cards span { display: block; }.owner-split-cards small { color: #98a2b3; font-size: 12px; font-weight: 800; }.owner-split-cards strong { margin: 5px 0 2px; font-size: 16px; }.owner-split-cards span { color: var(--muted); font-size: 12px; }.owner-split-cards b { position: absolute; top: 10px; right: 10px; color: var(--primary); font-size: 12px; }.owner-actions { grid-template-columns: 1fr auto; }.owner-actions p { display: flex; align-items: center; gap: 7px; margin: 0; color: var(--muted); font-size: 12.5px; }.owner-actions p span { color: var(--primary); font-weight: 800; }.monthly-concept-row.charge > strong { color: var(--green); }.monthly-concept-row.charge .concept-symbol { background: var(--green-soft); color: var(--green); }.document-deduction.charge strong { color: var(--green); }
@media (max-width: 700px) { .contract-contact-bar { align-items: flex-start; flex-direction: column; }.contract-contact-actions { width: 100%; }.contract-contact-actions button { flex: 1; }.workflow-person-row { grid-template-columns: 1fr; }.workflow-person-row > div { border-right: 0; border-bottom: 1px solid #e7ebf1; }.workflow-actions { grid-template-columns: 1fr 1fr; }.workflow-actions > span { display: none; }.owner-split-cards { grid-template-columns: 1fr; }.late-fee-editor { grid-template-columns: 1fr; } }
.receipt-modal { width: min(720px, calc(100vw - 28px)); padding: 22px; max-height: calc(100vh - 28px); overflow-y: auto; }.receipt-modal-heading { display: flex; justify-content: space-between; align-items: flex-end; gap: 20px; margin-bottom: 15px; padding-right: 28px; }.receipt-modal-heading h2 { margin: 4px 0 3px; font: 800 21px Manrope, sans-serif; }.receipt-modal-heading p { margin: 0; color: var(--muted); font-size: 13px; }.receipt-modal-actions { display: flex; gap: 7px; }.receipt-modal-actions button { height: 31px; font-size: 13px; }.receipt-switch { display: grid; grid-template-columns: 1fr 1fr; margin-bottom: 8px; padding: 3px; border-radius: 9px; background: #eef1f5; }.receipt-switch button { height: 33px; border: 0; border-radius: 7px; background: transparent; color: #667085; font-size: 13.5px; font-weight: 700; cursor: pointer; }.receipt-switch button.active { background: #fff; color: var(--primary); box-shadow: 0 1px 4px rgba(16,24,40,.1); }.recipient-preview-label { display: flex; justify-content: center; align-items: center; gap: 5px; margin-bottom: 8px; color: #667085; }.recipient-preview-label span { font-size: 13px; }.recipient-preview-label p { margin: 0; font-size: 12px; }.receipt-document { display: none; padding: 24px; border: 1px solid #dfe4eb; border-radius: 10px; background: #fff; }.receipt-document.active { display: block; }.document-top { display: flex; justify-content: space-between; gap: 20px; padding-bottom: 16px; border-bottom: 2px solid #344054; }.document-top > div:last-child { text-align: right; }.document-top span, .document-top strong, .document-top small { display: block; }.document-identity { display: flex; align-items: center; gap: 9px; }.brand-logo-preview, .branding-logo-preview { flex: 0 0 auto; width: 38px; height: 38px; display: grid !important; place-items: center; border-radius: 9px; background-color: var(--primary); background-position: center; background-size: cover; color: #fff; font: 800 15px Manrope, sans-serif; }.document-brand { color: var(--primary); font: 800 17px Manrope, sans-serif; letter-spacing: .4px; }.document-top strong { font: 800 16px Manrope, sans-serif; }.document-top small { margin-top: 3px; color: var(--muted); font-size: 12px; }.document-parties { display: grid; grid-template-columns: 1fr 1.5fr; gap: 20px; padding: 17px 0; border-bottom: 1px solid var(--line); }.document-parties span, .document-parties strong { display: block; }.document-parties span { color: var(--muted); font-size: 12px; }.document-parties strong { margin-top: 4px; color: #344054; font-size: 14px; }.document-lines { padding-top: 8px; }.document-lines > div, .document-lines > div > div { display: flex; align-items: center; justify-content: space-between; gap: 18px; min-height: 40px; border-bottom: 1px solid #e8ebf0; color: #475467; font-size: 13.5px; }.document-lines > div > div { width: 100%; }.document-lines strong { color: #344054; font-size: 14px; white-space: nowrap; }.document-deduction > span small { display: block; margin-top: 2px; color: #98a2b3; font-size: 12px; }.document-deduction > strong, .admin-fee-line > strong { color: var(--red); }.admin-fee-line small { margin-left: 4px; padding: 2px 5px; border-radius: 99px; background: var(--green-soft); color: var(--green); font-size: 12px; }.document-lines .document-total { min-height: 51px; border-bottom: 0; font-weight: 800; }.document-total strong { font: 800 19.5px Manrope, sans-serif; }.document-total.owner strong { color: var(--primary); }.document-note { display: flex; gap: 9px; margin-top: 14px; padding: 10px; border-radius: 8px; background: #f7faff; }.document-note > span { color: var(--primary); font-weight: 800; }.document-note p { margin: 0; color: #53627a; font-size: 12.5px; line-height: 1.45; }.fee-spotlight { display: grid; grid-template-columns: auto 1fr; align-items: center; gap: 14px; margin-top: 14px; padding: 12px; border: 1px solid #cfe9da; border-radius: 9px; background: #f7fcf9; }.fee-spotlight div { padding-right: 14px; border-right: 1px solid #d9e9df; }.fee-spotlight span, .fee-spotlight strong { display: block; }.fee-spotlight span { color: #667085; font-size: 12px; font-weight: 800; }.fee-spotlight strong { margin-top: 4px; color: var(--green); font: 800 19px Manrope, sans-serif; }.fee-spotlight p { margin: 0; color: #667085; font-size: 12.5px; line-height: 1.4; }.branding-modal { width: min(590px, calc(100vw - 28px)); padding: 22px; max-height: calc(100vh - 28px); overflow-y: auto; }.settings-section-title { display: flex; justify-content: space-between; align-items: baseline; margin: 4px 0 8px; }.settings-section-title.business { margin-top: 18px; padding-top: 15px; border-top: 1px solid var(--line); }.settings-section-title strong { font-size: 14px; }.settings-section-title span { color: var(--muted); font-size: 12px; }.settings-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }.settings-grid label:not(.logo-upload) { display: block; color: #475467; font-size: 13px; font-weight: 700; }.settings-grid label:not(.logo-upload) input { display: block; width: 100%; height: 36px; margin-top: 5px; border: 1px solid #dfe4eb; border-radius: 7px; padding: 0 10px; font-size: 14px; }.logo-upload { position: relative; grid-column: 1 / -1; display: flex; align-items: center; gap: 11px; margin-top: 3px; padding: 12px; border: 1px dashed #cbd5e1; border-radius: 9px; cursor: pointer; }.logo-upload input { position: absolute; inset: 0; opacity: 0; cursor: pointer; }.branding-logo-preview { width: 50px; height: 50px; }.logo-upload div { display: grid; gap: 2px; }.logo-upload strong { font-size: 13.5px; }.logo-upload small { color: var(--muted); font-size: 12px; }.logo-upload em { margin-top: 4px; color: var(--primary); font-size: 12.5px; font-style: normal; font-weight: 700; }.branding-modal .modal-actions, .password-modal .modal-actions { margin-top: 17px; padding-top: 14px; border-top: 1px solid var(--line); }.password-modal { width: min(430px, calc(100vw - 28px)); padding: 22px; }.password-fields { display: grid; gap: 10px; }.password-fields label { color: #475467; font-size: 13px; font-weight: 700; }.password-fields input { display: block; width: 100%; height: 36px; margin-top: 5px; border: 1px solid #dfe4eb; border-radius: 7px; padding: 0 10px; font-size: 14px; }
@media (max-width: 900px) { .detail-main-grid { grid-template-columns: 1fr; }.detail-side-stack { grid-template-columns: 1fr 1fr; }.detail-summary-strip { grid-template-columns: 1fr 1fr; }.detail-summary-strip > div:nth-child(2) { border-right: 0; }.detail-summary-strip > div:nth-child(-n+2) { border-bottom: 1px solid var(--line); } }
@media (max-width: 760px) { .detail-title-row { align-items: flex-start; flex-direction: column; }.detail-heading-actions, .person-detail-actions { width: 100%; }.detail-heading-actions button, .person-detail-actions button { flex: 1; }.contract-tabs { margin-left: -18px; margin-right: -18px; padding-left: 18px; padding-right: 18px; }.money-flow { grid-template-columns: 1fr; }.money-flow-arrow { transform: rotate(90deg); }.detail-side-stack { grid-template-columns: 1fr; }.movement-row { grid-template-columns: 75px 1fr 90px; }.movement-row > strong { grid-column: 2 / -1; }.contract-data-grid { grid-template-columns: 1fr 1fr; }.detail-card-heading { flex-direction: column; }.account-heading-actions { width: 100%; justify-content: space-between; }.update-period-summary { grid-template-columns: 1fr auto 18px; }.update-period-summary > .status-pill { display: none; }.update-period-summary > strong { text-align: right; } }
@media (max-width: 560px) { .contract-time-heading > div { align-items: flex-start; flex-direction: column; gap: 2px; }.contract-time-dates { align-items: flex-start; flex-direction: column; gap: 3px; } }
@media (max-width: 480px) { .detail-summary-strip { grid-template-columns: 1fr; }.detail-summary-strip > div { border-right: 0; border-bottom: 1px solid var(--line); }.money-flow-split { grid-template-columns: 1fr; }.money-flow-split > div:first-child { border-right: 0; border-bottom: 1px solid #e1eee7; }.payment-form-grid, .contract-data-grid { grid-template-columns: 1fr; }.payment-form-grid label.full { grid-column: auto; }.payment-preview { grid-template-columns: 1fr auto 1fr; }.payment-preview .net { grid-column: 1 / -1; border-left: 0; border-top: 1px solid #dce6f5; padding: 9px 0 0; }.update-period { grid-template-columns: 1fr auto; }.update-period > strong { grid-column: 1 / -1; text-align: left; }.communication-list > div { grid-template-columns: 1fr; }.communication-list small { text-align: left; } }
@media (max-width: 560px) { .receipt-modal-heading { align-items: flex-start; flex-direction: column; }.receipt-modal-actions { width: 100%; }.receipt-modal-actions button { flex: 1; }.receipt-document { padding: 16px; }.document-parties { grid-template-columns: 1fr; gap: 11px; }.fee-spotlight { grid-template-columns: 1fr; }.fee-spotlight div { border-right: 0; border-bottom: 1px solid #d9e9df; padding: 0 0 9px; }.settings-grid { grid-template-columns: 1fr; }.settings-section-title { align-items: flex-start; flex-direction: column; gap: 2px; } }

/* Centro de configuración */
.settings-heading { margin-bottom: 16px; }.settings-layout { display: grid; grid-template-columns: 225px minmax(0, 1fr); gap: 14px; align-items: start; }.settings-nav { position: sticky; top: 20px; display: grid; padding: 7px; border: 1px solid var(--line); border-radius: 12px; background: #fff; box-shadow: var(--shadow); }.settings-nav button { display: grid; grid-template-columns: 27px 1fr; align-items: center; gap: 8px; min-height: 52px; padding: 8px 9px; border: 0; border-radius: 8px; background: none; text-align: left; cursor: pointer; }.settings-nav button:hover { background: #f7f9fc; }.settings-nav button.active { background: #edf4ff; color: var(--primary); }.settings-nav button > span { font-size: 19px; text-align: center; }.settings-nav strong, .settings-nav small { display: block; }.settings-nav strong { font-size: 13.5px; }.settings-nav small { margin-top: 3px; color: #98a2b3; font-size: 12px; }.settings-content { min-width: 0; }.settings-panel { display: none; min-height: 560px; padding: 21px; border: 1px solid var(--line); border-radius: 12px; background: #fff; box-shadow: var(--shadow); }.settings-panel.active { display: block; }.settings-panel-heading { display: flex; align-items: flex-start; justify-content: space-between; gap: 15px; margin-bottom: 19px; padding-bottom: 15px; border-bottom: 1px solid var(--line); }.settings-panel-heading h3 { margin: 0 0 4px; font: 800 19px Manrope, sans-serif; }.settings-panel-heading p { margin: 0; color: var(--muted); font-size: 13px; }.settings-save-row { display: flex; justify-content: flex-end; margin-top: 18px; padding-top: 14px; border-top: 1px solid var(--line); }.current-plan-badge { padding: 6px 9px; border-radius: 99px; background: var(--blue-soft); color: var(--primary); font-size: 12.5px; font-weight: 700; }
.plan-grid { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 8px; }.plan-grid article { display: flex; flex-direction: column; min-height: 315px; padding: 14px; border: 1px solid var(--line); border-radius: 11px; }.plan-grid article.featured { border: 2px solid var(--primary); box-shadow: 0 7px 18px rgba(39,105,232,.1); }.plan-grid article > span { min-height: 18px; color: var(--primary); font-size: 12px; font-weight: 800; letter-spacing: .6px; }.plan-grid h4 { margin: 11px 0 5px; font: 800 20px Manrope, sans-serif; }.plan-grid h4 small { color: var(--muted); font: 500 12px DM Sans, sans-serif; }.plan-grid p { min-height: 32px; margin: 0; color: var(--muted); font-size: 12.5px; line-height: 1.45; }.plan-grid ul { display: grid; gap: 8px; margin: 15px 0; padding: 0; list-style: none; }.plan-grid li { color: #475467; font-size: 13px; }.plan-grid li::before { content: "✓"; margin-right: 6px; color: var(--green); font-weight: 800; }.plan-grid button { width: 100%; margin-top: auto; font-size: 13px; }
.billing-status { margin: -5px 0 14px; padding: 9px 11px; border: 1px solid #dbe5f5; border-radius: 9px; background: #f7faff; color: #526174; font-size: 13px; }.billing-status.ready { border-color: #bce4cb; background: #f0fbf4; color: #247245; }.billing-status.warning { border-color: #f0d7a5; background: #fff9ec; color: #8a5a00; }.plan-grid article.current-plan { border: 2px solid #24a864; background: #f5fcf8; box-shadow: 0 7px 18px rgba(36,168,100,.1); }.plan-grid article.current-plan > span::after { content: " · TU PLAN ACTUAL"; color: #16884c; }.plan-grid article.current-plan button { border-color: #b9d8c5; background: #dff3e7; color: #237145; cursor: default; }
.variable-helper { display: grid; gap: 8px; padding: 11px; border: 1px solid #dce8f9; border-radius: 9px; background: #f8fbff; }.variable-helper > strong { color: #53627a; font-size: 13px; }.variable-helper > div { display: flex; flex-wrap: wrap; gap: 5px; }.variable-helper button { border: 1px solid #d6e3f7; border-radius: 5px; background: #fff; color: var(--primary); padding: 4px 6px; font-family: monospace; font-size: 12px; cursor: pointer; }.template-list { display: grid; gap: 10px; margin-top: 13px; }.template-list label { display: grid; grid-template-columns: 140px 1fr; gap: 13px; padding: 12px; border: 1px solid var(--line); border-radius: 9px; }.template-list label > span strong, .template-list label > span small { display: block; }.template-list label > span strong { font-size: 13.5px; }.template-list label > span small { margin-top: 3px; color: var(--muted); font-size: 12px; }.template-list textarea { min-height: 72px; resize: vertical; border: 1px solid #dfe4eb; border-radius: 7px; padding: 9px; color: #475467; font: 13px/1.5 DM Sans, sans-serif; outline: 0; }.template-list textarea:focus { border-color: var(--primary); box-shadow: 0 0 0 3px #edf4ff; }
.bank-section + .bank-section { margin-top: 20px; }.bank-section-title { display: flex; align-items: center; gap: 9px; margin-bottom: 9px; }.bank-section-title > div { flex: 1; }.bank-section-title strong, .bank-section-title small { display: block; }.bank-section-title strong { font-size: 14px; }.bank-section-title small { margin-top: 2px; color: var(--muted); font-size: 12px; }.bank-icon { width: 28px; height: 28px; display: grid; place-items: center; border-radius: 7px; background: #f2edff; color: var(--purple); font-size: 13px; font-weight: 800; }.bank-icon.admin { background: var(--green-soft); color: var(--green); }.bank-account-card { display: grid; grid-template-columns: repeat(4, 1fr); border: 1px solid #cfe9da; border-radius: 9px; background: #fbfffc; }.bank-account-card > div { padding: 12px; border-right: 1px solid #e0eee6; }.bank-account-card > div:last-child { border: 0; }.bank-account-card span, .bank-account-card strong { display: block; }.bank-account-card span { color: var(--muted); font-size: 12px; }.bank-account-card strong { margin-top: 4px; font-size: 13px; overflow-wrap: anywhere; }.owner-bank-list { border: 1px solid var(--line); border-radius: 9px; overflow: hidden; }.owner-bank-list article { display: grid; grid-template-columns: auto 1fr 1.2fr auto; align-items: center; gap: 10px; padding: 11px; border-bottom: 1px solid var(--line); }.owner-bank-list article:last-child { border: 0; }.owner-bank-avatar { width: 27px; height: 27px; display: grid; place-items: center; border-radius: 50%; background: #eef1f6; color: #667085; font-size: 12px; font-weight: 700; }.owner-bank-list strong, .owner-bank-list small, .owner-bank-list div > span { display: block; }.owner-bank-list strong { font-size: 13px; }.owner-bank-list small, .owner-bank-list div > span { color: var(--muted); font-size: 12px; margin-top: 2px; }
.linked-accounts { margin-top: 20px; padding-top: 16px; border-top: 1px solid var(--line); }.linked-accounts-heading { display: flex; align-items: center; justify-content: space-between; gap: 14px; }.linked-accounts-heading h4 { margin: 0 0 3px; font-size: 15px; }.linked-accounts-heading p { margin: 0; color: var(--muted); font-size: 12.5px; }.linked-account-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 9px; margin-top: 11px; }.linked-account-grid > div { display: flex; align-items: center; gap: 9px; padding: 11px; border: 1px solid var(--line); border-radius: 9px; background: #fbfcfe; }.linked-account-grid p { margin: 0; }.linked-account-grid small, .linked-account-grid strong, .linked-account-grid em { display: block; }.linked-account-grid small { color: #98a2b3; font-size: 12px; font-weight: 700; }.linked-account-grid strong { margin-top: 3px; font-size: 13.5px; }.linked-account-grid em { margin-top: 2px; color: var(--muted); font-size: 12px; font-style: normal; overflow-wrap: anywhere; }
.message-preview-modal { width: min(570px, calc(100vw - 28px)); padding: 22px; }.message-resolved-note { display: flex; gap: 8px; padding: 9px 10px; border-radius: 8px; background: #f2edff; color: #66538d; }.message-resolved-note > span { color: var(--purple); }.message-resolved-note p { margin: 0; font-size: 12.5px; line-height: 1.4; }.message-preview-field { display: block; margin-top: 13px; color: #475467; font-size: 13px; font-weight: 700; }.message-preview-field textarea { display: block; width: 100%; min-height: 125px; margin-top: 5px; resize: vertical; border: 1px solid #dfe4eb; border-radius: 8px; padding: 10px; font: 14px/1.55 DM Sans, sans-serif; }.split-transfer-preview { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; margin-top: 11px; }.split-transfer-preview > div { padding: 10px; border-radius: 8px; background: #f8fafc; }.split-transfer-preview span, .split-transfer-preview strong, .split-transfer-preview small { display: block; }.split-transfer-preview span { color: #98a2b3; font-size: 12px; font-weight: 800; }.split-transfer-preview strong { margin: 4px 0 2px; font-size: 15.5px; }.split-transfer-preview small { color: var(--primary); font-size: 12px; }.message-preview-modal .modal-actions { margin-top: 15px; padding-top: 13px; border-top: 1px solid var(--line); }
.bank-account-modal { width: min(560px, calc(100vw - 28px)); padding: 22px; }.bank-account-fields { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }.bank-account-fields label { color: #475467; font-size: 13px; font-weight: 700; }.bank-account-fields input { display: block; width: 100%; height: 38px; margin-top: 5px; border: 1px solid #dfe4eb; border-radius: 7px; padding: 0 10px; font-size: 14px; }.bank-account-modal .modal-actions { margin-top: 16px; padding-top: 13px; border-top: 1px solid var(--line); }
.person-edit-fields label.full { grid-column: 1 / -1; }
@media (max-width: 900px) { .settings-layout { grid-template-columns: 1fr; }.settings-nav { position: static; grid-template-columns: repeat(4, 1fr); overflow-x: auto; }.settings-nav button { min-width: 145px; }.plan-grid { grid-template-columns: 1fr; }.plan-grid article { min-height: 250px; } }
@media (max-width: 620px) { .settings-panel { padding: 15px; }.template-list label { grid-template-columns: 1fr; }.bank-account-card { grid-template-columns: 1fr 1fr; }.bank-account-card > div:nth-child(2) { border-right: 0; }.bank-account-card > div:nth-child(-n+2) { border-bottom: 1px solid #e0eee6; }.owner-bank-list article { grid-template-columns: auto 1fr auto; }.owner-bank-list article > div:nth-of-type(2) { grid-column: 2 / -1; }.linked-account-grid { grid-template-columns: 1fr; }.bank-account-fields { grid-template-columns: 1fr; } }

/* Personas */
.birthday-alert { display: flex; align-items: center; gap: 12px; margin: 0 0 14px; padding: 12px 14px; border: 1px solid #f1d99e; border-radius: 11px; background: linear-gradient(100deg, #fffaf0, #fffdf8); box-shadow: 0 5px 14px rgba(143, 101, 16, .06); }.birthday-alert[hidden] { display: none; }.birthday-alert > div { flex: 1; min-width: 0; }.birthday-alert strong, .birthday-alert p { display: block; }.birthday-alert strong { color: #704c00; font-size: 14px; }.birthday-alert p { margin: 3px 0 0; color: #8a6a24; font-size: 12.5px; }.birthday-icon { width: 34px; height: 34px; display: grid; place-items: center; flex: 0 0 auto; border-radius: 9px; background: #fff0c9; font-size: 20px; }.birthday-alert .secondary-button { flex: 0 0 auto; background: #fff; }
.people-header { align-items: center; }.people-header .search-box { width: min(360px, 100%); }.people-filters { display: flex; flex-wrap: wrap; gap: 5px; }.people-filters button { height: 30px; padding: 0 10px; border: 1px solid var(--line); border-radius: 7px; background: #fff; color: #667085; font-size: 13px; font-weight: 700; cursor: pointer; }.people-filters button.active { border-color: #cdddf8; background: var(--blue-soft); color: var(--primary); }.people-filters span { margin-left: 3px; }.people-table tbody tr { cursor: pointer; }.person-role-list { display: flex; flex-wrap: wrap; gap: 4px; }.person-role { padding: 4px 7px; border-radius: 99px; font-size: 12px; font-weight: 700; }.person-role.propietario { color: var(--green); background: var(--green-soft); }.person-role.inquilino { color: var(--primary); background: var(--blue-soft); }.person-role.garante { color: #667085; background: #eef1f5; }.bank-status { display: inline-flex; padding: 4px 7px; border-radius: 99px; font-size: 12px; font-weight: 700; }.bank-status.ready { color: var(--green); background: var(--green-soft); }.bank-status.missing { color: var(--orange); background: var(--orange-soft); }
.person-detail-heading .detail-title-row { align-items: center; }.person-tabs { display: flex; overflow-x: auto; gap: 2px; margin: 0 -28px 16px; padding: 0 28px; border-bottom: 1px solid var(--line); background: #fff; }.person-tabs button { flex: 0 0 auto; padding: 12px 11px 10px; border: 0; border-bottom: 2px solid transparent; background: none; color: #667085; font-size: 13px; font-weight: 700; cursor: pointer; }.person-tabs button.active { color: var(--primary); border-bottom-color: var(--primary); }.person-tabs button span { margin-left: 3px; padding: 2px 5px; border-radius: 99px; background: #eef1f5; color: #667085; font-size: 12px; }.person-tab-panel { display: none; }.person-tab-panel.active { display: block; }.person-data-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 0 24px; margin-top: 15px; border-top: 1px solid var(--line); }.person-data-grid > div { padding: 15px 2px; border-bottom: 1px solid var(--line); }.person-data-grid span, .person-data-grid strong { display: block; }.person-data-grid span { color: var(--muted); font-size: 12.5px; }.person-data-grid strong { margin-top: 5px; font-size: 14px; }.person-contract-list { margin-top: 15px; border-top: 1px solid var(--line); }.person-contract-list > button { width: 100%; display: grid; grid-template-columns: auto 1fr auto; align-items: center; gap: 10px; min-height: 58px; padding: 10px 4px; border: 0; border-bottom: 1px solid var(--line); background: none; text-align: left; cursor: pointer; }.person-contract-list > button > span { width: 29px; height: 29px; display: grid; place-items: center; border-radius: 8px; background: var(--blue-soft); color: var(--primary); }.person-contract-list p { margin: 0; }.person-contract-list strong, .person-contract-list small { display: block; }.person-contract-list strong { font-size: 14px; }.person-contract-list small { margin-top: 3px; color: var(--muted); font-size: 12px; }.person-contract-list em { color: var(--primary); font-style: normal; }.person-bank-empty { display: flex; justify-content: center; align-items: center; gap: 10px; min-height: 210px; color: #98a2b3; }.person-bank-empty.compact { min-height: 180px; }.person-bank-empty > span { font-size: 23.5px; }.person-bank-empty p { margin: 0; }.person-bank-empty strong, .person-bank-empty small { display: block; }.person-bank-empty strong { color: #667085; font-size: 14px; }.person-bank-empty small { margin-top: 3px; font-size: 12px; }.person-bank-details { display: grid; grid-template-columns: repeat(5, 1fr); margin-top: 17px; border: 1px solid #cfe9da; border-radius: 9px; background: #fbfffc; }.person-bank-details > div { padding: 13px; border-right: 1px solid #e0eee6; }.person-bank-details > div:last-child { border: 0; }.person-bank-details span, .person-bank-details strong { display: block; }.person-bank-details span { color: var(--muted); font-size: 12px; }.person-bank-details strong { margin-top: 4px; font-size: 13px; overflow-wrap: anywhere; }.non-owner-bank-note { padding: 18px; border: 1px solid var(--line); border-radius: 10px; background: #fff; color: var(--muted); font-size: 14px; }.person-activity-list { margin-top: 15px; border-top: 1px solid var(--line); }.person-activity-list > div:not(.empty-activity) { display: grid; grid-template-columns: 100px 1fr 1fr auto; gap: 10px; align-items: center; min-height: 55px; border-bottom: 1px solid var(--line); font-size: 13px; }.person-activity-list span, .person-activity-list small { color: var(--muted); }.person-activity-list em { color: var(--primary); font-style: normal; font-weight: 700; }.empty-activity { padding: 70px 0; text-align: center; color: var(--muted); font-size: 14px; }.person-note-entry { display: grid; grid-template-columns: 1fr auto; gap: 9px; margin-top: 16px; }.person-note-entry textarea { min-height: 82px; resize: vertical; border: 1px solid var(--line); border-radius: 8px; padding: 10px; font: 14px/1.45 DM Sans, sans-serif; }.person-note-entry button { align-self: end; }.saved-person-note { margin-top: 10px; padding: 11px; border-radius: 8px; background: #f8fafc; }.saved-person-note span { color: var(--muted); font-size: 12px; }.saved-person-note p { margin: 4px 0 0; font-size: 13.5px; }
.person-bank-list { display: grid; gap: 9px; margin-top: 15px; }.person-bank-account { position: relative; padding: 13px; border: 1px solid #cfe9da; border-radius: 10px; background: #fbfffc; }.person-bank-account > .text-button { position: absolute; top: 13px; right: 13px; }.person-edit-modal { width: min(620px, calc(100vw - 28px)); padding: 22px; }.person-role-editor { margin-bottom: 13px; padding: 11px; border: 1px solid #dce8f9; border-radius: 9px; background: #f8fbff; }.person-role-editor > strong, .person-role-editor > small { display: block; }.person-role-editor > strong { margin-bottom: 8px; color: #344054; font-size: 13px; }.person-role-editor > small { margin-top: 7px; color: var(--muted); font-size: 12px; }.person-role-editor > div { display: flex; flex-wrap: wrap; gap: 7px; }.person-role-editor label { display: flex; align-items: center; gap: 5px; min-width: 105px; padding: 7px 9px; border: 1px solid #d8e5f9; border-radius: 7px; background: #fff; color: #475467; font-size: 13px; font-weight: 700; }.person-edit-modal .modal-actions { margin-top: 16px; padding-top: 13px; border-top: 1px solid var(--line); }

/* Cuentas propias de la inmobiliaria */
.agency-account-note { display: flex; gap: 8px; margin-bottom: 13px; padding: 10px; border-radius: 8px; background: #f7faff; color: #53627a; }.agency-account-note > span { color: var(--primary); font-weight: 800; }.agency-account-note p { margin: 0; font-size: 12.5px; line-height: 1.45; }.agency-bank-list { display: grid; gap: 9px; }.agency-bank-list article { position: relative; padding: 13px; border: 1px solid var(--line); border-radius: 10px; background: #fff; }.agency-bank-heading { display: flex; align-items: center; gap: 9px; padding-right: 45px; }.agency-bank-heading > div { flex: 1; }.agency-bank-heading strong, .agency-bank-heading small { display: block; }.agency-bank-heading strong { font-size: 14px; }.agency-bank-heading small { margin-top: 2px; color: var(--muted); font-size: 12px; }.primary-account-badge { padding: 4px 7px; border-radius: 99px; background: var(--green-soft); color: var(--green); font-size: 12px; font-weight: 800; }.agency-bank-data { display: grid; grid-template-columns: 1fr 1fr 1.4fr; gap: 10px; margin-top: 11px; padding-top: 10px; border-top: 1px solid var(--line); }.agency-bank-data span, .agency-bank-data strong { display: block; }.agency-bank-data span { color: var(--muted); font-size: 12px; }.agency-bank-data strong { margin-top: 4px; font-size: 13px; overflow-wrap: anywhere; }.agency-bank-list article > .text-button { position: absolute; right: 12px; top: 13px; }.bank-account-fields input, .bank-account-fields select { display: block; width: 100%; height: 38px; margin-top: 5px; border: 1px solid #dfe4eb; border-radius: 7px; padding: 0 10px; background: #fff; font-size: 14px; }
@media (max-width: 760px) { .people-header { align-items: stretch; flex-direction: column; }.people-header .search-box { width: 100%; }.person-tabs { margin-left: -18px; margin-right: -18px; padding-left: 18px; padding-right: 18px; }.person-bank-details { grid-template-columns: 1fr 1fr; }.person-bank-details > div { border-bottom: 1px solid #e0eee6; }.person-activity-list > div:not(.empty-activity) { grid-template-columns: 75px 1fr; }.person-activity-list em { grid-column: 2; }.agency-bank-data { grid-template-columns: 1fr; } }
@media (max-width: 480px) { .birthday-alert { align-items: flex-start; flex-wrap: wrap; }.birthday-alert > div { width: calc(100% - 48px); }.birthday-alert .secondary-button { width: 100%; }.person-data-grid, .person-bank-details { grid-template-columns: 1fr; }.person-note-entry { grid-template-columns: 1fr; } }

/* Inicio operativo, evidencia fotográfica e incidentes */
.contract-tabs button > span { display: inline-grid; min-width: 16px; height: 16px; margin-left: 4px; place-items: center; border-radius: 99px; background: #eef1f5; color: #667085; font-size: 12px; }
.incident-dashboard-card { margin: 14px 0; padding: 16px 18px; border: 1px solid var(--line); border-radius: 12px; background: #fff; box-shadow: var(--shadow); }
.incident-dashboard-card .section-title { margin-bottom: 13px; }.incident-dashboard-card .section-title > div { align-items: center; }.incident-dashboard-card .section-title h3 { margin-bottom: 2px; }.incident-dashboard-card .section-title p { margin: 0; color: var(--muted); font-size: 12.5px; }
.incident-summary-grid { display: grid; grid-template-columns: repeat(4, 1fr); border: 1px solid var(--line); border-radius: 10px; overflow: hidden; }.incident-summary-grid > div { padding: 12px 14px; border-right: 1px solid var(--line); background: #fbfcfe; }.incident-summary-grid > div:last-child { border-right: 0; }.incident-summary-grid span, .incident-summary-grid strong, .incident-summary-grid small { display: block; }.incident-summary-grid span { color: #667085; font-size: 12px; font-weight: 700; }.incident-summary-grid strong { margin: 3px 0; font: 800 21px Manrope, sans-serif; }.incident-summary-grid small { color: #98a2b3; font-size: 12px; }.incident-summary-grid .urgent { background: #fff8f7; }.incident-summary-grid .urgent strong { color: var(--red); }
.incident-list { display: grid; gap: 9px; margin-top: 16px; }.incident-card { display: grid; grid-template-columns: 1fr auto; gap: 16px; align-items: center; padding: 14px; border: 1px solid #e4e9f0; border-left: 4px solid var(--orange); border-radius: 10px; background: #fff; }.incident-card.resolved { border-left-color: var(--green); background: #fbfefc; }.incident-card-top { display: flex; align-items: center; gap: 6px; }.incident-card-top > small { color: #98a2b3; font-size: 12px; }.incident-priority, .incident-status { display: inline-flex; padding: 4px 7px; border-radius: 99px; font-size: 12px; font-weight: 800; }.incident-priority.baja { color: #667085; background: #eef1f5; }.incident-priority.media { color: var(--orange); background: var(--orange-soft); }.incident-priority.alta { color: var(--red); background: var(--red-soft); }.incident-status { color: var(--primary); background: var(--blue-soft); }.incident-status.resuelto { color: var(--green); background: var(--green-soft); }.incident-card h4 { margin: 8px 0 3px; font-size: 15px; }.incident-card p { margin: 0 0 5px; color: #667085; font-size: 13px; line-height: 1.45; }.incident-card-main > small { color: #98a2b3; font-size: 12px; }.incident-card-actions { display: flex; gap: 6px; }.incident-card-actions button { white-space: nowrap; }.resolved-mark { color: var(--green); font-size: 13px; font-weight: 800; }.incident-empty { padding: 52px 10px; text-align: center; color: #98a2b3; }.incident-empty > span { display: inline-grid; width: 34px; height: 34px; place-items: center; border-radius: 50%; background: var(--green-soft); color: var(--green); }.incident-empty strong { display: block; margin-top: 9px; color: #667085; font-size: 14px; }.incident-empty p { margin: 4px 0 0; font-size: 12.5px; }
.incident-card-actions { align-items: flex-end; gap: 8px; }
.incident-status-control { display: grid; gap: 4px; color: #98a2b3; font-size: 12px; font-weight: 800; text-transform: uppercase; letter-spacing: .04em; }
.incident-status-control select { min-width: 150px; height: 32px; padding: 0 28px 0 9px; border: 1px solid #d8e1ee; border-radius: 7px; background: #fff; color: #344054; font: 700 13px DM Sans, sans-serif; cursor: pointer; }
.incident-status.esperando-inquilino, .incident-status.esperando-propietario, .incident-status.esperando-tercero { color: var(--orange); background: var(--orange-soft); }
.property-photo-section { display: grid; grid-template-columns: 1fr auto; gap: 10px; align-items: center; padding: 12px; border: 1px solid #dce8f9; border-radius: 10px; background: #f8fbff; }.property-photo-section strong { font-size: 13.5px; }.property-photo-section p { margin: 3px 0 0; color: var(--muted); font-size: 12px; }.property-photo-upload { display: inline-flex; align-items: center; justify-content: center; height: 32px; padding: 0 10px; border: 1px solid #bdd2f5; border-radius: 7px; background: #fff; color: var(--primary) !important; cursor: pointer; white-space: nowrap; }.property-photo-upload input { display: none; }.property-photo-gallery { grid-column: 1 / -1; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 8px; }.property-photo-gallery figure { position: relative; min-width: 0; margin: 0; overflow: hidden; border: 1px solid var(--line); border-radius: 8px; background: #fff; }.property-photo-gallery img { width: 100%; height: 82px; display: block; object-fit: cover; }.property-photo-gallery figcaption { overflow: hidden; padding: 6px; color: #667085; font-size: 12px; text-overflow: ellipsis; white-space: nowrap; }.property-photo-gallery figure button { position: absolute; top: 5px; right: 5px; width: 21px; height: 21px; border: 0; border-radius: 50%; background: rgba(16,24,40,.74); color: #fff; cursor: pointer; }.property-photo-empty { grid-column: 1 / -1; display: flex; align-items: center; justify-content: center; gap: 7px; min-height: 54px; color: #98a2b3; }.property-photo-empty p { margin: 0; }.property-incident-summary { border: 1px solid var(--line); border-radius: 9px; overflow: hidden; }.property-incident-summary > div { display: grid; grid-template-columns: auto 1fr; gap: 9px; align-items: center; padding: 10px 11px; border-bottom: 1px solid var(--line); }.property-incident-summary > div:last-child { border-bottom: 0; }.property-incident-summary p { margin: 0; }.property-incident-summary strong, .property-incident-summary small { display: block; }.property-incident-summary strong { font-size: 13px; }.property-incident-summary small { margin-top: 2px; color: var(--muted); font-size: 12px; }.muted-note { margin: 0; padding: 14px; color: #98a2b3; font-size: 12.5px; }
.incident-modal { width: min(570px, calc(100vw - 28px)); padding: 22px; }.modal-icon.incident { color: var(--orange); background: var(--orange-soft); }.incident-form { display: grid; grid-template-columns: 1fr 1fr; gap: 11px; }.incident-form label { color: #475467; font-size: 13px; font-weight: 700; }.incident-form label.full, .incident-form .modal-actions { grid-column: 1 / -1; }.incident-form input, .incident-form select, .incident-form textarea { display: block; width: 100%; margin-top: 5px; border: 1px solid #dfe4eb; border-radius: 7px; padding: 0 10px; color: var(--ink); font: 14px DM Sans, sans-serif; }.incident-form input, .incident-form select { height: 38px; }.incident-form textarea { min-height: 95px; padding-top: 9px; resize: vertical; }.incident-form .modal-actions { margin-top: 6px; padding-top: 13px; border-top: 1px solid var(--line); }
@media (max-width: 760px) { .incident-summary-grid { grid-template-columns: 1fr 1fr; }.incident-summary-grid > div:nth-child(2) { border-right: 0; }.incident-summary-grid > div:nth-child(-n+2) { border-bottom: 1px solid var(--line); }.incident-card { grid-template-columns: 1fr; }.incident-card-actions { flex-wrap: wrap; }.property-photo-gallery { grid-template-columns: 1fr 1fr; } }
.nav-count.alert { min-width: 19px; color: var(--red); background: var(--red-soft); }
.incidents-table th:nth-child(1) { width: 10%; }.incidents-table th:nth-child(2) { width: 23%; }.incidents-table th:nth-child(3) { width: 32%; }.incidents-table th:nth-child(4) { width: 15%; }.incidents-table th:nth-child(5) { width: 12%; }.incidents-table tbody tr { cursor: pointer; }.incidents-table td > strong, .incidents-table td > small { display: block; }.incidents-table td > small { max-width: 330px; margin-top: 3px; overflow: hidden; color: var(--muted); font-size: 12px; text-overflow: ellipsis; white-space: nowrap; }

/* Comprobantes: documento y acciones */
.receipt-modal { width: min(860px, calc(100vw - 28px)); }
.receipt-modal-actions button { height: 34px; }
.receipt-document { position: relative; width: min(100%, 720px); aspect-ratio: 210 / 297; margin: 0 auto; overflow: hidden; padding: 36px 42px; border: 1px solid #dce3ed; border-top: 5px solid var(--primary); border-radius: 5px; background: #fff; box-shadow: 0 8px 28px rgba(16, 24, 40, .09); }
.receipt-document.active { display: flex; flex-direction: column; }
.receipt-document::after { content: ""; position: absolute; z-index: 0; width: 190px; height: 190px; right: -105px; top: -105px; border-radius: 50%; background: #edf4ff; }
.receipt-document > * { position: relative; z-index: 1; }
.document-top { padding-bottom: 18px; border-bottom: 1px solid #dce3ed; }
.document-heading { display: grid; justify-items: end; gap: 3px; }
.receipt-status { display: inline-flex !important; width: max-content; margin-bottom: 4px; padding: 4px 7px; border-radius: 99px; background: var(--green-soft); color: var(--green); font-size: 12px; font-weight: 800; letter-spacing: .45px; }
.receipt-status.provisional { background: var(--orange-soft); color: var(--orange); }
.receipt-status.owner { background: var(--blue-soft); color: var(--primary); }
.receipt-profile-toggle { display: flex; align-items: center; justify-content: space-between; gap: 18px; margin-top: 12px; padding: 13px 15px; border: 1px solid #d7e4f8; border-radius: 10px; background: #f7faff; }
.receipt-profile-toggle strong, .receipt-profile-toggle small { display: block; }
.receipt-profile-toggle strong { color: #344054; font-size: 13.5px; }
.receipt-profile-toggle small { max-width: 430px; margin-top: 3px; color: #667085; font-size: 12px; line-height: 1.45; }
.document-parties { margin: 0 -42px; padding: 17px 42px; background: #fafbfd; }
.document-intro { margin: 20px 0 12px; color: #475467; font-size: 14px; line-height: 1.6; }
.document-meta-grid { display: grid; grid-template-columns: repeat(3, 1fr); margin-bottom: 14px; border: 1px solid #e5e9ef; border-radius: 8px; background: #fbfcfe; }.document-meta-grid > div { padding: 10px 11px; border-right: 1px solid #e5e9ef; }.document-meta-grid > div:last-child { border: 0; }.document-meta-grid span, .document-meta-grid strong { display: block; }.document-meta-grid span { color: #98a2b3; font-size: 12px; }.document-meta-grid strong { margin-top: 4px; color: #344054; font-size: 13px; }
.document-lines .document-total { min-height: 60px; margin-top: 10px; padding: 0 13px; border: 0; border-radius: 10px; background: #eff5ff; }
.document-total strong { color: var(--primary); font-size: 21px; }
.document-total.owner { background: #ecf8f1; }
.document-total.owner strong { color: var(--green); }
.document-footer { display: flex; justify-content: space-between; gap: 12px; margin-top: 28px; padding-top: 11px; border-top: 1px dashed #d5dce6; color: #98a2b3; font-size: 12px; }
.document-footer strong { color: #667085; }
.message-channel-switch { display: grid; grid-template-columns: 1fr 1fr; gap: 5px; margin-top: 12px; padding: 3px; border-radius: 9px; background: #eef1f5; }
.message-channel-switch button { height: 33px; border: 0; border-radius: 7px; background: transparent; color: #667085; font-size: 13px; font-weight: 700; cursor: pointer; }
.message-channel-switch button.active { background: #fff; color: var(--primary); box-shadow: 0 1px 4px rgba(16, 24, 40, .1); }

@media print {
  @page { size: A4 portrait; margin: 12mm; }
  body.receipt-printing { background: #fff; }
  body.receipt-printing .app-shell,
  body.receipt-printing .modal-backdrop:not(#receiptModal),
  body.receipt-printing #receiptModal > .receipt-modal > *:not(.receipt-document) { display: none !important; }
  body.receipt-printing #receiptModal { position: static !important; display: block !important; padding: 0 !important; background: #fff !important; }
  body.receipt-printing #receiptModal .receipt-modal { width: 100% !important; max-width: none !important; max-height: none !important; padding: 0 !important; overflow: visible !important; box-shadow: none !important; }
  body.receipt-printing .receipt-document { display: none !important; }
  body.receipt-printing .receipt-document.active { display: flex !important; width: 186mm !important; min-height: 273mm !important; aspect-ratio: auto !important; padding: 12mm 14mm !important; border: 1px solid #dce3ed; border-top: 2mm solid var(--primary); border-radius: 0; box-shadow: none; print-color-adjust: exact; -webkit-print-color-adjust: exact; }
}

@media (max-width: 560px) {
  .receipt-document { padding: 16px; }
  .document-parties { margin: 0 -16px; padding: 15px 16px; }
  .document-meta-grid { grid-template-columns: 1fr; }.document-meta-grid > div { border-right: 0; border-bottom: 1px solid #e5e9ef; }.document-meta-grid > div:last-child { border-bottom: 0; }
  .document-footer { flex-direction: column; }
}

/* La liquidación se habilita recién después de cobrarle al inquilino */
.owner-step { position: relative; overflow: hidden; }
.owner-step.locked { border-color: #e1e5eb; background: #f7f8fa; box-shadow: 0 8px 22px rgba(52, 64, 84, .08); }
.owner-step.locked .workflow-heading { opacity: .58; }
.owner-step.locked .workflow-number.green { color: #7f8998; background: #e9ecf1; }
.owner-step.locked .owner-financial-content { opacity: .18; filter: grayscale(1) blur(2px); pointer-events: none; user-select: none; }
.owner-step-lock { position: absolute; z-index: 2; inset: 70px 0 0; display: flex; flex-direction: column; align-items: center; justify-content: center; min-height: 180px; padding: 24px; background: rgba(241, 243, 246, .76); backdrop-filter: blur(3px); text-align: center; }
.owner-step-lock[hidden] { display: none; }
.owner-step-lock > span { width: 36px; height: 36px; display: grid; place-items: center; margin-bottom: 10px; border-radius: 50%; background: #fff; box-shadow: 0 5px 16px rgba(52, 64, 84, .13); font-size: 19px; }
.owner-step-lock strong { color: #475467; font: 800 15.5px Manrope, sans-serif; }
.owner-step-lock p { max-width: 300px; margin: 5px 0 0; color: #7b8492; font-size: 13px; line-height: 1.5; }

/* Listado operativo de contratos */
.contract-status-filters { display: flex; flex-wrap: wrap; gap: 6px; padding: 0 20px 15px; }
.contract-status-filters button { display: inline-flex; align-items: center; gap: 6px; height: 31px; padding: 0 10px; border: 1px solid var(--line); border-radius: 8px; background: #fff; color: #667085; font-size: 13px; font-weight: 700; cursor: pointer; }
.contract-status-filters button:hover { border-color: #cbdaf3; background: #f8fbff; }
.contract-status-filters button.active { border-color: #bcd1f5; background: var(--blue-soft); color: var(--primary); box-shadow: 0 3px 9px rgba(39, 105, 232, .08); }
.contract-status-filters button span { min-width: 19px; padding: 2px 5px; border-radius: 99px; background: #eef1f5; color: #667085; font-size: 12px; text-align: center; }
.contract-status-filters button.active span { background: #fff; color: var(--primary); }
.contracts-table th:nth-child(1) { width: 11%; }
.contracts-table th:nth-child(2) { width: 17%; }
.contracts-table th:nth-child(3) { width: 14%; }
.contracts-table th:nth-child(4) { width: 12%; }
.contracts-table th:nth-child(5) { width: 10%; }
.contracts-table th:nth-child(6) { width: 9%; }
.contracts-table th:nth-child(7) { width: 11%; }
.contracts-table th:nth-child(8) { width: 16%; }
.contracts-table th:nth-child(n+5),
.contracts-table td:nth-child(n+5) { text-align: center; }
.contract-state-cell { display: flex; flex-direction: column; align-items: flex-start; gap: 4px; }
.contract-state-cell small { color: #98a2b3; font-size: 12px; line-height: 1.25; }
.contracts-table .activity-note { line-height: 1.3; }

@media (max-width: 1180px) {
  .contracts-table th:nth-child(1) { width: 11%; }
  .contracts-table th:nth-child(2) { width: 16%; }
  .contracts-table th:nth-child(3) { width: 13%; }
  .contracts-table th:nth-child(4) { width: 11%; }
  .contracts-table th:nth-child(5) { width: 10%; }
  .contracts-table th:nth-child(6) { width: 8%; }
  .contracts-table th:nth-child(7) { width: 10%; }
  .contracts-table th:nth-child(8) { width: 21%; }
  .contract-state-cell small { font-size: 12px; }
}

/* Registro visible de gastos y ajustes del contrato */
.adjustment-entry-button { border-color: #d7e4f8; background: #f7faff; color: var(--primary); }
.concept-impact-preview { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; margin-top: 13px; }
.concept-impact-preview > div { display: flex; align-items: center; justify-content: space-between; gap: 10px; min-height: 42px; padding: 9px 11px; border: 1px solid #dce6f5; border-radius: 8px; background: #f8fbff; }
.concept-impact-preview span { color: #667085; font-size: 12.5px; font-weight: 700; }
.concept-impact-preview strong { color: var(--primary); font-size: 14px; white-space: nowrap; }
.owner-account-lines #ownerConceptBreakdown { display: block; min-height: 0; padding: 0; }
.owner-concept-line { display: flex; align-items: center; justify-content: space-between; gap: 15px; min-height: 38px; padding: 7px 2px; border-bottom: 1px solid var(--line); }
.owner-concept-line span { color: #667085; }
.owner-concept-line small { display: block; margin-top: 2px; color: #98a2b3; font-size: 12px; }
.owner-concept-line strong, .owner-credit-summary strong { color: var(--red); }
@media (max-width: 560px) { .concept-impact-preview { grid-template-columns: 1fr; } }

/* Tablas compactas: sin desplazamiento lateral */
.responsive-table-wrap { overflow-x: visible; }
.responsive-table { min-width: 0; table-layout: fixed; }
.responsive-table th,
.responsive-table td { padding-left: 8px; padding-right: 8px; }
.responsive-table th:first-child,
.responsive-table td:first-child { padding-left: 14px; }

.rentals-table th:nth-child(1) { width: 12%; }
.rentals-table th:nth-child(2) { width: 17%; }
.rentals-table th:nth-child(3) { width: 23%; }
.rentals-table th:nth-child(4) { width: 12%; }
.rentals-table th:nth-child(5) { width: 10%; }
.rentals-table th:nth-child(6) { width: 15%; }
.rentals-table th:nth-child(7) { width: 11%; }
.rentals-table th:nth-child(n+4),
.rentals-table td:nth-child(n+4) { text-align: center; }
.rentals-table td { white-space: normal; }
.rentals-table .row-actions { justify-content: center; }
.rentals-table .activity-note { line-height: 1.35; }

.contracts-table { min-width: 0; }
.contracts-table th:nth-child(1) { width: 19%; }
.contracts-table th:nth-child(2) { width: 15%; }
.contracts-table th:nth-child(3) { width: 13%; }
.contracts-table th:nth-child(4) { width: 14%; }
.contracts-table th:nth-child(5) { width: 13%; }
.contracts-table th:nth-child(6) { width: 8%; }
.contracts-table th:nth-child(7) { width: 18%; }
.contracts-table th:nth-child(n+4),
.contracts-table td:nth-child(n+4) { text-align: center; }
.contracts-table td { padding-left: 7px; padding-right: 7px; white-space: normal; overflow-wrap: anywhere; }
.contracts-table .contract-row-actions { min-width: 0; justify-content: center; gap: 3px; }
.contracts-table .contract-quick-channel { width: 25px; height: 25px; }
.contracts-table .contract-adjustment { justify-content: center; padding-left: 6px; padding-right: 6px; white-space: nowrap; }
.contract-quick-channel { padding: 0; line-height: 0; }
.contract-quick-channel svg { display: block; width: 15px; height: 15px; margin: auto; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.contract-quick-channel.email svg { width: 16px; height: 16px; }
.contract-quick-channel.whatsapp svg { width: 17px; height: 17px; stroke-width: 1.9; }
.contract-quick-channel.menu svg { width: 16px; height: 16px; fill: currentColor; stroke: none; }
.contract-quick-channel.copy { color: #6656c7; background: #f7f4ff; border-color: #e5defe; }
.contract-quick-channel.receipt { color: #b15f0e; background: #fff8ed; border-color: #f4dfbe; }
.channel-icon { display: block; width: 16px; height: 16px; flex: 0 0 auto; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.whatsapp-icon .phone { fill: currentColor; stroke: none; }
.message-channel-switch button,
.contract-contact-actions button,
#messagePreviewSend { display: inline-flex; align-items: center; justify-content: center; gap: 7px; }
.message-channel-switch button .channel-icon { width: 16px; height: 16px; }
.message-channel-switch button.whatsapp.active { color: #168c55; }
.message-channel-switch button.email.active { color: var(--primary); }
.channel-modal-icon { display: grid; place-items: center; padding: 0; }
.channel-modal-icon .channel-icon { width: 18px; height: 18px; }
.channel-modal-icon.whatsapp { color: #168c55; background: #eaf8f0; }
.channel-modal-icon.email { color: var(--primary); background: var(--blue-soft); }
#messagePreviewSend .channel-icon { width: 15px; height: 15px; }

.people-table { min-width: 0; }
.people-table th:nth-child(1) { width: 25%; }
.people-table th:nth-child(2) { width: 18%; }
.people-table th:nth-child(3) { width: 28%; }
.people-table th:nth-child(4) { width: 20%; }
.people-table th:nth-child(5) { width: 9%; }
.people-table td { white-space: normal; overflow-wrap: anywhere; }
.people-table th:last-child,
.people-table td:last-child { text-align: center; }

.property-summary-strip { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px; margin-bottom: 13px; }
.property-summary-strip > div { padding: 13px 15px; border: 1px solid var(--line); border-radius: 10px; background: #fff; }
.property-summary-strip span, .property-summary-strip strong { display: block; }
.property-summary-strip span { color: var(--muted); font-size: 12.5px; font-weight: 700; }
.property-summary-strip strong { margin-top: 3px; color: #344054; font: 800 20px Manrope, sans-serif; }
.properties-search { width: 250px; }
.properties-table { min-width: 0; table-layout: fixed; }
.properties-table th:nth-child(1) { width: 25%; }.properties-table th:nth-child(2) { width: 18%; }.properties-table th:nth-child(3) { width: 12%; }.properties-table th:nth-child(4) { width: 22%; }.properties-table th:nth-child(5) { width: 13%; }.properties-table th:nth-child(6) { width: 10%; }
.properties-table tbody tr { cursor: pointer; }
.properties-table tbody tr:hover { background: #f4f8ff; }
.properties-table td { white-space: normal; }
.properties-table td > strong, .properties-table td > small { display: block; }
.properties-table td > small { margin-top: 2px; color: var(--muted); font-size: 12px; }
.property-address { display: flex; align-items: center; gap: 8px; }
.property-address > span { width: 28px; height: 28px; display: grid; place-items: center; flex: 0 0 auto; border-radius: 8px; background: var(--blue-soft); color: var(--primary); font-size: 17px; }
.property-address p { margin: 0; min-width: 0; }
.property-address strong, .property-address small { display: block; }
.property-address strong { color: #344054; font-size: 14px; }
.property-address small { margin-top: 2px; color: var(--muted); font-size: 12px; }
.property-status { display: inline-flex; align-items: center; gap: 5px; padding: 4px 7px; border-radius: 99px; font-size: 12px; font-weight: 800; }
.property-status::before { content: ""; width: 5px; height: 5px; border-radius: 50%; background: currentColor; }
.property-status.alquilada { color: var(--green); background: var(--green-soft); }.property-status.disponible { color: var(--primary); background: var(--blue-soft); }.property-status.inactiva { color: #667085; background: #eef1f5; }
.property-edit-button { height: 26px; padding: 0 9px; border: 1px solid #d9e7ff; border-radius: 6px; background: var(--blue-soft); color: var(--primary); font-size: 12px; font-weight: 800; cursor: pointer; }
.property-modal { width: min(680px, calc(100vw - 28px)); max-height: calc(100vh - 28px); padding: 22px; overflow-y: auto; }
.property-modal-heading { display: flex; align-items: center; gap: 11px; margin-bottom: 16px; }
.property-modal-heading h2 { margin: 3px 0; font: 800 21px Manrope, sans-serif; }.property-modal-heading p { margin: 0; color: var(--muted); font-size: 13px; }
.property-form { display: grid; grid-template-columns: 2fr 1fr 1fr; gap: 11px; }
.property-form label { color: #475467; font-size: 13px; font-weight: 700; }
.property-form label.full, .property-form-divider { grid-column: 1 / -1; }.property-form label.street { grid-column: span 1; }
.property-form input, .property-form select, .property-form textarea { display: block; width: 100%; margin-top: 5px; border: 1px solid #dfe4eb; border-radius: 7px; padding: 0 10px; color: var(--ink); font: 14px DM Sans, sans-serif; outline: 0; }
.property-form input, .property-form select { height: 36px; }.property-form textarea { min-height: 78px; padding-top: 9px; resize: vertical; line-height: 1.45; }
.property-form input:focus, .property-form select:focus, .property-form textarea:focus { border-color: #9fc0f7; box-shadow: 0 0 0 3px #edf4ff; }
.property-form-divider { display: flex; align-items: center; gap: 10px; margin-top: 3px; color: #667085; font-size: 13px; font-weight: 800; }
.property-form-divider::after { content: ""; flex: 1; height: 1px; background: var(--line); }
.property-form .modal-actions { margin-top: 3px; padding-top: 14px; border-top: 1px solid var(--line); }

@media (max-width: 1180px) {
  .responsive-table th { height: 30px; padding-left: 5px; padding-right: 5px; font-size: 12px; letter-spacing: .2px; }
  .responsive-table td { height: 51px; padding-left: 5px; padding-right: 5px; font-size: 12.5px; line-height: 1.25; }
  .responsive-table th:first-child,
  .responsive-table td:first-child { padding-left: 8px; }
  .responsive-table .tenant-cell { gap: 4px; }
  .responsive-table .tenant-avatar { width: 23px; height: 23px; font-size: 12px; flex: 0 0 auto; }
  .responsive-table .tenant-cell strong,
  .responsive-table .property-cell strong,
  .responsive-table .contract-main strong { font-size: 12.5px; }
  .responsive-table .tenant-cell small,
  .responsive-table .property-cell small,
  .responsive-table .contract-main small { font-size: 12px; }
  .responsive-table .status-pill { padding: 3px 5px; gap: 3px; font-size: 12px; }
  .responsive-table .activity-note { font-size: 12px; }
  .responsive-table .row-button { min-width: 0; height: 23px; padding: 0 5px; font-size: 12px; }
  .contracts-table th:nth-child(1) { width: 18%; }
  .contracts-table th:nth-child(2) { width: 14%; }
  .contracts-table th:nth-child(3) { width: 12%; }
  .contracts-table th:nth-child(4) { width: 13%; }
  .contracts-table th:nth-child(5) { width: 12%; }
  .contracts-table th:nth-child(6) { width: 8%; }
  .contracts-table th:nth-child(7) { width: 23%; }
  .contracts-table .contract-adjustment { padding: 3px 4px; font-size: 12px; white-space: normal; }
  .contracts-table .contract-row-actions { gap: 2px; }
  .contracts-table .contract-quick-channel { width: 23px; height: 23px; border-radius: 6px; }
  .contracts-table .contract-quick-channel svg { width: 13px; height: 13px; }
  .contracts-table .contract-quick-channel.email svg { width: 14px; height: 14px; }
  .contracts-table .contract-quick-channel.whatsapp svg { width: 15px; height: 15px; }
}

@media (max-width: 560px) {
  .responsive-table th { font-size: 12px; }
  .responsive-table td { font-size: 12px; }
  .contracts-table .contract-quick-channel { width: 21px; height: 21px; }
  .contracts-table .contract-row-actions { gap: 1px; }
  .property-summary-strip { grid-template-columns: repeat(3, 1fr); gap: 6px; }
  .property-summary-strip > div { padding: 10px; }
  .property-form { grid-template-columns: 1fr 1fr; }
  .property-form label.full, .property-form-divider { grid-column: 1 / -1; }
}

/* Registro fotográfico de la propiedad */
.property-form .property-photo-section { min-width: 0; grid-column: 1 / -1; align-items: start; }
.property-form .property-photo-upload { width: auto; margin: 0; display: inline-flex; align-items: center; justify-content: center; justify-self: end; }
.property-form .property-photo-upload input { display: none; }
.property-form .property-photo-gallery { width: 100%; min-width: 0; grid-template-columns: repeat(auto-fill, minmax(125px, 1fr)); align-items: start; }
.property-form .property-photo-gallery figure { width: 100%; min-width: 0; display: grid; grid-template-rows: auto 28px; }
.property-form .property-photo-gallery img { width: 100%; height: auto; aspect-ratio: 4 / 3; object-fit: cover; }
.property-form .property-photo-gallery figcaption { min-width: 0; display: block; }
@media (max-width: 560px) {
  .property-form .property-photo-section { grid-template-columns: 1fr; }
  .property-form .property-photo-upload { width: 100%; justify-self: stretch; }
  .property-form .property-photo-gallery { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

/* Estadísticas del negocio */
.stats-control-bar { display: flex; align-items: flex-end; gap: 12px; margin: -6px 0 16px; padding: 13px 15px; border: 1px solid var(--line); border-radius: 12px; background: #fff; box-shadow: var(--shadow); }
.stats-control-bar label, .stats-control-group { display: grid; gap: 6px; }
.stats-control-bar label > span, .stats-control-group > span, .stats-currency-note > span { color: #667085; font-size: 12px; font-weight: 800; text-transform: uppercase; letter-spacing: .05em; }
.stats-currency-note { display: grid; gap: 6px; }
.stats-currency-note strong { height: 34px; display: flex; align-items: center; padding: 0 11px; border: 1px solid #dfe4eb; border-radius: 7px; background: #f8fafc; color: #344054; font-size: 13.5px; }
.stats-control-bar select { min-width: 105px; height: 34px; padding: 0 28px 0 10px; border: 1px solid #dfe4eb; border-radius: 7px; background: #fff; color: #344054; font: 700 13.5px DM Sans, sans-serif; }
.stats-segmented { display: flex; height: 34px; padding: 3px; border: 1px solid #dfe4eb; border-radius: 8px; background: #f7f8fa; }
.stats-segmented button { min-width: 72px; border: 0; border-radius: 6px; background: transparent; color: #667085; font-size: 13px; font-weight: 700; cursor: pointer; }
.stats-segmented button.active { background: #fff; color: var(--primary); box-shadow: 0 1px 3px rgba(16,24,40,.1); }
.stats-control-group:last-child { margin-left: auto; }
.stats-kpi-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 11px; margin-bottom: 14px; }
.stats-kpi-grid article { position: relative; min-width: 0; min-height: 95px; overflow: hidden; padding: 15px 16px; border: 1px solid var(--line); border-radius: 11px; background: #fff; box-shadow: var(--shadow); }
.stats-kpi-grid article::after { content: ""; position: absolute; top: -24px; right: -22px; width: 62px; height: 62px; border-radius: 50%; background: #edf4ff; }
.stats-kpi-grid article.positive::after { background: var(--green-soft); }.stats-kpi-grid article.warning::after { background: var(--orange-soft); }.stats-kpi-grid article.purple::after { background: #f2edff; }
.stats-kpi-grid span, .stats-kpi-grid small { display: block; color: var(--muted); font-size: 12.5px; }.stats-kpi-grid strong { display: block; margin: 8px 0 4px; font: 800 20px Manrope, sans-serif; letter-spacing: -.3px; }.stats-kpi-grid small { color: #98a2b3; }.stats-kpi-grid .positive strong { color: var(--green); }.stats-kpi-grid .warning strong { color: var(--orange); }.stats-kpi-grid .purple strong { color: var(--purple); }
.stats-fee-kpi > div { position: relative; z-index: 1; display: grid; grid-template-columns: 1fr 1fr; gap: 9px; margin-top: 8px; }
.stats-fee-kpi p { min-width: 0; margin: 0; }
.stats-fee-kpi p + p { padding-left: 9px; border-left: 1px solid #e7e1fb; }
.stats-fee-kpi p strong { margin: 3px 0 0; font-size: 15.5px; white-space: nowrap; }
.stats-dashboard-grid { display: grid; grid-template-columns: .8fr 1.2fr; gap: 13px; }.portfolio-evolution-card { grid-column: 1 / -1; }
.portfolio-bars { height: 235px; display: grid; grid-template-columns: repeat(12, minmax(26px, 1fr)); align-items: end; gap: 9px; margin-top: 17px; padding: 20px 11px 0; border-bottom: 1px solid var(--line); background: repeating-linear-gradient(to bottom, transparent 0, transparent 52px, #eff2f6 53px); }
.portfolio-bar { height: 100%; display: grid; grid-template-rows: 17px 1fr 23px; align-items: end; text-align: center; }.portfolio-bar > span { color: #667085; font-size: 12px; font-weight: 800; opacity: 0; transition: .18s; }.portfolio-bar > i { display: block; width: min(34px, 74%); min-height: 5px; margin: 0 auto; border-radius: 5px 5px 0 0; background: #dce8fb; transition: .18s; }.portfolio-bar > small { align-self: center; color: #98a2b3; font-size: 12px; }.portfolio-bar:hover > span, .portfolio-bar.current > span { opacity: 1; }.portfolio-bar:hover > i, .portfolio-bar.current > i { background: var(--primary); }.portfolio-bar.future > i { height: 3px !important; border: 1px dashed #cdd5df; background: transparent; }.portfolio-bar.future > span { opacity: 1; color: #b3bbc6; }
.stats-ring-layout { min-height: 205px; display: grid; grid-template-columns: 145px 1fr; align-items: center; gap: 22px; }.stats-ring { --collection: 65.5; width: 132px; height: 132px; display: grid; place-content: center; text-align: center; border-radius: 50%; background: radial-gradient(circle at center, #fff 56%, transparent 57%), conic-gradient(var(--green) calc(var(--collection) * 1%), #e8edf2 0); }.stats-ring strong, .stats-ring span { display: block; }.stats-ring strong { font: 800 21.5px Manrope, sans-serif; color: var(--green); }.stats-ring span { margin-top: 2px; color: #98a2b3; font-size: 12px; }.stats-ring-layout > div:last-child { display: grid; gap: 4px; }.stats-ring-layout > div:last-child small { margin-top: 8px; color: #98a2b3; font-size: 12px; font-weight: 800; }.stats-ring-layout > div:last-child strong { font-size: 15px; color: #344054; }
.stats-fee-bars { display: grid; gap: 11px; margin-top: 21px; }.stats-fee-row { display: grid; grid-template-columns: 26px minmax(110px, 1fr) 75px; align-items: center; gap: 9px; }.stats-fee-row > strong { color: #667085; font-size: 12px; }.stats-fee-row > span { text-align: right; color: #344054; font-size: 12px; font-weight: 700; }.stats-fee-track { position: relative; height: 15px; }.stats-fee-track i { position: absolute; left: 0; display: block; border-radius: 3px; }.stats-fee-track .invoiced { top: 1px; height: 13px; background: #e5eaf1; }.stats-fee-track .collected { top: 4px; height: 7px; background: var(--primary); }.stats-fee-track .collected.single { top: 1px; height: 13px; }
.stats-table-panel { overflow: hidden; border: 1px solid var(--line); border-radius: 12px; background: #fff; box-shadow: var(--shadow); }.stats-table-panel[hidden] { display: none; }.stats-table-heading { display: flex; align-items: center; justify-content: space-between; gap: 20px; padding: 17px 19px; border-bottom: 1px solid var(--line); }.stats-table-heading h3 { margin: 0 0 3px; font: 800 17px Manrope, sans-serif; }.stats-table-heading p { margin: 0; color: var(--muted); font-size: 13px; }.stats-table-heading > span { padding: 5px 8px; border-radius: 99px; background: var(--blue-soft); color: var(--primary); font-size: 12px; font-weight: 800; }.stats-table-scroll { width: 100%; overflow-x: hidden; }.stats-table-scroll table { width: 100%; min-width: 0; table-layout: fixed; border-collapse: collapse; }.stats-table-scroll th, .stats-table-scroll td { width: 6.45%; min-width: 0; padding: 10px 3px; border-bottom: 1px solid #eef1f4; text-align: center; font-size: 12px; line-height: 1.25; white-space: normal; overflow-wrap: anywhere; }.stats-table-scroll th { color: #98a2b3; background: #fbfcfe; font-size: 12px; text-transform: uppercase; }.stats-table-scroll th:first-child, .stats-table-scroll td:first-child { position: static; width: 16%; min-width: 0; padding-left: 11px; padding-right: 6px; text-align: left; background: #fff; color: #344054; font-weight: 800; }.stats-table-scroll th:first-child { background: #fbfcfe; }.stats-table-scroll td.current-month { color: var(--primary); background: #f7faff; font-weight: 800; }.stats-table-scroll .annual-column { width: 7%; color: #1967d2; background: #f1f6ff; font-weight: 800; }.stats-table-note { margin: 0; padding: 11px 19px; color: #98a2b3; font-size: 12px; }
@media (max-width: 900px) { .stats-table-scroll th, .stats-table-scroll td { padding-left: 2px; padding-right: 2px; font-size: 12px; }.stats-table-scroll th { font-size: 12px; }.stats-table-scroll th:first-child, .stats-table-scroll td:first-child { width: 18%; padding-left: 7px; }.stats-table-scroll .annual-column { width: 8%; } }
@media (max-width: 1180px) { .stats-kpi-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 900px) { .stats-kpi-grid { grid-template-columns: 1fr 1fr; }.stats-dashboard-grid { grid-template-columns: 1fr; }.portfolio-evolution-card { grid-column: auto; }.portfolio-bars { gap: 4px; padding-left: 2px; padding-right: 2px; } }
@media (max-width: 620px) { .stats-control-bar { display: grid; grid-template-columns: 1fr 1fr; }.stats-control-bar label { grid-column: 1 / -1; }.stats-control-bar select { width: 100%; }.stats-control-group:last-child { margin-left: 0; }.stats-segmented button { min-width: 0; flex: 1; }.stats-kpi-grid { grid-template-columns: 1fr 1fr; }.stats-ring-layout { grid-template-columns: 120px 1fr; gap: 14px; }.stats-ring { width: 112px; height: 112px; }.portfolio-bars { height: 205px; }.portfolio-bar > i { width: 70%; }.stats-table-heading { align-items: flex-start; flex-direction: column; } }

/* Iconografía consistente del centro de configuración */
.settings-nav .settings-nav-icon { width: 27px; height: 27px; display: grid; place-items: center; border: 1px solid #e3e8ef; border-radius: 8px; background: #f8fafc; color: #667085; }
.settings-nav .settings-nav-icon svg { width: 16px; height: 16px; fill: none; stroke: currentColor; stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; }
.settings-nav button:hover .settings-nav-icon { border-color: #cbd7e8; background: #fff; color: #475467; }
.settings-nav button.active .settings-nav-icon { border-color: #bdd2fb; background: #fff; color: var(--primary); box-shadow: 0 2px 6px rgba(39,105,232,.12); }
.team-role-explanation { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin-bottom: 16px; }
.team-role-explanation article { padding: 12px; border: 1px solid #e3e8ef; border-radius: 9px; background: #f9fbfd; }
.team-role-explanation strong { font-size: 14px; }
.team-role-explanation p { margin: 4px 0 0; color: var(--muted); font-size: 12.5px; line-height: 1.45; }
.team-invite-form { display: flex; align-items: end; gap: 10px; padding: 14px; border: 1px solid #dbe6f7; border-radius: 10px; background: #f7faff; }
.team-invite-form > div { flex: 1; display: grid; grid-template-columns: 1fr 1.25fr .8fr; gap: 9px; }
.team-invite-form label { color: #475467; font-size: 12.5px; font-weight: 700; }
.team-invite-form input,.team-invite-form select { display: block; width: 100%; height: 35px; margin-top: 5px; border: 1px solid #d9e0ea; border-radius: 7px; background: #fff; padding: 0 9px; font-size: 13.5px; }
.team-invite-result { display: grid; grid-template-columns: minmax(150px,.8fr) minmax(220px,1.3fr) auto; align-items: center; gap: 10px; margin-top: 10px; padding: 12px; border: 1px solid #b9dfc8; border-radius: 9px; background: #f4fbf7; }
.team-invite-result[hidden] { display: none; }
.team-invite-result strong,.team-invite-result small { display: block; }.team-invite-result strong { color: #18794e; font-size: 13.5px; }.team-invite-result small { margin-top: 3px; color: #667085; font-size: 12px; }
.team-invite-result input { min-width: 0; height: 34px; border: 1px solid #cfe0d5; border-radius: 7px; padding: 0 9px; color: #475467; font-size: 13px; background: #fff; }
.team-list-section { margin-top: 20px; }.team-list-section > div:first-child { display: flex; justify-content: space-between; align-items: baseline; margin-bottom: 8px; }.team-list-section > div:first-child strong { font-size: 14px; }.team-list-section > div:first-child span { color: var(--muted); font-size: 12px; }
.team-member-list { display: grid; border: 1px solid var(--line); border-radius: 10px; overflow: hidden; }
.team-member-row { display: grid; grid-template-columns: minmax(160px,1.4fr) minmax(160px,1.2fr) 125px auto; align-items: center; gap: 12px; min-height: 58px; padding: 10px 12px; border-bottom: 1px solid #edf0f4; }.team-member-row:last-child { border-bottom: 0; }
.team-member-row strong,.team-member-row small { display: block; }.team-member-row strong { font-size: 13.5px; }.team-member-row small { margin-top: 3px; color: var(--muted); font-size: 12px; }
.team-member-row select { height: 32px; border: 1px solid #d9e0ea; border-radius: 7px; background: #fff; padding: 0 7px; font-size: 13px; }.team-member-row .role-fixed { color: #667085; font-size: 13px; font-weight: 700; }.team-member-row button { height: 30px; border: 1px solid #efc8c5; border-radius: 7px; padding: 0 9px; background: #fff; color: #c4322b; font-size: 12.5px; font-weight: 700; cursor: pointer; }
.invite-auth-summary { display: grid; gap: 4px; margin-bottom: 14px; padding: 12px; border: 1px solid #dbe6f7; border-radius: 9px; background: #f7faff; }.invite-auth-summary span { color: var(--primary); font-size: 12px; font-weight: 800; letter-spacing: .6px; }.invite-auth-summary strong { font-size: 17px; }.invite-auth-summary small { color: var(--muted); font-size: 13px; }.invite-auth-summary em { width: fit-content; margin-top: 3px; padding: 4px 7px; border-radius: 99px; background: var(--blue-soft); color: var(--primary); font-size: 12px; font-style: normal; font-weight: 700; }
@media (max-width: 780px) { .team-invite-form { align-items: stretch; flex-direction: column; }.team-invite-form > div { grid-template-columns: 1fr; }.team-invite-result { grid-template-columns: 1fr; }.team-member-row { grid-template-columns: 1fr auto; }.team-member-row > div:nth-child(2) { grid-column: 1 / -1; } }
.onboarding-card{margin:0 0 24px;padding:24px;border:1px solid #cfe0ff;border-radius:18px;background:linear-gradient(135deg,#f7faff,#fff);box-shadow:0 12px 32px rgba(36,99,235,.08)}
.onboarding-heading{display:flex;align-items:center;justify-content:space-between;gap:24px;margin-bottom:18px}.onboarding-heading h2{margin:4px 0 5px;font-size: 23.5px}.onboarding-heading p{margin:0;color:#667085}.onboarding-progress{min-width:180px;text-align:right}.onboarding-progress strong{display:block;margin-bottom:8px;color:#2463eb}.onboarding-progress span{display:block;height:8px;border-radius:99px;background:#e7eefb;overflow:hidden}.onboarding-progress i{display:block;height:100%;width:0;background:#2463eb;border-radius:inherit;transition:width .25s ease}
.onboarding-steps{display:grid;grid-template-columns:repeat(5,minmax(0,1fr));gap:10px}.onboarding-step{display:flex;align-items:flex-start;gap:10px;padding:12px;border:1px solid #e4e9f2;border-radius:12px;background:#fff;text-align:left;color:#344054;cursor:pointer}.onboarding-step:hover{border-color:#9dbcf8}.onboarding-step>span{display:grid;place-items:center;flex:0 0 24px;height:24px;border-radius:50%;background:#eef3ff;color:#2463eb;font-weight:800}.onboarding-step.complete{color:#288447;background:#f5fbf7;border-color:#ccebd6}.onboarding-step.complete>span{background:#dff4e6;color:#288447}.onboarding-step small{display:block;margin-top:3px;color:#98a2b3}
.document-list{display:grid;gap:10px;margin-top:16px}.document-item{display:grid;grid-template-columns:42px minmax(0,1fr) auto;align-items:center;gap:12px;padding:12px 14px;border:1px solid #e5e9f0;border-radius:12px;background:#fff}.document-item-icon{display:grid;place-items:center;width:40px;height:40px;border-radius:10px;background:#edf4ff;color:#2463eb;font-weight:800}.document-item p{margin:0;min-width:0}.document-item strong,.document-item small{display:block;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.document-item small{margin-top:3px;color:#7b8494}.document-item-actions{display:flex;gap:8px}.document-item-actions a,.document-item-actions button{border:1px solid #d8dee8;border-radius:8px;background:#fff;color:#344054;padding:7px 10px;text-decoration:none;cursor:pointer}.document-item-actions button{color:#d84a4a}.document-empty{padding:20px;text-align:center;color:#7b8494;border:1px dashed #d6dce6;border-radius:12px}
.stored-receipts{margin-top:26px;padding-top:22px;border-top:1px solid #e7ebf1}.stored-receipts h4{margin:0 0 4px}.stored-receipts>p{margin:0;color:#7b8494}.activity-history-modal{width:min(720px,calc(100vw - 32px));max-height:min(780px,calc(100vh - 40px));overflow:auto}.full-activity-list{display:grid;gap:10px;margin-top:20px}.full-activity-list article{display:grid;grid-template-columns:110px minmax(0,1fr);gap:16px;padding:14px;border:1px solid #e5e9f0;border-radius:12px}.full-activity-list span{color:#7b8494}.full-activity-list strong,.full-activity-list small{display:block}.full-activity-list small{margin-top:4px;color:#667085}
@media(max-width:1000px){.onboarding-steps{grid-template-columns:repeat(2,minmax(0,1fr))}}@media(max-width:650px){.onboarding-heading{align-items:flex-start;flex-direction:column}.onboarding-progress{width:100%;text-align:left}.onboarding-steps{grid-template-columns:1fr}}
.password-fields select, .password-fields textarea { display: block; width: 100%; margin-top: 5px; border: 1px solid #dfe4eb; border-radius: 7px; padding: 0 10px; font-size: 14px; }.password-fields select { height: 36px; background: #fff; }.password-fields textarea { padding: 8px 10px; resize: vertical; font-family: inherit; }

.billing-payer { display: grid; gap: 4px; margin: -4px 0 14px; font-size: 14px; color: #526174; }.billing-payer input { max-width: 340px; }.billing-payer small { color: #7a8697; }
.billing-history { margin: 0 0 16px; }.billing-history h4 { margin: 0 0 6px; font-size: 15px; }.billing-history table { width: 100%; border-collapse: collapse; font-size: 14px; }.billing-history th, .billing-history td { padding: 6px 8px; border-bottom: 1px solid #e6ebf2; text-align: left; }.billing-history .billing-failed { color: #b42318; font-weight: 600; }
.platform-plan-release { display: block; margin-top: 4px; padding: 2px 6px; border: 1px solid #f0d7a5; border-radius: 6px; background: #fff9ec; color: #8a5a00; font-size: 13px; cursor: pointer; }

.boot-screen { display: none; }
html.booting .boot-screen { position: fixed; inset: 0; z-index: 50; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 14px; background: var(--canvas); color: #526174; font-size: 15px; }
html.booting #marketingSite { display: none; }
.boot-logo { width: 44px; height: 44px; border-radius: 12px; background: var(--primary); animation: boot-pulse 1.1s ease-in-out infinite; }
@keyframes boot-pulse { 0%, 100% { opacity: .45; transform: scale(.94); } 50% { opacity: 1; transform: scale(1); } }
@media (prefers-reduced-motion: reduce) { .boot-logo { animation: none; } }
.billing-payer[hidden], .billing-history[hidden] { display: none; }
.toast.error > span { background: #d92d20; color: #fff; }
.plan-grid article button { white-space: normal; line-height: 1.2; min-height: 38px; height: auto; }
@media (min-width: 901px) and (max-width: 1500px) { .plan-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); } }

.topbar.compact .greeting { display: none; }
@media (min-width: 761px) { .topbar.compact { display: none; } }
.activity-list > div { display: grid; grid-template-columns: 92px 1fr; column-gap: 12px; row-gap: 2px; padding: 10px 0; border-bottom: 1px solid var(--line); }
.activity-list > div:last-child { border-bottom: 0; }
.activity-list > div > span { grid-row: span 2; color: var(--muted); font-size: 13px; padding-top: 2px; }
.activity-list > div > strong { font-size: 14.5px; }
.activity-list > div > small { color: var(--muted); font-size: 13px; }

.responsive-table th { white-space: normal; line-height: 1.2; vertical-align: bottom; }
.responsive-table .row-button, .responsive-table td button { white-space: nowrap; }
.empty-value { display: block; color: var(--muted); font-weight: 400; }
.method-card[disabled] { cursor: not-allowed; opacity: .6; background: #f7f8fa; }
.method-card[disabled]:hover { transform: none; border-color: var(--line); }
.wizard-step[data-step="0"] { min-height: 0; }
.wizard-marker[hidden] { display: none; }
.people-table td, .properties-table td { padding-top: 12px; padding-bottom: 14px; vertical-align: middle; }
.people-table .completion-badge, .properties-table .completion-badge { margin-top: 7px; padding: 4px 9px; }
/* Tablas: texto de lectura cómoda en escritorio (el móvil usa sus propios tamaños). */
@media (min-width: 761px) {
  .responsive-table th { font-size: 12.5px; }
  .responsive-table td { font-size: 14.5px; }
  .responsive-table .property-cell strong, .responsive-table .contract-main strong, .responsive-table .tenant-cell strong { font-size: 15px; }
  .responsive-table .property-cell small, .responsive-table .contract-main small, .responsive-table .tenant-cell small { font-size: 13.5px; }
  .responsive-table .status-pill, .responsive-table .row-button, .responsive-table .activity-note { font-size: 13px; }
  .responsive-table .tenant-avatar { font-size: 13px; }
}
.search-box { max-width: 100%; box-sizing: border-box; }
.search-box input { min-width: 0; width: 100%; }
@media (min-width: 761px) { .search-box { min-width: 270px; } }
.table-empty-row td { padding: 34px 16px !important; text-align: center; }
.table-empty-row strong { display: block; font-size: 15px; margin-bottom: 4px; }
.table-empty-row span { color: var(--muted); font-size: 14px; }
.nav-item:focus:not(:focus-visible) { outline: none; box-shadow: none; }
/* Pestañas de contrato y persona: alineadas con las tarjetas en lugar de salirse por los costados. */
.contract-tabs, .person-tabs { margin: 0 0 16px; padding: 0 10px; border: 1px solid var(--line); border-radius: 12px; }
.completion-badge { font-size: 13px; }
/* Mismo aire en todas las tablas (antes solo Personas y Propiedades). */
@media (min-width: 761px) {
  .responsive-table td { padding-top: 13px; padding-bottom: 13px; height: auto; vertical-align: middle; }
  .responsive-table th { padding-top: 10px; padding-bottom: 10px; }
}
.app-tooltip { position: fixed; z-index: 100; max-width: 260px; padding: 7px 10px; border-radius: 8px; background: #152536; color: #fff; font-size: 13px; font-weight: 600; line-height: 1.3; box-shadow: 0 6px 18px rgba(12, 22, 37, .22); pointer-events: none; }
.app-tooltip[hidden] { display: none; }
/* <small> sin tamaño propio: el navegador lo reduce al 83% del padre; nunca por debajo de 12 px. */
small { font-size: max(12px, .85em); }
.template-list textarea { font-size: 14px; }

.marketing-secondary { height: 40px; border: 1.5px solid #c9d6ec; border-radius: 8px; padding: 0 16px; background: #fff; color: var(--ink); font-size: 16px; font-weight: 800; cursor: pointer; }
.marketing-secondary:hover { border-color: var(--primary); color: var(--primary); transform: translateY(-1px); }
.marketing-secondary.large { height: 49px; padding: 0 22px; font-size: 18px; }
.demo-status { margin: 10px 0 0; padding: 10px 12px; border-radius: 8px; font-size: 14px; }
.demo-status.success { background: #f0fbf4; color: #247245; }
.demo-status.error { background: #fdecea; color: #b42318; }
#demoForm small { color: var(--muted); font-weight: 500; }
.demo-requests-card { margin-top: 16px; }
.demo-requests-card h3 { margin: 0; font-size: 16px; }
.demo-requests-card p { margin: 2px 0 0; color: var(--muted); font-size: 14px; }
.demo-requests-card td small { display: block; color: var(--muted); }
.prototype-badge span { width: auto; height: auto; background: none; box-shadow: none; color: var(--primary); border-radius: 0; font-size: 13px; }
.google-auth-section[hidden] { display: none; }
#demoForm small { color: rgba(255, 255, 255, .75); }
/* Controles de formulario con la tipografía de la app (el navegador usa la del sistema). */
input, select, textarea, button { font-family: inherit; }
/* Panel de plataforma: mismos tamaños que las demás tablas y sin desbordar la tarjeta. */
.platform-table { min-width: 0; table-layout: auto; }
.platform-table th { font-size: 12.5px; padding: 10px 12px; }
.platform-table td { font-size: 14.5px; padding: 12px; }
.platform-table td small { font-size: 13px; }
.platform-table select { height: 34px; font-size: 13.5px; font-weight: 600; max-width: 150px; }
.platform-actions { flex-wrap: wrap; white-space: normal; gap: 5px; }
.platform-actions button { height: 30px; font-size: 13px; padding: 0 8px; }
/* "Plataforma · INTERNO" en el menú: separado arriba sin bordes raros e insignia alineada. */
.platform-nav-item { margin-top: 12px; border-top: 0 !important; border-radius: 9px !important; padding-top: 0 !important; }
.platform-nav-item::before { content: ""; position: absolute; left: 6px; right: 6px; top: -7px; border-top: 1px solid var(--line); }
.platform-nav-item { position: relative; }
.platform-only-badge { justify-self: end; padding: 2px 6px; border-radius: 5px; background: #e6eeff; color: var(--primary); font-size: 12px; font-weight: 800; letter-spacing: .3px; line-height: 1.4; }
.feature-locked { opacity: .55; cursor: not-allowed; }
.feature-note { display: block; margin-top: 6px; color: #8a5a00; font-size: 13px; font-weight: 600; }
.feature-note[hidden] { display: none; }
.plans-admin-card { margin-top: 16px; }
.plans-admin-card h3 { margin: 0; font-size: 16px; }
.plans-admin-card .platform-toolbar p { margin: 2px 0 0; color: var(--muted); font-size: 14px; }
.plan-feature-list { max-width: 280px; line-height: 1.4; }
.plan-inactive td { opacity: .55; }
.plan-editor-modal { width: min(760px, calc(100vw - 32px)); max-height: calc(100vh - 40px); overflow-y: auto; }
.plan-editor-form label { display: grid; gap: 5px; font-size: 14px; font-weight: 600; color: var(--ink); }
.plan-editor-form label small { color: var(--muted); font-weight: 500; }
.plan-editor-form input:not([type="checkbox"]), .plan-editor-form select, .plan-editor-form textarea { height: 38px; padding: 0 10px; border: 1px solid #dfe4eb; border-radius: 8px; font-size: 14.5px; }
.plan-editor-form textarea { height: auto; min-height: 90px; padding: 9px 10px; }
.plan-editor-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; margin: 16px 0; }
.plan-editor-grid .wide, .plan-editor-form > label.wide { grid-column: 1 / -1; margin-bottom: 12px; }
.plan-editor-features { margin: 0 0 14px; padding: 10px 14px; border: 1px solid var(--line); border-radius: 10px; }
.plan-editor-features legend { padding: 0 4px; font-weight: 700; font-size: 14px; }
.plan-editor-features div, .plan-editor-checks { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.plan-editor-features label, .plan-editor-checks label { display: flex; align-items: center; gap: 8px; font-weight: 500; }
.plan-editor-checks { margin-bottom: 12px; }
.plan-editor-warning { padding: 10px 12px; border-radius: 8px; background: #fff9ec; color: #8a5a00; font-size: 14px; }
.plan-editor-warning[hidden] { display: none; }
@media (max-width: 640px) { .plan-editor-grid, .plan-editor-features div, .plan-editor-checks { grid-template-columns: 1fr; } }
.plans-admin-card td { white-space: normal; }
.plan-feature-chips { display: flex; flex-wrap: wrap; gap: 4px; max-width: 320px; }
.plan-feature-chips span { padding: 2px 8px; border-radius: 99px; background: #edf4ff; color: var(--primary); font-size: 12.5px; font-weight: 600; white-space: nowrap; }
/* admin.renta.ar fuera del modo soporte: solo el panel de plataforma. */
html.admin-site .nav-item:not(.platform-nav-item):not(.admin-nav-item), html.admin-site .help-card, html.admin-site #newContractControl, html.admin-site .sidebar-help { display: none !important; }
html.admin-site .platform-nav-item { margin-top: 0; }
html.admin-site .platform-nav-item::before { display: none; }
.platform-tabs { display: flex; gap: 4px; margin: 0 0 16px; padding: 0 10px; border: 1px solid var(--line); border-radius: 12px; background: #fff; overflow-x: auto; }
.platform-tabs button { flex: 0 0 auto; border: 0; border-bottom: 2px solid transparent; background: none; padding: 12px 14px 11px; color: #667085; font-size: 14.5px; font-weight: 700; cursor: pointer; }
.platform-tabs button.active { color: var(--primary); border-bottom-color: var(--primary); }
.platform-tabs button span { display: inline-grid; min-width: 18px; height: 18px; margin-left: 4px; place-items: center; border-radius: 99px; background: var(--primary); color: #fff; font-size: 12px; }
.platform-tabs button span[hidden] { display: none; }
[data-platform-panel][hidden] { display: none !important; }
.metrics-loading { padding: 30px; color: var(--muted); }
.metric-grid-admin { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; margin-bottom: 14px; }
.metric-tile { padding: 16px 18px; border: 1px solid var(--line); border-radius: 12px; background: #fff; }
.metric-tile span { display: block; color: var(--muted); font-size: 13.5px; font-weight: 600; }
.metric-tile strong { display: block; margin: 6px 0 2px; font: 800 26px Manrope, sans-serif; color: var(--ink); letter-spacing: -.5px; }
.metric-tile small { color: var(--muted); font-size: 13px; }
.metric-tile.warning strong { color: #b54708; }
.metric-charts { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
.metric-card { padding: 16px 18px; border: 1px solid var(--line); border-radius: 12px; background: #fff; min-width: 0; }
.metric-card.wide { grid-column: 1 / -1; }
.metric-card h3 { margin: 0; font-size: 15.5px; }
.metric-card > p { margin: 3px 0 14px; color: var(--muted); font-size: 13.5px; }
.column-chart { display: flex; align-items: flex-end; gap: 2px; height: 170px; padding-top: 22px; border-bottom: 1px solid var(--line); }
.column { position: relative; flex: 1; height: 100%; display: flex; flex-direction: column; justify-content: flex-end; align-items: center; cursor: default; }
.column span { width: 70%; max-width: 38px; background: var(--primary); border-radius: 4px 4px 0 0; }
.column:hover span { filter: brightness(1.12); }
.column em { position: absolute; top: -20px; font-style: normal; font-size: 12.5px; font-weight: 700; color: var(--ink); white-space: nowrap; }
.column small { position: absolute; bottom: -20px; color: var(--muted); font-size: 12px; white-space: nowrap; }
.metric-card .column-chart { margin-bottom: 24px; }
.bar-list { display: grid; gap: 9px; }
.bar-row { display: grid; grid-template-columns: 150px 1fr auto; align-items: center; gap: 10px; font-size: 14px; }
.bar-row div { height: 10px; border-radius: 4px; background: #eef2f7; overflow: hidden; }
.bar-row i { display: block; height: 100%; background: var(--primary); border-radius: 0 4px 4px 0; }
.bar-row strong { font-size: 14px; min-width: 32px; text-align: right; }
.usage-list { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; margin: 0; }
.usage-list dt { color: var(--muted); font-size: 13px; }
.usage-list dd { margin: 2px 0 0; font: 800 20px Manrope, sans-serif; color: var(--ink); }
.metrics-foot { margin: 12px 2px 0; color: var(--muted); font-size: 13px; }
@media (max-width: 900px) { .metric-grid-admin, .metric-charts { grid-template-columns: 1fr; } .usage-list { grid-template-columns: 1fr 1fr; } }
/* admin.renta.ar: secciones en la barra lateral, sin pestañas ni accesos de cliente. */
.admin-nav-item { display: none; }
html.admin-site .admin-nav-item { display: grid; }
html.admin-site .platform-nav-item, html.admin-site .platform-tabs, html.admin-site #openAccountSettings { display: none !important; }
/* Botones sin el recuadro de foco al hacer clic (se mantiene para el teclado). */
button:focus:not(:focus-visible) { outline: none; box-shadow: none; }
/* Inmobiliarias: acciones apiladas, sin cortarse. */
.platform-table td:last-child { width: 1%; }
.platform-table .platform-actions { flex-direction: column; align-items: stretch; flex-wrap: nowrap; min-width: 112px; }
.platform-table .platform-actions button { white-space: nowrap; }
/* Tarjetas de Inmobiliarias con el mismo estilo que las del resumen. */
.platform-kpi-grid { gap: 12px; margin-bottom: 14px; }
.platform-kpi-grid article { padding: 16px 18px; border-radius: 12px; box-shadow: none; }
.platform-kpi-grid span { font-size: 13.5px; font-weight: 600; text-transform: none; letter-spacing: 0; }
.platform-kpi-grid strong { display: block; margin: 6px 0 2px; font: 800 26px Manrope, sans-serif; letter-spacing: -.5px; }
.platform-kpi-grid small { font-size: 13px; }

/* Ingreso del panel interno (admin.renta.ar). */
html.admin-login .auth-screen { display: grid; place-items: center; min-height: 100vh; grid-template-columns: 1fr; background: radial-gradient(circle at 20% 10%, #1e3a8a 0, #0f172a 55%) fixed; }
html.admin-login .auth-screen[hidden] { display: none; }
html.admin-login .auth-showcase, html.admin-login #authBackMarketing, html.admin-login .prototype-badge, html.admin-login .auth-mode-switch, html.admin-login .auth-prototype-note, html.admin-login #googleAuthSection { display: none !important; }
html.admin-login .auth-access { width: 100%; max-width: 420px; padding: 24px 16px; background: none; min-height: 0; }
html.admin-login .auth-card { padding: 34px 32px 28px; border-radius: 16px; background: #fff; box-shadow: 0 24px 60px rgba(2, 6, 23, .45); }
html.admin-login .auth-card::before { content: "Renta.ar · Panel interno"; display: block; margin-bottom: 18px; padding: 6px 10px; width: max-content; border-radius: 999px; background: #eef2ff; color: #1e3a8a; font-size: 12.5px; font-weight: 800; letter-spacing: .3px; }
html.admin-login .auth-card-heading { margin-bottom: 18px; }

.platform-table td small { overflow-wrap: anywhere; }
.platform-table td:nth-child(2) { max-width: 230px; }
.platform-table td:nth-child(2) small { word-break: break-all; padding-right: 8px; }
/* Selectores del panel: flecha propia, centrada y con margen (la nativa queda pegada al borde). */
.platform-table select, .demo-requests-card select {
  appearance: none; -webkit-appearance: none;
  padding: 0 32px 0 10px;
  background: #fff url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 24 24' fill='none' stroke='%23667085' stroke-width='2.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E") no-repeat right 11px center;
  cursor: pointer;
}
.platform-table select:focus-visible { outline: 2px solid var(--primary); outline-offset: 1px; }
.platform-table td a { color: var(--primary); font-weight: 600; text-decoration: none; }
.platform-table td a:hover { text-decoration: underline; }
/* Inmobiliarias: correos que cortan, insignia "Manual" debajo del selector y acciones compactas. */
.platform-table td { white-space: normal; }
.platform-table td:nth-child(3) { white-space: nowrap; }
.platform-plan-release { display: block; width: max-content; margin-top: 6px; }
.platform-table .platform-actions { flex-direction: row; align-items: center; min-width: 0; gap: 6px; }
.platform-more { position: relative; }
.platform-more summary { list-style: none; display: grid; place-items: center; width: 32px; height: 30px; border: 1px solid #d9e0ea; border-radius: 7px; background: #fff; color: #344054; font-weight: 800; cursor: pointer; }
.platform-more summary::-webkit-details-marker { display: none; }
.platform-more[open] summary { border-color: var(--primary); color: var(--primary); }
.platform-more-menu { position: absolute; right: 0; top: calc(100% + 4px); z-index: 20; display: grid; gap: 4px; min-width: 170px; padding: 6px; border: 1px solid var(--line); border-radius: 10px; background: #fff; box-shadow: 0 10px 28px rgba(16, 24, 40, .14); }
.platform-more-menu button { width: 100%; text-align: left; }
/* Barra lateral: sin anillo de foco al hacer clic (sí con teclado, como borde interno sutil). */
.nav-item:focus { outline: none; }
.nav-item:focus-visible { box-shadow: inset 0 0 0 2px #b8cdf6; }
.platform-list-card .platform-table td:nth-child(n+4) { white-space: nowrap; }
