#qard-root{display:grid;gap:16px;min-width:0;width:100%;grid-column:1/-1;padding:20px;box-sizing:border-box}
#qard-root h2,#qard-root h3,#qard-root p{margin:0}#qard-root p{line-height:1.5}
#qard-root [role=alert]{color:#b42318}#qard-root [role=alert]:empty,#qard-root [role=status]:empty{display:none}
.qard-tabs{display:flex;gap:8px;flex-wrap:wrap}.qard-tabs button{min-height:44px}
.qard-fields{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:16px}.qard-wide{grid-column:1/-1}
#qard-root label{display:grid;gap:6px;font-weight:700;color:#40516a;min-width:0}
#qard-root input,#qard-root select,#qard-root textarea{box-sizing:border-box;width:100%;min-width:0;min-height:44px;border:1px solid #cbd7e3;border-radius:8px;padding:10px;background:white;color:#24344b;font:inherit}
.qard-branch,.qard-borrower{max-width:480px;width:100%}#qard-root form{display:grid;gap:16px}
.qard-schedule{border:1px solid #b8e3d7;background:#ecf8f4;color:#076752;padding:14px;border-radius:8px}
.qard-table{overflow-x:auto;width:100%;min-width:0;border:1px solid #dce5ef;border-radius:8px}
.qard-table table{width:100%;min-width:760px;border-collapse:collapse}.qard-table td,.qard-table th{padding:12px;text-align:left;border-bottom:1px solid #e2e8ef}.qard-table th{background:#eef4f9}.qard-table small{display:block;color:#627187;margin-top:4px}.qard-status{border-radius:12px;padding:4px 8px;background:#e9f3f1;color:#13634e;white-space:nowrap}
@media(max-width:900px){.qard-fields{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:600px){#qard-root{padding:12px}.qard-fields{grid-template-columns:1fr}.qard-tabs button{flex:1 1 140px}.qard-table{font-size:.85rem}}
