/* Kultivator Premium 1.39.19 */
.kd-premium-name{display:inline-flex;align-items:center;gap:7px;min-width:0}
.kd-premium-check,.kd-company-check{display:inline-flex;flex:0 0 20px;width:20px;height:20px;align-items:center;justify-content:center;vertical-align:-4px;line-height:1;transform:translateY(1px)}
.kd-premium-check.is-compact,.kd-company-check.is-compact{flex-basis:16px;width:16px;height:16px;vertical-align:-3px}
.kd-premium-check svg,.kd-company-check svg{display:block;width:100%;height:100%;overflow:visible}
.kd-premium-check svg{filter:drop-shadow(0 2px 4px rgba(29,155,240,.28))}
.kd-company-check svg{filter:drop-shadow(0 2px 4px rgba(190,134,0,.28))}
.kd-premium-check .kd-verified-seal{fill:#1d9bf0;stroke:#1286d5;stroke-width:.45}
.kd-company-check .kd-verified-seal{fill:#d6a018;stroke:#b78308;stroke-width:.45}
.kd-premium-check .kd-verified-tick,.kd-company-check .kd-verified-tick{fill:none;stroke:#fff;stroke-width:3.05;stroke-linecap:round;stroke-linejoin:round}
.kd-premium-check.is-preview{width:26px;height:26px;flex-basis:26px}
.kd-member-title-row h1{display:flex!important;align-items:center!important;flex-wrap:wrap!important;gap:8px!important}
.kd-member-title-row h1 :is(.kd-premium-check,.kd-company-check){width:23px;height:23px;flex-basis:23px}
.kd-member-premium-status{display:inline-flex;align-items:center;gap:8px;width:max-content;max-width:100%;min-height:36px;margin-top:12px;padding:0 14px;border:1px solid #c9dfee;border-radius:999px;background:linear-gradient(180deg,#f5fbff,#eaf6ff);box-shadow:0 10px 22px rgba(22,137,232,.09);color:#195f99}
.kd-member-premium-status span{font-size:12px;font-weight:900}
.kd-grower-card-name,.kd-feed-author,.kd-member-relationship-name,.kd-member-grower-name,.kd-profile-diary-author,.kd-first-week-author strong,.kd-public-week-commentary-identity strong{display:inline-flex!important;align-items:center!important;gap:6px!important;flex-wrap:wrap}
.kd-grower-avatar-badge{position:absolute;right:-4px;bottom:-5px;display:grid;min-width:21px;height:21px;place-items:center;padding:0;border:2px solid #fff;border-radius:50%;background:#fff;color:#fff;font-size:10px;line-height:1;box-shadow:0 8px 14px rgba(29,39,31,.18)}
.kd-grower-avatar-badge :is(.kd-premium-check,.kd-company-check){width:19px;height:19px;flex-basis:19px;transform:none}
.kd-grower-avatar-badge:has(.kd-premium-check),.kd-grower-avatar-badge:has(.kd-company-check){background:transparent;border-color:#fff}
/* Los usuarios Premium y los administradores no reciben espacios publicitarios. */
body.kd-user-ad-free :is(.kd-company-gd-ad,.kd-ad-slot,.kd-sponsored-placement,[data-kd-ad-slot],ins.adsbygoogle){display:none!important}

/* Administración de la suscripción. */
.kd-premium-admin-card{box-sizing:border-box;max-width:1080px;margin:26px 0;padding:24px;border:1px solid #d8e4da;border-radius:20px;background:linear-gradient(145deg,#fff 0%,#f5faf6 100%);box-shadow:0 16px 36px rgba(23,72,36,.08)}
.kd-premium-admin-head{display:flex;align-items:flex-start;justify-content:space-between;gap:24px;margin-bottom:18px}
.kd-premium-admin-head>div>span{display:block;color:#177d3c;font-size:11px;font-weight:900;letter-spacing:.12em}
.kd-premium-admin-head h2{margin:5px 0 8px;color:#1c2d21;font-size:25px;line-height:1.12}
.kd-premium-admin-head p{max-width:720px;margin:0;color:#5c6a60;font-size:13px;line-height:1.6}
.kd-premium-admin-status,.kd-premium-users-status{display:inline-flex;align-items:center;gap:6px;min-height:30px;padding:0 11px;border-radius:999px;font-size:11px;font-weight:850;white-space:nowrap}
.kd-premium-admin-status.is-active,.kd-premium-users-status.is-active{border:1px solid #bfe1c7;background:#eaf8ed;color:#18713a}
.kd-premium-admin-status.is-expired,.kd-premium-users-status.is-expired{border:1px solid #ead4a9;background:#fff6df;color:#885f00}
.kd-premium-admin-status.is-inactive,.kd-premium-users-status.is-inactive{border:1px solid #dce3dd;background:#f3f5f3;color:#69746d}
.kd-premium-admin-table{margin:0!important}
.kd-premium-admin-table th{width:190px;padding-left:0!important}
.kd-premium-renew-option{display:flex;align-items:flex-start;gap:12px;max-width:650px;padding:16px;border:1px solid #cfe1d2;border-radius:15px;background:#fff;box-shadow:0 8px 18px rgba(27,91,43,.05)}
.kd-premium-renew-option input{margin-top:3px}
.kd-premium-renew-option span{display:grid;gap:4px}
.kd-premium-renew-option strong{color:#1f3726;font-size:14px}
.kd-premium-renew-option small{color:#647169;font-size:12px;line-height:1.5}
.kd-premium-admin-note{padding:15px 17px;border:1px solid #d9e4dc;border-radius:14px;background:#fff;color:#526159;font-size:13px}
.users-php .column-kd_premium{width:170px}
.kd-premium-users-status .kd-premium-check{width:14px;height:14px;flex-basis:14px}
@media(max-width:782px){.kd-premium-admin-head{flex-direction:column}.kd-premium-admin-table th{width:auto}.users-php .column-kd_premium{width:auto}}

/* Gestión Premium directamente desde el perfil público (solo administradores). */
.kd-premium-profile-admin{box-sizing:border-box;position:relative;width:100%;max-width:780px;margin-top:18px;padding:18px;border:1px solid #dbe7dd;border-radius:22px;background:linear-gradient(180deg,#ffffff 0%,#f7fbf8 100%);box-shadow:0 18px 32px rgba(22,69,35,.08);color:#23362b;overflow:hidden}
.kd-premium-profile-admin:before{content:"";position:absolute;inset:0 auto 0 0;width:5px;background:linear-gradient(180deg,#2b8a45 0%,#66b35e 100%)}
.kd-premium-profile-admin-head{display:grid;grid-template-columns:auto minmax(0,1fr) auto;align-items:center;gap:14px}
.kd-premium-profile-admin-icon{display:flex;width:48px;height:48px;align-items:center;justify-content:center;border:1px solid #d7e7dc;border-radius:15px;background:linear-gradient(180deg,#f5fbf7 0%,#ebf5ee 100%);box-shadow:inset 0 1px 0 rgba(255,255,255,.8)}
.kd-premium-profile-admin-icon .kd-premium-check{width:24px;height:24px;flex-basis:24px}
.kd-premium-profile-admin-title{display:grid;gap:3px;min-width:0}
.kd-premium-profile-admin-title>span{color:#2e8a49;font-size:10px;font-weight:900;letter-spacing:.12em}
.kd-premium-profile-admin-title>strong{color:#1f3327;font-size:17px;line-height:1.25}
.kd-premium-profile-admin-title>small{color:#698072;font-size:12px;line-height:1.45}
.kd-premium-profile-admin-state{display:inline-flex;align-items:center;min-height:32px;padding:0 12px;border-radius:999px;font-size:11px;font-weight:900;white-space:nowrap;box-shadow:0 6px 16px rgba(31,73,42,.08)}
.kd-premium-profile-admin-state.is-active{border:1px solid #c4e3cb;background:#eaf8ee;color:#1f7d3b}
.kd-premium-profile-admin-state.is-expired{border:1px solid #f0deba;background:#fff6e6;color:#9b6a00}
.kd-premium-profile-admin-state.is-inactive{border:1px solid #dde5df;background:#f6f8f6;color:#6b786f}
.kd-premium-profile-admin-notice{margin-top:14px;padding:11px 13px;border-radius:14px;font-size:12px;font-weight:750;line-height:1.45}
.kd-premium-profile-admin-notice.is-success{border:1px solid #c7e4cf;background:#eef9f1;color:#266b3b}
.kd-premium-profile-admin-notice.is-error{border:1px solid #efd0d0;background:#fff2f2;color:#a14040}
.kd-premium-profile-admin-details{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:10px;margin-top:14px}
.kd-premium-profile-admin-details>div{display:grid;gap:4px;padding:12px 12px;border:1px solid #dce7de;border-radius:14px;background:#fff;box-shadow:0 8px 18px rgba(31,73,42,.04)}
.kd-premium-profile-admin-details span{color:#748379;font-size:10px;font-weight:850;text-transform:uppercase;letter-spacing:.06em}
.kd-premium-profile-admin-details strong{overflow:hidden;color:#1e3125;font-size:12px;font-weight:900;text-overflow:ellipsis;white-space:nowrap}
.kd-premium-profile-admin-actions{display:flex;align-items:center;flex-wrap:wrap;gap:10px;margin-top:15px;padding-top:2px}
.kd-premium-profile-admin-form{display:inline-flex;margin:0}
.kd-premium-profile-admin-button,.kd-premium-profile-admin-edit{box-sizing:border-box;display:inline-flex;min-height:40px;align-items:center;justify-content:center;margin:0;padding:0 15px;border-radius:12px;font-family:inherit;font-size:12px;font-weight:900;line-height:1;text-decoration:none!important;cursor:pointer;transition:transform .18s ease,border-color .18s ease,background .18s ease,box-shadow .18s ease,color .18s ease}
.kd-premium-profile-admin-button:hover,.kd-premium-profile-admin-edit:hover{transform:translateY(-1px)}
.kd-premium-profile-admin-button.is-primary{border:1px solid #44a85f;background:linear-gradient(180deg,#46af64,#358f4f);box-shadow:0 10px 20px rgba(39,130,66,.16);color:#fff}
.kd-premium-profile-admin-button.is-danger{border:1px solid #e7c7c7;background:#fff6f6;color:#a84c4c}
.kd-premium-profile-admin-edit{border:1px solid #d8e4da;background:#fff;color:#34523d!important;box-shadow:0 8px 18px rgba(31,73,42,.05)}
@media(max-width:760px){.kd-premium-profile-admin-head{grid-template-columns:auto minmax(0,1fr)}.kd-premium-profile-admin-state{grid-column:1/-1;width:max-content}.kd-premium-profile-admin-details{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:480px){.kd-premium-profile-admin{padding:15px}.kd-premium-profile-admin-details{grid-template-columns:1fr}.kd-premium-profile-admin-actions,.kd-premium-profile-admin-form{width:100%}.kd-premium-profile-admin-button,.kd-premium-profile-admin-edit{width:100%}}
