:root{font-family:system-ui,-apple-system,"Segoe UI",sans-serif;color:#153633;background:#f3f6f3;font-size:16px;line-height:1.5}*{box-sizing:border-box}body{margin:0}header{display:flex;justify-content:space-between;align-items:center;gap:1rem;padding:1rem 4vw;background:#123e37;color:white}header a{color:white}main{max-width:1260px;margin:auto;padding:2.5rem 2rem}h1{font-size:clamp(2rem,5vw,3.5rem);letter-spacing:-.04em;line-height:1.1;margin:.5rem 0}h2{margin-top:0}h3{margin-bottom:.5rem}.eyebrow{letter-spacing:.14em;font-size:.8rem;font-weight:750;color:#496d58}.panel{background:white;border:1px solid #dae4de;border-radius:14px;padding:1.25rem;margin:1.2rem 0;box-shadow:0 4px 20px #123e3705}label{display:block;font-weight:600;font-size:.9rem}input,select,textarea,button{font:inherit}input,select,textarea{display:block;width:100%;border:1px solid #a6b9ae;border-radius:6px;padding:.6rem;margin:.3rem 0 .85rem;color:#153633;background:white}textarea{min-height:120px;resize:vertical}input[type=checkbox]{display:inline;width:auto;margin-right:.6rem}button,.button{border:1px solid #155744;background:#155744;color:white;border-radius:7px;padding:.6rem .9rem;cursor:pointer;text-decoration:none;font-weight:600}button:hover{background:#0b4134}button:disabled{opacity:.55;cursor:wait}.secondary{background:white;color:#155744;border-color:#a6b9ae}.secondary:hover{background:#edf3ee}a{color:#155744}nav,.toolbar,.filters,.grid,#customer-search{display:flex;gap:.75rem;align-items:end;flex-wrap:wrap}nav{margin:1.3rem 0}nav button[aria-current=page]{background:#123e37;color:white}nav button{background:white;color:#153633}.grid>label,.filters>label{flex:1 1 180px}#customer-search label{flex:1}#customer-search button{margin-bottom:.85rem}.filters{background:#eaf0e9;padding:1rem;border-radius:10px}.filters button{margin-bottom:.85rem}.table-wrap{overflow:auto}table{width:100%;border-collapse:collapse;background:white;margin:1rem 0}th,td{text-align:left;padding:.85rem;border-bottom:1px solid #dce5df;vertical-align:top}th{font-size:.8rem;color:#4a6657}td small{display:block;color:#607364}.badge{display:inline-block;font-size:.8rem;border-radius:12px;padding:.15rem .55rem;background:#e7efe9}.overdue{color:#922f22;background:#ffe8e0}.muted{color:#576e60}.count{font-size:.9rem;margin:.8rem 0}.empty{padding:2rem;text-align:center;border:1px dashed #b8cbbd;border-radius:10px}#notice:not(:empty),.error:not(:empty){padding:1rem;border-radius:8px;background:#ffece6;color:#822d21;margin:1rem 0}#notice.success{color:#124c36;background:#dff2e3}dialog{border:1px solid #a6b9ae;border-radius:16px;max-width:840px;width:calc(100% - 2rem);max-height:90vh;padding:1.5rem;box-shadow:0 24px 80px #102b3850}dialog::backdrop{background:#193b3370}dialog pre,.message-body{white-space:pre-wrap;overflow-wrap:anywhere;background:#f1f5f0;padding:1rem;border-radius:8px;font:inherit}dialog form{margin-bottom:1rem}.history{border-top:1px solid #dce5df;padding-top:1rem;margin-top:1rem}.history li{margin-bottom:.6rem}footer{max-width:1260px;margin:auto;padding:1rem 2rem 2rem;font-size:.85rem;color:#576e60}:focus-visible{outline:3px solid #cc8b1d;outline-offset:3px}@media(max-width:640px){main{padding:1.5rem 1rem}header{flex-wrap:wrap;font-size:.8rem}td,th{padding:.6rem}.toolbar button{flex:1}.panel{padding:1rem}dialog{padding:1rem}nav button{flex:1}}

@media(max-width:640px){.table-wrap table,.table-wrap tbody{display:block}.table-wrap thead{display:none}.table-wrap tr{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1fr);border:1px solid #dce5df;border-radius:10px;margin-bottom:.8rem;overflow:hidden}.table-wrap td{min-width:0;overflow-wrap:anywhere}.table-wrap td:first-child,.table-wrap td:last-child{grid-column:1 / -1}.table-wrap td::before{content:attr(data-label);display:block;font-size:.75rem;color:#607364;margin-bottom:.25rem}.table-wrap td:last-child button{width:100%}.table-wrap td:last-child{border-bottom:0}}

.call-card{border-top:1px solid #d5dee4;padding:1rem 0}.call-card h3{margin:.25rem 0}.call-card p{overflow-wrap:anywhere}

.automation-rules{display:grid;grid-template-columns:repeat(auto-fit,minmax(min(100%,320px),1fr));gap:1rem}.automation-rules .panel{min-width:0}.automation-rules button{min-height:44px;white-space:normal}
nav button:hover{color:white}.connection-summary{align-items:start;gap:2rem}.connection-summary>article{flex:1 1 260px;min-width:0;overflow-wrap:anywhere}
