@import url('/tenant-plus.css?v=4');

.tenant-share [id] { scroll-margin-top: 100px; }
.tenant-share .share-hero-note { margin-top: 18px; font-size: 12px; color: #61757c; }
.tenant-share .tenant-plus__ticker { flex-wrap: wrap; }
.tenant-share :is(a, button, input, select, summary):focus-visible { outline: 3px solid #0786b5; outline-offset: 4px; }
.share-demo { width: min(1180px, calc(100% - 40px)); padding: 64px; margin: 0 auto 130px; border-radius: 36px; background: #eef3f1; }
.share-demo__intro { max-width: 730px; margin-bottom: 42px; }
.share-demo h2, .share-faq h2, .share-dialog h2 { margin: 18px 0 24px; font-size: clamp(46px, 5.5vw, 72px); font-weight: 900; letter-spacing: -.055em; line-height: .96; color: var(--plus-ink); }
.share-demo__intro > p { max-width: 540px; color: var(--plus-muted); font-size: 18px; line-height: 1.55; }
.share-demo__workspace { display: grid; grid-template-columns: 1fr 1fr; gap: 64px; align-items: start; }
.share-demo form > label, .share-fields label, .share-percentage > label, .share-scenarios legend { display: block; margin: 20px 0 9px; font-size: 14px; font-weight: 750; }
.share-scenarios { border: 0; padding: 0; margin: 0 0 25px; min-width: 0; }
.share-scenarios legend { margin: 0 0 12px; }
.share-scenarios > div { display: flex; flex-wrap: wrap; gap: 8px; }
.share-scenarios label { position: relative; cursor: pointer; }
.share-scenarios input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.share-scenarios span { display: block; padding: 12px 15px; border-radius: 25px; border: 1px solid #c8d9d6; background: #ffffff80; font-size: 13px; font-weight: 750; }
.share-scenarios input:checked + span { background: #183c47; color: white; border-color: #183c47; }
.share-scenarios input:focus-visible + span { outline: 3px solid #0786b5; outline-offset: 3px; }
.share-demo :is(input[type=number], select) { width: 100%; min-height: 54px; border: 1px solid #bccfd0; border-radius: 12px; background: #fff; color: var(--plus-ink); padding: 12px; font: inherit; }
.share-fields { display: grid; grid-template-columns: 1.3fr 1fr; gap: 14px; }
.share-fields > div { min-width: 0; }
.share-percentage { display: flex; align-items: center; justify-content: space-between; gap: 20px; margin-top: 22px; }
.share-percentage > label { margin: 0; }
.share-percentage > div { display: flex; align-items: center; gap: 10px; width: 120px; }
.share-helper { margin: 14px 0 24px; color: var(--plus-muted); font-size: 13px; line-height: 1.6; }
.share-demo button, .share-dialog .tenant-template-action { width: 100%; border: 0; gap: 10px; cursor: pointer; }
.share-demo-note { font-size: 11px; line-height: 1.6; color: #64777e; margin: 14px 0 0; }
.share-invoice { border-radius: 26px; background: #fff; padding: 30px; box-shadow: 0 18px 60px #183c4710; }
.share-invoice__top, .share-dialog__top { display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.share-invoice__top > span:first-child { font-size: 11px; font-weight: 850; letter-spacing: .08em; }
.share-badge { display: inline-block; padding: 8px 11px; background: #ece8f7; color: #625581; border-radius: 25px; font-size: 10px; font-weight: 750; }
.share-invoice__bill { display: flex; gap: 15px; align-items: center; margin-top: 32px; }
.share-document { display: grid; place-items: center; width: 45px; height: 52px; border-radius: 10px; background: #edf3f0; font-size: 27px; flex-shrink: 0; }
.share-invoice h3 { margin: 0 0 5px; font-size: 18px; line-height: 1.3; }
.share-invoice__bill div > span { color: var(--plus-muted); font-size: 11px; }
.share-invoice__total { padding: 30px 0 22px; }
.share-invoice__total > span, .share-dialog__amount > span { display: block; font-size: 13px; color: var(--plus-muted); }
.share-invoice__total strong { display: block; font-size: 52px; font-weight: 750; letter-spacing: -.04em; margin: 6px 0; }
.share-invoice__total small { color: var(--plus-muted); font-size: 12px; }
.share-bar { width: 100%; height: 8px; display: flex; overflow: hidden; border-radius: 8px; background: #d7d0ec; margin-bottom: 20px; }
.share-bar > span { width: 50%; background: #78bca3; }
.share-person { display: flex; align-items: center; gap: 12px; padding: 20px 0; border-bottom: 1px solid var(--plus-line); }
.share-avatar { display: grid; place-items: center; width: 38px; height: 38px; border-radius: 50%; background: #dff2e7; color: #347b5f; font-weight: 800; font-size: 13px; flex-shrink: 0; }
.share-avatar--you { background: #ece8f7; color: #625581; }
.share-person > div { flex: 1; min-width: 0; }
.share-person strong { display: block; font-size: 14px; }
.share-person small { display: block; color: var(--plus-muted); font-size: 11px; line-height: 1.5; margin-top: 4px; }
.share-person b { font-size: 19px; letter-spacing: -.03em; }
.share-invoice__footer { display: flex; align-items: center; gap: 12px; color: var(--plus-muted); padding-top: 22px; }
.share-invoice__footer > span { font-size: 24px; color: #0786b5; }
.share-invoice__footer p { font-size: 12px; line-height: 1.5; margin: 0; }
.share-faq { display: grid; grid-template-columns: .9fr 1.1fr; gap: 70px; width: min(1180px, calc(100% - 40px)); margin: 0 auto 130px; }
.share-faq details { border-bottom: 1px solid var(--plus-line); }
.share-faq details:first-child { border-top: 1px solid var(--plus-line); }
.share-faq summary { display: flex; justify-content: space-between; align-items: center; gap: 22px; list-style: none; padding: 25px 0; cursor: pointer; font-size: 18px; font-weight: 750; line-height: 1.4; }
.share-faq summary::-webkit-details-marker { display: none; }
.share-faq summary::after { content: '+'; color: var(--plus-blue); font-size: 24px; font-weight: 400; }
.share-faq details[open] summary::after { content: '−'; }
.share-faq details p { margin: 0; padding: 0 24px 25px 0; color: var(--plus-muted); font-size: 16px; line-height: 1.65; }
.share-faq a { color: var(--plus-blue-dark); text-decoration: underline; }
.share-dialog { position: fixed; inset: 0; margin: auto; border: 1px solid #d8e5e9; border-radius: 28px; width: min(480px, calc(100% - 24px)); max-height: calc(100dvh - 32px); padding: 30px; background: #fbfcfb; color: var(--plus-ink); overflow-y: auto; box-shadow: 0 24px 100px #183c4740; }
.share-dialog::backdrop { background: #183c4777; backdrop-filter: blur(5px); }
.share-dialog__top button { border: 0; background: #edf2f2; width: 40px; height: 40px; border-radius: 50%; font-size: 26px; cursor: pointer; color: var(--plus-ink); }
.share-dialog__icon { display: grid; place-items: center; width: 50px; height: 50px; border-radius: 16px; background: #dff2e7; font-size: 28px; margin-top: 20px; }
.share-dialog h2 { font-size: 44px; margin: 20px 0 15px; }
.share-dialog > p:not(.share-demo-note) { color: var(--plus-muted); font-size: 14px; line-height: 1.5; }
.share-dialog__amount { background: #edf3f0; padding: 20px; border-radius: 16px; margin-top: 22px; }
.share-dialog__amount strong { display: block; font-size: 40px; letter-spacing: -.04em; margin-top: 6px; }
.share-dialog dl { margin: 18px 0; }
.share-dialog dl > div { display: flex; gap: 20px; justify-content: space-between; padding: 10px 0; font-size: 12px; border-bottom: 1px solid var(--plus-line); }
.share-dialog dt { color: var(--plus-muted); }
.share-dialog dd { margin: 0; text-align: right; }
#share-copy-status:empty { display: none; }
#share-copy-fallback { width: 100%; min-height: 150px; padding: 12px; border: 1px solid #bccfd0; border-radius: 12px; font: inherit; font-size: 12px; }
body:has(.share-dialog[open]) { overflow: hidden; }
@media (max-width: 980px) {
  .share-demo { padding: 40px; }
  .share-demo__workspace { gap: 32px; }
  .share-invoice { padding: 24px; }
  .share-faq { gap: 40px; }
}
@media (max-width: 760px) {
  .share-demo { width: calc(100% - 24px); padding: 36px 24px; margin-bottom: 90px; border-radius: 28px; }
  .share-demo__workspace, .share-faq { grid-template-columns: 1fr; gap: 32px; }
  .share-demo h2, .share-faq h2 { font-size: clamp(44px, 12vw, 62px); }
  .share-faq { margin-bottom: 90px; }
  .share-invoice { padding: 22px; }
  .share-person { gap: 9px; }
  .share-person b { font-size: 17px; }
  .share-person small { font-size: 10px; }
  .tenant-share .tenant-plus__ticker { justify-content: center; gap: 12px; font-size: 10px; }
  .tenant-share .tenant-plus__ticker i { display: none; }
  .share-dialog { padding: 24px; }
}
