/* ATL Digital Downloads — front-end styles */
.atl-dd-grid {
	--atl-accent: #5b3df5;
	display: grid;
	gap: 24px;
	margin: 24px 0;
}
.atl-dd-cols-2 { grid-template-columns: repeat( 2, 1fr ); }
.atl-dd-cols-3 { grid-template-columns: repeat( 3, 1fr ); }
.atl-dd-cols-4 { grid-template-columns: repeat( 4, 1fr ); }

@media ( max-width: 880px ) { .atl-dd-grid { grid-template-columns: repeat( 2, 1fr ); } }
@media ( max-width: 560px ) { .atl-dd-grid { grid-template-columns: 1fr; } }

.atl-dd-card {
	display: flex;
	flex-direction: column;
	gap: 10px;
	padding: 16px;
	border: 1px solid #ececf4;
	border-radius: 14px;
	background: #fff;
	transition: transform .15s ease, box-shadow .15s ease;
}
.atl-dd-card:hover { transform: translateY( -3px ); box-shadow: 0 12px 30px rgba( 20, 19, 43, .08 ); }
.atl-dd-thumb img { width: 100%; height: auto; border-radius: 10px; display: block; }
.atl-dd-title { margin: 4px 0 0; font-size: 1.05rem; line-height: 1.3; }
.atl-dd-title a { text-decoration: none; }
.atl-dd-price { font-weight: 700; color: #14132b; }

.atl-dd-btn {
	margin-top: auto;
	display: inline-block;
	text-align: center;
	padding: 10px 14px;
	border-radius: 10px;
	background: var(--atl-accent);
	color: #fff !important;
	text-decoration: none;
	font-weight: 600;
}
.atl-dd-btn:hover { filter: brightness( 1.08 ); }

.atl-dd-table { width: 100%; border-collapse: collapse; margin-top: 16px; }
.atl-dd-table th, .atl-dd-table td { text-align: left; padding: 10px 12px; border-bottom: 1px solid #ececf4; }
.atl-dd-table code { background: #f5f5fb; padding: 2px 6px; border-radius: 6px; }

.atl-dd-license-form { display: flex; gap: 8px; flex-wrap: wrap; align-items: flex-end; max-width: 520px; }
.atl-dd-license-form label { width: 100%; font-weight: 600; }
.atl-dd-license-form input[type="text"] { flex: 1; padding: 10px 12px; border: 1px solid #d6d6e3; border-radius: 10px; }
.atl-dd-license-form button { padding: 10px 18px; border: 0; border-radius: 10px; background: #5b3df5; color: #fff; font-weight: 600; cursor: pointer; }

.atl-dd-result { margin-top: 14px; padding: 12px 14px; border-radius: 10px; }
.atl-dd-ok { background: #e8f7ee; color: #1a7f43; }
.atl-dd-err { background: #fdecec; color: #b3261e; }
.atl-dd-notice, .atl-dd-empty { padding: 14px; background: #f5f5fb; border-radius: 10px; }

/* ---------- Phase 2: commerce ---------- */
.atl-dd-single { display: grid; grid-template-columns: 1fr 320px; gap: 32px; margin: 24px 0; }
.atl-dd-single-title { margin: 0 0 16px; font-size: 28px; line-height: 1.2; }
.atl-dd-single-image img { max-width: 100%; height: auto; border-radius: 12px; }
.atl-dd-tabs { display: flex; gap: 4px; border-bottom: 1px solid #e6e6f0; margin: 20px 0 0; flex-wrap: wrap; }
.atl-dd-tab { padding: 10px 16px; text-decoration: none; color: #6b6b80; border-bottom: 2px solid transparent; font-weight: 600; }
.atl-dd-tab.is-active { color: #5b3df5; border-bottom-color: #5b3df5; }
.atl-dd-tabpanel { display: none; padding: 18px 2px; }
.atl-dd-tabpanel.is-active { display: block; }
.atl-dd-changelog { white-space: pre-wrap; background: #f7f7fc; padding: 14px; border-radius: 10px; font-size: 13px; }
.atl-dd-single-buy { align-self: start; padding: 22px; background: #fff; border: 1px solid #e6e6f0; border-radius: 16px; box-shadow: 0 8px 30px rgba(20,19,43,.06); position: sticky; top: 24px; }
.atl-dd-price-big { font-size: 30px; font-weight: 800; color: #14132b; margin-bottom: 6px; }
.atl-dd-meta-line { color: #6b6b80; font-size: 13px; margin: 0 0 14px; }
.atl-dd-btn { display: inline-block; width: 100%; text-align: center; background: #5b3df5; color: #fff !important; border: 0; padding: 12px 18px; border-radius: 10px; font-weight: 700; cursor: pointer; text-decoration: none; margin-bottom: 10px; transition: filter .15s; }
.atl-dd-btn:hover { filter: brightness(1.06); }
.atl-dd-btn-ghost { background: #fff; color: #5b3df5 !important; border: 1px solid #d8d4ff; }
.atl-dd-doc-link { display: inline-block; margin-top: 6px; color: #5b3df5; text-decoration: none; font-weight: 600; }
.atl-dd-checkout { display: grid; grid-template-columns: 1fr 1fr; gap: 28px; margin: 20px 0; }
.atl-dd-checkout-summary { grid-column: 1 / -1; }
.atl-dd-checkout-actions { grid-column: 1 / -1; }
.atl-dd-table { width: 100%; border-collapse: collapse; }
.atl-dd-table td { padding: 8px 4px; border-bottom: 1px solid #eee; }
.atl-dd-table td:last-child { text-align: right; }
.atl-dd-table .atl-dd-total td { border-top: 2px solid #14132b; border-bottom: 0; padding-top: 12px; }
.atl-dd-checkout input[type=text], .atl-dd-checkout input[type=email], .atl-dd-checkout textarea { width: 100%; padding: 10px 12px; border: 1px solid #d8d8e4; border-radius: 8px; }
.atl-dd-gateway { display: block; padding: 10px 0; }
.atl-dd-confirmation { padding: 26px; background: #f3fff7; border: 1px solid #b8ecc9; border-radius: 16px; }
.atl-dd-instructions { margin-top: 14px; padding: 14px; background: #fffdf2; border: 1px solid #f0e4ad; border-radius: 10px; }
.atl-dd-downloads .atl-dd-download-row { padding: 10px 0; border-bottom: 1px solid #eee; }
.atl-dd-dl { color: #5b3df5; text-decoration: none; font-weight: 600; margin-right: 10px; }
.atl-dd-categories { list-style: none; padding: 0; display: flex; flex-wrap: wrap; gap: 8px; }
.atl-dd-categories li { background: #f4f4fb; border-radius: 999px; padding: 6px 14px; }
.atl-dd-categories a { text-decoration: none; color: #14132b; }
.atl-dd-categories span { color: #9a9ab0; }
.atl-dd-cart-widget { max-width: 520px; }
.atl-dd-coupon input { padding: 9px 12px; border: 1px solid #d8d8e4; border-radius: 8px; }
.atl-dd-coupon-msg.atl-dd-ok { color: #1a7f43; }
.atl-dd-coupon-msg.atl-dd-err { color: #b3261e; }
@media (max-width: 782px) {
	.atl-dd-single, .atl-dd-checkout { grid-template-columns: 1fr; }
	.atl-dd-single-buy { position: static; }
}

/* ---------- Phase 3: marketplace product page ---------- */
.atl-dd-product { display: grid; grid-template-columns: 1fr 360px; gap: 36px; margin: 24px 0; align-items: start; }
.atl-dd-product-header { display: flex; align-items: center; gap: 12px; flex-wrap: wrap; }
.atl-dd-product-header h1 { margin: 0; font-size: 30px; line-height: 1.15; }
.atl-dd-badge { display: inline-block; padding: 4px 12px; border: 1px solid #c9c2ff; color: #5b3df5; border-radius: 999px; font-size: 13px; font-weight: 600; }
.atl-dd-product-stats { display: flex; align-items: center; gap: 8px; margin: 12px 0 18px; color: #6b6b80; font-size: 14px; }
.atl-dd-stat-num { font-weight: 700; color: #14132b; }
.atl-dd-stat-sep { color: #c4c4d4; }
.atl-dd-product-preview img { width: 100%; height: auto; border-radius: 16px; border: 1px solid #ececf4; }

/* stars */
.atl-dd-stars { display: inline-flex; line-height: 1; }
.atl-dd-star { color: #d8d8e4; font-size: 16px; }
.atl-dd-star.is-on { color: #f5a623; }

/* tier cards */
.atl-dd-product-buy { position: sticky; top: 24px; display: flex; flex-direction: column; gap: 14px; }
.atl-dd-tier-cards { display: flex; flex-direction: column; gap: 12px; }
.atl-dd-tier-card { display: flex; align-items: center; gap: 12px; padding: 16px 18px; border: 1.5px solid #e6e6f0; border-radius: 14px; cursor: pointer; transition: border-color .15s, box-shadow .15s, background .15s; }
.atl-dd-tier-card input { accent-color: #5b3df5; width: 18px; height: 18px; }
.atl-dd-tier-info { display: flex; flex-direction: column; flex: 1; }
.atl-dd-tier-label { font-weight: 700; color: #14132b; }
.atl-dd-tier-desc { font-size: 13px; color: #8a8a9e; }
.atl-dd-tier-price { font-weight: 800; color: #14132b; font-size: 17px; }
.atl-dd-tier-card.is-selected { border-color: #5b3df5; background: linear-gradient(0deg, rgba(91,61,245,.05), rgba(91,61,245,.05)); box-shadow: 0 6px 20px rgba(91,61,245,.12); }
.atl-dd-tier-card.is-selected .atl-dd-tier-label, .atl-dd-tier-card.is-selected .atl-dd-tier-price { color: #4b2fe0; }

.atl-dd-secondary-actions { display: flex; gap: 10px; }
.atl-dd-secondary-actions .atl-dd-btn { margin: 0; }
.atl-dd-buy-actions { display: flex; flex-direction: column; gap: 10px; }
.atl-dd-guarantee { padding: 16px 18px; background: #f7f7fc; border-radius: 14px; }
.atl-dd-guarantee-title { font-weight: 700; color: #14132b; display: block; margin-bottom: 8px; }
.atl-dd-guarantee ul { list-style: none; margin: 0; padding: 0; }
.atl-dd-guarantee li { padding: 4px 0 4px 24px; position: relative; color: #4a4a60; font-size: 14px; }
.atl-dd-guarantee li::before { content: "\2713"; position: absolute; left: 0; color: #2bb673; font-weight: 700; }
.atl-dd-reqs { margin-top: 16px; color: #6b6b80; }

/* reviews */
.atl-dd-reviews { margin-top: 8px; }
.atl-dd-review-summary { display: grid; grid-template-columns: 160px 1fr auto; gap: 24px; align-items: center; padding: 18px; background: #f7f7fc; border-radius: 14px; margin-bottom: 20px; }
.atl-dd-review-score { text-align: center; }
.atl-dd-big-score { display: block; font-size: 40px; font-weight: 800; color: #14132b; line-height: 1; }
.atl-dd-review-count { display: block; color: #8a8a9e; font-size: 13px; margin-top: 4px; }
.atl-dd-review-bars { display: flex; flex-direction: column; gap: 6px; }
.atl-dd-review-bar { display: flex; align-items: center; gap: 8px; font-size: 12px; color: #8a8a9e; }
.atl-dd-bar { flex: 1; height: 8px; background: #e6e6f0; border-radius: 999px; overflow: hidden; }
.atl-dd-bar-fill { height: 100%; background: #f5a623; }
.atl-dd-review-list { list-style: none; margin: 0; padding: 0; }
.atl-dd-review-item { padding: 16px 0; border-bottom: 1px solid #eee; }
.atl-dd-review-head { display: flex; align-items: center; gap: 10px; margin-bottom: 4px; }
.atl-dd-verified { background: #e8f7ee; color: #1a7f43; font-size: 11px; padding: 2px 8px; border-radius: 999px; font-weight: 600; }
.atl-dd-review-date { color: #b0b0c0; font-size: 12px; margin-left: auto; }
.atl-dd-review-title { font-weight: 700; margin: 6px 0 2px; }
.atl-dd-review-body { margin: 2px 0 0; color: #4a4a60; }

/* review form: clickable stars via reverse flex */
.atl-dd-review-form { margin-top: 24px; padding: 20px; border: 1px solid #ececf4; border-radius: 14px; }
.atl-dd-review-form input[type=text], .atl-dd-review-form input[type=email], .atl-dd-review-form textarea { width: 100%; padding: 10px 12px; border: 1px solid #d8d8e4; border-radius: 8px; }
.atl-dd-rating-input { display: inline-flex; flex-direction: row-reverse; gap: 4px; margin-bottom: 12px; }
.atl-dd-rating-input input { display: none; }
.atl-dd-rating-input label { font-size: 26px; color: #d8d8e4; cursor: pointer; transition: color .1s; }
.atl-dd-rating-input input:checked ~ label,
.atl-dd-rating-input label:hover,
.atl-dd-rating-input label:hover ~ label { color: #f5a623; }

/* redesigned grid card */
.atl-dd-card { border: 1px solid #ececf4; border-radius: 16px; overflow: hidden; background: #fff; transition: box-shadow .15s, transform .15s; }
.atl-dd-card:hover { box-shadow: 0 12px 34px rgba(20,19,43,.08); transform: translateY(-2px); }
.atl-dd-thumb { display: block; position: relative; aspect-ratio: 16 / 10; background: #f3f3fa; overflow: hidden; }
.atl-dd-thumb img { width: 100%; height: 100%; object-fit: cover; }
.atl-dd-thumb-empty { display: block; width: 100%; height: 100%; background: linear-gradient(135deg,#eef0fb,#e6f7ff); }
.atl-dd-thumb-badge { position: absolute; left: 14px; bottom: 14px; background: #5b3df5; color: #fff; font-size: 12px; font-weight: 700; padding: 5px 12px; border-radius: 8px; }
.atl-dd-card-body { padding: 16px 18px; }
.atl-dd-card-row { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; }
.atl-dd-card-row .atl-dd-title { margin: 0; font-size: 16px; }
.atl-dd-card-row .atl-dd-title a { color: #14132b; text-decoration: none; }
.atl-dd-card-row .atl-dd-price { font-size: 17px; font-weight: 800; color: #14132b; white-space: nowrap; }
.atl-dd-card-meta { display: flex; justify-content: space-between; align-items: center; margin-top: 10px; color: #8a8a9e; font-size: 13px; }
.atl-dd-card-stats { display: inline-flex; align-items: center; gap: 6px; }
.atl-dd-sales { color: #8a8a9e; }
@media (max-width: 900px) {
	.atl-dd-product { grid-template-columns: 1fr; }
	.atl-dd-product-buy { position: static; }
	.atl-dd-review-summary { grid-template-columns: 1fr; text-align: center; }
}

/* ---------- Phase 4: storefront UX ---------- */
.atl-dd-checkout-h1 { font-size: 28px; margin: 0 0 20px; }
.atl-dd-card-pad { background: #fff; border: 1px solid #ececf4; border-radius: 16px; padding: 22px 24px; margin-bottom: 18px; box-shadow: 0 6px 22px rgba(20,19,43,.04); }
.atl-dd-card-pad h3 { margin: 0 0 16px; font-size: 17px; }
.atl-dd-checkout-cols { display: grid; grid-template-columns: 1fr; gap: 24px; align-items: start; }
@media (min-width: 1024px) { .atl-dd-checkout-cols { grid-template-columns: minmax(0,1fr) 360px; } }
.atl-dd-checkout-right { position: static; }
@media (min-width: 1024px) { .atl-dd-checkout-right { position: sticky; top: 24px; } }
.atl-dd-field-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.atl-dd-field-grid .atl-dd-col-2 { grid-column: 1 / -1; }
.atl-dd-field-grid p { margin: 0; display: flex; flex-direction: column; }
.atl-dd-field-grid label { font-size: 13px; font-weight: 600; color: #44445c; margin-bottom: 6px; }
.atl-dd-checkout input[type=text], .atl-dd-checkout input[type=email], .atl-dd-checkout textarea { width: 100%; padding: 11px 13px; border: 1px solid #dcdce8; border-radius: 10px; font-size: 14px; box-sizing: border-box; }
.atl-dd-checkout input:focus, .atl-dd-checkout textarea:focus { outline: none; border-color: #5b3df5; box-shadow: 0 0 0 3px rgba(91,61,245,.12); }
.atl-dd-gateways { display: flex; flex-direction: column; gap: 10px; }
.atl-dd-gateway-card { display: flex; align-items: center; gap: 12px; padding: 14px 16px; border: 1.5px solid #e6e6f0; border-radius: 12px; cursor: pointer; transition: border-color .15s, background .15s; }
.atl-dd-gateway-card input { accent-color: #5b3df5; width: 18px; height: 18px; }
.atl-dd-gateway-card.is-selected { border-color: #5b3df5; background: rgba(91,61,245,.05); }
.atl-dd-summary-card .atl-dd-table { margin-bottom: 14px; }
.atl-dd-discount-row td { color: #1a7f43; }
.atl-dd-coupon { display: flex; gap: 8px; margin-bottom: 6px; }
.atl-dd-coupon-input { flex: 1; padding: 10px 12px; border: 1px solid #dcdce8; border-radius: 10px; }
.atl-dd-coupon .atl-dd-btn { margin: 0; width: auto; white-space: nowrap; }
.atl-dd-coupon-msg { font-size: 13px; min-height: 18px; margin-bottom: 8px; }
.atl-dd-coupon-msg.atl-dd-ok { color: #1a7f43; }
.atl-dd-coupon-msg.atl-dd-err { color: #b3261e; }
.atl-dd-pay-btn { width: 100%; padding: 14px; font-size: 15px; }
.atl-dd-pay-btn[disabled] { opacity: .5; cursor: not-allowed; }

/* cart */
.atl-dd-cart-table td { padding: 12px 8px; }
.atl-dd-cart-table tfoot td { border-top: 1px solid #ececf4; }
.atl-dd-cart-table .atl-dd-total td { border-top: 2px solid #14132b; }
.atl-dd-cart-remove { color: #b3261e; text-decoration: none; font-size: 20px; line-height: 1; padding: 0 6px; }
.atl-dd-cart-remove:hover { color: #7c1410; }
.atl-dd-cart-actions { margin: 16px 0 0; }

/* auth */
.atl-dd-account-gate { max-width: 460px; margin: 0 auto; }
.atl-dd-account-gate > h2 { text-align: center; }
.atl-dd-auth { max-width: 480px; margin: 0 auto; }
.atl-dd-auth-card { background: #fff; border: 1px solid #ececf4; border-radius: 20px; padding: 30px 30px 28px; box-shadow: 0 18px 50px rgba(20,19,43,.10); position: relative; overflow: hidden; }
.atl-dd-auth-card::before { content: ""; position: absolute; inset: 0 0 auto 0; height: 5px; background: linear-gradient(90deg, #5b3df5, #8b7cff); }
.atl-dd-auth-head { text-align: center; margin-bottom: 22px; }
.atl-dd-auth-title { margin: 6px 0 6px; font-size: 24px; font-weight: 800; color: #14132b; }
.atl-dd-auth-sub { margin: 0; color: #8a8a9e; font-size: 14px; }
.atl-dd-auth-tabs { display: flex; gap: 6px; background: #f4f4fb; padding: 5px; border-radius: 12px; margin-bottom: 22px; }
.atl-dd-auth-tab { flex: 1; text-align: center; padding: 10px 14px; text-decoration: none; color: #7a7a90; font-weight: 700; font-size: 14px; border-radius: 9px; transition: all .15s; }
.atl-dd-auth-tab.is-active { color: #5b3df5; background: #fff; box-shadow: 0 2px 8px rgba(20,19,43,.08); }
.atl-dd-auth-panel { display: none; }
.atl-dd-auth-panel.is-active { display: block; animation: atl-dd-fade .2s ease; }
.atl-dd-auth-panel p { margin: 0 0 15px; }
.atl-dd-field-row { display: flex; gap: 12px; }
.atl-dd-field-row .atl-dd-field { flex: 1; }
.atl-dd-field label, .atl-dd-auth-panel label { display: block; font-size: 13px; font-weight: 600; color: #44445c; margin-bottom: 6px; }
.atl-dd-auth-panel input[type=text], .atl-dd-auth-panel input[type=email], .atl-dd-auth-panel input[type=password] { width: 100%; padding: 12px 14px; border: 1px solid #dcdce8; border-radius: 11px; box-sizing: border-box; font-size: 15px; transition: border-color .15s, box-shadow .15s; }
.atl-dd-auth-panel input:focus { outline: none; border-color: #5b3df5; box-shadow: 0 0 0 3px rgba(91,61,245,.14); }
.atl-dd-field-hint { display: block; font-size: 12px; color: #9a9ab0; margin-top: 6px; font-weight: 500; }
.atl-dd-remember { display: flex !important; align-items: center; gap: 8px; font-weight: 500 !important; margin: 0 !important; }
.atl-dd-auth-panel .atl-dd-btn-block { width: 100%; padding: 13px; font-size: 15px; }
.atl-dd-auth-alt { text-align: center; font-size: 14px; color: #8a8a9e; margin: 16px 0 0 !important; }
.atl-dd-auth-alt a { color: #5b3df5; font-weight: 700; text-decoration: none; }
.atl-dd-auth-alt a:hover { text-decoration: underline; }
.atl-dd-lost-link { color: #5b3df5; text-decoration: none; font-size: 13px; font-weight: 600; }
.atl-dd-lost-intro { color: #8a8a9e; font-size: 14px; }
.atl-dd-auth-logged { max-width: 480px; margin: 0 auto; text-align: center; }
@media (max-width: 900px) {
	.atl-dd-checkout-right { position: static; }
	.atl-dd-field-grid { grid-template-columns: 1fr; }
}

/* ---------- Phase 5: hardening + thumbnails ---------- */
/* Neutralise theme table borders inside our widgets */
.atl-dd-table, .atl-dd-table tr, .atl-dd-table td, .atl-dd-table th { border: 0 !important; background: transparent; }
.atl-dd-table { width: 100%; border-collapse: collapse; }
.atl-dd-table td { padding: 10px 6px; vertical-align: middle; border-bottom: 1px solid #eef0f6 !important; }
.atl-dd-table tfoot td, .atl-dd-table .atl-dd-total td { border-bottom: 0 !important; }
.atl-dd-table .atl-dd-total td { border-top: 2px solid #14132b !important; padding-top: 12px; }
.atl-dd-table td:last-child { text-align: right; white-space: nowrap; }

.atl-dd-sum-item { display: flex; align-items: center; gap: 10px; }
.atl-dd-sum-thumb { width: 40px; height: 40px; border-radius: 8px; object-fit: cover; flex: 0 0 40px; }
.atl-dd-cart-item { display: flex; align-items: center; gap: 12px; }
.atl-dd-cart-thumb { width: 52px; height: 52px; border-radius: 10px; object-fit: cover; flex: 0 0 52px; }

/* label asterisk shouldn't wrap awkwardly */
.atl-dd-field-grid label, .atl-dd-auth-panel label { white-space: nowrap; }

/* ---------- Phase 6: gateways ---------- */
.atl-dd-rzp-wait { max-width: 460px; margin: 40px auto; text-align: center; padding: 30px; background: #fff; border: 1px solid #ececf4; border-radius: 16px; box-shadow: 0 8px 30px rgba(20,19,43,.06); }
.atl-dd-rzp-wait .atl-dd-btn { width: auto; padding: 12px 28px; }

/* ---------- Phase 7: account area ---------- */
.atl-dd-account { max-width: 960px; margin: 0 auto; }
.atl-dd-acct-tabs { display: flex; gap: 6px; border-bottom: 1px solid #ececf4; margin-bottom: 26px; }
.atl-dd-acct-tabs a { display: inline-flex; align-items: center; gap: 7px; padding: 14px 18px; text-decoration: none; color: #8a8a9e; font-weight: 600; border-bottom: 2px solid transparent; }
.atl-dd-acct-tabs a .dashicons { font-size: 18px; width: 18px; height: 18px; }
.atl-dd-acct-tabs a.is-active { color: #5b3df5; border-bottom-color: #5b3df5; }

/* My Account form */
.atl-dd-acct-section { padding: 22px 0; border-bottom: 1px solid #f0f0f6; }
.atl-dd-acct-section h3 { margin: 0 0 18px; font-size: 18px; }
.atl-dd-acct-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.atl-dd-acct-grid p { margin: 0; display: flex; flex-direction: column; }
.atl-dd-acct-grid label { font-size: 13px; font-weight: 600; color: #44445c; margin-bottom: 7px; }
.atl-dd-acct-grid input { width: 100%; padding: 12px 14px; border: 1px solid #e0e0ea; border-radius: 10px; font-size: 14px; box-sizing: border-box; }
.atl-dd-acct-grid input:focus { outline: none; border-color: #5b3df5; box-shadow: 0 0 0 3px rgba(91,61,245,.12); }
.atl-dd-acct-hint { color: #9a9ab0; font-size: 13px; margin: 10px 0 0; }
.atl-dd-acct-form > p:last-child { margin-top: 22px; }
.atl-dd-acct-form .atl-dd-btn { width: auto; padding: 12px 30px; }

/* Order history cards */
.atl-dd-orders { display: flex; flex-direction: column; gap: 22px; }
.atl-dd-order-card { border: 1px solid #ececf4; border-radius: 16px; overflow: hidden; background: #fff; box-shadow: 0 6px 22px rgba(20,19,43,.05); }
.atl-dd-order-head { display: flex; justify-content: space-between; align-items: center; padding: 16px 22px; }
.atl-dd-order-id { color: #8a8a9e; font-size: 14px; } .atl-dd-order-id strong { color: #14132b; }
.atl-dd-order-status { color: #1a9f4a; font-weight: 700; font-size: 14px; }
.atl-dd-order-product { display: flex; justify-content: space-between; align-items: center; gap: 12px; padding: 14px 22px; background: #f6f7fd; border-top: 1px solid #eef0f6; border-bottom: 1px solid #eef0f6; }
.atl-dd-order-name { font-size: 17px; font-weight: 700; color: #14132b; display: flex; align-items: center; gap: 10px; }
.atl-dd-order-badge { background: #16a34a; color: #fff; font-size: 11px; font-weight: 700; padding: 3px 11px; border-radius: 999px; text-transform: uppercase; letter-spacing: .03em; }
.atl-dd-order-price { font-size: 17px; font-weight: 800; color: #14132b; white-space: nowrap; }
.atl-dd-order-body { display: grid; grid-template-columns: 200px 1fr auto; gap: 22px; padding: 22px; align-items: start; }
.atl-dd-order-thumb img { width: 100%; border-radius: 10px; border: 1px solid #ececf4; }
.atl-dd-order-meta { display: flex; flex-direction: column; gap: 12px; }
.atl-dd-meta-row { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; color: #44445c; font-size: 14px; }
.atl-dd-meta-label { color: #8a8a9e; font-weight: 600; }
.atl-dd-license-key { background: #f5f5fb; padding: 5px 10px; border-radius: 7px; font-size: 13px; color: #4b2fe0; word-break: break-all; }
.atl-dd-copy { background: none; border: 0; cursor: pointer; font-size: 15px; padding: 2px 4px; }
.atl-dd-order-actions { display: flex; flex-direction: column; gap: 10px; min-width: 160px; }
.atl-dd-order-actions .atl-dd-btn { margin: 0; }
.atl-dd-dl-wrap { position: relative; }
.atl-dd-dl-toggle { width: 100%; }
.atl-dd-dl-list { position: absolute; top: 100%; left: 0; right: 0; margin-top: 4px; background: #fff; border: 1px solid #e6e6f0; border-radius: 10px; box-shadow: 0 12px 30px rgba(20,19,43,.12); z-index: 20; overflow: hidden; }
.atl-dd-dl-list a { display: block; padding: 10px 14px; text-decoration: none; color: #14132b; font-size: 14px; }
.atl-dd-dl-list a:hover { background: #f5f5fb; }
.atl-dd-order-review { margin: 0 22px 18px; padding: 12px 16px; background: #fff8ec; border: 1px solid #f3e2b8; border-radius: 10px; color: #7a5a17; font-size: 14px; }
.atl-dd-order-review a { color: #b8860b; font-weight: 700; }
.atl-dd-order-expiry { display: flex; justify-content: space-between; align-items: center; gap: 16px; flex-wrap: wrap; padding: 16px 22px; background: #14132b; color: #fff; }
.atl-dd-order-expiry strong { color: #ffd56b; }
.atl-dd-btn-light { background: #fff; color: #14132b !important; padding: 9px 20px; border-radius: 9px; text-decoration: none; font-weight: 700; white-space: nowrap; }

/* Header account menu */
.atl-dd-acct-menu { display: inline-flex; align-items: center; gap: 16px; position: relative; }
.atl-dd-acct-cart { position: relative; color: inherit; text-decoration: none; }
.atl-dd-acct-cart .dashicons { font-size: 22px; width: 22px; height: 22px; }
.atl-dd-acct-cart .atl-dd-cart-count { position: absolute; top: -8px; right: -10px; background: #5b3df5; color: #fff; font-size: 10px; font-weight: 700; min-width: 16px; height: 16px; line-height: 16px; text-align: center; border-radius: 999px; padding: 0 4px; }
.atl-dd-acct-toggle { display: inline-flex; align-items: center; gap: 8px; background: none; border: 0; cursor: pointer; font: inherit; color: inherit; }
.atl-dd-avatar img { border-radius: 50%; display: block; }
.atl-dd-acct-name { font-weight: 600; max-width: 120px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.atl-dd-acct-dropdown { position: absolute; top: calc(100% + 12px); right: 0; width: 240px; background: #fff; border: 1px solid #ececf4; border-radius: 14px; box-shadow: 0 18px 50px rgba(20,19,43,.16); padding: 8px; z-index: 1000; }
.atl-dd-acct-dropdown::before { content: ""; position: absolute; top: -7px; right: 28px; width: 14px; height: 14px; background: #fff; border-left: 1px solid #ececf4; border-top: 1px solid #ececf4; transform: rotate(45deg); }
.atl-dd-acct-greet { padding: 12px 14px; border-bottom: 1px solid #f0f0f6; margin-bottom: 6px; }
.atl-dd-acct-greet span { display: block; color: #9a9ab0; font-size: 13px; }
.atl-dd-acct-greet strong { font-size: 16px; color: #14132b; }
.atl-dd-acct-dropdown a { display: flex; align-items: center; gap: 12px; padding: 11px 14px; border-radius: 9px; text-decoration: none; color: #2a2a40; font-weight: 500; }
.atl-dd-acct-dropdown a:hover { background: #f5f5fb; color: #5b3df5; }
.atl-dd-acct-dropdown a .dashicons { color: #8a8a9e; }
.atl-dd-acct-dropdown a:hover .dashicons { color: #5b3df5; }

@media (max-width: 768px) {
	.atl-dd-acct-grid { grid-template-columns: 1fr; }
	.atl-dd-order-body { grid-template-columns: 1fr; }
	.atl-dd-acct-name { display: none; }
}

/* ---------- Phase 8: modal, password, review cards, lost-pw ---------- */
/* Modal */
.atl-dd-modal { position: fixed; inset: 0; z-index: 99999; display: flex; align-items: center; justify-content: center; padding: 20px; }
.atl-dd-modal[hidden] { display: none; }
.atl-dd-modal-backdrop { position: absolute; inset: 0; background: rgba(20,19,43,.55); backdrop-filter: blur(2px); }
.atl-dd-modal-box { position: relative; background: #fff; border-radius: 18px; padding: 28px; width: 100%; max-width: 480px; box-shadow: 0 30px 80px rgba(20,19,43,.3); z-index: 1; max-height: 90vh; overflow-y: auto; }
.atl-dd-modal-box h3 { margin: 0 0 2px; font-size: 20px; }
.atl-dd-modal-sub { color: #8a8a9e; margin: 0 0 18px; font-size: 14px; }
.atl-dd-modal-close { position: absolute; top: 14px; right: 16px; background: none; border: 0; font-size: 26px; line-height: 1; color: #9a9ab0; cursor: pointer; }
.atl-dd-modal-close:hover { color: #14132b; }
.atl-dd-modal .atl-dd-review-form { margin: 0; padding: 0; border: 0; }
.atl-dd-review-form input[type=text], .atl-dd-review-form input[type=email], .atl-dd-review-form textarea { width: 100%; padding: 11px 13px; border: 1px solid #dcdce8; border-radius: 10px; box-sizing: border-box; }

/* Password field with eye toggle */
.atl-dd-pass-field { position: relative; display: block; }
.atl-dd-pass-field input { width: 100%; box-sizing: border-box; padding-right: 44px !important; }
.atl-dd-pass-toggle { position: absolute; right: 6px; top: 50%; transform: translateY(-50%); width: 32px; height: 32px; border: 0; background: none; cursor: pointer; opacity: .55; }
.atl-dd-pass-toggle:hover { opacity: .9; }
.atl-dd-pass-toggle::before { content: "\1F441"; font-size: 16px; }
.atl-dd-pass-toggle.is-shown::before { content: "\1F648"; }

/* Auth extras */
.atl-dd-auth-row { display: flex; align-items: center; justify-content: space-between; gap: 10px; }
.atl-dd-lost-link, .atl-dd-back-login { color: #5b3df5; text-decoration: none; font-size: 13px; font-weight: 600; }
.atl-dd-lost-link:hover, .atl-dd-back-login:hover { text-decoration: underline; }
.atl-dd-back-login { margin-left: 12px; }
.atl-dd-lost-intro { color: #8a8a9e; font-size: 13px; margin: 0 0 12px; }

/* Review cards + avatar + write button */
.atl-dd-review-summary .atl-dd-review-trigger { width: auto; padding: 11px 22px; margin: 0; align-self: center; }
.atl-dd-review-list { display: flex; flex-direction: column; gap: 0; }
.atl-dd-review-item { display: flex; gap: 14px; padding: 18px 0; border-bottom: 1px solid #eef0f6; align-items: flex-start; }
.atl-dd-review-avatar { flex: 0 0 44px; width: 44px; height: 44px; border-radius: 50%; background: linear-gradient(135deg,#5b3df5,#9b6dff); color: #fff; display: flex; align-items: center; justify-content: center; font-weight: 700; font-size: 18px; }
.atl-dd-review-content { flex: 1; }

/* ---------- Phase 9: marketplace card + review wall ---------- */
.atl-dd-grid { display: grid; gap: 24px; }
.atl-dd-grid.atl-dd-cols-1 { grid-template-columns: 1fr; }
.atl-dd-grid.atl-dd-cols-2 { grid-template-columns: repeat(2, 1fr); }
.atl-dd-grid.atl-dd-cols-3 { grid-template-columns: repeat(3, 1fr); }
.atl-dd-grid.atl-dd-cols-4 { grid-template-columns: repeat(4, 1fr); }
@media (max-width: 900px) { .atl-dd-grid { grid-template-columns: repeat(2, 1fr) !important; } }
@media (max-width: 560px) { .atl-dd-grid { grid-template-columns: 1fr !important; } }

.atl-dd-card { border: 1px solid #ececf4; border-radius: 18px; overflow: hidden; background: #fff; transition: box-shadow .18s, transform .18s; display: flex; flex-direction: column; }
.atl-dd-card:hover { box-shadow: 0 18px 44px rgba(20,19,43,.12); transform: translateY(-3px); }
.atl-dd-thumb { position: relative; display: block; aspect-ratio: 16 / 11; background: #eef0f8; overflow: hidden; }
.atl-dd-thumb-link, .atl-dd-thumb-link img { display: block; width: 100%; height: 100%; object-fit: cover; }
.atl-dd-thumb-empty { display: block; width: 100%; height: 100%; background: linear-gradient(135deg,#eef0fb,#e6f7ff); }
.atl-dd-free-badge { position: absolute; top: 14px; right: 14px; background: #2563eb; color: #fff; font-size: 12px; font-weight: 800; letter-spacing: .04em; padding: 5px 13px; border-radius: 8px; box-shadow: 0 6px 16px rgba(37,99,235,.35); }
.atl-dd-thumb-actions { position: absolute; inset: 0; display: flex; align-items: center; justify-content: center; gap: 12px; background: rgba(20,19,43,.45); opacity: 0; transition: opacity .18s; }
.atl-dd-card:hover .atl-dd-thumb-actions { opacity: 1; }
.atl-dd-pill { background: #fff; color: #14132b !important; text-decoration: none; font-weight: 700; padding: 11px 22px; border-radius: 999px; font-size: 14px; box-shadow: 0 8px 20px rgba(0,0,0,.18); transition: transform .15s; }
.atl-dd-pill:hover { transform: scale(1.04); color: #5b3df5 !important; }
.atl-dd-card-body { padding: 18px 20px 20px; display: flex; flex-direction: column; gap: 10px; flex: 1; }
.atl-dd-card-top { display: flex; justify-content: space-between; align-items: flex-start; gap: 12px; }
.atl-dd-card-top .atl-dd-title { margin: 0; font-size: 16px; line-height: 1.35; }
.atl-dd-card-top .atl-dd-title a { color: #14132b; text-decoration: none; }
.atl-dd-card-top .atl-dd-title a:hover { color: #5b3df5; }
.atl-dd-price { font-size: 18px; font-weight: 800; color: #2563eb; white-space: nowrap; }
.atl-dd-price.is-free { color: #2563eb; }
.atl-dd-card-rating { display: flex; align-items: center; gap: 7px; color: #6b6b80; font-size: 13px; margin-top: -2px; }
.atl-dd-card-bot { display: flex; justify-content: space-between; align-items: center; margin-top: auto; padding-top: 6px; color: #8a8a9e; font-size: 13px; }
.atl-dd-card-author { color: #9a7b3a; font-weight: 600; }
.atl-dd-card-count { display: inline-flex; align-items: center; gap: 5px; color: #6b6b80; font-weight: 600; }
.atl-dd-card-count .dashicons { font-size: 16px; width: 16px; height: 16px; color: #9a9ab0; }

/* Review wall ([atl_all_reviews]) */
.atl-dd-review-wall { display: grid; gap: 22px; }
.atl-dd-review-wall.atl-dd-cols-1 { grid-template-columns: 1fr; }
.atl-dd-review-wall.atl-dd-cols-2 { grid-template-columns: repeat(2,1fr); }
.atl-dd-review-wall.atl-dd-cols-3 { grid-template-columns: repeat(3,1fr); }
.atl-dd-review-wall.atl-dd-cols-4 { grid-template-columns: repeat(4,1fr); }
@media (max-width: 900px) { .atl-dd-review-wall { grid-template-columns: repeat(2,1fr) !important; } }
@media (max-width: 560px) { .atl-dd-review-wall { grid-template-columns: 1fr !important; } }
.atl-dd-wall-card { background: #fff; border: 1px solid #ececf4; border-radius: 16px; overflow: hidden; box-shadow: 0 6px 22px rgba(20,19,43,.05); display: flex; flex-direction: column; }
.atl-dd-wall-thumb { display: block; aspect-ratio: 16 / 10; overflow: hidden; }
.atl-dd-wall-thumb img { width: 100%; height: 100%; object-fit: cover; }
.atl-dd-wall-body { padding: 18px 20px 22px; }
.atl-dd-wall-product { margin: 0 0 8px; font-size: 16px; }
.atl-dd-wall-product a { color: #14132b; text-decoration: none; }
.atl-dd-wall-product a:hover { color: #5b3df5; }
.atl-dd-wall-meta { color: #2563eb; font-size: 13px; margin: 8px 0 6px; }
.atl-dd-wall-meta strong { color: #2563eb; }
.atl-dd-wall-title { font-weight: 700; margin: 4px 0 2px; color: #14132b; }
.atl-dd-wall-text { color: #4a4a60; margin: 2px 0 0; }
.atl-dd-product-author { color: #9a7b3a; font-weight: 600; }

/* ---------- Phase 10: affiliate area + order detail ---------- */
.atl-dd-affiliate { display: flex; flex-direction: column; gap: 22px; }
.atl-dd-aff-intro { font-size: 15px; color: #44445c; margin: 0; }
.atl-dd-aff-link { display: flex; gap: 10px; }
.atl-dd-aff-link input { flex: 1; padding: 12px 14px; border: 1px solid #e0e0ea; border-radius: 10px; font-size: 14px; color: #4b2fe0; background: #f7f7fc; }
.atl-dd-aff-link .atl-dd-btn { width: auto; padding: 12px 22px; white-space: nowrap; }
.atl-dd-aff-stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.atl-dd-aff-stat { background: #fff; border: 1px solid #ececf4; border-radius: 14px; padding: 20px; text-align: center; box-shadow: 0 4px 18px rgba(20,19,43,.04); }
.atl-dd-aff-num { display: block; font-size: 24px; font-weight: 800; color: #14132b; }
.atl-dd-aff-label { font-size: 12px; text-transform: uppercase; letter-spacing: .05em; color: #8a8a9e; font-weight: 600; }
.atl-dd-aff-payout label { display: block; font-weight: 600; font-size: 13px; margin-bottom: 8px; color: #44445c; }
.atl-dd-aff-payout-row { display: flex; gap: 10px; }
.atl-dd-aff-payout-row input { flex: 1; padding: 12px 14px; border: 1px solid #e0e0ea; border-radius: 10px; }
.atl-dd-aff-payout-row .atl-dd-btn { width: auto; padding: 12px 26px; }
.atl-dd-aff-h3 { margin: 6px 0 0; font-size: 17px; }
.atl-dd-aff-table { width: 100%; border-collapse: collapse; }
.atl-dd-aff-table th, .atl-dd-aff-table td { text-align: left; padding: 12px 10px; border-bottom: 1px solid #eef0f6; font-size: 14px; }
.atl-dd-aff-table th { color: #8a8a9e; font-size: 12px; text-transform: uppercase; letter-spacing: .04em; }
.atl-dd-aff-badge { font-size: 11px; font-weight: 700; padding: 3px 10px; border-radius: 999px; }
.atl-dd-aff-unpaid { background: #fff4e0; color: #9a6700; }
.atl-dd-aff-paid { background: #e8f7ee; color: #1a7f43; }
@media (max-width: 768px) { .atl-dd-aff-stats { grid-template-columns: repeat(2,1fr); } }

/* Order detail view */
.atl-dd-back { display: inline-block; margin-bottom: 16px; color: #5b3df5; text-decoration: none; font-weight: 600; }
.atl-dd-detail-card { border: 1px solid #ececf4; border-radius: 16px; overflow: hidden; background: #fff; box-shadow: 0 6px 22px rgba(20,19,43,.05); }
.atl-dd-detail-head { display: flex; justify-content: space-between; align-items: center; padding: 18px 22px; border-bottom: 1px solid #eef0f6; }
.atl-dd-detail-label { display: block; color: #8a8a9e; font-size: 13px; }
.atl-dd-detail-head strong { font-size: 18px; }
.atl-dd-detail-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; padding: 20px 22px; background: #f9f9fd; }
.atl-dd-detail-grid span { display: block; color: #8a8a9e; font-size: 12px; text-transform: uppercase; letter-spacing: .04em; margin-bottom: 4px; }
.atl-dd-detail-items { width: 100%; border-collapse: collapse; }
.atl-dd-detail-items th, .atl-dd-detail-items td { text-align: left; padding: 14px 22px; border-bottom: 1px solid #eef0f6; }
.atl-dd-detail-items th { color: #8a8a9e; font-size: 12px; text-transform: uppercase; letter-spacing: .04em; }
.atl-dd-detail-items td:last-child, .atl-dd-detail-items th:last-child { text-align: right; }
.atl-dd-detail-total-label { text-align: right; font-weight: 700; }
.atl-dd-detail-total { text-align: right; font-weight: 800; font-size: 17px; }
@media (max-width: 768px) { .atl-dd-detail-grid { grid-template-columns: 1fr; } }
.atl-dd-wall-card { transition: box-shadow .18s, transform .18s; }
.atl-dd-wall-card:hover { box-shadow: 0 16px 40px rgba(20,19,43,.10); transform: translateY(-3px); }

/* ---------- Phase 11: affiliate application + states + sub-nav ---------- */
.atl-dd-aff-status { padding: 16px 18px; border-radius: 12px; font-size: 15px; font-weight: 500; }
.atl-dd-aff-status-warn { background: #fffbe6; border: 1px solid #f3e2a8; color: #7a5a17; }
.atl-dd-aff-status-err { background: #fdecec; border: 1px solid #f3c0c0; color: #9a2620; }
.atl-dd-aff-status-ok { background: #e8f7ee; border: 1px solid #b8e6c8; color: #1a7f43; }

.atl-dd-aff-apply .atl-dd-aff-intro { margin: 0 0 20px; font-size: 15px; color: #44445c; }
.atl-dd-aff-apply input:disabled { background: #f5f5fb; color: #8a8a9e; }
.atl-dd-aff-agree { margin: 16px 0; }
.atl-dd-aff-agree label { display: flex; align-items: center; gap: 8px; font-size: 14px; }
.atl-dd-aff-apply .atl-dd-btn { width: auto; padding: 12px 30px; }

.atl-dd-aff-subnav { display: flex; flex-wrap: wrap; gap: 4px; border-bottom: 1px solid #ececf4; margin-bottom: 22px; }
.atl-dd-aff-subnav a { padding: 11px 16px; text-decoration: none; color: #8a8a9e; font-weight: 600; font-size: 14px; border-bottom: 2px solid transparent; margin-bottom: -1px; }
.atl-dd-aff-subnav a:hover { color: #14132b; }
.atl-dd-aff-subnav a.is-active { color: #5b3df5; border-bottom-color: #5b3df5; }
.atl-dd-aff-panel { animation: atl-dd-fade .2s ease; }
@keyframes atl-dd-fade { from { opacity: 0; transform: translateY(4px); } to { opacity: 1; transform: none; } }

.atl-dd-aff-generator { margin-top: 26px; padding: 20px; background: #f7f7fc; border: 1px solid #ececf4; border-radius: 14px; }
.atl-dd-aff-generator h4 { margin: 0 0 6px; font-size: 16px; }
.atl-dd-aff-hint { color: #8a8a9e; font-size: 13px; margin: 0 0 14px; }
.atl-dd-aff-gen-row, .atl-dd-aff-gen-out { display: flex; gap: 10px; }
.atl-dd-aff-gen-out { margin-top: 12px; }
.atl-dd-aff-gen-row input, .atl-dd-aff-gen-out input { flex: 1; padding: 12px 14px; border: 1px solid #e0e0ea; border-radius: 10px; }
.atl-dd-aff-gen-row .atl-dd-btn, .atl-dd-aff-gen-out .atl-dd-btn { width: auto; white-space: nowrap; padding: 12px 22px; }

/* ---------- Phase 12: affiliate sidebar dashboard ---------- */
.atl-dd-aff-dash { display: flex; gap: 26px; align-items: flex-start; }
.atl-dd-aff-side { flex: 0 0 200px; display: flex; flex-direction: column; gap: 2px; }
.atl-dd-aff-side a { display: flex; align-items: center; gap: 11px; padding: 12px 14px; border-radius: 10px; text-decoration: none; color: #55556e; font-weight: 600; font-size: 14px; border-left: 3px solid transparent; }
.atl-dd-aff-side a .dashicons { font-size: 18px; width: 18px; height: 18px; color: #9a9ab0; }
.atl-dd-aff-side a:hover { background: #f5f5fb; color: #14132b; }
.atl-dd-aff-side a.is-active { background: #f1eeff; color: #5b3df5; border-left-color: #5b3df5; }
.atl-dd-aff-side a.is-active .dashicons { color: #5b3df5; }
.atl-dd-aff-main { flex: 1; min-width: 0; }
.atl-dd-aff-main .atl-dd-aff-h3 { margin-top: 0; }
.atl-dd-aff-gen-label { display: block; font-size: 13px; font-weight: 600; color: #44445c; margin: 14px 0 6px; }
.atl-dd-stat-table { margin-bottom: 22px; }
.atl-dd-stat-table th { background: #f7f7fc; }
.atl-dd-stat-table td { font-size: 16px; font-weight: 600; }

/* Creatives */
.atl-dd-creatives { display: grid; grid-template-columns: repeat(auto-fill, minmax(200px, 1fr)); gap: 18px; }
.atl-dd-creative { border: 1px solid #ececf4; border-radius: 14px; padding: 14px; background: #fff; box-shadow: 0 4px 18px rgba(20,19,43,.04); display: flex; flex-direction: column; gap: 10px; }
.atl-dd-creative-ph { width: 100%; max-height: 200px; background: linear-gradient(135deg,#eef0fb,#dfeafe); border: 1px solid #e0e6f5; border-radius: 8px; display: flex; align-items: center; justify-content: center; }
.atl-dd-creative-ph span { font-size: 13px; font-weight: 700; color: #5b6b9a; }
.atl-dd-creative-meta { display: flex; justify-content: space-between; align-items: baseline; }
.atl-dd-creative-meta strong { font-size: 14px; }
.atl-dd-creative-meta span { color: #8a8a9e; font-size: 12px; }
.atl-dd-creative-code { width: 100%; font-family: monospace; font-size: 11px; border: 1px solid #e0e0ea; border-radius: 8px; padding: 8px; resize: none; box-sizing: border-box; color: #44445c; }
.atl-dd-creative .atl-dd-copy-area { width: 100%; padding: 8px; }

@media (max-width: 820px) {
	.atl-dd-aff-dash { flex-direction: column; }
	.atl-dd-aff-side { flex-direction: row; flex-wrap: wrap; width: 100%; }
	.atl-dd-aff-side a { border-left: 0; border-bottom: 2px solid transparent; }
	.atl-dd-aff-side a.is-active { border-left: 0; border-bottom-color: #5b3df5; }
}
