.customer-detail-bg{padding:28px!important;align-items:center!important}.customer-detail{width:min(900px,96vw)!important;max-height:90vh!important;border-radius:18px!important;overflow:auto!important}.customer-detail .modalhead{padding:25px 28px!important;align-items:flex-start!important}.customer-detail .modalhead h2{font-size:23px!important;line-height:1.25!important;max-width:720px!important;margin:6px 0 0!important}.customer-detail .modalhead .close-detail,.modalhead .close-detail{border:0!important;background:#eef2f7!important;width:36px!important;height:36px!important;border-radius:50%!important;font-size:22px!important;line-height:1!important;cursor:pointer!important;flex:none!important}.customer-tabs{display:flex!important;gap:8px!important;padding:12px 28px!important;border-bottom:1px solid #e4eaf2!important;background:#fafbfd!important}.customer-tabs .tab{appearance:none!important;border:0!important;background:transparent!important;padding:10px 14px!important;color:#718096!important;font-size:12px!important;font-weight:700!important;border-radius:8px!important;cursor:pointer!important}.customer-tabs .tab.active{background:#e8f0ff!important;color:#2563eb!important}.customer-detail section{padding:24px 28px!important}.detail-actions{display:flex!important;align-items:center!important;justify-content:space-between!important;gap:15px!important;margin-bottom:18px!important}.detail-actions h3{font-size:16px!important;margin:0!important}.detail-actions p{font-size:11px!important;color:#718096!important;margin:5px 0 0!important}.customer-subs{display:grid!important;gap:10px!important}.customer-subs article{display:grid!important;grid-template-columns:minmax(170px,1.5fr) 1fr 1fr auto!important;align-items:center!important;gap:15px!important;border:1px solid #e4eaf2!important;border-radius:12px!important;padding:16px!important;background:white!important}.customer-subs article>div>b{display:block!important;font-size:12px!important}.customer-subs article>div>span,.customer-subs article>div>small{display:block!important;font-size:9px!important;color:#718096!important;margin-top:4px!important}.customer-subs .badge{background:#e6f8f0!important;color:#159a67!important;padding:6px 10px!important;border-radius:14px!important;font-size:10px!important}.customer-detail form{padding:4px 0!important;display:grid!important;gap:15px!important}.customer-detail form label{display:grid!important;gap:7px!important;font-size:11px!important;font-weight:700!important}.customer-detail form input,.customer-detail form textarea,.customer-detail form select{border:1px solid #d8e0eb!important;border-radius:9px!important;padding:11px 12px!important;font:inherit!important;background:white!important}.customer-detail form textarea{min-height:95px!important}.customer-detail form small{font-weight:400!important;color:#718096!important}.advanced-panel{background:white;border:1px solid #e4eaf2;border-radius:14px;min-height:500px}.advanced-head{padding:21px 23px;border-bottom:1px solid #e4eaf2;display:flex;justify-content:space-between;align-items:center;gap:15px}.advanced-head h2{font-size:18px;margin:0}.advanced-head p{font-size:11px;color:#718096;margin:5px 0 0}.sub-toolbar{display:flex;gap:10px;padding:15px 20px;background:#fafbfd;border-bottom:1px solid #e4eaf2}.sub-toolbar input,.sub-toolbar select,.advanced-form input,.advanced-form textarea{border:1px solid #d8e0eb;border-radius:9px;padding:10px 12px;background:white;font:inherit}.sub-toolbar input{flex:1}.advanced-form{max-width:600px;padding:25px;display:grid;gap:15px}.advanced-form label{display:grid;gap:7px;font-size:11px;font-weight:700}.advanced-table{overflow:auto}.advanced-table table{min-width:760px}.status-pill{display:inline-block;padding:5px 9px;border-radius:13px;font-size:9px;font-weight:bold}.status-pill.sent,.status-pill.done{background:#e6f8f0;color:#159a67}.status-pill.failed{background:#ffebed;color:#df4c58}.status-pill.new{background:#fff1df;color:#d87811}.request-card{display:grid;grid-template-columns:1.4fr 1fr 1fr auto;gap:15px;align-items:center;padding:16px 22px;border-bottom:1px solid #e4eaf2}.request-card small,.request-card span{display:block;color:#718096;font-size:10px;margin-top:4px}.request-actions{display:flex;gap:6px}.request-actions button{border:1px solid #d8e0eb;background:white;border-radius:7px;padding:7px 9px;font-size:9px;cursor:pointer}.mail-preview{margin:0 25px 25px;border:1px solid #e4eaf2;border-radius:12px;padding:20px;background:#f7f9fc;color:#607086;font-size:12px}@media(max-width:700px){.customer-detail-bg{padding:10px!important}.customer-detail .modalhead h2{font-size:18px!important}.customer-subs article{grid-template-columns:1fr 1fr!important}.detail-actions{align-items:flex-start!important}.sub-toolbar{display:grid}.request-card{grid-template-columns:1fr 1fr}.advanced-head{align-items:flex-start}}
