.cch-portal{max-width:1100px;margin:30px auto;display:grid;gap:24px;font-family:inherit}
.cch-card{background:#fff;border:1px solid #e7e7ea;border-radius:18px;padding:28px;box-shadow:0 10px 35px rgba(20,20,30,.06)}
.cch-heading{display:flex;justify-content:space-between;gap:20px;align-items:flex-start}
.cch-card h2{margin:0 0 8px;font-size:28px;line-height:1.2}
.cch-heading p{margin:0 0 22px;color:#666}
.cch-form{display:grid;gap:18px}
.cch-form label{display:grid;gap:8px}
.cch-form label span{font-weight:650}
.cch-editor-field{display:grid;gap:8px;min-width:0}
.cch-field-label{font-weight:650}
.cch-editor-field .wp-editor-wrap{width:100%}
.cch-editor-field .wp-editor-container{border-color:#cfd1d8;border-radius:10px;overflow:hidden}
.cch-editor-field .mce-tinymce{box-shadow:none!important}
.cch-editor-field small{color:#666;line-height:1.45}
.cch-form input,.cch-form textarea{width:100%;box-sizing:border-box;border:1px solid #cfd1d8;border-radius:10px;padding:12px 14px;font:inherit;background:#fff;color:#16171a;transition:border-color .15s,box-shadow .15s}
.cch-form input:focus,.cch-form textarea:focus{outline:none;border-color:#15171a;box-shadow:0 0 0 3px rgba(21,23,26,.1)}
.cch-button,.cch-copy-link,.cch-icon-button,.cch-details-button{border:0;cursor:pointer;font:inherit}
.cch-button{justify-self:start;border-radius:10px;padding:13px 20px;font-weight:700}
.cch-button-primary{background:#17181b;color:#fff}
.cch-button[disabled]{opacity:.6;cursor:not-allowed}
.cch-button-muted{background:#d7d9df;color:#626773;cursor:pointer}
.cch-profile-alert,.cch-form-note{margin:0 0 18px;border-radius:10px;padding:12px 14px;background:#fff8e6;color:#725000}
.cch-form-note{margin:0;justify-self:start}
.cch-card.is-highlighted{border-color:#f0b429;box-shadow:0 0 0 4px rgba(240,180,41,.2),0 10px 35px rgba(20,20,30,.06)}
.cch-form input.cch-field-missing{border-color:#b42318;background:#fff8f7;box-shadow:0 0 0 3px rgba(180,35,24,.12)}
.cch-offers h2,.cch-sales h2{margin-bottom:18px}
.cch-table-wrap{overflow-x:auto}
.cch-table{width:100%;border-collapse:collapse}
.cch-table th,.cch-table td{text-align:left;padding:14px;border-bottom:1px solid #ececf0;vertical-align:middle}
.cch-table th{font-size:13px;text-transform:uppercase;letter-spacing:.04em;color:#666}
.cch-icon-button{width:38px;height:38px;border-radius:9px;background:#f1f2f4;font-size:23px;line-height:1}
.cch-delete{color:#b42318;background:#fff0ee}
.cch-copy-link{padding:9px 13px;border-radius:8px;background:#eef2ff;color:#273b8f;font-weight:650}
.cch-details-button{padding:9px 13px;border-radius:8px;background:#f1f2f4;color:#17181b;font-weight:650}
.cch-sale-status{display:inline-flex;align-items:center;min-height:28px;border-radius:999px;padding:3px 10px;background:#f1f2f4;color:#41444d;font-weight:650}
.cch-empty{color:#777}
.cch-pagination{display:flex;align-items:center;gap:12px;flex-wrap:wrap;margin-top:16px}
.cch-page-link{display:inline-flex;align-items:center;min-height:36px;padding:7px 12px;border-radius:8px;background:#f1f2f4;color:#17181b;text-decoration:none;font-weight:650}
.cch-page-current{color:#666}
.cch-modal{position:fixed;inset:0;z-index:999999;display:none;align-items:center;justify-content:center;box-sizing:border-box;padding:20px;overflow:hidden}
.cch-modal.is-open{display:flex}
.cch-modal-backdrop{position:absolute;inset:0;background:rgba(15,16,19,.65)}
.cch-modal-dialog{position:relative;z-index:1;box-sizing:border-box;width:min(680px,100%);max-height:calc(100vh - 40px);max-height:calc(100dvh - 40px);overflow-y:auto;overflow-x:hidden;background:#fff;border-radius:18px;padding:28px;overscroll-behavior:contain;-webkit-overflow-scrolling:touch}
.cch-modal-dialog *{box-sizing:border-box}
.cch-modal-dialog:focus{outline:2px solid rgba(21,23,26,.28);outline-offset:3px}
.cch-order-dialog{width:min(860px,100%)}
.cch-modal-close{position:absolute;right:14px;top:10px;border:0;background:transparent;font-size:32px;cursor:pointer}
.cch-order-details{display:grid;gap:22px}
.cch-order-details section{display:grid;gap:12px}
.cch-order-details h3{margin:0;font-size:18px;line-height:1.25}
.cch-order-details dl{display:grid;grid-template-columns:minmax(160px,220px) 1fr;gap:10px 18px;margin:0}
.cch-order-details dt{color:#666;font-weight:650}
.cch-order-details dd{margin:0;white-space:pre-line;overflow-wrap:anywhere}
.cch-order-items-wrap{overflow-x:auto}
.cch-order-items{width:100%;border-collapse:collapse}
.cch-order-items th,.cch-order-items td{text-align:left;padding:10px;border-bottom:1px solid #ececf0;vertical-align:top}
.cch-order-items th{font-size:12px;text-transform:uppercase;letter-spacing:.04em;color:#666}
.cch-toast{position:fixed;right:24px;bottom:24px;z-index:1000000;max-width:380px;padding:14px 18px;border-radius:12px;background:#17181b;color:#fff;box-shadow:0 14px 40px rgba(0,0,0,.2);opacity:0;transform:translateY(12px);pointer-events:none;transition:.2s}
.cch-toast.is-visible{opacity:1;transform:translateY(0)}
.cch-toast.is-error{background:#b42318}
.cch-notice{max-width:900px;margin:30px auto;padding:18px 20px;border-radius:12px;border:1px solid}
.cch-notice-error{background:#fff1f0;border-color:#f5b7b1;color:#8d1b12}
.cch-notice-warning{background:#fff8e6;border-color:#edcf87;color:#725000}

@media(max-width:700px){
	.cch-card{padding:20px}
	.cch-modal{padding:12px}
	.cch-modal-dialog{max-height:calc(100vh - 24px);max-height:calc(100dvh - 24px);padding:22px}
	.cch-table thead{display:none}
	.cch-table,.cch-table tbody,.cch-table tr,.cch-table td{display:block;width:100%;box-sizing:border-box}
	.cch-table tr{padding:12px 0;border-bottom:1px solid #e9e9ed}
	.cch-table td{display:flex;align-items:center;justify-content:space-between;gap:15px;border:0;padding:8px 0}
	.cch-table td:before{content:attr(data-label);font-size:12px;text-transform:uppercase;color:#777}
	.cch-card h2{font-size:24px}
	.cch-order-details dl{grid-template-columns:1fr}
	.cch-order-details dt{margin-top:6px}
}
