.ccrc-card{border:1px solid #cce5df;border-radius:15px;background:linear-gradient(120deg,#f0fdfa,#fff);padding:20px;margin:0 0 20px;color:#183139;text-align:left}.ccrc-head{display:flex;justify-content:space-between;gap:16px;align-items:flex-start}.ccrc-eyebrow{font-size:10px;letter-spacing:1px;color:#0f766e;font-weight:650}.ccrc-card h2{font-size:18px;font-weight:650;margin:4px 0 7px}.ccrc-head p{font-size:12px;line-height:1.8;color:#64748b;margin:0}.ccrc-head a{white-space:nowrap;font-size:12px;color:#0f766e;text-decoration:none;padding-top:5px}.ccrc-form{display:flex;gap:12px;align-items:flex-end;flex-wrap:wrap;margin-top:18px}.ccrc-form label{display:flex;flex-direction:column;font-size:11px;color:#64748b;gap:7px;flex:1;min-width:200px}.ccrc-form label.ccrc-count{min-width:95px;max-width:130px}.ccrc-form label.ccrc-expiry{min-width:150px;max-width:200px}.ccrc-form input{height:39px;border:1px solid #cbd5e1;border-radius:8px;padding:8px 10px;background:#fff;color:#183139;font-size:13px;width:100%;min-width:0}.ccrc-form input:focus{outline:2px solid #99dcd0;outline-offset:1px}.ccrc-form button,.ccrc-dialog-actions>button{border:0;border-radius:8px;background:#0d9488;color:#fff;padding:10px 17px;font-size:13px;font-weight:600;cursor:pointer;min-height:39px}.ccrc-form button:disabled{opacity:.6;cursor:wait}.ccrc-total{width:100%;font-size:11px;color:#0f766e;line-height:1.7}.ccrc-status{width:100%;font-size:12px;line-height:1.6;color:#0f766e}.ccrc-status:empty{display:none}.ccrc-error{color:#c24147}.ccrc-dialog{width:min(850px,calc(100vw - 24px));max-height:85vh;overflow-y:auto;background:#fff;color:#183139;border:1px solid #cbd5e1;border-radius:15px;padding:24px;box-shadow:0 20px 70px #0004;font-family:inherit}.ccrc-dialog::backdrop{background:#0008}.ccrc-dialog-head{display:flex;align-items:center;justify-content:space-between;gap:15px}.ccrc-dialog h2{font-size:20px;font-weight:650;margin:0}.ccrc-dialog-head>button{background:transparent;border:0;color:inherit;font-size:27px;cursor:pointer}.ccrc-result-note{font-size:12px;line-height:1.8;color:#64748b}.ccrc-code-table{overflow-x:auto}.ccrc-dialog table{width:100%;border-collapse:collapse;white-space:nowrap;font-size:12px;text-align:left}.ccrc-dialog th{background:#f1f5f9;color:#64748b;padding:10px;font-weight:500}.ccrc-dialog td{padding:12px 10px;border-bottom:1px solid #e2e8f0}.ccrc-dialog td button{background:none;border:0;color:#0f766e;cursor:pointer}.ccrc-dialog code{font-size:12px;user-select:all}.ccrc-code-label{display:block;font-size:11px;color:#64748b;margin-top:18px}.ccrc-dialog textarea{display:block;resize:vertical;width:100%;box-sizing:border-box;border:1px solid #cbd5e1;border-radius:8px;margin-top:7px;padding:10px;background:#f8fafc;color:#183139;font-family:ui-monospace,monospace;font-size:12px;line-height:1.8}.ccrc-dialog-actions{display:flex;align-items:center;flex-wrap:wrap;gap:15px;margin-top:18px}.ccrc-dialog-actions>a{color:#0f766e;font-size:12px}.dark .ccrc-card{border-color:#275047;background:linear-gradient(120deg,#15342f,#1e2224);color:#e8eef0}.dark .ccrc-head p,.dark .ccrc-form label,.dark .ccrc-result-note,.dark .ccrc-code-label{color:#9baab0}.dark .ccrc-eyebrow,.dark .ccrc-head a,.dark .ccrc-total,.dark .ccrc-status,.dark .ccrc-dialog td button,.dark .ccrc-dialog-actions>a{color:#5eead4}.dark .ccrc-form input,.dark .ccrc-dialog textarea{border-color:#425359;background:#202a2d;color:#e8eef0}.dark .ccrc-dialog{border-color:#425359;background:#1e2224;color:#e8eef0}.dark .ccrc-dialog th{background:#242b2e;color:#9baab0}.dark .ccrc-dialog td{border-color:#354146}.dark .ccrc-error{color:#ff858e}@media(max-width:620px){.ccrc-card{padding:15px}.ccrc-head{display:block}.ccrc-head a{display:inline-block;margin-top:10px}.ccrc-form{gap:10px}.ccrc-form>label{min-width:100%;flex:auto}.ccrc-form label.ccrc-count,.ccrc-form label.ccrc-expiry{min-width:calc(50% - 5px);max-width:none;flex:1}.ccrc-form>button{width:100%}.ccrc-dialog{padding:16px}.ccrc-dialog h2{font-size:18px}}

@media(max-width:620px){main:has(#cc-admin-code-tools) .portal-workspace{min-width:0;max-width:100%}main:has(#cc-admin-code-tools) .portal-workspace:has(>.portal-service-card),main:has(#cc-admin-code-tools) .portal-workspace :has(>.portal-service-card){display:grid;grid-template-columns:minmax(0,1fr)!important;min-width:0}main:has(#cc-admin-code-tools) .portal-service-card{min-width:0;max-width:100%}main:has(#cc-admin-code-tools) .portal-workspace :has(>button.portal-button){flex-wrap:wrap;min-width:0;max-width:100%}}
