/* Party profile and brick calculator reference designs. */
#content .pl331-profiles,#content .bc315{background:linear-gradient(140deg,#fff,#f8fbff);border:1px solid #e1ebfa;border-radius:22px;padding:24px;font-family:Arial,sans-serif;color:#12275b;box-shadow:0 6px 22px #4678bb09}
#content .pl331-profiles h2{font-size:32px;color:#081d55}#content .pl331-profiles header p{font-size:17px;color:#657ca6}#content .pl331-profiles header>div:first-child{position:relative;padding-left:84px}#content .pl331-profiles header>div:first-child:before{content:'♟';position:absolute;left:0;top:0;width:64px;height:64px;display:grid;place-items:center;background:#ffe0ec;border-radius:20px;color:#f51a70;font-size:36px}#content .pl331-profiles .btn,#content .bc315 .btn{border:1px solid #dbe6fa;background:#fff;color:#294c82;border-radius:10px;padding:12px 16px;font-size:14px;font-weight:600}#content .pl331-profiles .btn.primary,#content .bc315 [data-save],#content .bc315 [data-reset],#content .bc315 .bc316-tabs .active{background:linear-gradient(135deg,#ff2581,#f00060)!important;color:white!important;border-color:#ff277e!important}#content .pl331-profiles [data-export=excel],#content .bc315 [data-csv]{background:#e7faf1;color:#00854c;border-color:#b9efd6}#content .pl331-profiles [data-export=csv]{background:#edf5ff;color:#1263e8}#content .pl331-profiles [data-export=print],#content .bc315 [data-print]{background:#fff0f6;color:#ef1465;border-color:#ffd0e2}
#content .pl331-profiles .pl304-filters{background:#fff;border:1px solid #dfeafa;border-radius:18px;padding:24px;gap:24px;margin:26px 0}#content .pl331-profiles label{font-size:14px;color:#1c356c;gap:12px}#content .pl331-profiles input,#content .pl331-profiles select{font-size:16px;padding:13px 16px;border-color:#d4e1f7;border-radius:10px;box-sizing:border-box}#content .pl331-profiles .table-wrap{background:#fff;padding:10px;border:1px solid #e3edfa;border-radius:18px 18px 0 0}#content .pl331-profiles table{min-width:1200px;width:100%;border-collapse:collapse}#content .pl331-profiles th{background:#e3edff!important;color:#12316c!important;font-size:14px!important;padding:18px!important;border:1px solid #f2f7ff}#content .pl331-profiles th:first-child{background:#ffe3ef!important}#content .pl331-profiles th:nth-child(7){background:#daf6ee!important;color:#087d62!important}#content .pl331-profiles th:nth-child(8){background:#fff4d9!important}#content .pl331-profiles th:last-child{background:#eee9ff!important}#content .pl331-profiles td{padding:14px!important;border:1px solid #e9f0fa;font-size:15px!important;line-height:1.5;color:#233e72;vertical-align:middle}#content .pl331-profiles tbody tr:nth-child(even){background:#f4f8ff}#content .pl331-profiles td .pl304-actions{flex-wrap:nowrap;gap:6px}#content .pl331-profiles td .btn{font-size:12px;padding:10px;white-space:nowrap}#content .pl331-profiles [data-profile]{background:#f3efff;color:#7844dc;border-color:#e5d9ff}#content .pl331-profiles [data-list-delete]{background:#fff0f4;color:#f42b58;border-color:#ffdce5}#content .pl331-profiles [data-ledger]{background:#eef6ff;color:#0864ed}#content .pl331-profiles [data-docs]{background:#f5f8fd;color:#466593}.pl331-status{display:inline-flex;align-items:center;gap:8px;padding:7px 12px;border-radius:12px;font-size:14px;white-space:nowrap}.pl331-status:before{content:'';width:9px;height:9px;border-radius:50%;background:currentColor}.pl331-status.active{background:#e1faee;color:#069952}.pl331-status.inactive{background:#fff0f4;color:#b42e5b}#content .pl331-profiles footer{border:1px solid #e3edfa;border-top:0;border-radius:0 0 18px 18px;padding:15px;margin:0;flex-wrap:wrap}#content .pl331-profiles footer [data-count]{margin-right:auto;font-size:14px;color:#506d9e}#content .pl331-profiles footer label{flex-direction:row;align-items:center;gap:12px}
#content .bc315 .summary{gap:16px;margin:14px 0 18px}#content .bc315 .summary article{position:relative;padding:20px 18px 20px 75px;border-radius:12px;min-height:92px;box-sizing:border-box;background:#e8f3ff;color:#153a9a}#content .bc315 .summary article:before{content:'▧';position:absolute;left:18px;top:22px;width:42px;height:42px;border-radius:13px;background:#d2e7ff;display:grid;place-items:center;font-size:27px;color:#1764f1}#content .bc315 .summary article:nth-child(2){background:#eafaf3;color:#00864c}#content .bc315 .summary article:nth-child(2):before{content:'▣';background:#cff7e2;color:#099557}#content .bc315 .summary article:nth-child(3){background:#fff7e2;color:#a56506}#content .bc315 .summary article:nth-child(3):before{content:'◕';background:#ffedbf;color:#df9800}#content .bc315 .summary article:nth-child(4){background:#f2edff;color:#6925ce}#content .bc315 .summary article:nth-child(4):before{content:'₹';background:#e4d6ff;color:#7d2cda}#content .bc315 .summary span{font-size:14px}#content .bc315 .summary b{font-size:29px;margin-top:7px}#content .bc315 .fields{padding:16px 18px;background:#fff;border:1px solid #dfebfa;border-radius:13px;gap:24px}#content .bc315 label{font-size:14px;color:#294b7c}#content .bc315 input,#content .bc315 select,#content .bc315 textarea{background:#fff!important;border:1px solid #d4e1f6!important;font-size:16px!important;min-height:40px;padding:9px 12px!important;font-weight:600!important}#content .bc315 [data-base]{padding:11px 15px;background:#edf3fc;border-radius:8px;font-weight:700}#content .bc315 .bc320-material{border-collapse:collapse;min-width:1000px}#content .bc315 .bc320-material th,#content .bc315 .bc320-material td{padding:9px 14px!important;border:1px solid #dce7f7;font-size:15px!important}#content .bc315 .bc320-material th:nth-child(2){background:#2f78c5!important}#content .bc315 .bc320-material th:nth-child(3){background:#5098e8!important}#content .bc315 .bc320-material th:nth-child(4){background:#72a4f5!important}#content .bc315 .bc320-material th:nth-child(5){background:#9660ca!important}#content .bc315 .bc320-material th:nth-child(6){background:#edb63d!important}#content .bc315 .bc320-material th:nth-child(7){background:#f3689f!important}#content .bc315 .bc320-material th:nth-child(8){background:#29a376!important}#content .bc315 .bc320-material td[data-kg],#content .bc315 .bc320-material td[data-ratio],#content .bc315 .bc320-material td[data-cost]{color:#112856;text-align:center}#content .bc315 .bc320-material input[type=checkbox]{width:20px!important;min-height:20px;accent-color:#0868ff}#content .bc315 .bc320-actions [data-add-after]{color:#00864d;background:#e4fbec;border-color:#a7edc4}#content .bc315 .bc320-actions [data-remove]{color:#f52773;background:#fff0f5;border-color:#ffcada}#content .bc315 .bc320-material tfoot th{background:#ffe5ef!important;color:#eb1265!important}#content .bc315 form>.fields:nth-of-type(3){grid-template-columns:repeat(2,minmax(0,1fr))}
@media(max-width:900px){#content .bc315 .summary{grid-template-columns:repeat(2,minmax(0,1fr))}#content .bc315 .summary b{font-size:24px}}@media(max-width:600px){#content .pl331-profiles,#content .bc315{padding:12px}#content .pl331-profiles h2{font-size:25px}#content .pl331-profiles header p{font-size:14px}#content .pl331-profiles header>div:first-child{padding-left:0}#content .pl331-profiles header>div:first-child:before{display:none}#content .pl331-profiles .pl304-filters{padding:15px;gap:14px}#content .bc315 .summary article{padding:12px;min-height:75px}#content .bc315 .summary article:before{display:none}#content .bc315 .summary b{font-size:23px}#content .bc315 .fields{gap:14px}#content .bc315 .summary span{font-size:12px}}
/* Party list: reduced visible columns. */
#content .pl331-profiles table:has(th:nth-child(6):last-child){min-width:850px}
#content .pl331-profiles table:has(th:nth-child(6):last-child) th:nth-child(4){background:#daf6ee!important;color:#087d62!important}
#content .pl331-profiles table:has(th:nth-child(6):last-child) th:nth-child(5){background:#fff4d9!important}
