/* Compact list layout. Type colours stay independent of urgency. */
.app{max-width:880px;padding:0 18px}header{padding:10px 0}.brand{gap:8px;font-size:14px}.brand small{display:none}.logo{width:30px;height:30px;border-radius:9px;font-size:20px}.icon-button{min-height:36px;min-width:36px}.cloud-strip{margin-top:4px;font-size:11px;gap:8px}.cloud-strip button{padding:4px 10px;min-height:44px}main{padding:8px 0 12px}.heading{gap:8px;flex-direction:row;align-items:center}h1{font-size:21px;margin:0 0 6px;letter-spacing:0}.today-label{font-size:11px;color:#7b877d;white-space:nowrap}.eyebrow,.subtitle{display:none}.add-buttons{gap:6px}.add-buttons button{padding:8px 10px;min-height:44px}.compact-stats{display:flex;justify-content:space-between;align-items:center;padding:7px 10px;margin:8px 0;background:#eaf0e6;border-radius:9px;font-size:11px;color:#526b58}.compact-stats b{font-size:15px;margin-left:3px}.overdue-count{color:#ad513c}.section-label{margin:10px 0 4px;font-size:13px;min-height:22px}.section-label span{font-size:10px;font-weight:400;color:#7c887c}.overdue-section>.section-label{color:#aa4836}.section-empty{font-size:12px;color:#889387;margin:6px 0 10px}.card{padding:5px 8px;margin:6px 0;gap:8px;border-radius:11px;align-items:flex-start;box-shadow:none;min-height:80px}.card-symbol{width:28px;height:28px;border-radius:8px;font-size:18px;margin-top:3px}.payment .card-symbol{background:#e8f0fd;color:#315f9f}.task .card-symbol{background:#e6f3e9;color:#3d7950}.kind{display:inline-block;border-radius:4px;padding:1px 5px;font-size:10px;line-height:16px;font-weight:600;white-space:nowrap;background:#e6f3e9;color:#39754d}.payment .kind{background:#e8f0fd;color:#315f9f}.row-heading{display:flex;gap:6px;align-items:baseline}.card h3{font-size:14px;line-height:20px;margin:0;font-weight:600;min-width:0;overflow-wrap:anywhere}.card p{font-size:11px;line-height:18px}.row-meta{display:flex;gap:7px;flex-wrap:wrap}.status{font-weight:500;color:#72806f}.overdue .status{color:#b04d35}.soon .status{color:#92701e}.card.overdue{border-left:3px solid #bb5e49;background:#fffaf7}.card.soon{border-left:3px solid #c6a85f}.pay{align-self:center;min-width:60px;min-height:44px;padding:8px;font-size:12px;border-radius:8px}.row-details{font-size:11px;color:#778575}.row-details>summary{cursor:pointer;min-height:44px;display:flex;align-items:center;width:max-content;max-width:100%;padding-right:10px;list-style:none}.row-details>summary::before{content:'›';margin-right:5px}.row-details[open]>summary::before{content:'⌄'}.detail-body{border-top:1px solid #e4e8df;padding:5px 0 3px}.item-notes{margin-top:3px!important}.future-section{margin:14px 0 0;border-top:2px solid #d8dfe5;padding-top:6px}.future-section>summary{display:flex;align-items:center;justify-content:space-between;cursor:pointer;min-height:44px;font-size:13px;font-weight:600;color:#667c8b;list-style:none}.future-section>summary::before{content:'›';margin-right:8px}.future-section[open]>summary::before{content:'⌄'}.future-section>summary span{margin-left:auto;font-size:11px;background:#e7edf2;padding:3px 8px;border-radius:12px}.month{margin:8px 0 3px;font-size:11px}.future-section .card{background:#f7f9fa}.actions{flex-direction:row;gap:4px;align-self:center}.actions button{min-height:44px;padding:6px 8px}.field-error{display:block;color:#ae4535;font-size:12px;line-height:1.7;margin-top:4px}input[aria-invalid="true"]{border-color:#ae4535;background:#fff7f4}nav{padding:4px 0 max(4px,env(safe-area-inset-bottom));min-height:56px}nav button{min-height:44px;padding:4px 10px}nav span{font-size:11px}footer{font-size:9px;padding:4px 0 10px}.empty{padding:20px 12px}.note{padding:10px;font-size:11px}@media(max-width:600px){.app{padding:0 12px}header{padding:8px 0}main{padding-top:6px}.heading{flex-direction:row}.add-buttons{width:100%}.card{padding:5px 8px;gap:7px}.card-symbol{width:26px;height:28px}.actions{flex-direction:row;gap:4px}.actions button{min-height:44px}.card h3{font-size:14px}nav button{flex-direction:column;gap:1px}h1{font-size:21px}}

