/* Shared card and action polish across dashboard/admin screens. */
.panel{border-radius:16px;box-shadow:0 10px 28px rgba(12,37,88,.055)}
.panel-heading{padding-bottom:14px;border-bottom:1px solid #e3e9f2;align-items:center}
.panel-heading>span{display:inline-flex;align-items:center;justify-content:center;min-width:34px;height:30px;padding:0 10px;border-radius:999px;background:#edf3fb;color:#17346f;font-size:13px;font-weight:800}

.list-row{gap:20px;margin:12px 0 0;padding:18px 20px;border:1px solid #e0e7f0;border-radius:14px;background:#fff;transition:transform .16s ease,box-shadow .16s ease,border-color .16s ease}
.list-row:first-of-type{margin-top:18px}
.list-row:hover{transform:translateY(-1px);border-color:#cbd8e9;box-shadow:0 9px 24px rgba(12,37,88,.07)}
.list-row>div:first-child{min-width:0;flex:1}
.list-row strong{color:#0c2558;font-size:16px;line-height:1.35}
.list-row span{margin-top:4px;line-height:1.45}
.list-row small{display:block;margin-top:5px;color:#687891;line-height:1.45}

.row-actions{display:flex;align-items:center;justify-content:flex-end;gap:9px;flex-wrap:wrap;flex:0 0 auto}
.row-actions a,.row-actions button,.inline-action-button{display:inline-flex;align-items:center;justify-content:center;min-height:40px;padding:0 15px;border:1px solid #b9c8dd;border-radius:9px;background:#fff;color:#17346f;font:inherit;font-size:14px;font-weight:800;white-space:nowrap;cursor:pointer;transition:background .15s ease,border-color .15s ease,transform .15s ease}
.row-actions a:hover,.row-actions button:hover,.inline-action-button:hover{background:#f2f6fb;border-color:#17346f;transform:translateY(-1px)}
.row-actions form{margin:0}
.row-actions .button,.row-actions .button-primary,.row-actions button.button-primary{border-color:#17346f;background:#17346f;color:#fff}
.row-actions .button-primary:hover,.row-actions button.button-primary:hover{background:#0c2558;color:#fff}
.row-actions .button-gold,.row-actions button.button-gold{border-color:#c78a00;background:#c78a00;color:#fff}
.row-actions .button-gold:hover,.row-actions button.button-gold:hover{background:#aa7600;color:#fff}
.row-actions .danger{border-color:#e2b9b9;color:#a12828;background:#fff8f8}

.dashboard-welcome{border-radius:16px;box-shadow:0 12px 30px rgba(12,37,88,.055)}
.dashboard-welcome>.button,.dashboard-welcome>div>.button{box-shadow:0 5px 13px rgba(12,37,88,.09)}

/* Concept stock cards */
.concept-stock-list{display:grid;gap:14px;margin-top:18px}
.concept-stock-card{display:grid;grid-template-columns:minmax(0,1fr) auto;gap:24px;align-items:center;padding:22px;border:1px solid #dce5f0;border-radius:16px;background:linear-gradient(180deg,#fff,#fbfcfe);box-shadow:0 7px 20px rgba(12,37,88,.045)}
.concept-stock-card:hover{border-color:#c6d4e7;box-shadow:0 11px 28px rgba(12,37,88,.075)}
.concept-stock-main{min-width:0}
.concept-stock-topline{display:flex;gap:8px;align-items:center;flex-wrap:wrap;margin-bottom:8px}
.concept-stock-badge{display:inline-flex;align-items:center;min-height:25px;padding:0 9px;border-radius:999px;background:#edf3fb;color:#17346f;font-size:11px;font-weight:850;text-transform:uppercase;letter-spacing:.04em}
.concept-stock-readiness{background:#fff3cf;color:#775400}
.concept-stock-card h3{margin:0;color:#0c2558;font-size:19px;line-height:1.3}
.concept-stock-meta{margin:7px 0 0;color:#63738c;font-size:14px}
.concept-stock-responsibility{display:flex;gap:8px;flex-wrap:wrap;margin-top:12px}
.concept-stock-responsibility span{display:inline-flex;align-items:center;min-height:30px;padding:0 10px;border:1px solid #e1e7ef;border-radius:8px;background:#f7f9fc;color:#40516b;font-size:12px;font-weight:700}
.concept-stock-actions{display:flex;gap:9px;align-items:center;justify-content:flex-end;flex-wrap:wrap;max-width:520px}
.concept-stock-actions a,.concept-stock-actions button{display:inline-flex;align-items:center;justify-content:center;min-height:42px;padding:0 16px;border-radius:9px;border:1px solid #bac8da;background:#fff;color:#17346f;font:inherit;font-size:14px;font-weight:800;cursor:pointer;white-space:nowrap}
.concept-stock-actions a:hover,.concept-stock-actions button:hover{border-color:#17346f;background:#f3f6fb}
.concept-stock-actions .primary{background:#17346f;border-color:#17346f;color:#fff}
.concept-stock-actions .primary:hover{background:#0c2558;color:#fff}
.concept-stock-actions form{margin:0}

/* Forms / responsibility cards */
.read-only-field{min-height:46px;display:flex;align-items:center;padding:0 14px;border:1px solid #d6dfeb;border-radius:9px;background:#f7f9fc;color:#17346f;font-weight:750}
.concept-form input,.concept-form select,.concept-form textarea{border-radius:9px}
.team-form-footer{display:flex;align-items:center;gap:10px;flex-wrap:wrap;margin-top:20px;padding-top:18px;border-top:1px solid #e2e8f1}

@media(max-width:900px){
 .list-row,.concept-stock-card{grid-template-columns:1fr;align-items:start}
 .list-row{flex-direction:column;align-items:stretch}
 .row-actions,.concept-stock-actions{justify-content:flex-start;max-width:none}
}
@media(max-width:600px){
 .row-actions a,.row-actions button,.concept-stock-actions a,.concept-stock-actions button{width:100%}
 .concept-stock-card{padding:17px}
}
