.template-page{max-width:1500px;margin:auto}.template-heading{display:flex;align-items:center;justify-content:space-between;gap:20px;margin:10px 0 25px}.template-heading h1{font-size:28px;margin:0 0 8px;color:#193f32}.template-heading p,.template-title p{color:#66766d;margin:0;line-height:1.6}.template-heading .template-eyebrow{font-size:11px;letter-spacing:2px;color:#376551;font-weight:700;margin-bottom:6px}.template-pill{font-size:12px;border:1px solid #d5e2da;border-radius:20px;padding:8px 12px;white-space:nowrap;color:#245e4d;background:#f4f9f6}.template-workspace{display:grid;grid-template-columns:220px minmax(0,1fr);gap:24px}.template-list{display:flex;flex-direction:column;gap:6px}.template-list button{display:flex;align-items:center;text-align:left;gap:12px;padding:15px 12px;border:1px solid transparent;border-radius:8px;background:transparent;color:#52625a;cursor:pointer}.template-list button.selected{background:#eaf3ec;border-color:#c5dacb;color:#173f32}.template-list strong{font-size:14px;display:block}.template-list small{display:block;font-size:11px;color:#6d7b72;margin-top:5px}.template-main{min-width:0;background:#fff;border:1px solid #dce5df;border-radius:12px;overflow:hidden}.template-title{padding:22px 24px 16px}.template-title h2{margin:0 0 5px;font-size:21px;color:#193f32}.template-title p{font-size:12px}.template-toolbar{padding:0 20px 14px;border-bottom:1px solid #e1e8e2;display:flex;justify-content:space-between;gap:12px}.template-tabs,.template-width,.template-save{display:flex;gap:7px}.template-tabs button,.template-width button{display:flex;align-items:center;gap:6px;background:#fff;border:1px solid #dde5df;border-radius:6px;padding:9px 11px;font-size:12px;color:#5a6c60;cursor:pointer}.template-tabs button[aria-pressed=true],.template-width button[aria-pressed=true]{background:#245e4d;color:#fff;border-color:#245e4d}.template-content{padding:20px;min-width:0}.template-content.editing{display:grid;grid-template-columns:minmax(260px,.9fr) minmax(300px,1.1fr);gap:20px}.template-editor{min-width:0}.template-editor label{display:block;font-size:13px;font-weight:600;margin-bottom:8px;color:#344b3d}.template-editor input,.template-editor textarea{width:100%;box-sizing:border-box;border:1px solid #ccd9cf;border-radius:6px;padding:12px;color:#253e31;background:#fcfdfc}.template-editor input{margin-bottom:18px}.template-editor textarea{font-family:ui-monospace,Consolas,monospace;font-size:12px;line-height:1.65;min-height:440px;resize:vertical;white-space:pre;overflow:auto}.template-editor details{margin:15px 0;font-size:12px}.template-fields{display:flex;flex-wrap:wrap;gap:6px}.template-fields button{font-size:11px;font-family:monospace;border:1px solid #dce5df;background:#f4f8f5;padding:5px;border-radius:4px;cursor:pointer}.template-render{min-width:0}.template-preview-heading{display:flex;justify-content:space-between;font-size:13px;color:#3e5847}.template-preview-heading span{font-size:11px;color:#7b877f}.template-help{font-size:12px;color:#6e7d73;line-height:1.6}.template-preview-subject{font-size:13px;padding:12px;border:1px solid #dfe7e1;border-radius:6px;overflow-wrap:anywhere}.template-frame-area{background:#edf2ee;border:1px solid #dfe7e1;border-radius:8px;padding:12px;overflow:auto;display:flex;justify-content:center}.template-frame-area iframe{display:block;width:100%;height:820px;max-width:800px;border:0;background:#fff}.template-frame-area iframe.phone{width:375px;min-width:375px}.template-error,.template-success{padding:12px 16px;border-radius:7px;margin:10px 0;font-size:14px;line-height:1.6}.template-error{background:#fff3f0;color:#9a3728;border:1px solid #f0d1ca}.template-success{background:#edf7ed;color:#275639;border:1px solid #c5dfc9}.template-save{margin-top:16px}.template-save button{display:flex;align-items:center;gap:7px}.template-history{padding:0 20px 10px}.template-history>p{font-size:12px;color:#66766d}.template-history>div{display:flex;justify-content:space-between;gap:10px;border:1px solid #e0e7e1;border-radius:6px;margin:7px 0;padding:8px}.template-history>div.chosen{border-color:#96b9a1;background:#f3f8f4}.template-history button{background:transparent;border:0;cursor:pointer;display:flex;align-items:center;gap:6px;font-size:12px;color:#31583d;text-align:left}.template-history button:first-child{display:block;flex:1}.template-history button span{display:block;color:#708078;font-size:11px;margin-top:4px}.template-page button:focus-visible,.template-page input:focus-visible,.template-page textarea:focus-visible{outline:3px solid #83aa92;outline-offset:3px}.template-page button:disabled{opacity:.55;cursor:not-allowed}@media(max-width:1100px){.template-content.editing{grid-template-columns:minmax(0,1fr)}.template-editor textarea{min-height:300px}}@media(max-width:720px){.template-workspace{grid-template-columns:minmax(0,1fr);gap:14px}.template-list{display:grid;grid-template-columns:repeat(2,minmax(0,1fr))}.template-heading{display:block}.template-pill{display:inline-block;margin-top:12px}.template-list button{padding:12px 8px}.template-toolbar{padding:0 12px 12px;flex-wrap:wrap}.template-content{padding:12px}.template-title{padding:18px 14px}.template-tabs button{padding:8px}.template-frame-area{justify-content:flex-start;padding:0}.template-frame-area iframe.phone{min-width:0;max-width:100%}}:root{color-scheme:light;font-family:Inter,ui-sans-serif,system-ui,-apple-system,BlinkMacSystemFont,Segoe UI,sans-serif;background:#f4f7f6;color:#24302c;font-synthesis:none;text-rendering:optimizeLegibility}.structured-form>.form-section,.vote-form>.form-section{border:0;border-bottom:1px solid #e2e7e4;border-radius:0;padding:0 0 18px;background:transparent;box-shadow:none}*{box-sizing:border-box}body{margin:0;min-width:320px;min-height:100vh}button,input,select,textarea{font:inherit}img,svg{max-width:100%}button,a{-webkit-tap-highlight-color:transparent}.loading,.login-page{min-height:100vh;display:grid;place-items:center;padding:24px;background:linear-gradient(180deg,#f7f5efd6,#f7f5effa),url(https://images.unsplash.com/photo-1564013799919-ab600027ffc6?auto=format&fit=crop&w=1800&q=80) center/cover}.login-panel{width:min(760px,100%);display:grid;grid-template-columns:1fr 1fr;gap:28px;align-items:center;background:#ffffffe6;border:1px solid #d8ded6;border-radius:8px;padding:28px;box-shadow:0 24px 70px #263b331f}.login-copy h1,.topbar h1,.section-title h2{margin:0;letter-spacing:0}.login-copy p,.section-title p,.muted{color:#66756e}.brand,.user-menu,.nav-item,.primary-button,.secondary-button,.icon-button,.list-row,.report-link{display:flex;align-items:center}.brand{gap:12px;padding:4px 2px 24px}.brand span:last-child,.eyebrow{display:block;color:#6f7d74;font-size:.78rem;text-transform:uppercase}.brand-mark{width:42px;height:42px;border-radius:8px;display:grid;place-items:center;background:#1f6f63;color:#fff;font-weight:800}.brand-mark.large{width:56px;height:56px;margin-bottom:18px}.login-form,.stack-form,.settings-form,.stack{display:grid;gap:12px}label{display:grid;gap:6px;color:#52615a;font-weight:650}.field span{font-size:.82rem;line-height:1.2}input,select,textarea{min-width:0;width:100%;border:1px solid #cbd5cf;border-radius:7px;padding:11px 12px;background:#fff;color:#24302c}textarea{min-height:96px;resize:vertical}.primary-button,.icon-button,.text-button,.nav-item,.button-row{border:0;cursor:pointer}.primary-button{justify-content:center;gap:8px;min-height:42px;padding:10px 14px;border-radius:7px;background:#1f6f63;color:#fff;font-weight:750}.secondary-button{justify-content:center;gap:8px;min-height:38px;padding:8px 12px;border:1px solid #cbd5cf;border-radius:7px;background:#fff;color:#24302c;font-weight:700;cursor:pointer}.primary-button:disabled{opacity:.58;cursor:not-allowed}.text-button{background:transparent;color:#1f6f63}.notice,.error{border-radius:7px;padding:10px 12px;margin:14px 0 0}.notice{background:#e9f4ef;color:#225b4c}.error{background:#fff0ed;color:#a33325}.shell{min-height:100vh;display:grid;grid-template-columns:260px minmax(0,1fr)}.sidebar{min-width:0;overflow-y:auto;background:#fff;border-right:1px solid #dce2dc;padding:24px;position:sticky;top:0;height:100vh}.sidebar nav{min-width:0;display:grid;gap:6px}.nav-item{width:100%;gap:10px;background:transparent;color:#56645d;padding:10px;border-radius:7px;text-align:left}.nav-item.active{background:#e5f1ed;color:#194f47;font-weight:750}.main{min-width:0;padding:28px}.topbar{display:flex;justify-content:space-between;gap:16px;align-items:center;margin-bottom:24px;min-width:0}.user-menu{gap:12px;min-width:0}.icon-button{justify-content:center;width:40px;height:40px;border-radius:7px;background:#23322d;color:#fff}.content-band{display:grid;gap:18px;min-width:0}.section-title{display:flex;align-items:end;justify-content:space-between;flex-wrap:wrap;gap:16px;margin-top:6px;min-width:0}.section-title>div{min-width:min(100%,280px)}.section-title p{margin:4px 0 0}.metric-grid,.form-grid,.report-grid,.vote-grid{display:grid;gap:14px}.metric-grid{grid-template-columns:repeat(auto-fit,minmax(150px,1fr))}.report-grid{grid-template-columns:repeat(auto-fit,minmax(220px,1fr))}.form-grid,.vote-grid{grid-template-columns:repeat(auto-fit,minmax(min(320px,100%),1fr))}.metric,.stack-form,.detail-panel{min-width:0;background:#fff;border:1px solid #dce2dc;border-radius:8px;padding:16px}.metric span{color:#607068;font-size:.88rem}.metric strong{display:block;margin-top:8px;font-size:1.45rem}.inline-form{display:grid;grid-template-columns:repeat(6,minmax(120px,1fr));gap:10px;align-items:end}.inline-form .primary-button{align-self:end}.form-actions,.row-actions,.action-bar{min-width:0;display:flex;flex-wrap:wrap;gap:8px;align-items:center}.row-actions{min-width:250px}.action-button{display:inline-flex;align-items:center;gap:6px;min-width:0;min-height:32px;padding:6px 9px;border:1px solid #cbd5cf;border-radius:7px;background:#fff;cursor:pointer;text-decoration:none;font-weight:750;font-size:.82rem;line-height:1}.action-button.edit{border-color:#9fbab0;color:#1f6f63;background:#f4faf7}.action-button.download{border-color:#b8c5e3;color:#334f85;background:#f6f8ff}.action-button.delete{border-color:#ecc1b9;color:#a33325;background:#fff7f5}.action-button.publish{border-color:#9fbab0;color:#fff;background:#1f6f63}.action-button.close-action{border-color:#d7c797;color:#6c5313;background:#fff8e4}.action-button:hover,.action-button:focus-visible{box-shadow:0 8px 18px #25413714;outline:none;transform:translateY(-1px)}.vote-form,.structured-form{display:grid;gap:14px;min-width:0}.form-section{display:grid;gap:12px;min-width:0;padding:14px;border:1px solid #dce2dc;border-radius:8px;background:#fbfcfb}.form-section-header{display:grid;gap:3px}.form-section-header h3{margin:0;font-size:1rem}.form-section-header p{margin:0;color:#66756e;font-size:.88rem;line-height:1.4}.two-column-fields{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}.compact-section{background:#fff}.checkbox-card{grid-template-columns:auto 1fr;align-items:flex-start;gap:10px;padding:10px;border:1px solid #edf0ec;border-radius:8px;background:#fff;font-weight:500}.checkbox-card input{width:auto;margin-top:3px}.checkbox-card span{display:grid;gap:3px}.checkbox-card small{color:#66756e;line-height:1.35}.settings-form{max-width:760px;min-width:0}.table-section{display:grid;gap:10px;min-width:0}.table-toolbar{display:flex;align-items:center;justify-content:space-between;gap:12px;min-width:0}.table-toolbar span{color:#66756e;font-size:.86rem;white-space:nowrap}.search-input{max-width:320px}.table-wrap{width:100%;min-width:0;overflow-x:auto;border:1px solid #dce2dc;border-radius:8px;background:#fff}table{width:100%;border-collapse:collapse;min-width:680px}th,td{padding:12px;border-bottom:1px solid #edf0ec;text-align:left;vertical-align:top}th{color:#5a6961;font-size:.82rem;text-transform:uppercase;background:#f3f6f5}.list{display:grid;gap:8px}.list-row,.report-link{justify-content:space-between;gap:14px;width:100%;min-width:0;min-height:48px;padding:12px 14px;color:#24302c;background:#fff;border:1px solid #dce2dc;border-radius:8px;text-decoration:none}.vote-row span:first-child{display:grid;gap:4px}.vote-row small{color:#66756e}.dashboard-vote-grid{align-items:start}.report-link div{display:grid;gap:4px;min-width:0}.report-link span{color:#66756e;font-size:.86rem}.badge{display:inline-flex;align-items:center;width:fit-content;min-height:24px;padding:3px 8px;border-radius:999px;background:#eef2f0;color:#45544d;font-size:.78rem;font-weight:750;text-transform:capitalize}.badge-active,.badge-paid,.badge-residents,.badge-admin{background:#e0f2e8;color:#1d604d}.badge-draft,.badge-invited,.badge-board,.badge-board_only{background:#edf1fb;color:#334f85}.badge-overdue,.badge-disabled,.badge-cancelled,.badge-deleted{background:#fff0ed;color:#a33325}.badge-sent,.badge-partially_paid,.badge-rental,.badge-resident{background:#fff6dc;color:#7a5a13}.empty-state{display:grid;gap:5px;padding:16px;border:1px dashed #cbd5cf;border-radius:8px;background:#ffffffa8;color:#66756e}.empty-state strong{color:#34423c}.info-list{display:grid;gap:10px}.info-card{display:grid;gap:10px;min-width:0;padding:16px;border:1px solid #dce2dc;border-radius:8px;background:#fff}.info-card-button{width:100%;color:inherit;text-align:left;cursor:pointer}.info-card-button:hover,.info-card-button:focus-visible{border-color:#9cbcaf;box-shadow:0 10px 26px #25413714;outline:none}.info-card.compact{padding:14px}.info-card h3{margin:0;font-size:1rem}.info-card span{display:block;margin-top:3px;color:#66756e;font-size:.84rem}.info-card p{margin:0;color:#435149;line-height:1.45}.info-card small{color:#1f6f63;font-weight:750}.modal-backdrop{position:fixed;top:0;right:0;bottom:0;left:0;z-index:30;display:grid;place-items:center;padding:18px;background:#141f1c6b}.modal-panel{width:min(760px,calc(100vw - 36px));min-width:0;max-height:min(88vh,820px);overflow-y:auto;display:grid;gap:16px;padding:18px;border:1px solid #dce2dc;border-radius:8px;background:#fff;box-shadow:0 28px 80px #15221e3d}.modal-header{display:flex;justify-content:space-between;gap:14px;align-items:flex-start;padding-bottom:12px;border-bottom:1px solid #edf0ec}.modal-header h2{margin:0;font-size:1.16rem}.modal-header p{margin:4px 0 0;color:#66756e}.modal-close{flex:0 0 auto;display:grid;place-items:center;width:38px;height:38px;border:1px solid #cbd5cf;border-radius:7px;background:#fff;color:#24302c;cursor:pointer}.detail-modal{width:min(620px,100%)}.detail-body{margin:0;color:#34423c;line-height:1.6;overflow-wrap:anywhere;white-space:pre-wrap}.topbar h1,.user-menu span,.section-title h2,.section-title p,.metric strong,.info-card h3,.info-card p,.list-row,.report-link,td,th{overflow-wrap:anywhere}.button-row{text-align:left}.radio-row{grid-template-columns:auto 1fr;align-items:center;font-weight:500}.radio-row input{width:auto}.turnstile{min-height:65px}@media(max-width:1080px){.shell{display:block}.sidebar{display:none;position:sticky;height:auto;top:0;z-index:20;padding:12px 14px 10px;border-right:0;border-bottom:1px solid #dce2dc;box-shadow:0 10px 24px #2541370f}.brand{align-items:center;padding:0 2px 10px}.brand-mark{width:34px;height:34px}.brand span:last-child{font-size:.7rem}.sidebar nav{display:flex;gap:8px;overflow-x:auto;padding:2px 2px 8px;scroll-snap-type:x proximity;scrollbar-width:none}.sidebar nav::-webkit-scrollbar{display:none}.nav-item{flex:0 0 auto;width:auto;min-width:104px;justify-content:center;padding:9px 10px;border:1px solid #dce2dc;background:#fff;scroll-snap-align:start;white-space:nowrap}.main{padding:18px}.inline-form{grid-template-columns:repeat(2,minmax(0,1fr))}}.mobile-header{display:none}dialog.modal-panel{border:1px solid #dce2dc;color:#24302c;margin:auto;padding:22px;width:min(760px,calc(100% - 32px));max-height:calc(100dvh - 32px);overflow-y:auto;overflow-x:hidden}dialog.modal-panel::backdrop{background:#14241d80}dialog .modal-header{margin-bottom:18px}.error-notice{display:flex;align-items:center;gap:12px;margin:10px 0}.error-notice>span{flex:1;min-width:0;overflow-wrap:anywhere}.mobile-menu nav{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:8px}.mobile-menu .nav-item{min-width:0;width:100%;min-height:48px;white-space:normal;justify-content:start}.mobile-menu .nav-item span{min-width:0;overflow-wrap:anywhere}@media(max-width:380px){.mobile-menu nav{grid-template-columns:minmax(0,1fr);gap:6px}.mobile-menu .nav-item{min-height:44px}}:focus-visible{outline:3px solid #287cbe;outline-offset:3px}button:disabled{opacity:.55;cursor:not-allowed}button svg,a svg{flex-shrink:0}.main,.content-band,.list,.stack,.field,.metric,.section-title>div{min-width:0}.main{width:100%}.main h1,.main h2,.main h3,.main p,.list-row,.metric strong{overflow-wrap:anywhere}.turnstile{width:100%;min-width:0}.payment-instructions{white-space:pre-wrap;padding:16px 0;border-bottom:1px solid #dce2dc}.download-action{display:inline-flex;align-items:center;gap:7px}.home-details{display:grid;grid-template-columns:repeat(auto-fit,minmax(min(240px,100%),1fr));gap:20px}.home-details dt{color:#66756e;font-size:.85rem}.home-details dd{margin:5px 0 0;overflow-wrap:anywhere}.dialog-fields{border:0;padding:0;margin:0;min-width:0}.ballot-options{display:grid;gap:10px;border:0;padding:0;margin:16px 0}.ballot-options label{display:flex;align-items:center;gap:10px;min-height:44px}.ballot-options input{width:18px;height:18px;flex:0 0 18px}@media(max-width:1080px){.mobile-header{display:flex;justify-content:space-between;align-items:center;padding:10px 16px;background:#fff;border-bottom:1px solid #dce2dc;position:sticky;top:0;z-index:20}.mobile-header .brand{padding:0}.mobile-header .brand-mark{width:34px;height:34px}}@media(max-width:680px){dialog.modal-panel{padding:16px;width:calc(100% - 20px);max-height:calc(100dvh - 20px)}.mobile-menu .nav-item{font-size:.9rem}.metric-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.topbar{gap:8px}.topbar h1{font-size:1.25rem}.user-menu{font-size:.85rem}.action-button,.icon-button,.secondary-button,.primary-button{min-height:44px}}@media(max-width:920px){.form-grid,.vote-grid{grid-template-columns:1fr}.section-title{align-items:flex-start}.table-toolbar,.action-bar{align-items:stretch;flex-direction:column}.table-wrap{overflow:visible;border:0;background:transparent}table,thead,tbody,tr,th,td{display:block}table{min-width:0}thead{display:none}tr{margin-bottom:10px;padding:10px 12px;border:1px solid #dce2dc;border-radius:8px;background:#fff}td{display:flex;justify-content:space-between;gap:14px;padding:8px 0;border-bottom:1px solid #edf0ec;text-align:right;overflow-wrap:anywhere}td:last-child{border-bottom:0}td:before{content:attr(data-label);flex:0 0 42%;color:#607068;font-size:.78rem;font-weight:800;text-align:left;text-transform:uppercase}td[data-label=Actions]{display:block;text-align:left}td[data-label=Actions]:before{display:block;margin-bottom:8px}.row-actions{min-width:0;display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:8px}.action-button{justify-content:center;min-height:38px}}@media(max-width:680px){body{min-width:0}.login-page{padding:14px;place-items:start center}.login-panel{grid-template-columns:1fr;gap:18px;padding:18px;margin-top:12px}.login-copy h1{font-size:1.65rem}.login-copy p{margin-bottom:0}.sidebar{padding:10px 10px 8px}.brand{padding-bottom:8px}.sidebar nav{gap:7px;padding-bottom:7px}.topbar,.user-menu{align-items:flex-start}.topbar{flex-direction:row;align-items:center;margin-bottom:18px}.user-menu{width:auto;max-width:48%;align-items:center;justify-content:flex-end;padding:0;text-align:right}.section-title,.table-toolbar,.action-bar{align-items:stretch;flex-direction:column}.section-title{gap:10px}.section-title h2{font-size:1.15rem}.search-input{max-width:none}.form-grid,.vote-grid,.report-grid,.inline-form,.two-column-fields{grid-template-columns:1fr}.nav-item span{display:inline}.nav-item{min-width:92px;gap:7px;padding:8px 9px;font-size:.86rem}.brand strong{font-size:.95rem}.topbar h1{font-size:1.25rem}.main,.metric,.detail-panel,.form-section,.stack-form{padding:14px}.metric strong{font-size:1.28rem}.primary-button,.secondary-button{width:100%}.form-actions{align-items:stretch;flex-direction:column}.list-row,.report-link{align-items:flex-start;display:grid;grid-template-columns:1fr auto}.list-row>small,.report-link span{grid-column:1 / -1}.modal-backdrop{align-items:end;padding:10px}.modal-panel{width:100%;max-height:calc(100dvh - 20px);padding:14px}.modal-header{position:sticky;top:-14px;z-index:1;background:#fff;padding-top:4px}.row-actions{grid-template-columns:1fr}}
