:root{--paper: #f7f4ef;--paper-2: #efe9e0;--surface: #ffffff;--line: #e7e0d5;--line-strong: #d6cdbf;--ink: #1a1714;--ink-2: #57504a;--ink-3: #8a8279;--night: #1d1915;--night-2: #2a241f;--brand: #d2101e;--brand-dk: #a50c17;--brand-soft: #fbe9ea;--gold: #a87b12;--gold-2: #c9a24a;--gold-soft: #f6eedb;--ok: #1f7a4a;--ok-soft: #e4f2ea;--danger: #b4232b;--danger-soft: #fbe8e8;--muted-soft: #f0ebe3;--focus: #2b6cb0;--serif: "Playfair Display", Georgia, "Times New Roman", serif;--sans: "Poppins", system-ui, -apple-system, "Segoe UI", sans-serif;--r-lg: 22px;--r: 16px;--r-sm: 10px;--shadow: 0 1px 2px rgba(40, 28, 16, .05), 0 4px 14px rgba(40, 28, 16, .05);--shadow-lg: 0 18px 50px rgba(30, 20, 10, .18);--tabbar-h: 68px;--header-h: 60px;--max: 1080px;--ease: cubic-bezier(.2, .7, .2, 1)}*{box-sizing:border-box;margin:0;padding:0}html{-webkit-text-size-adjust:100%}html,body,#root{min-height:100%}body{font-family:var(--sans);font-size:15px;line-height:1.55;color:var(--ink);background:var(--paper);-webkit-font-smoothing:antialiased;text-rendering:optimizeLegibility}a{color:inherit;text-decoration:none}button,input,select,textarea{font:inherit;color:inherit}button{cursor:pointer;background:none;border:0}img{max-width:100%;display:block}:focus-visible{outline:2px solid var(--focus);outline-offset:2px;border-radius:6px}.sr-only{position:absolute;width:1px;height:1px;overflow:hidden;clip:rect(0 0 0 0);white-space:nowrap}.serif{font-family:var(--serif)}.num{font-variant-numeric:tabular-nums}.money-big,.due-amount,.due-date strong,.ring-label strong,.receipt-amount strong,.property-lot{font-variant-numeric:lining-nums tabular-nums}.muted{color:var(--ink-3)}.ink-2{color:var(--ink-2)}.app{min-height:100vh;display:flex;flex-direction:column}.topbar{position:sticky;top:0;z-index:30;height:calc(var(--header-h) + env(safe-area-inset-top));padding:env(safe-area-inset-top) 16px 0;display:flex;align-items:center;gap:12px;background:#f7f4efdb;backdrop-filter:saturate(1.4) blur(14px);-webkit-backdrop-filter:saturate(1.4) blur(14px);border-bottom:1px solid transparent;transition:border-color .2s}.topbar.scrolled{border-bottom-color:var(--line)}.topbar-inner{width:100%;max-width:var(--max);margin:0 auto;display:flex;align-items:center;gap:12px}.brand{display:flex;align-items:center;gap:10px;flex-shrink:0}.brand img{height:30px;width:auto}.brand-label{font-size:11px;font-weight:600;letter-spacing:.14em;text-transform:uppercase;color:var(--ink-3);padding-left:10px;border-left:1px solid var(--line-strong)}.topnav{display:none}.topbar-end{margin-left:auto;display:flex;align-items:center;gap:8px}.avatar{width:38px;height:38px;border-radius:50%;display:grid;place-items:center;flex-shrink:0;background:var(--night);color:#f3e7cf;font-size:13px;font-weight:600;letter-spacing:.04em;box-shadow:0 0 0 3px var(--paper),0 0 0 4px var(--line-strong)}.avatar.lg{width:64px;height:64px;font-size:20px}main.page{flex:1;width:100%;max-width:var(--max);margin:0 auto;padding:8px 16px calc(var(--tabbar-h) + 28px + env(safe-area-inset-bottom))}.tabbar{position:fixed;inset:auto 0 0 0;z-index:40;height:calc(var(--tabbar-h) + env(safe-area-inset-bottom));padding:6px 6px env(safe-area-inset-bottom);display:grid;grid-template-columns:repeat(5,1fr);background:#fffffff0;backdrop-filter:blur(16px);-webkit-backdrop-filter:blur(16px);border-top:1px solid var(--line)}.tab{position:relative;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:3px;font-size:10.5px;font-weight:500;color:var(--ink-3);border-radius:12px;transition:color .15s}.tab svg{width:22px;height:22px;stroke-width:1.7}.tab.active{color:var(--ink)}.tab.active:before{content:"";position:absolute;top:2px;width:22px;height:3px;border-radius:3px;background:var(--brand)}.tab-badge{position:absolute;top:6px;left:calc(50% + 6px);min-width:17px;height:17px;padding:0 5px;border-radius:9px;background:var(--brand);color:#fff;font-size:10px;font-weight:600;line-height:17px;text-align:center;box-shadow:0 0 0 2px #fff}@media (min-width: 900px){.topbar{padding:0 32px}.brand img{height:34px}.topnav{display:flex;gap:4px;margin-left:28px}.topnav a{position:relative;display:flex;align-items:center;gap:8px;padding:8px 14px;border-radius:999px;font-size:14px;font-weight:500;color:var(--ink-2);transition:background .15s,color .15s}.topnav a:hover{background:var(--paper-2);color:var(--ink)}.topnav a.active{background:var(--ink);color:#fff}.topnav .tab-badge{position:static;box-shadow:none}.tabbar{display:none}main.page{padding:20px 32px 64px}}.page-head{padding:14px 0 18px}.eyebrow{font-size:11.5px;font-weight:600;letter-spacing:.14em;text-transform:uppercase;color:var(--gold)}.page-title{font-family:var(--serif);font-weight:600;font-size:30px;line-height:1.15;letter-spacing:-.01em;margin-top:4px}.page-sub{color:var(--ink-2);margin-top:6px;max-width:60ch}@media (min-width: 900px){.page-title{font-size:38px}.page-head{padding:22px 0 26px}}.section{margin-top:28px}.section-head{display:flex;align-items:baseline;justify-content:space-between;gap:12px;margin-bottom:12px}.section-title{font-family:var(--serif);font-size:21px;font-weight:600}.link{font-size:13.5px;font-weight:500;color:var(--ink-2);display:inline-flex;align-items:center;gap:4px}.link:hover{color:var(--brand)}.link svg{width:16px;height:16px}.card{background:var(--surface);border:1px solid var(--line);border-radius:var(--r);box-shadow:var(--shadow)}.card-pad{padding:18px}@media (min-width: 900px){.card-pad{padding:22px 24px}}.grid{display:grid;gap:14px;grid-template-columns:minmax(0,1fr)}.grid>*{min-width:0}@media (min-width: 900px){.grid-2{grid-template-columns:minmax(0,1fr) minmax(0,1fr)}.grid-home{grid-template-columns:minmax(0,1.35fr) minmax(0,1fr);align-items:start}}.btn{display:inline-flex;align-items:center;justify-content:center;gap:8px;min-height:48px;padding:0 22px;border-radius:999px;font-weight:600;font-size:15px;transition:background .15s,transform .1s,box-shadow .15s,opacity .15s;white-space:nowrap}.btn:active{transform:scale(.98)}.btn svg{width:18px;height:18px}.btn-primary{background:var(--brand);color:#fff;box-shadow:0 6px 18px #d2101e3d}.btn-primary:hover{background:var(--brand-dk)}.btn-dark{background:var(--ink);color:#fff}.btn-dark:hover{background:#000}.btn-ghost{background:var(--surface);border:1px solid var(--line-strong);color:var(--ink)}.btn-ghost:hover{border-color:var(--ink-3)}.btn-sm{min-height:38px;padding:0 16px;font-size:13.5px}.btn-block{width:100%}.btn[disabled]{opacity:.55;pointer-events:none}.icon-btn{width:40px;height:40px;border-radius:50%;display:grid;place-items:center;color:var(--ink-2)}.icon-btn:hover{background:var(--paper-2);color:var(--ink)}.icon-btn svg{width:20px;height:20px}.field{display:block;margin-bottom:16px}.field-label{display:block;font-size:13px;font-weight:600;color:var(--ink-2);margin-bottom:7px}.input-wrap{position:relative}.input{width:100%;height:52px;padding:0 16px;border-radius:14px;border:1px solid var(--line-strong);background:#fff;font-size:16px;transition:border-color .15s,box-shadow .15s}.input:focus{outline:none;border-color:var(--ink);box-shadow:0 0 0 4px #1a171414}.input.code{text-transform:uppercase;letter-spacing:.08em;font-weight:500}.input-wrap .input{padding-right:52px}.input-action{position:absolute;right:6px;top:6px;width:40px;height:40px;border-radius:10px;display:grid;place-items:center;color:var(--ink-3)}.input-action:hover{color:var(--ink);background:var(--paper)}.input-action svg{width:19px;height:19px}textarea.input{height:auto;min-height:52px;padding:14px 16px;resize:none;line-height:1.45}.hint{font-size:12.5px;color:var(--ink-3);margin-top:6px}.alert{display:flex;gap:10px;align-items:flex-start;padding:12px 14px;border-radius:12px;font-size:14px;margin-bottom:16px}.alert svg{width:18px;height:18px;flex-shrink:0;margin-top:2px}.alert-error{background:var(--danger-soft);color:#7d1419}.alert-ok{background:var(--ok-soft);color:#134e30}.alert-info{background:var(--gold-soft);color:#5c430a}.strength{display:grid;grid-template-columns:repeat(4,1fr);gap:5px;margin-top:10px}.strength span{height:4px;border-radius:4px;background:var(--line);transition:background .2s}.strength[data-level="1"] span:nth-child(-n+1){background:var(--danger)}.strength[data-level="2"] span:nth-child(-n+2){background:var(--gold-2)}.strength[data-level="3"] span:nth-child(-n+3){background:#5a9a6e}.strength[data-level="4"] span{background:var(--ok)}.auth{min-height:100vh;display:grid;background:var(--paper)}.auth-visual{position:relative;min-height:34vh;overflow:hidden;background:var(--night)}.auth-visual img{position:absolute;top:0;right:0;bottom:0;left:0;width:100%;height:100%;object-fit:cover;opacity:.82}.auth-visual:after{content:"";position:absolute;top:0;right:0;bottom:0;left:0;background:linear-gradient(180deg,#140f0a26,#140f0abf)}.auth-visual-text{position:absolute;z-index:1;left:22px;right:22px;bottom:42px;color:#fff}.auth-visual-text .eyebrow{color:var(--gold-2)}.auth-visual-text h2{font-family:var(--serif);font-weight:600;font-size:24px;line-height:1.2;margin-top:6px;max-width:18ch}.auth-visual-text p{display:none}.auth-panel{position:relative;margin-top:-22px;background:var(--paper);border-radius:24px 24px 0 0;padding:28px 22px calc(32px + env(safe-area-inset-bottom));display:flex;flex-direction:column}.auth-form{width:100%;max-width:400px;margin:0 auto}.auth-logo{height:40px;width:auto;margin-bottom:22px}.auth-title{font-family:var(--serif);font-size:28px;font-weight:600;line-height:1.15}.auth-sub{color:var(--ink-2);margin:8px 0 26px}.auth-foot{margin-top:22px;text-align:center;font-size:14px;color:var(--ink-2)}.auth-foot a{font-weight:600;color:var(--ink);border-bottom:1px solid var(--line-strong)}.auth-foot a:hover{color:var(--brand);border-color:var(--brand)}.auth-help{margin-top:auto;padding-top:28px;display:flex;justify-content:center;gap:18px;font-size:13px;color:var(--ink-3)}.auth-help a{display:inline-flex;align-items:center;gap:6px}.auth-help a:hover{color:var(--ink)}.auth-help svg{width:15px;height:15px}@media (min-width: 900px){.auth{grid-template-columns:1.1fr 1fr}.auth-visual{min-height:100vh}.auth-visual-text{left:56px;right:56px;bottom:56px}.auth-visual-text h2{font-size:40px}.auth-visual-text p{display:block;margin-top:12px;max-width:42ch;color:#ffffffd1}.auth-panel{margin:0;border-radius:0;justify-content:center;padding:48px}.auth-help{margin-top:40px}}.badge{display:inline-flex;align-items:center;gap:6px;height:26px;padding:0 10px;border-radius:999px;font-size:12px;font-weight:600;white-space:nowrap}.badge:before{content:"";width:6px;height:6px;border-radius:50%;background:currentColor}.badge.plain:before{display:none}.tone-ok{background:var(--ok-soft);color:var(--ok)}.tone-gold{background:var(--gold-soft);color:#87610a}.tone-danger{background:var(--danger-soft);color:var(--danger)}.tone-muted{background:var(--muted-soft);color:var(--ink-2)}.tone-dark{background:var(--ink);color:#fff}.hello{padding:14px 0 18px}.hello-date{font-size:13px;color:var(--ink-3);text-transform:capitalize}.hello h1{font-family:var(--serif);font-weight:600;font-size:30px;line-height:1.15;margin-top:2px}@media (min-width: 900px){.hello h1{font-size:40px}.hello{padding:22px 0 26px}}.property{position:relative;overflow:hidden;border-radius:var(--r-lg);color:#fff;background:var(--night);min-height:300px;display:flex;flex-direction:column;justify-content:flex-end;box-shadow:var(--shadow-lg)}.property>img{position:absolute;top:0;right:0;bottom:0;left:0;width:100%;height:100%;object-fit:cover}.property:after{content:"";position:absolute;top:0;right:0;bottom:0;left:0;background:linear-gradient(180deg,#120d090d 25%,#120d09e0)}.property-body{position:relative;z-index:1;padding:20px;display:flex;align-items:flex-end;gap:16px}.property-info{flex:1;min-width:0}.property-project{font-size:12px;font-weight:600;letter-spacing:.14em;text-transform:uppercase;color:var(--gold-2)}.property-lot{font-family:var(--serif);font-size:28px;font-weight:600;line-height:1.1;margin-top:4px}.property-meta{display:flex;flex-wrap:wrap;gap:6px 14px;margin-top:8px;font-size:13px;color:#ffffffd1}.property-meta span{display:inline-flex;align-items:center;gap:5px}.property-meta svg{width:14px;height:14px;opacity:.8}.property-top{position:absolute;z-index:1;top:14px;left:14px;right:14px;display:flex;justify-content:space-between}.glass{background:#ffffff29;backdrop-filter:blur(10px);-webkit-backdrop-filter:blur(10px);color:#fff;border:1px solid rgba(255,255,255,.22)}@media (min-width: 900px){.property{min-height:380px}.property-body{padding:28px}.property-lot{font-size:36px}}.ring{position:relative;flex-shrink:0;display:grid;place-items:center}.ring svg{transform:rotate(-90deg)}.ring-track{stroke:#fff3}.ring-value{stroke:var(--gold-2);stroke-linecap:round;transition:stroke-dashoffset 1.2s var(--ease)}.ring-label{position:absolute;text-align:center;line-height:1}.ring-label strong{display:block;font-family:var(--serif);font-size:22px;font-weight:600}.ring-label small{display:block;font-size:9.5px;font-weight:600;letter-spacing:.1em;text-transform:uppercase;opacity:.8;margin-top:4px}.ring.light .ring-track{stroke:var(--line)}.ring.light .ring-value{stroke:var(--gold)}.money-big{font-family:var(--serif);font-weight:600;font-size:32px;line-height:1.1;letter-spacing:-.01em}.money-big small{font-family:var(--sans);font-size:13px;font-weight:500;color:var(--ink-3);margin-left:6px;letter-spacing:0}.money-label{font-size:12.5px;color:var(--ink-3);font-weight:500}.paybar{height:10px;border-radius:10px;background:var(--paper-2);overflow:hidden;margin:14px 0 12px}.paybar span{display:block;height:100%;border-radius:10px;background:linear-gradient(90deg,var(--gold),var(--gold-2));transition:width 1.1s var(--ease)}.money-split{display:grid;grid-template-columns:1fr 1fr;gap:12px}.money-split strong{display:block;font-size:15.5px;font-weight:600}.callout{display:flex;gap:14px;align-items:center;padding:16px;border-radius:var(--r)}.callout-icon{width:42px;height:42px;border-radius:12px;display:grid;place-items:center;flex-shrink:0}.callout-icon svg{width:21px;height:21px}.callout-body{flex:1;min-width:0}.callout-title{font-weight:600}.callout-text{font-size:13.5px;color:var(--ink-2)}.callout.danger{background:var(--danger-soft)}.callout.danger .callout-icon{background:#fff;color:var(--danger)}.callout.info{background:var(--surface);border:1px solid var(--line)}.callout.info .callout-icon{background:var(--gold-soft);color:var(--gold)}.due{display:flex;align-items:center;gap:14px}.due-date{width:58px;flex-shrink:0;text-align:center;border-radius:14px;background:var(--night);color:#fff;padding:8px 0 9px}.due-date small{display:block;font-size:10.5px;font-weight:600;letter-spacing:.1em;text-transform:uppercase;color:var(--gold-2)}.due-date strong{display:block;font-family:var(--serif);font-size:24px;line-height:1.05}.due-body{flex:1;min-width:0}.due-amount{font-family:var(--serif);font-size:21px;font-weight:600}.quick{display:grid;grid-template-columns:repeat(2,1fr);gap:10px}.quick a{display:flex;flex-direction:column;gap:10px;padding:16px;border-radius:var(--r);background:var(--surface);border:1px solid var(--line);transition:border-color .15s,transform .15s}.quick a:hover{border-color:var(--line-strong);transform:translateY(-1px)}.quick-icon{width:38px;height:38px;border-radius:11px;background:var(--paper);display:grid;place-items:center;color:var(--ink)}.quick-icon svg{width:19px;height:19px}.quick strong{font-size:14.5px;font-weight:600}.quick span{font-size:12.5px;color:var(--ink-3);margin-top:-6px}@media (min-width: 900px){.quick{grid-template-columns:repeat(4,1fr)}}.stages{position:relative;display:grid;gap:0}.stage{position:relative;display:grid;grid-template-columns:30px 1fr auto;gap:12px;align-items:center;padding:9px 0}.stage-dot{position:relative;z-index:1;width:30px;height:30px;border-radius:50%;display:grid;place-items:center;background:var(--paper-2);color:var(--ink-3);font-size:12px;font-weight:600}.stage-dot svg{width:15px;height:15px}.stage:not(:last-child):before{content:"";position:absolute;left:14px;top:39px;bottom:-9px;width:2px;background:var(--line)}.stage.done .stage-dot{background:var(--ink);color:#fff}.stage.done:not(:last-child):before{background:var(--ink)}.stage.current .stage-dot{background:var(--gold);color:#fff;box-shadow:0 0 0 6px var(--gold-soft)}.stage-name{font-size:14.5px;color:var(--ink-3)}.stage.done .stage-name{color:var(--ink)}.stage.current .stage-name{color:var(--ink);font-weight:600}.stage-state{font-size:12px;color:var(--ink-3)}.stage.current .stage-state{color:#87610a;font-weight:600}@media (min-width: 900px){.stages.horizontal{grid-template-columns:repeat(9,1fr)}.stages.horizontal .stage{grid-template-columns:1fr;justify-items:center;text-align:center;gap:8px;padding:0}.stages.horizontal .stage:not(:last-child):before{left:calc(50% + 15px);right:calc(-50% + 15px);top:14px;bottom:auto;width:auto;height:2px}.stages.horizontal .stage-name{font-size:12.5px;line-height:1.3}.stages.horizontal .stage-state{display:none}}.feed{display:grid;gap:16px}.update{overflow:hidden}.update-media{display:grid;gap:3px;grid-template-columns:repeat(6,1fr);background:var(--paper-2)}.update-media button{position:relative;overflow:hidden;aspect-ratio:4 / 3;background:var(--paper-2)}.update-media button:first-child{grid-column:span 6;aspect-ratio:16 / 9}.update-media.count-2 button{grid-column:span 3;aspect-ratio:4 / 3}.update-media.count-3 button:not(:first-child){grid-column:span 3}.update-media.count-4 button:not(:first-child){grid-column:span 2}@media (min-width: 900px){.update-media button:first-child{aspect-ratio:21 / 9}.update-media.count-2 button,.update-media.count-3 button:not(:first-child),.update-media.count-4 button:not(:first-child){aspect-ratio:16 / 9}}.update-media img,.update-media video{width:100%;height:100%;object-fit:cover;transition:transform .5s var(--ease)}.update-media button:hover img{transform:scale(1.03)}.media-more{position:absolute;top:0;right:0;bottom:0;left:0;display:grid;place-items:center;background:#140f0a8c;color:#fff;font-family:var(--serif);font-size:22px}.media-play{position:absolute;top:0;right:0;bottom:0;left:0;display:grid;place-items:center}.media-play span{width:54px;height:54px;border-radius:50%;display:grid;place-items:center;background:#ffffffe6;color:var(--ink)}.update-body{padding:16px 18px 18px}.update-meta{display:flex;align-items:center;flex-wrap:wrap;gap:8px;font-size:12.5px;color:var(--ink-3);margin-bottom:8px}.update-title{font-family:var(--serif);font-size:20px;font-weight:600;line-height:1.25}.update-text{margin-top:6px;color:var(--ink-2);white-space:pre-line}.update-progress{display:flex;align-items:center;gap:10px;margin-top:14px;font-size:12.5px;color:var(--ink-3)}.update-progress .paybar{flex:1;margin:0;height:6px}.lightbox{position:fixed;top:0;right:0;bottom:0;left:0;z-index:100;background:#0c0907f0;display:flex;flex-direction:column;animation:fade .2s ease}.lightbox-top{display:flex;justify-content:space-between;align-items:center;padding:calc(10px + env(safe-area-inset-top)) 12px 10px 18px;color:#fffc;font-size:14px}.lightbox-top .icon-btn{color:#fff}.lightbox-top .icon-btn:hover{background:#ffffff1f}.lightbox-stage{flex:1;display:grid;place-items:center;padding:0 12px;min-height:0;position:relative}.lightbox-stage img,.lightbox-stage video{max-width:100%;max-height:100%;object-fit:contain;border-radius:6px}.lightbox-nav{position:absolute;top:50%;transform:translateY(-50%);width:46px;height:46px;border-radius:50%;display:grid;place-items:center;background:#ffffff1f;color:#fff}.lightbox-nav:hover{background:#ffffff38}.lightbox-nav.prev{left:12px}.lightbox-nav.next{right:12px}.lightbox-caption{padding:14px 18px calc(18px + env(safe-area-inset-bottom));color:#ffffffdb;text-align:center;font-size:14px}.summary-dark{background:var(--night);color:#fff;border-radius:var(--r-lg);padding:22px;box-shadow:var(--shadow-lg);position:relative;overflow:hidden}.summary-dark:before{content:"";position:absolute;right:-60px;top:-60px;width:200px;height:200px;border-radius:50%;border:1px solid rgba(201,162,74,.25)}.summary-dark:after{content:"";position:absolute;right:-20px;top:-20px;width:120px;height:120px;border-radius:50%;border:1px solid rgba(201,162,74,.18)}.summary-dark .money-label{color:#ffffff9e}.summary-dark .money-big small{color:#fff9}.summary-dark .paybar{background:#ffffff1f}.summary-dark .money-split strong{color:#fff}.summary-plan{margin-top:14px;padding-top:14px;border-top:1px solid rgba(255,255,255,.12);font-size:13px;color:#ffffffb8;display:flex;align-items:center;gap:8px}.summary-plan svg{width:16px;height:16px;color:var(--gold-2)}.segmented{display:inline-flex;padding:4px;border-radius:999px;background:var(--paper-2);gap:2px}.segmented button{height:36px;padding:0 16px;border-radius:999px;font-size:13.5px;font-weight:600;color:var(--ink-2)}.segmented button[aria-pressed=true]{background:#fff;color:var(--ink);box-shadow:var(--shadow)}.chips{display:flex;gap:8px;overflow-x:auto;scrollbar-width:none;padding-bottom:2px}.chips::-webkit-scrollbar{display:none}.chip{height:34px;padding:0 14px;border-radius:999px;border:1px solid var(--line-strong);font-size:13px;font-weight:500;white-space:nowrap;color:var(--ink-2);background:var(--surface)}.chip[aria-pressed=true]{background:var(--ink);border-color:var(--ink);color:#fff}.chip .count{opacity:.6;margin-left:4px}.rows{list-style:none}.row{display:flex;align-items:center;gap:14px;padding:14px 18px;border-top:1px solid var(--line)}.rows>li:first-child>.row:first-child,.row-group+.row{border-top:0}.row-main{flex:1;min-width:0}.row-title{font-weight:600;font-size:14.5px}.row-sub{font-size:12.5px;color:var(--ink-3);margin-top:1px}.row-end{text-align:right;flex-shrink:0}.row-amount{font-weight:600;font-variant-numeric:tabular-nums}.row-amount.strike{color:var(--ink-3)}.row-icon{width:40px;height:40px;border-radius:12px;display:grid;place-items:center;flex-shrink:0;background:var(--paper);color:var(--ink-2)}.row-icon svg{width:19px;height:19px}.row.is-late .row-icon{background:var(--danger-soft);color:var(--danger)}.row.is-paid .row-icon{background:var(--ok-soft);color:var(--ok)}.row-group{padding:12px 18px 6px;font-size:11.5px;font-weight:600;letter-spacing:.12em;text-transform:uppercase;color:var(--ink-3);background:var(--surface-2, #fcfbf9);border-top:1px solid var(--line)}.rows>li:first-child>.row-group{border-top:0;border-radius:var(--r) var(--r) 0 0}.show-more{width:100%;padding:14px;font-size:14px;font-weight:600;color:var(--ink-2);border-top:1px solid var(--line)}.show-more:hover{color:var(--ink);background:var(--paper);border-radius:0 0 var(--r) var(--r)}.receipt-actions{display:flex;gap:10px;flex-wrap:wrap;margin-bottom:18px}.receipt{max-width:720px;margin:0 auto;padding:28px 22px;background:#fff;border:1px solid var(--line);border-radius:var(--r);box-shadow:var(--shadow)}.receipt-head{display:flex;justify-content:space-between;align-items:flex-start;gap:16px;padding-bottom:20px;border-bottom:2px solid var(--ink)}.receipt-head img{height:44px;width:auto}.receipt-company{font-size:11.5px;color:var(--ink-2);line-height:1.5;text-align:right}.receipt-title{font-family:var(--serif);font-size:26px;font-weight:600;margin:24px 0 4px}.receipt-number{font-size:13px;color:var(--ink-3);letter-spacing:.04em}.receipt-amount{margin:22px 0;padding:20px;border-radius:14px;background:var(--paper);display:flex;justify-content:space-between;align-items:center;gap:12px;flex-wrap:wrap}.receipt-amount strong{font-family:var(--serif);font-size:30px;font-weight:600}.receipt-grid{display:grid;grid-template-columns:1fr;gap:0}.receipt-grid div{display:flex;justify-content:space-between;gap:16px;padding:10px 0;border-bottom:1px dashed var(--line-strong);font-size:14px}.receipt-grid dt{color:var(--ink-3)}.receipt-grid dd{font-weight:600;text-align:right}.receipt-foot{margin-top:26px;font-size:12px;color:var(--ink-3);line-height:1.6}@media (min-width: 900px){.receipt{padding:44px 48px}}.doc{display:flex;gap:14px;padding:16px 18px;border-top:1px solid var(--line);align-items:center}.doc:first-child{border-top:0}.doc-icon{width:46px;height:54px;border-radius:8px;flex-shrink:0;display:grid;place-items:center;background:var(--paper);color:var(--ink-3);position:relative}.doc-icon:after{content:"";position:absolute;top:0;right:0;width:12px;height:12px;background:linear-gradient(225deg,var(--paper-2) 50%,transparent 50%);border-radius:0 8px 0 0}.doc.ready .doc-icon{background:var(--night);color:var(--gold-2)}.doc.ready .doc-icon:after{background:linear-gradient(225deg,var(--night-2) 50%,transparent 50%)}.doc-icon svg{width:20px;height:20px}.doc-main{flex:1;min-width:0}.doc-title{font-weight:600;font-size:14.5px;line-height:1.35}.doc-note{font-size:12.5px;color:var(--ink-3);margin-top:3px}.doc-steps{display:flex;gap:4px;margin-top:9px;max-width:160px}.doc-steps span{flex:1;height:4px;border-radius:4px;background:var(--line)}.doc-steps span.on{background:var(--gold)}.doc.ready .doc-steps span.on{background:var(--ok)}.doc-end{display:flex;flex-direction:column;align-items:flex-end;gap:8px;flex-shrink:0}@media (max-width: 420px){.hide-xs{display:none}.doc-end .btn-sm{width:38px;padding:0}}.chat{display:flex;flex-direction:column;min-height:calc(100vh - var(--header-h) - var(--tabbar-h) - 60px)}.chat-head{display:flex;align-items:center;gap:12px;padding:6px 0 14px;border-bottom:1px solid var(--line)}.chat-head .avatar{background:var(--brand);color:#fff}.chat-head strong{display:block;font-size:15.5px}.chat-head span{font-size:12.5px;color:var(--ink-3)}.chat-list{flex:1;padding:18px 0 130px;display:flex;flex-direction:column;gap:6px}.chat-day{align-self:center;margin:14px 0 6px;font-size:12px;font-weight:500;color:var(--ink-3);background:var(--paper-2);padding:4px 12px;border-radius:999px}.bubble{max-width:82%;padding:11px 15px 8px;border-radius:20px;font-size:14.5px;line-height:1.5;white-space:pre-wrap;overflow-wrap:anywhere;animation:rise .25s var(--ease)}.bubble-meta{display:block;margin-top:4px;font-size:11px;opacity:.65;text-align:right}.bubble.me{align-self:flex-end;background:var(--ink);color:#fff;border-bottom-right-radius:6px}.bubble.them{align-self:flex-start;background:#fff;border:1px solid var(--line);border-bottom-left-radius:6px}.bubble-author{display:block;font-size:12px;font-weight:600;color:var(--gold);margin-bottom:2px}.composer{position:fixed;z-index:35;left:0;right:0;bottom:calc(var(--tabbar-h) + env(safe-area-inset-bottom));padding:10px 12px;background:#f7f4eff0;backdrop-filter:blur(14px);-webkit-backdrop-filter:blur(14px);border-top:1px solid var(--line)}.composer-inner{max-width:var(--max);margin:0 auto;display:flex;gap:8px;align-items:flex-end}.composer textarea{flex:1;max-height:140px;border-radius:24px;padding:13px 18px}.send{width:52px;height:52px;border-radius:50%;flex-shrink:0;display:grid;place-items:center;background:var(--brand);color:#fff;box-shadow:0 6px 16px #d2101e40;transition:transform .1s,opacity .15s}.send svg{width:20px;height:20px}.send:disabled{opacity:.4;box-shadow:none;cursor:default}@media (min-width: 900px){.chat{min-height:calc(100vh - var(--header-h) - 100px)}.composer{bottom:0;padding:14px 32px 18px}.chat-list{padding-bottom:110px}.bubble{max-width:64%}}.profile-card{display:flex;align-items:center;gap:16px}.profile-name{font-family:var(--serif);font-size:22px;font-weight:600;line-height:1.2}.profile-code{display:inline-block;margin-top:4px;font-size:12.5px;font-weight:600;letter-spacing:.08em;color:#87610a;background:var(--gold-soft);padding:3px 10px;border-radius:999px}.kv{display:grid;gap:0}.kv div{display:flex;justify-content:space-between;gap:16px;padding:13px 0;border-top:1px solid var(--line);font-size:14px}.kv div:first-child{border-top:0}.kv dt{color:var(--ink-3)}.kv dd{font-weight:500;text-align:right;overflow-wrap:anywhere}.contact-list a{display:flex;align-items:center;gap:14px;padding:14px 18px;border-top:1px solid var(--line)}.contact-list a:first-child{border-top:0}.contact-list a:hover,.contact-list .row-icon{background:var(--paper)}.contact-list svg.chev{margin-left:auto;width:18px;height:18px;color:var(--ink-3)}.switcher{position:relative}.switcher-btn{display:inline-flex;align-items:center;gap:6px;height:36px;padding:0 12px;border-radius:999px;border:1px solid var(--line-strong);background:#fff;font-size:13px;font-weight:600;max-width:52vw}.switcher-btn span{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.switcher-btn svg{width:16px;height:16px;flex-shrink:0;color:var(--ink-3)}.switcher-menu{position:absolute;right:0;top:44px;min-width:260px;background:#fff;border:1px solid var(--line);border-radius:14px;box-shadow:var(--shadow-lg);padding:6px;z-index:50;animation:rise .15s var(--ease)}.switcher-menu button{display:flex;width:100%;text-align:left;gap:10px;align-items:center;padding:10px 12px;border-radius:10px}.switcher-menu button:hover{background:var(--paper)}.switcher-menu strong{display:block;font-size:14px}.switcher-menu small{color:var(--ink-3);font-size:12px}.switcher-menu svg{width:16px;height:16px;margin-left:auto;color:var(--brand)}.skeleton{background:linear-gradient(90deg,var(--paper-2) 0%,#f7f2ea 50%,var(--paper-2) 100%);background-size:200% 100%;animation:shimmer 1.4s infinite linear;border-radius:12px}.empty{text-align:center;padding:40px 22px}.empty-icon{width:60px;height:60px;margin:0 auto 14px;border-radius:18px;display:grid;place-items:center;background:var(--paper-2);color:var(--ink-3)}.empty-icon svg{width:26px;height:26px}.empty h3{font-family:var(--serif);font-size:20px;font-weight:600}.empty p{color:var(--ink-2);margin:6px auto 0;max-width:38ch;font-size:14px}.empty .btn{margin-top:18px}.splash{min-height:100vh;display:grid;place-items:center}.splash img{height:46px;width:auto;animation:pulse 1.6s ease-in-out infinite}.spin{animation:spin .8s linear infinite}.toast{position:fixed;z-index:120;left:50%;bottom:calc(var(--tabbar-h) + 18px + env(safe-area-inset-bottom));transform:translate(-50%);background:var(--ink);color:#fff;padding:12px 18px;border-radius:999px;font-size:14px;box-shadow:var(--shadow-lg);animation:rise .2s var(--ease);white-space:nowrap}@media (min-width: 900px){.toast{bottom:28px}}.reveal{animation:rise .5s var(--ease) both}.reveal-2{animation-delay:.06s}.reveal-3{animation-delay:.12s}.reveal-4{animation-delay:.18s}@keyframes rise{0%{opacity:0;transform:translateY(8px)}to{opacity:1;transform:none}}@keyframes fade{0%{opacity:0}to{opacity:1}}@keyframes shimmer{to{background-position:-200% 0}}@keyframes pulse{50%{opacity:.45}}@keyframes spin{to{transform:rotate(360deg)}}@media (prefers-reduced-motion: reduce){*,*:before,*:after{animation-duration:.01ms!important;animation-iteration-count:1!important;transition-duration:.01ms!important;scroll-behavior:auto!important}}@media print{@page{size:A4;margin:16mm}body{background:#fff;font-size:12pt}.topbar,.tabbar,.receipt-actions,.no-print,.toast{display:none!important}main.page{padding:0;max-width:none}.receipt{border:0;box-shadow:none;padding:0;max-width:none}.receipt-amount{background:#f3f0ea;-webkit-print-color-adjust:exact;print-color-adjust:exact}}
