:root{--ink:#203d37;--muted:#74817c;--green:#087568;--green-dark:#064b46;--mint:#e6f2ec;--bg:#f6f7f3;--line:#e5e9e2;--gold:#c6a46a;--white:#fff;--radius:18px}
*{box-sizing:border-box}body{margin:0;font-family:"Segoe UI",Arial,sans-serif;color:var(--ink);font-size:14px;line-height:1.55}a{color:var(--green);text-decoration:none}a:hover{text-decoration:underline}button,input,select,textarea{font:inherit}button,a,input,select,textarea,summary{-webkit-tap-highlight-color:transparent}button{cursor:pointer}button:disabled{cursor:default}a:focus-visible,button:focus-visible,input:focus-visible,select:focus-visible,textarea:focus-visible,summary:focus-visible{outline:3px solid #d5ae65;outline-offset:3px}h1,h2,h3,p{margin-top:0}h1{font-weight:550;letter-spacing:-1.2px;font-size:34px;line-height:1.2;margin-bottom:12px}h2{font-weight:600;font-size:20px;letter-spacing:-.45px;margin-bottom:16px}h3{font-size:15px;font-weight:600;margin-bottom:5px}p{margin-bottom:14px}small{font-size:12px}.muted{color:var(--muted)}.preline{white-space:pre-line;overflow-wrap:anywhere}.eyebrow{display:block;color:var(--green);font-size:10px;font-weight:700;letter-spacing:2px;margin-bottom:13px}.eyebrow.light{color:#b5d9c8}.hint{font-size:12px;color:#6a7972;line-height:1.7}.button{display:inline-flex;align-items:center;justify-content:center;gap:12px;border:1px solid var(--green);background:var(--green);color:white;border-radius:8px;padding:12px 20px;font-weight:600;font-size:13px;min-height:45px;transition:background .2s}.button:hover{background:var(--green-dark);text-decoration:none}.button.secondary{background:white;color:var(--green);border-color:#d9e2db}.button.secondary:hover{background:var(--mint)}.button.white{background:#fff;color:var(--green-dark);border-color:#fff}.button.white:hover{background:var(--mint)}label{display:flex;flex-direction:column;gap:7px;color:#40574e;font-size:12px;font-weight:600;margin:0 0 17px}input,select,textarea{width:100%;border:1px solid #dce2dc;border-radius:7px;background:white;color:var(--ink);padding:12px 13px;min-height:44px;max-width:100%}input::placeholder,textarea::placeholder{color:#98a19c;font-weight:400}textarea{resize:vertical}input[type=file]{font-size:12px;padding:10px}input[type=checkbox]{min-height:auto;width:15px;margin:0;accent-color:var(--green)}.form-grid{display:grid;grid-template-columns:1fr 1fr;gap:15px}.inline-actions{display:flex;gap:10px;flex-wrap:wrap}.alert{padding:14px 17px;border-radius:8px;margin-bottom:20px;font-size:13px}.alert.error{color:#8e382c;background:#fff0e9;border:1px solid #f2d6cb}.alert.success{color:#1f6651;background:#e6f3e9;border:1px solid #cbdfcf}
/* Acceso */
.auth-layout{min-height:100vh;display:grid;grid-template-columns:49% 51%}.auth-story{background:#075e58;position:relative;overflow:hidden;display:flex;flex-direction:column;min-height:900px;padding:40px 54px;color:white}.brand-auth{display:block;width:210px;position:relative;z-index:2}.brand-auth img{width:100%;height:auto;display:block;border-radius:4px}.story-copy{position:relative;z-index:2;margin-top:85px}.story-copy h1{font-family:Georgia,serif;font-size:clamp(38px,3.5vw,58px);font-weight:400;line-height:1.18;letter-spacing:-1.5px}.story-copy p{color:#b9d4ca;font-size:15px;line-height:1.85;margin-top:24px}.story-foot{margin-top:auto;display:flex;justify-content:space-between;font-size:11px;color:#c0d5ca;z-index:2;gap:20px;padding-top:340px}.architecture{position:absolute;bottom:65px;right:-15px;width:100%;height:380px;overflow:hidden}.sun{position:absolute;right:70px;top:25px;background:#d6bd82;border-radius:100%;width:76px;height:76px}.arch{position:absolute;bottom:0;border-radius:120px 120px 0 0}.arch-one{width:230px;height:320px;left:10%;background:#bad3bc}.arch-one:after{content:"";position:absolute;inset:40px 40px 0;border-radius:100px 100px 0 0;background:#094a45}.arch-two{width:190px;height:245px;left:44%;background:#e3d4b4;box-shadow:12px 0 0 #c1b697}.arch-two:after{content:"";position:absolute;inset:32px 32px 0;border-radius:100px 100px 0 0;background:#3b8270}.arch-three{width:130px;height:165px;right:-30px;background:#7fa992}.ground{position:absolute;bottom:0;left:0;right:0;height:24px;background:#1b7567}.plant{position:absolute;bottom:23px;left:12%;height:130px;width:2px;background:#ddd0ab}.plant i{position:absolute;width:40px;height:75px;background:#d0bb8d;border-radius:0 90% 0 90%;bottom:40px;left:0;transform:rotate(-15deg);transform-origin:bottom left}.plant i:nth-child(2){left:-38px;bottom:10px;transform:rotate(-8deg) scaleX(-1)}.plant i:nth-child(3){bottom:0;transform:rotate(15deg)}.auth-panel{background:#fafbf8;display:flex;flex-direction:column;padding:36px 55px;min-width:0}.auth-top{display:flex;justify-content:space-between;gap:20px;font-size:10px;letter-spacing:1.5px;color:#77857a}.auth-top a{letter-spacing:0;font-size:12px}.auth-form{width:100%;max-width:410px;margin:auto; padding:55px 0 35px}.auth-form h2{font-size:30px;font-weight:550;letter-spacing:-1px;line-height:1.2}.auth-form>.muted{margin-bottom:30px;font-size:13px}.mini-mark{width:46px;height:46px;display:flex;align-items:center;justify-content:center;background:#e5eee6;color:var(--green);border-radius:13px;margin-bottom:24px}.auth-form .button{width:100%;margin-top:8px;min-height:48px}.form-meta{display:flex;justify-content:space-between;align-items:center;gap:10px;font-size:11px;margin:3px 0 22px}.form-meta .check{display:flex;flex-direction:row;align-items:center;gap:7px;font-size:11px;margin:0;font-weight:400}.auth-switch{text-align:center;font-size:12px;color:#79877b;margin-top:23px}.auth-switch a{font-weight:600}.auth-note{display:flex;gap:14px;border-top:1px solid var(--line);padding-top:23px;margin-top:35px;color:#859185;font-size:11px;align-items:center}.auth-note svg{color:#8b9f87}.auth-footer{text-align:center;font-size:10px;color:#919a91;padding-top:20px}
/* Portal */
.app-body{background:var(--bg)}.sidebar{width:242px;position:fixed;left:0;top:0;bottom:0;background:white;border-right:1px solid var(--line);display:flex;flex-direction:column;padding:26px 18px;z-index:20;overflow-y:auto}.brand{display:block;padding:0 5px 29px}.brand img{width:100%;height:auto;display:block;border-radius:8px}.nav-label{font-size:9px;font-weight:700;letter-spacing:1.8px;color:#9aa49b;padding:10px 16px 16px}.sidebar nav{display:flex;flex-direction:column;gap:5px}.sidebar nav a{display:flex;align-items:center;gap:13px;padding:12px 15px;border-radius:8px;color:#6b7e73;font-size:12px}.sidebar nav a:hover{background:#f6f8f4;text-decoration:none}.sidebar nav a.selected{background:#e9f2ea;color:#08685b;font-weight:650}.sidebar nav a.selected:after{content:"";width:5px;height:5px;background:var(--green);border-radius:50%;margin-left:auto}.sidebar-bottom{margin-top:auto;padding:40px 15px 0;display:flex;gap:10px;align-items:center}.sidebar-bottom p{font-size:9px;color:#96a096;line-height:1.8;margin:0}.sidebar-bottom span{color:#557463}.community-dot{width:7px;height:7px;border-radius:50%;background:#89ad79;flex-shrink:0}.workspace{margin-left:242px}.topbar{height:82px;border-bottom:1px solid var(--line);background:#ffffffb8;display:flex;align-items:center;justify-content:space-between;padding:0 38px;gap:20px}.topbar-location{display:flex;align-items:center;gap:17px;font-size:11px;color:#8c978d}.topbar-location strong{color:#4e6657;font-weight:500}.separator{color:#bec6bc}.profile-nav{display:flex;align-items:center;gap:16px}.role-label{font-size:11px;color:#78877a}.avatar{width:36px;height:36px;border-radius:50%;background:#e8eddf;display:flex;align-items:center;justify-content:center;color:#637747;font-size:12px;font-weight:600}.menu-toggle{display:none;border:0;background:none;color:var(--green);font-size:23px}.content{padding:34px 38px 0;max-width:1600px;margin:auto}.page-heading{display:flex;align-items:center;justify-content:space-between;margin-bottom:27px;gap:20px}.page-heading p{font-size:12px;margin-bottom:0}.page-heading h1{margin-bottom:9px}.greeting-dot{color:#a8af75}.date-label{font-size:11px;color:#849083;white-space:nowrap}.welcome-banner{background:#0b6559;border-radius:18px;min-height:247px;padding:31px 35px;display:flex;justify-content:space-between;position:relative;overflow:hidden;margin-bottom:25px;color:white}.welcome-banner>div:first-child{z-index:2}.welcome-banner h2{font-family:Georgia,serif;font-size:31px;font-weight:400;line-height:1.22;letter-spacing:-.6px;margin-bottom:12px}.welcome-banner p{font-size:11px;color:#c2d8c9}.welcome-banner .button{font-size:11px;padding:9px 15px;min-height:37px;border-radius:6px}.welcome-banner .eyebrow{font-size:9px}.banner-art{width:300px;position:absolute;right:5%;bottom:0;height:100%}.banner-circle{position:absolute;right:0;top:25px;width:185px;height:185px;border-radius:50%;background:#337f64}.banner-house{position:absolute;bottom:0;left:60px;width:143px;height:192px;border-radius:80px 80px 0 0;background:#e4d6b7}.banner-house:after{content:"";position:absolute;inset:28px 28px 0;background:#408e72;border-radius:60px 60px 0 0}.banner-house:before{content:"";position:absolute;bottom:0;left:-75px;height:110px;width:90px;border-radius:60px 60px 0 0;background:#a4c29f}.banner-tree{position:absolute;bottom:0;right:14px;width:2px;height:115px;background:#cfba88}.banner-tree:after,.banner-tree:before{content:"";position:absolute;bottom:35px;left:0;width:35px;height:65px;background:#d7c595;border-radius:0 80% 0 80%;transform:rotate(15deg)}.banner-tree:before{left:-35px;bottom:5px;transform:scaleX(-1)}.card{background:white;border:1px solid var(--line);border-radius:var(--radius);padding:25px;margin-bottom:23px;min-width:0}.stat-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:17px;margin-bottom:2px}.stat.card{padding:20px;margin-bottom:23px;display:flex;flex-direction:column;color:var(--ink)}a.stat:hover{text-decoration:none;border-color:#a7c4ab}.stat-top{display:flex;align-items:center;justify-content:space-between;gap:9px}.stat-top>span:first-child,.stat>span{font-size:11px;color:#778777}.stat-icon{display:flex;align-items:center;justify-content:center;width:32px;height:32px;background:#eaf3e9;color:#749368;border-radius:9px;flex-shrink:0}.stat-icon.amber{background:#faf3e6;color:#bc9a57}.stat-icon.blue{background:#ebf1f4;color:#739aa8}.stat strong{font-weight:550;font-size:27px;letter-spacing:-.8px;line-height:1.2;margin:17px 0 10px}.stat strong.stat-word{font-size:18px;line-height:1.25;letter-spacing:-.3px;margin-top:15px}.stat small{font-size:10px;color:#96a092}.two-columns{display:grid;grid-template-columns:1.35fr 1fr;gap:23px;align-items:start}.section-title{display:flex;align-items:center;justify-content:space-between;gap:16px;margin-bottom:20px}.section-title h2{margin:0;font-size:17px}.section-title>a{font-size:11px;white-space:nowrap}.section-title input{max-width:250px}.section-title label{margin:0}.notice-row{display:flex;gap:16px;padding:21px 0;border-top:1px solid var(--line)}.notice-row:last-child{padding-bottom:0}.notice-row small{font-size:9px;color:#97a08e;letter-spacing:.5px}.notice-row h3{font-size:13px;margin:5px 0}.notice-row p{font-size:11px;color:#889280;margin:0;line-height:1.8}.notice-icon{width:38px;height:38px;background:#f3f5eb;color:#97a96b;border-radius:10px;flex-shrink:0;display:flex;align-items:center;justify-content:center}.quick-card{background:#f0f3e9;border-color:#e4e9d8}.quick-card .eyebrow{color:#8e9b6a;font-size:9px}.quick-card h2{font-size:19px}.quick-link{display:flex;align-items:center;gap:14px;color:#547248;padding:16px 0;border-top:1px solid #dfe5d5}.quick-link:hover{text-decoration:none}.quick-link span{display:flex;flex-direction:column;gap:4px}.quick-link strong{font-weight:600;font-size:12px}.quick-link small{font-size:10px;color:#98a08c}.quick-link b{font-size:19px;font-weight:400;margin-left:auto}.content-footer{border-top:1px solid var(--line);margin-top:25px;padding:24px 0;display:flex;justify-content:space-between;gap:20px;color:#98a092;font-size:9px}.demo-banner{padding:9px 15px;margin-bottom:20px;background:#f5ecd7;color:#806537;font-size:10px;letter-spacing:.4px;border-radius:6px}.table-wrap{overflow:auto}table{border-collapse:collapse;width:100%;font-size:12px;text-align:left}th{font-size:10px;letter-spacing:.6px;color:#82907f;font-weight:600;background:#f7f9f4;padding:13px 12px;white-space:nowrap}td{padding:15px 12px;border-bottom:1px solid #edf0e9;vertical-align:top}td small{display:block;color:var(--muted);margin-top:4px;font-size:10px}tr:last-child td{border-bottom:0}.badge{display:inline-flex;border-radius:5px;padding:5px 9px;font-size:10px;white-space:nowrap;background:#eef1e9;color:#708064}.badge.pending,.badge.open{background:#fbf2dd;color:#9c7c30}.badge.active,.badge.verified,.badge.confirmed,.badge.closed,.badge.paid,.badge.approved{background:#e6f3e8;color:#39815c}.badge.rejected,.badge.canceled{background:#f8e9e4;color:#b16b5a}.badge.progress{background:#e7f0f4;color:#588aa2}.record{padding:21px 0;border-top:1px solid var(--line)}.record:first-of-type{margin-top:15px}.record-head{display:flex;align-items:flex-start;justify-content:space-between;gap:16px}.record-head p{font-size:11px;color:var(--muted);margin-bottom:8px}.record h3{font-size:15px}.file-links{display:flex;flex-wrap:wrap;gap:18px}.file-link{font-size:12px;font-weight:600;display:inline-block;margin:5px 0 10px}.review-note{background:#f4f7ef;padding:15px 17px;border-radius:7px;font-size:12px;margin:14px 0;color:#6b7e61}.review-note p:last-child{margin-bottom:0}details>summary{cursor:pointer;color:var(--green);font-weight:600;font-size:13px}details[open]>summary{margin-bottom:20px}details:not(.card){margin-top:16px;padding-top:10px}details form{max-width:640px}td details{min-width:190px}td details form{min-width:240px}.empty{text-align:center;padding:45px 20px;color:#94a08e}.empty svg{width:35px;height:35px;margin-bottom:12px}.empty p{font-size:13px}.pending-card{max-width:700px;margin:60px auto}.terrace-heading{display:flex;justify-content:space-between;align-items:center;padding:32px;background:#146e60;color:white;border-radius:17px;margin-bottom:24px;gap:20px}.terrace-heading h2{font-family:Georgia,serif;font-size:33px;font-weight:400;margin-bottom:9px}.terrace-heading p{font-size:12px;color:#b9d6c6;margin-bottom:0}.terrace-price{display:flex;flex-direction:column;align-items:flex-end;flex-shrink:0}.terrace-price small{font-size:9px;letter-spacing:1.6px;color:#c7d8bc}.terrace-price strong{font-size:30px;font-weight:500;margin:5px 0}.terrace-price span{font-size:11px;color:#c7d8bc}.calendar-layout{grid-template-columns:1.4fr 1fr}.calendar{display:grid;grid-template-columns:repeat(7,minmax(0,1fr));gap:6px}.weekday{text-align:center;font-size:10px;color:#8f9b89;padding-bottom:15px}.calendar-day{min-width:0;min-height:63px;border:1px solid #e4eadc;border-radius:7px;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:5px;background:#f3f7ee;color:#637b50}.calendar-day b{font-size:13px;font-weight:500}.calendar-day span{font-size:8px}.calendar-day.available:hover:not(:disabled){background:#dcebd6;border-color:#a7c19b}.calendar-day.past{opacity:.45;background:#f4f4ef}.calendar-day.pending{background:#faf0d7;color:#aa883e;border-color:#eddba9}.calendar-day.confirmed{background:#1a7a68;color:white;border-color:#1a7a68}.calendar-nav{display:flex;gap:10px}.calendar-nav a{width:28px;height:28px;border:1px solid var(--line);border-radius:5px;text-align:center;line-height:25px}.calendar-legend{display:flex;flex-wrap:wrap;gap:17px;font-size:9px;color:#8c9884;margin-top:22px}.calendar-legend span{display:flex;align-items:center;gap:5px}.dot{width:6px;height:6px;border-radius:50%;display:inline-block}.dot.green{background:#aac493}.dot.gold{background:#d6b665}.dot.dark{background:#1a7a68}.notice-detail{max-width:900px}.audit-detail{font-size:10px;overflow-wrap:anywhere;max-width:400px}
@media(min-width:1600px){.auth-story{padding-left:80px;padding-right:80px}.story-copy{margin-top:100px}.architecture{height:440px}.arch-one{height:370px;width:270px}.arch-two{height:290px;width:230px}.content{padding-top:42px}}
@media(max-width:1200px){.sidebar{width:215px;padding:23px 12px}.workspace{margin-left:215px}.content{padding:28px 24px 0}.topbar{padding:0 24px}.stat-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.two-columns{grid-template-columns:1fr 1fr}.calendar-layout{grid-template-columns:1fr}.auth-story{padding:35px}.auth-panel{padding:35px}.story-copy h1{font-size:42px}.banner-art{right:0;opacity:.8}}
@media(max-width:900px){.two-columns{grid-template-columns:1fr}.auth-layout{grid-template-columns:40% 60%}.auth-story{padding:28px;min-height:830px}.brand-auth{width:170px}.story-copy h1{font-size:34px}.story-copy p{font-size:12px}.architecture{width:145%;right:-25%;transform:scale(.85);transform-origin:bottom}.story-foot{flex-direction:column;gap:5px;font-size:9px}.auth-panel{padding:28px}.banner-art{opacity:.3}.welcome-banner{padding:28px}.welcome-banner h2{font-size:30px}.sidebar nav a{font-size:11px}.content-footer{flex-direction:column;gap:5px}}
@media(max-width:650px){.auth-layout{display:block}.auth-story{min-height:0;padding:22px 25px;background:#096b61}.brand-auth{width:150px}.story-copy{margin-top:24px}.story-copy h1{font-size:31px;margin-bottom:8px}.story-copy p,.story-copy .eyebrow,.story-foot,.architecture{display:none}.auth-panel{padding:26px 25px;min-height:calc(100vh - 190px)}.auth-top{display:none}.auth-form{padding:15px 0;max-width:440px}.auth-form h2{font-size:26px}.mini-mark{display:none}.auth-note{margin-top:25px}.auth-footer{padding:20px 0 0}.sidebar{transform:translateX(-100%);width:242px;box-shadow:10px 0 30px #123d3820;transition:transform .2s}.sidebar.open{transform:translateX(0)}.workspace{margin-left:0}.menu-toggle{display:block}.topbar{height:66px;padding:0 19px;position:sticky;top:0;z-index:30;background:#fff}.topbar-location{gap:10px}.topbar-location>span:first-of-type,.separator{display:none}.role-label{display:none}.content{padding:24px 18px 0}.page-heading{margin-bottom:22px;align-items:flex-start}.page-heading h1{font-size:29px}.page-heading .eyebrow{font-size:8px;letter-spacing:1.5px}.date-label{font-size:9px;padding-top:5px}.welcome-banner{padding:25px;min-height:230px}.welcome-banner h2{font-size:27px}.banner-art{right:-65px;opacity:.18}.stat-grid{gap:12px}.stat.card{padding:15px;margin-bottom:13px}.stat strong{font-size:23px}.stat-top>span:first-child{font-size:10px}.stat-icon{width:26px;height:26px}.stat-icon svg{width:17px;height:17px}.stat strong.stat-word{font-size:16px}.stat small{font-size:9px}.card{padding:20px;border-radius:13px;margin-bottom:18px}.section-title{flex-wrap:wrap}.section-title h2{font-size:16px}.section-title input{max-width:100%}.terrace-heading{padding:25px;align-items:flex-start;flex-direction:column}.terrace-heading h2{font-size:29px}.terrace-price{align-items:flex-start}.terrace-price strong{font-size:25px}.calendar{gap:4px}.calendar-day{min-height:52px}.calendar-day span{font-size:7px}.calendar-day b{font-size:12px}.form-grid{gap:10px}.record-head{gap:10px}.auth-form label{font-size:11px}.content-footer{font-size:8px}.demo-banner{font-size:9px}}
@media(prefers-reduced-motion:reduce){*{scroll-behavior:auto!important;transition:none!important}}

/* Portfolio integration: no global styles outside this application. */
.portfolio-return{display:inline-block;margin-top:12px;font-size:14px;font-weight:650;text-decoration:underline;text-underline-offset:3px;}
.sidebar-portfolio{margin:14px 24px;color:inherit;}
.auth-form .demo-banner{margin:0 0 24px;}

/* Belcanto v2: private attachments, proposals and report previews. */
.attachment-preview{margin:20px 0}.attachment-preview img,.attachment-preview video{display:block;max-width:100%;max-height:540px;margin:auto;object-fit:contain;border-radius:12px;background:#eef5f3}.attachment-preview iframe,.pdf-preview iframe{display:block;width:100%;height:570px;border:1px solid #d4e1dd;border-radius:10px;background:#fff}.pdf-preview{margin-top:20px}.pdf-preview summary{cursor:pointer;padding:12px 0;font-weight:650}.vote-results{margin-top:24px;border-top:1px solid #d4e1dd;padding-top:20px}.resident-editor{border:2px solid #09776b}.resident-editor .hint{max-width:850px}@media(max-width:640px){.attachment-preview iframe,.pdf-preview iframe{height:400px}.attachment-preview video{width:100%}}
